|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Mark Watts (m.watts
eris.qinetiq.com)
Date: Tue Jul 03 2007 - 05:20:47 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm trying to get sender_dependent_relayhost_maps working so that I can relay mail <from> a particular domain through another server.
When I use the config below, I get the following in my mail logs:
==> errors <==
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/smtp[30137]: fatal: unknown service: [128.98.10.175]/tcp
==> info <==
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/smtpd[30133]: connect from localhost[127.0.0.1]
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/smtpd[30133]: B690429E54: client=localhost[127.0.0.1]
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/cleanup[30136]: B690429E54: message-id=<200707031115.02457.foo
foo.eris.qinetiq.com>
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/qmgr[29863]: B690429E54: from=<foo
foo.eris.qinetiq.com>, size=548, nrcpt=1 (queue active)
Jul 3 11:15:02 mwatts.eris.qinetiq.com postfix/smtpd[30133]: disconnect from localhost[127.0.0.1]
Jul 3 11:15:03 mwatts.eris.qinetiq.com postfix/error[30138]: B690429E54: to=<m.watts
linux-corner.info>, relay=none, delay=1, delays=0.01/1/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)
==> warnings <==
Jul 3 11:15:03 mwatts.eris.qinetiq.com postfix/qmgr[29863]: warning: private/smtp socket: malformed response
Jul 3 11:15:03 mwatts.eris.qinetiq.com postfix/qmgr[29863]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Jul 3 11:15:03 mwatts.eris.qinetiq.com postfix/master[29224]: warning: process /usr/lib/postfix/smtp pid 30137 exit status 1
Jul 3 11:15:03 mwatts.eris.qinetiq.com postfix/master[29224]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
/etc/postfix/sender_maps:
foo
foo.eris.qinetiq.com 128.98.10.175
I've also tried:
foo
foo.eris.qinetiq.com smtp:[128.98.10.175]
What am I doing wrong?
postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
forward_path = $home/.forward
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.4.0/html
inet_interfaces = all
mail_owner = postfix
mailbox_size_limit = 1024000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 102400000
mydestination = localhost $myhostname
myhostname = mwatts.eris.qinetiq.com
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.0/README_FILES
relayhost = 128.98.2.2
sample_directory = /etc/postfix
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_maps
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
smtpd_sasl_path = smtpd
unknown_local_recipient_reject_code = 550
--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQBGiiL/Bn4EFUVUIO0RArtBAKCOdsnPSKnl6oFC+Wnn8K0+VEgpyQCeLOj8
oiZ6HKz+xNMTmrHcZo8w0oc=
=eIPu
-----END PGP SIGNATURE-----
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]