[Mimedefang] forwarding mail that is received from one domain

David F. Skoll dfs at roaringpenguin.com
Tue Sep 25 20:45:19 EDT 2007


maillist wrote:

> I've got a former employee that is trying to get company info from some
> people that are still employed here.  I'm trying to forward all mail
> from this someone at some_domain.com to someone at my_domain.com regardless of
> the intended recipient.  I've tried to set this in filter_sender, but
> that only rejects the connection (unless I've done it wrong).

You can't do that in filter_sender.  You can only add/delete recipients
from xxfi_eom in milter, which equates to filter_begin or filter_end
in MIMEDefang.  So you need to do your tests in filter_end and take
appropriate action there.

I'm assuming that what you are attempting to do is legal where you
live.  It may not be; you might want to check first before you do it.

Regards,

David.



More information about the MIMEDefang mailing list