Discussion:
Receiving "Relay access denied" error
(too old to reply)
Tomas Tudja
2006-08-28 17:28:01 UTC
Permalink
I am receiving

PERM_FAILURE: SMTP Error (state 9): 554 <***@catcher.no-ip.org>:
Relay access denied

error while trying to send mail to server with postfix from a remote machine.

postconf -n:

alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.2.5/html
inet_interfaces = all
mailbox_size_limit = 124857600
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 104857600
mydestination = /etc/postfix/local-host-names, catcher.noip.org
mynetworks = all
mynetworks_style = all
newaliases_path = /usr/bin/newaliases
owner_request_special = no
readme_directory = /usr/share/doc/postfix-2.2.5/README_FILES
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = all
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450

I was trying to find the solutions in documentation, but no result.
I started to have this problem when I installed smtpd authentication.

Thank You for any suggestion in advance.

Best regards
Tomas
/dev/rob0
2006-08-28 17:46:11 UTC
Permalink
Post by Tomas Tudja
Relay access denied
MUA error messages are useless. Read Your Logs!!
Post by Tomas Tudja
error while trying to send mail to server with postfix from a remote machine.
The client either failed to authenticate, or authentication failed.
Logs of this transaction would have given us a definitive answer.
Post by Tomas Tudja
I was trying to find the solutions in documentation, but no result.
I started to have this problem when I installed smtpd authentication.
This comes up regularly here on the list. Saslfinger is your friend.
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
Noel Jones
2006-08-28 17:46:26 UTC
Permalink
Post by Tomas Tudja
I am receiving
PERM_FAILURE: SMTP Error (state 9): 554
Relay access denied
Either the client didn't authenticate, or your
authentication is broken. Look in your mail log to see
which. Also see:
http://www.postfix.org/SASL_README.html#server_test
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/
--
Noel Jones
Post by Tomas Tudja
error while trying to send mail to server with postfix
from a remote machine.
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.2.5/html
inet_interfaces = all
mailbox_size_limit = 124857600
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 104857600
mydestination = /etc/postfix/local-host-names, catcher.noip.org
mynetworks = all
mynetworks_style = all
newaliases_path = /usr/bin/newaliases
owner_request_special = no
readme_directory = /usr/share/doc/postfix-2.2.5/README_FILES
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = all
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name
($mail_version) (Mandriva Linux)
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
I was trying to find the solutions in documentation, but
no result.
I started to have this problem when I installed smtpd
authentication.
Thank You for any suggestion in advance.
Best regards
Tomas
Continue reading on narkive:
Loading...