I am getting the below error when I try to send email from a pc from the
same network using sasl authentication to the postfix server.

Oct 24 23:02:36 server postfix/smtp[25874]: 7349F21003C: to=<
rhd...@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.07,
delays=0.05/0.01/0/0.01, dsn=5.0.0, status=bounced (host
127.0.0.1[127.0.0.1] said: 558 Relaying denied:  domain not valid

Below here is the postconf -n result. I am using vams, spampd as a proxy
server for spamassassin all running on the same server.

This postfix configuration has been used to relay mail to a Domino server
for over a year.  The only addition I have added was the sasl authentication
so I can use is as smtp server.

alias_maps = hash:/etc/postfix/mailusers
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps = hash:/etc/postfix/mailusers
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, $mydomain, localhost
mydomain = domain.com
myhostname = email3.domain.com
mynetworks = 10.0.0.0/24, 127.0.0.1/32
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
relay_domains = 10.0.0.0/24
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = reject_non_fqdn_recipient
    reject_non_fqdn_sender
    permit_mynetworks
    permit_sasl_authenticated
    reject_unauth_destination
    reject_unauth_pipelining
    reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = domain.com
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtp_sasl_security_options
transport_maps = hash:/etc/postfix/keytrans
unknown_local_recipient_reject_code = 550

Any ideas?

Reply via email to