procmail
[Top] [All Lists]

Issue forwarding emails with procmail

2010-10-31 17:57:14
Hi,
I'm using procmail to forward emails (instead of sendmail's ".forward"),
just in order to add "Resent-From" headers, so some domains be aware
that these are forwarded mails, and do not consider them spam just
because the original domain do not match the server it is being sent
from (SPF and so on)...

Well, that doesn't matter.
The problem I've found is that when the final forward domain does not
exist, I end up with a loop, in which procmail sends away the message,
and also the error responses, which in turn, return immediately, and are
again forwarded... infinite loop.

This doesn't occur with sendmail's ".forward", as it seems to know that
a bounce has occurred, and so, it deliver the bounces locally, so no
loop is built.
Can I program this clean behavior with procmail? (h0pe so!)
How?

Thanx
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>