Hi,
I'm modifying an ANTI-SPAM recipe and have it set up as follows:
:0h:.gziplock
* ^Received.*(idiot)
| gzip -fc >> $PMDIR/headers.gz
which works well, but in addition to saving the headers of the rejected
email, I wish to bounce the email out via SENDMAIL EXITCODES. I can do
it this way:
:0
* ^Received.*(idiot)
{ EXITCODE = 77 HOST }
but this doesn't save the headers. I could combine the two recipes this
way, but it doesn't seem efficient:
:0hc:.gziplock
* ^Received.*(idiot)
| gzip -fc >> $PMDIR/headers.gz
:0
* ^Received.*(idiot)
{ EXITCODE = 77 HOST }
Is there way to combine these two recipes into one via, say, nesting
blocks, or is the way I am doing it the easiest/most efficient way; it
sure doesn't seem so.
Lates!
------------------------------------
Tim <bodysurf(_at_)netcom(_dot_)com>
"Finger" for PGP v2.6.3ia Public Key