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* u...@foo.com 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 'usern...@foo.com'.
> 
> 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* usern...@foo.com, then you
should list foo.com in mydestination not virtual_mailbox_domains.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to