This is a discussion on Name Service Error within the mailing.postfix.users forums, part of the Mail Servers and Related category; I have the following in /etc/postfix/master.cf: smtp inet n - y - - smtpd -o content_filter=3Dsmtp:localhost:10025 -o ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have the following in /etc/postfix/master.cf:
smtp inet n - y - - smtpd -o content_filter=3Dsmtp:localhost:10025 -o myhostname=3Dhargrove.lubb.ttuhsc.edu localhost:10026 inet n - n - 10 smtpd -o content_filter=3D -o myhostname=3Dlocalhost spampd is running and listening on port 10025. It is configured to hand-off to locahost:10026. To test this configuration, I am telnetting to port 25 and sending email. The following error appears in the log: Feb 9 20:34:45 hargrove postfix/smtp[30342]: 18ED26A407: to=3D<email.address@domain.edu>, relay=3Dnone, delay=3D15, status=3Dbounc= ed (Name service error for name=3Dlocalhost type=3DA: Host not found) I've googled and searched the archives, and the concensus seems to be tha= t I need to have localhost listed in mydestination, and I do. Following is my postconf -n. If anyone can shed some light on this, I'd appreciate it. Thanks. # postconf -n alias_database =3D hash:/etc/aliases alias_maps =3D hash:/etc/aliases append_dot_mydomain =3D no command_directory =3D /usr/sbin config_directory =3D /etc/postfix content_filter =3D lmtp:localhost:10025 daemon_directory =3D /usr/lib/postfix delay_warning_time =3D 4h fast_flush_domains =3D $relay_domains inet_interfaces =3D all local_recipient_maps =3D mail_owner =3D postfix mail_spool_directory =3D /var/spool/postfix mailq_path =3D /usr/bin/mailq manpage_directory =3D /usr/share/man mydestination =3D $myhostname, localhost, localhost.$mydomain mydomain =3D ttuhsc.edu myhostname =3D hargrove.lubb.ttuhsc.edu mynetworks =3D 66.230.0/24, 127.0.0.0/24 myorigin =3D $mydomain newaliases_path =3D /usr/bin/newaliases program_directory =3D /usr/lib/postfix relay_domains =3D physiology.ttuhsc.edu, ttmc.ttuhsc.edu, = =20 ttmcelp.ttuhsc.edu, ttmcod.ttuhsc.edu, relay_recipient_maps =3D hash:/etc/postfix/relay_recipients relayhost =3D [shiner.lubb.ttuhsc.edu] sample_directory =3D /etc/postfix/sample sendmail_path =3D /usr/sbin/sendmail setgid_group =3D postdrop smtpd_banner =3D $myhostname ESMTP $mail_name transport_maps =3D hash:/etc/postfix/transport -- Steve ------------------------------------------ http://www.exitwound.org......hard to find http://www.buckowensfan.com...he's the man ------------------------------------------ Tussman's Law: Nothing is as inevitable as a mistake whose time has come. ------------------------------------------ |