Hello there, First of all I tell you that this is my first postfix installation so please be patient...
I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of domains entirely managed and hosted here so I have resolved everything using the transport file (do.main.name smtp: [exchange.ser.ver]) and the entries in the main.cf file (mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, do.main.one, do.main.two, domain.diffi.cult). So far so good, everything seems to work for the "simple" domains. Now, I have got one user with an address at domain.diffi.cult and this domain is not hosted by me. This user has a mailbox on the exchange server and everything is working fine on that side. How can I configure postfix to deliver the mails for myu...@domain.diffi.cult<mailto:myu...@domain.diffi.cult> locally and all the others @domain.diffi.cult to the internet? Just a further clarification... I am the owner of those "simple-to-manage" domains. All the managed domains are regularly polled with fetchmail, scanned for spam/viruses with amavis and then sent to the users mailboxes on exchange. Those domains can be easily managed locally because all user of those domains also have an exchange mailbox. The user @ the difficult domain also has an exchange mailbox and has to send and receive mails using outlook/exchange. His address @ that domain must continue being used because it's an old known address. Within Exchange everything works fine: if he sends mails to the other users/domains it works, if the other users/domains send mails to him it works. The problem is that if I declare in postfix that domain as local, postfix tries to deliver all the mails addressed to users @ the difficult domain locally (to the exchange server) and that is wrong because they don't belong to the local organization thus -of course- aren't managed locally. I succeeded in having a working config based on sendmail, but now for some reasons I have to switch to postfix. Any clue anybody? Thanks Luca ***************************** ***************************** This e-mail and any files transmitted with it may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-Mail in error) please notify the sender immediately and destroy this e-mail. unauthorized copying, disclosure or distribution of the material in this e-mail without the prior authorization of the sender is strictly forbidden. Please also note that while our own software systems have been used to try to ensure that this e-mail has been swept for viruses and other malicious contents using the latest virus signatures, we do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please make sure that your own checks are carried out before any attachments are opened. If you feel you have received this E-mail in error please e-mail postmas...@solid-con.com (c) Solid Consulting Limited & Co. KG 2012 ***************************** ****************************