Hello all,
The recipe below works ALMOST as expected. If the message is rejected, the
sender receives the reply but the message is not trashed, I mean, the
message is also delivered to its destinatary.
I would like to have the recipe also reordered. If the sender is on the
ok_list it should not be necessary to go through the recipe but don't know
how to use the else options (:0 e).
Any help will be appreciated.
Thank you in advance,
Carlos
ok_list=/home/test/ok_list
ws = '[ ]*($[ ]+)*'
dq = '"'
ext = '(a(d[ep]|r[cj]|s[dmxp]|u|vi)|\
... deleted ...
z(ip|oo))'
:0 B
* -3^0
* 4^0 $ name${ws}=${ws}${dq}.*\.${ext}(\..*)?${dq}${ws}$
... deleted ...
* 2^0 \<(app|bgsound|div|embed|form|i?l(ayer|ink)|img|\
i?frame(set)?|meta|object|s(cript|tyle))
* 2^0 =3d
* !? formail -rtzxTo: | fgrep -i -f $ok_list
{
:0
| (formail -r -I"Subject: Message rejected" \
-A"X-Loop: test(_at_)fda(_dot_)com(_dot_)br" ; \
echo "Please Contact suport(_at_)fda(_dot_)com(_dot_)br") \
| /usr/lib/sendmail -t
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail