I know this question has come up a zillion times already, but I have
searched through the discussion forums and mailing list archives to no
avail.
We have a 10.4 mail server setup, and all mail access internally to our
network is working fine. The webmail also works fine outside of our
network. The only problem is sending mail from outside of our local
network. SMTP authentication is turned on, but I am constantly getting
relay access denied.
Our school sits behind the city councils network. Our server IP is
10.186.0.4 which has an external IP of 193.122.27.61. DNS records are
setup correctly internally and externally.
This is the result of postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
enable_server_options = yes
html_directory = no
inet_interfaces = all
local_recipient_maps =
luser_relay = mailerr
mail_owner = postfix
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination =
$myhostname,localhost.$mydomain,localhost,kingrichardschool.net
mydomain = kingrichardschool.net
mydomain_fallback = localhost
myhostname = mail.kingrichardschool.net
mynetworks = 127.0.0.0/8,193.122.27.61,10.186.0.4
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = hash:/etc/postfix/smtpdreject
smtpd_enforce_tls = no
smtpd_pw_server_security_options = plain,login
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
smtpd_reject_unlisted_recipient = no
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/certificates/Default.crt
smtpd_tls_key_file = /etc/certificates/Default.key
smtpd_use_pw_server = yes
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
Any help much appreciated.
Chris.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden