X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/cd898064101f6cf9a55af2c98514574a6ec7f94a..016e0df0c545dddb3ef9097b1a52032e38ecd8ef:/procmail/to-gmail diff --git a/procmail/to-gmail b/procmail/to-gmail index 21ab43e..e73c8f1 100644 --- a/procmail/to-gmail +++ b/procmail/to-gmail @@ -1,9 +1,9 @@ :0 * ORIG_DOMAIN ?? ^(mass|r2e)\.madduck\.net$ -* !^X-Mailer: swaks { :0 c *$ ! $MSG_DEJAVU + * ! MSG_TEST ?? . { LOG="gmail: archiving message $MSGID with gmail$NL" SENDMAILFLAGS="$SENDMAILFLAGS -f $ID" @@ -14,5 +14,10 @@ } :0 E + * MSG_TEST ?? . + { LOG="gmail: not archiving message test message with gmail$NL" } + + :0 E + *$ $MSG_DEJAVU { LOG="gmail: not archiving message resubmitted message with gmail$NL" } }