Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problems setting up mail server

I have been trying to set up Mail Server, I have the internal mail working fine... but can't get the external relay working.

This is the error message that comes up 'Name service error for name=smtp1.tnz.mail.vip.aue.yahoo.com type=MX: Malformed or unexpected name server reply'


Can anyone point me in the right direction at least!

G5, Mac OS X (10.5)

Posted on Dec 10, 2007 12:25 PM

Reply
13 replies

Dec 11, 2007 11:23 AM in response to pterobyte

Macserver:~ admin$ postconf -n
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug peerlevel = 2
enable serveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailbox sizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message sizelimit = 31457280
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = Feast.co.nz
mydomain_fallback = localhost
myhostname = macserver.private
mynetworks = 127.0.0.0/8,192.168.1.0/24
newaliases_path = /usr/bin/newaliases
owner requestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost = send.xtra.co.nz
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtp sasl_authenable = yes
smtp sasl_passwordmaps = hash:/etc/postfix/sasl/passwd
smtpd enforcetls = no
smtpd pw_server_securityoptions = plain,gssapi,cram-md5
smtpd recipientrestrictions = permit sasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpd sasl_authenable = yes
smtpd tls_certfile = /etc/certificates/Default.crt
smtpd tls_keyfile = /etc/certificates/Default.key
smtpd tlsloglevel = 0
smtpd use_pwserver = yes
smtpd usetls = no
unknown local_recipient_rejectcode = 550
Macserver:~ admin$

Dec 11, 2007 11:41 AM in response to elbeardo77

relayhost = send.xtra.co.nz

Are you authorised to have your mail server send through "send.xtra.co.nz"? With or without authentication?

myhostname = macserver.private

Your host name should be a fully qualified name.

The log entry you show in your first post is not necessarily relevant. Do you see similar log entries no matter who you send to?

Dec 12, 2007 12:57 PM in response to pterobyte

Have used the settings recommended to me by my isp, but still no external outgoing mail!

alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug peerlevel = 2
enable serveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailbox sizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message sizelimit = 31457280
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = Feast.co.nz
mydomain_fallback = localhost
myhostname = Feast.co.nz
mynetworks = 127.0.0.0/8,192.168.1.0/24
newaliases_path = /usr/bin/newaliases
owner requestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost = mail.feast.co.nz
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtp sasl_authenable = yes
smtp sasl_passwordmaps = hash:/etc/postfix/sasl/passwd
smtpd enforcetls = no
smtpd pw_server_securityoptions = plain,gssapi,cram-md5
smtpd recipientrestrictions = permit sasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpd sasl_authenable = yes
smtpd tls_certfile = /etc/certificates/Default.crt
smtpd tls_keyfile = /etc/certificates/Default.key
smtpd tlsloglevel = 0
smtpd use_pwserver = yes
smtpd usetls = no
unknown local_recipient_rejectcode = 550
Macserver:~ admin$

What am I doing wrong?

Problems setting up mail server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.