Bluehost.com Web Hosting $6.95

Name Service Error

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2004
Stephen Hargrove
 
Posts: n/a
Default Name Service Error

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.
------------------------------------------

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0