From: Pierre Girard on
Hello,
since users are able to put .forward files in their account, sometimes
when we write to internal mailing lists some messages get sent to
outside servers and once in a while the final destination user doesn't
exist (typo or other error).

I tried looking at the log files to find out who the user is but i can't
seem to find any clue in there about that. I can see the sender and
destination user but nowhere do i see .forward expansion. Any hint on
how to search for it?

We have a setup with postfix/amavis/dspam so messages get reinjected
into postfix if it makes any difference.

Anyone has a tool to simulate EXPN behavior? That might help find the
source of the problem.

Using :
find . -name .forward | xargs grep invalidemail(a)somewhere.com

is not an option unfortunately.

Thanks for your help.