Marcus Park via Postfix-users:
> Hello postifx,
> 
> I am getting trouble in the unwanted email delivery.
> 
> Say my hostname is "foo.com" (what 'hostname' command shows).
> And I do have the same domain name "foo.com" setup in 
> /etc/postfix/virtual_mailbox_domain.

As documented, mail for *all* [email protected] will be delivered with
main.cf:$virtual_transport.

> When the OS generate a mail for error stuff (for example, crontab 
> errors), it will sendmail to '[email protected]'.
> 
> I expect the system mail to be put into '/var/mail/username' which can 
> be read by 'mail' command.

If you expect that behavior for *all* [email protected], then you
should list foo.com in mydestination not virtual_mailbox_domains.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to