Alan Gutierrez a écrit :

if the user didn't copy the FP message (he just moved it to the Junk/Error folder, then it should be "redelivered" after sa-learn (but one must make sure it is not delivered to the Junk folder again).


I hope this is the final piece of the puzzle, but, how do you resend?

by using the MDA (maildrop in my case). using the MTA is feasible, but:
- requires getting around delivery loop. see below
- will add Received headers
- the message will be filtered again, and may thus end up in the Junk folder oince again (just because you retrain doesn't mean SA will catch it next time). If so, the user will get crazy and shoot you:)

instead, by running the MDA with a special option (or env var if you prefer) to skip Junk "classification", the message will be stored to the right folder.



I've tried...

formail -s /usr/sbin/sendmail -t alan < redeliver

...but I'm getting a forwarding loop bounce message.

This is because of the Delivered-To header.

You should remove the one that contains the final recipient ("[EMAIL PROTECTED]" in your example above). it should be the top-most Delivered-To header in the message. If so, then 'grep -m 1 -v "^Delivered-To:"' should do.

Reply via email to