|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
overwriting relay_domains
From: Beast (beast
ldap.or.id)
Date: Fri Mar 24 2006 - 02:25:48 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have an internal mail server, mail gateway and external mail server.
[internal] ----------> [mail-gw] ---------> internet
|
| dmz
v
[external] --------> internet
Incoming mail to
example.com are hadle by mail-gw (mail.example.com)
and then relayed to internal (internal.example.local).
For some reason I have add a new external mail server
(external.example.com) and now I have problem when sending mail from
internal to external. Postfix in mail-gw trying to resolve address to
local domain.
Mar 24 14:56:22 blowfish postfix/smtpd[30620]: NOQUEUE: reject: RCPT
from unknown[192.168.1.10]: 550 <beast
external.example.com>: Recipient
address rejected: User unknown in relay recipient table;
from=<test
example.com> to=<beast
external.example.com> proto=ESMTP
helo=<internal.example.local>
Mar 24 14:56:22 blowfish postfix/smtpd[30620]: disconnect from
unknown[192.168.1.10]
mail-gw:
main.cf:
myhostname = mail.example.com
mydomain = $myhostname
mydestination = localhost, $myhostname
relay_domains = indorama.com
transport_maps = hash:/etc/postfix/transport
transportmap:
#local destination
mail.example.com :
# forward all to internal.example.local
example.com smtp:[192.168.1.10]:25
## external mail
external.example.com smtp:[192.168.1.6]:25
I guess the problem is i relay_domains, how to tell postfix to abey the
transport?
--
--beast
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]