[rt-users] Relay Access Denied on incoming email postfix. (RT 4.0.6)

Hesan D Yousif hesan.y at sussexstudent.com
Mon Aug 13 10:35:27 EDT 2012


Hi all,

Getting annoyingly frustrated with relay access denied errors on my rt 
4.0.6 instllation. Specifically:

NOQUEUE: reject: RCPT

postconf -n gives:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = xxx.com, localhost.xxx.com, $myhostname, 
localhost.$mydomain, localhost
mydomain = yyy.yy.yy.yy
myhostname = rtsu.yyyy.yyyy.yy.yy
mynetworks = 13x.xxx.150.0/28, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = [smtp.gmail.com]:587
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_loglevel = 1
smtp_tls_security_level = encrypt
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_recipient_restrictions = 
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/pki/tls/certs/rtsu.yyyy.yyyy.yy.yy.crt
smtpd_tls_key_file = /etc/pki/tls/private/rtsu.yyyy.yyyy.yy.yy.key
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 450

It seems to occur only on incoming emails, not outgoing. I am relaying 
email on all outbound emails, but not when they come into the rt server.

Any help would be greatly appreciated.

Regards,
Hesan







More information about the rt-users mailing list