[Tfug] Postfix mail gateway
Mike Morrell
mike at themorrells.org
Sat Jun 5 23:41:51 MST 2004
I am finally setting up a mail gateway for my domain using postfix.
Currently I only have postfix handiling mail for the gateway computer as
a test. Whenever I send a message to my own domain or any ohter I get
hte following error.
gatekeeper postfix/smtp[10473]: 6DBE471A0C: to=<mike at themorrells.org>,
relay=none, delay=0, status=bounced (localhost: No such file or
directory)
It appears that postfix is trying to handle all email locally instead
of relaying. Whats funny is that the bounce for the undeleiverable mail
gets deleivered.
gatekeeper postfix/smtp[10476]: B27FD71A0B: to=<root at themorrells.org>,
relay=192.168.0.8[192.168.0.8], delay=0, status=sent (250 ok 1086503555
qp 2605)
I want to relay all mail for my domain to mail.themorrells,s.org
(192.168.0.8 internally). Here are some bits from the relevant configs.
main.cf
myorigin = themorrells.org
myhostname = gatekeeper.themorrells.org
mydomain = themorrells.org
myorigin = themorrells.org
mydestination = $myhostname, localhost.$mydomain, \
themorrells.org
mynetworks = 192.168.0.8/32
biff = no
smtpd_banner = gatekeeper.themorrells.org ESMTP
local_transport = no local mail delivery
local_recipient_maps =
transport_maps = hash:/etc/postfix/transport
transport
themorrells.org smtp:[192.168.0.8]
I did run postmap /etc/postfix/transport after creating the transport
file. Can anyone give me some ideas of what I might have done wrong?
More information about the tfug
mailing list