[opensuse] Postfix transport problem
We have a local mail server set up that fetches mail from the external mail server and deliver it to local mail boxes where the office staff read it with KMail. Mail is also sent via the local mail server. so internal mail is just delivered directly and do not need to go through the external relay server. But, there is one email address that is used only externally, so it has no local mailbox. So postfix should deliver mail to it directly to the external mail server where the mailbox is. So I added an entry to /etc/postfix/transport for it like this: external.mail@example.com smtp:[external.mail.server] When I send mail from the mailserver itself to this address, it works as expeted; it relays the mail directly to the external server. But any email sent to this address from another box in the office, does not work.. Postfix still try to deliver it locally. Any idea why it would disregard the transport map for mail that does not originate locally? Thanks -- Andre Truter | Software Consultant | Registered Linux user #185282 Jabber: andre.truter@gmail.com | http://www.trusoft.co.za ~ A dinosaur is a salamander designed to Mil Spec ~ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andre Truter wrote:
We have a local mail server set up that fetches mail from the external mail server and deliver it to local mail boxes where the office staff read it with KMail.
Mail is also sent via the local mail server. so internal mail is just delivered directly and do not need to go through the external relay server.
But, there is one email address that is used only externally, so it has no local mailbox. So postfix should deliver mail to it directly to the external mail server where the mailbox is. So I added an entry to /etc/postfix/transport for it like this:
external.mail@example.com smtp:[external.mail.server]
When I send mail from the mailserver itself to this address, it works as expeted; it relays the mail directly to the external server.
But any email sent to this address from another box in the office, does not work.. Postfix still try to deliver it locally.
postfix really ought to reject it if the domain is not local. If the domain is local, but needs to be forwarded, I would just use an alias.
Any idea why it would disregard the transport map for mail that does not originate locally?
How is the external mail delivered to the mailserver ? The difference must be in the delivery methods. -- Per Jessen, Zürich (9.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andre Truter
-
Per Jessen