Terry Carmen a écrit :
> I asked a similar question on the Amavis list, but as I think about it, it
> might be more appropriate to handle in postfix, before the mail ever gets to
> amavis.
> 
> Currently postfix accepts mail for a number of domains, and all mail gets sent
> though amavisd-new using the configuration below, and is then delivered to
> appropriate local users:
> 
> I would like to accept all mail for one of the domains, regardless of the
> username, and forward it to a single user's maildir on the mail server, with
> no processing at all by amavis.
> 
> Does anybody have any suggestions, or can point me to a README on how to do 
> this?
> 

the problem is what to do for mail to multiple recipients.

if this never happens (mail is never sent to a user in this domain as
well as to a user in another domain), then

check_recipient_access hash:/etc/postfix/access_recipient


=== access_recipient:
example.com     FILTER smtp:[127.0.0.1]:10025


but again, if a spammer send mail to j...@example.com and
virgi...@example.net, then it will not be filtered (so virginia will get
the mail unfiltered, even if she is not in example.com).

using amavisd-new is more robust.

Reply via email to