Compare commits
2
Commits
6f00178720
...
633d9b0889
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
633d9b0889
|
||
|
|
864c7c3ec8
|
@@ -26,7 +26,7 @@ if ( $EXT )
|
||||
}
|
||||
|
||||
# check if the spam score is higher than our threshold
|
||||
if ( /^X-Rspamd-Bar: \+{$MOVESCORE,}$/ )
|
||||
if ( /^X-Rspamd-Bar: \+{$MOVESCORE,}$/:h )
|
||||
{
|
||||
# yes, move to Spam folder and exit
|
||||
|
||||
|
||||
@@ -6,17 +6,22 @@ MAILDIR="$HOME/users/lukas" # default Maildir
|
||||
|
||||
if ( $MAILDIR =~ /\/lukas$/ )
|
||||
{
|
||||
# deliver GitHub notifications to the Kirby folders
|
||||
# deliver Nolt and GitHub notifications to the Kirby folders
|
||||
|
||||
`test -d "$MAILDIR/.Kirby2"; or maildirmake "$MAILDIR/.Kirby2"`
|
||||
`test -d "$MAILDIR/.Kirby3"; or maildirmake "$MAILDIR/.Kirby3"`
|
||||
|
||||
if( /^List-Archive: https:\/\/github.com\/getkirby-v2\// )
|
||||
if( /^From: .*? <notifications@nolt\.io>$/:h)
|
||||
{
|
||||
MAILDIR="$MAILDIR/.Kirby3"
|
||||
}
|
||||
|
||||
if( /^List-Archive: https:\/\/github.com\/getkirby-v2\//:h )
|
||||
{
|
||||
MAILDIR="$MAILDIR/.Kirby2"
|
||||
}
|
||||
|
||||
if( /^List-Archive: https:\/\/github.com\/getkirby\// )
|
||||
if( /^List-Archive: https:\/\/github.com\/getkirby\//:h )
|
||||
{
|
||||
MAILDIR="$MAILDIR/.Kirby3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user