Another Relay Access Denied.

sam sam.wun at authtec.net
Sun Oct 10 06:25:48 EDT 2004


Hi,

I installed cyrus-imap2.2, sasl2 and postfix2 as a mail server.
sending email to external mail server is fine, but got Relay access 
denied when receiving external email.

Here is the log I found in my log:
Oct 10 18:10:25 at postfix/smtpd[78505]: connect from 
mta08bw.bigpond.com[144.135.24.137]
Oct 10 18:10:26 at postfix/smtpd[78505]: warning: support for 
restriction "check_relay_domains" will be removed from Postfix; use 
"reject_unauth_destination" instead
Oct 10 18:10:26 at postfix/smtpd[78505]: NOQUEUE: reject: RCPT from 
mta08bw.bigpond.com[144.135.24.137]: 554 <sam at mydomain.com>: Recipient 
address rejected: Relay access denied; from=<sam at bigpond.com> 
to=<sam at mydomain.com> proto=ESMTP helo=<mta08bw.bigpond.com>
Oct 10 18:10:26 at postfix/smtpd[78505]: disconnect from 
mta08bw.bigpond.com[144.135.24.137]

I think the proper fix is use a correct auth smtp configuration, but I 
don't know how to trace the correct configuraiton of this setup.
I also attached the output of postconf  -n here for more info:

alias_database = hash:/usr/local/etc/postfix/aliases
alias_maps = hash:/usr/local/etc/postfix/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/usr/local/etc/postfix/canonical
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter =
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = all
local_destination_concurrency_limit = 10
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = $mydomain
masquerade_exceptions = root
message_size_limit = 30000000
mydestination = $myhostname, localhost.$mydomain
myhostname = at.mydomain.com
myorigin = $mydomain
newaliases_path = /usr/local/sbin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relayhost =
relocated_maps = hash:/usr/local/etc/postfix/relocated
sample_directory = /usr/local/etc/postfix
sender_canonical_maps = hash:/usr/local/etc/postfix/sender_canonical
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = 
permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access
smtpd_tls_CAfile = /root/at-keys/ca.crt
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /root/at-keys/gateway.crt
smtpd_tls_key_file = /root/at-keys/gateway.key
smtpd_tls_received_header = yes
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_daemon_random_source = dev:/dev/urandom
tls_random_source = dev:/dev/urandom
transport_maps = hash:/usr/local/etc/postfix/transport

Thank you in advance
sam

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list