535 Authentication failed. Restarting authentication process. 535 Authentication failed...

Topic: 535 Authentication failed. Restarting authentication process.

Post 535 Authentication failed. Restarting authentication process.
by cowboy0629 on Thursday, August 31, 2017

I have been trying to solve this problem for 2 days now I can receive email from everywhere internal and external.... I can send email to my internal network I just can't send email to external networks such as Joe@somecompany.com

My Server is Linux based using Debian (stretch) on raspberry pi using the Postfix & Dovecot

my isp blocks port 25 incoming and outgoing so I am using

store/forward (working great)


(SASL authentication failed; server relay.dynu.com[] said: 535 Authentication failed. Restarting authentication process.)


# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Raspbian)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_use_auth_only = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes

smtpd_recipient_restrictions =


smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
#myhostname = tilleys.mydomain.com
myhostname = mail.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.localdomain, localhost, mail.mydomain.com
#mydestination = localhost
relayhost = [relay.dynu.com]:26
smtp_generic_maps = hash:/etc/postfix/generic
mynetworks = [::ffff:]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all

#Handing off local delivery to Dovecot's LMTP, and telling it where to store mail
virtual_transport = lmtp:unix:private/dovecot-lmtp

#Virtual domains, users, and aliases
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf

relay.dynu.com          relay@relay.mydomain.com:Password

/etc/postfix/generic (not sure if I actually need this or not??

miked@mydomain miked@mydomain.com
miked@mydomain.com miked@mydomain.com

root@mydomain miked@mydomain.com
root@mydomain.com miked@mydomain.com

Reply with quote | Report
Post Re: 535 Authentication failed. Restarting authentication process.
by vesey on Thursday, August 31, 2017

Looks like an authentication issue on outbound relay service. Did you try resetting the password?

Reply with quote | Report
Wednesday, November 22, 2017 12:20 AM