Wietse Venema via Postfix-users:
> Shaun Erickson via Postfix-users:
> > mailserver.fd.com :
> > Accepts all mail from our servers (including itself).
> > If the mail is destined for fd.com , it is - with the exception
> > of [email protected] , [email protected] , and [email protected] - sent
> > straight to /dev/null.
> >
> /etc/postfix/main.cf:
> mydestination = fd.com, localhost, ....
> alias_maps = hash:/etc/aliases, static:/dev/null
>
> /etc/aliases:
> root: someone@somewhere
> abuse: someone@somewhere
> ...etc...
>
> Simple problems should have simple solutions.
However, If this server also receives mail from the internet, a
more subtle solution is needed.
The above would accept mail for any recipient in fd.com. That
would be wasteful.
The example below overrides the default local_recipient_maps setting
(local_recipient_maps = proxy:unix:passwd.byname $alias_maps) which
would accept too much.
/etc/postfix/main.cf:
mydestination = fd.com, localhost, ....
alias_maps = hash:/etc/aliases, static:/dev/null
local_recipient_maps = proxy:unix:passwd.byname hash:/etc/aliases
/etc/aliases:
root: someone@somewhere
abuse: someone@somewhere
...etc...
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]