I hope this is the right mailing list. If not, please excuse the
intrusion. I was led to believe it is. If you could possibly
reply to me directly, that would be most helpful. I don't have
access to the mailing list (assuming on exists) as yet.
I'm totally new at procmail (and no real programming experience
either) and I'm stuck.
First of all, I have a some general questions:
Are there a list of EXITCODEs available? The one I'm currently
using 67. Is there a way to customize the output that gets
bounced, as sometimes I want to tell people to try resending
their email to a specific address.
Ok.. here's the important stuff....
I have an email address: accounts(_at_)pacintl(_dot_)com and I'm trying
to do the following:
1) all email that has the subject "Translator Payment Form" or
"invoice" or "help"(no quotes) needs to be saved in my regular
mailbox.
2) all email that has anyother subject needs to be trashed with
prejudice, as it's junk or spam.
Please note that this email address is just an alias, if that
makes a difference. It gets sent to my regular email address
above.
I already have a working procmail filter that takes care of
most spam, along with a .forward file. I'm using the following
version of procmail:
procmail v3.10 1994/10/31 written and created by Stephen R. van den Berg
berg(_at_)pool(_dot_)informatik(_dot_)rwth-aachen(_dot_)de
(I don't know if this is the most current version, but I do know
that it works!)
Here's a sample from my rc.filter file that does work:
:0:
* ^From(_dot_)*CaptainDick(_at_)compuserve(_dot_)com
/usr/mail/ganz
:0:
* !^TO.*(pacintl.com|wco.com|sailnow.com)
* !^From.*(long|laudry|list of domains|and|specific addresses)
{
EXITCODE = 67
:0
/dev/null
}
#Get rid of uunet sh*t
:0
*^(Reply-To): *(nobody(_at_)UU(_dot_)NET)
{
EXITCODE = 67
:0
/dev/null
}
Thanks for your help in advance.
Jonathan