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!)
procmail mailing list Procmail homepage: http://www.procmail.org/