procmail
[Top] [All Lists]

Re: procmailrc to match body

2015-02-02 15:39:13
Thank you for the reply. Problem solved (more below)

On Sat, Jan 31, 2015 at 3:38 PM, LuKreme <kremels(_at_)kreme(_dot_)com> wrote:

On Jan 31, 2015, at 2:13 PM, Julianony M 
<juliani(_dot_)moon(_at_)gmail(_dot_)com> wrote:
I wrote a set of procmailrc recipes to "
​​
quarantine" certain category of
incoming mails to my site. It works with 3 simple steps: when a mail
meets
certain criteria, it triggers a "quarantine" process by (1) holding the
mail while send a confirmation mail to the sender; (2) when the
confirmation mail is replied by the sender, the mail gets delivered
normally; (3) when the confirmation mail is bounced, the mail is trashed.

This is a “prove you love me” scheme and it *will* get you flagged as a
spam source, so you might want to rethink.


​Thank you for the useful alert.
My "
​
quarantine" recipes is placed after SpamAssassin and a bunch of
spam filters among other recipes, and to act upon only a smaller
window of incoming mails on which human resource is greatly wasted.
One other purpose of the "
​
quarantine" is to collect new spams to
periodically feed to SpamAssassin.

​I wish to learn more about the the process ​how these might generate
negative impact on my site.


which fell into "Mail-error". It appears the body match failed. Any
advice how the recipe should be modified in order to catch this?

What do verbose logs show?


​procmail: Match on "^.*Verify the mail you sent: \/[0-9a-zA-Z\.]+"
procmail: Assigning "MATCHED=20150130.091948TPMSFSFZL"
procmail: Executing " cat "$MAILDIR/QUARRENTEEN/$MATCHED" >> $SPAM;"
cat: /xxxx/xxxx/xxxx/QUARRENTEEN/20150130.091948TPMSFSFZL: No such file or
directory
procmail: Program failure (1) of " cat "$MAILDIR/QUARRENTEEN/$MATCHED" >>
$SPAM;"
procmail: Rescue of unfiltered data succeeded
procmail: Assigning "LASTFOLDER=/var/mail/Mail-error"
procmail: Opening "/var/mail/Mail-error"

This explains all. ​I need to improve my recipe to catch these.​
​Thank you!

joe​
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>
  • Re: procmailrc to match body, Juliani Moon <=