Dragan Zubac: > Hello > > I'm trying to achieve the following : > > 1. email arrives to lo...@domain.com ,should be delivered locally to > account local
/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual # DO NOT LIST domain.com IN VIRTUAL_ALIAS_DOMAINS # DO NOT LIST domain.com IN VIRTUAL_MAILBOX_DOMAINS # DO NOT LIST domain.com IN MYDESTINATION mydestination = $myhostname localhost.$mydomain localhost ... /etc/postfix/virtual: lo...@domain.com local@localhost > 2. email arrives from anyth...@anything.com to anyth...@domain.com > (excluding 'lo...@domain.com') ,the email should be forwarded to remote > smtp ([10.0.0.202]:52345) using user/pass from sasl_passwd file /etc/postfix/main.cf: relayhost = [10.0.0.202]:52345 Wietse