1. This is one of my AutoReply & Bounceback recipes I recently modified,
but am having a few problems with.
0HB:
* !^FROM_DAEMON
* !^X-Loop: me(_at_)mydomain(_dot_)com
* !^From:.*secretaddress
* H ?? !^TO(authorizedaddress1|authorizedaddress2)@mydomain\.com
{
:0 fh
formail -r -A"Precedence: junk" \
-I"From: REJECTED MAIL <nospam(_at_)mydomain(_dot_)com>" \
-I"Subject: R E J E C T E D M A I L" \
-A"X-Loop: me(_at_)mydomain(_dot_)com" ; cat $HOME/procmail/reject/reject.txt
:0
| $SENDMAIL -oi -t
}
:0HB c:
* !^From:.*secretaddress
* H ?? !^TO(authorizedaddress1|authorizedaddress2)@mydomain\.com
| formail -rtzxTo: >> $HOME/procmail/reject/reject.log
:0 a:
/dev/null
------------
2. This is what I am getting in the pmlog file. Tried Verbose but just
not understanding it...except that maybe I have one too many ":" in place???
From MAILER-DAEMON Sat May 18 23:37:18 2002
Subject: Returned mail: see transcript for details
Folder: /dev/null
procmail: Extraneous locallockfile ignored
Subject: R E J E C T E D M A I L
Folder: /usr/lib/sendmail -oi -t
procmail: Extraneous locallockfile ignored
Subject: R E J E C T E D M A I L
Folder: /usr/lib/sendmail -oi -t
procmail: Extraneous locallockfile ignored
From MAILER-DAEMON Sat May 18 23:40:22 2002
Subject: Returned mail: User unknown
Folder: formail -rtzxTo: >> $HOME/procmail/reject/reject.log
From MAILER-DAEMON Sat May 18 23:40:22 2002
Subject: Returned mail: User unknown
Folder: /dev/null
------------
3. This Exitcode is what I am still trying to figure out how to integrate
with the above, so that reject.txt will be sent AND a bounce will occur.
So many spammers are using bogus "From:" addresses, but unless I'm
misunderstanding the Exitcode 67, won't that create a type of return
message to the *actual* source of origin/IPP ???
{
EXITCODE = 67
}
Thank you vey much for enlightening me.
Eric
(please post - direct e-mail will bounce)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail