[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:47:00 EDT 2012


Hi Kevin,

Apologies, its:

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 = sussexstudent.com, localhost.sussexstudent.com, 
$myhostname, localhost.$mydomain, localhost
mydomain = ussu.susx.ac.uk
myhostname = mail.ussusupport.co.uk
mynetworks = 139.184.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.ussu.susx.ac.uk.crt
smtpd_tls_key_file = /etc/pki/tls/private/rtsu.ussu.susx.ac.uk.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

I have tried a variety of hostname combinations -but I've been getting 
nowhere for a while now.

Hesan
On 13/08/2012 15:44, Kevin Falcone wrote:
> o This usually points to misconfigured aliases or not listing the
> hostname that mail is being delivered to in the list of hostnames
> postfix knows about.  However, you've cut all the useful pieces out of
> your error message so we're just guessing.
>
> -kevin




More information about the rt-users mailing list