I'm using postfix in combination with Zarafa as Groupware (local server) and import mails from an external server to a mailbox on my local server. I do this, because of restricted resources on the external server.
So incoming mails at the external server are redirected to my local server - but sending mails is done on the local server. The problem is, that the rx-Record of the domain of the external mail server does not point to my server - so my send mails are marked as spam, especially in GMail.
Therefore I want to relay the outgoing mails of the local mailbox to the external server to fix this issue. I want to restrict this relaying to this single domain - there are other domains on the local server witch don't need to be relayed, because the domains are owned by me and the MX record is correct.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…