Answer the question
In order to leave comments, you need to log in
Postfix has a problem sending to any emails Relay access denied What's wrong with the configuration?
Aug 14 15:18:15 server postfix/smtpd[2268]: connect from localhost[127.0.0.1]
Aug 14 15:18:15 server postfix/smtpd[2268]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<xx.su>
Aug 14 15:18:15 server postfix/smtpd[2268]: warning: non-SMTP command from localhost[127.0.0.1]: To: [email protected]
Aug 14 15:18:15 server postfix/cleanup[1296]: 0845DDC13E7: message-id=<[email protected]>
Aug 14 15:18:15 server postfix/smtpd[2268]: disconnect from localhost[127.0.0.1]
Aug 14 15:18:15 server postfix/qmgr[1278]: 0845DDC13E7: from=<[email protected]>, size=982, nrcpt=1 (queue active)
Aug 14 15:18:15 server postfix/smtp[2269]: 0845DDC13E7: to=<[email protected]>, orig_to=<postmaster>, relay=none, delay=0.08, delays=0.06/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=change-this-to-your.domain.tld type=A: Host not found)
Aug 14 15:18:15 server postfix/bounce[1302]: warning: 0845DDC13E7: undeliverable postmaster notification discarded
Aug 14 15:18:15 server postfix/qmgr[1278]: 0845DDC13E7: removed
smtp_helo_name = xx.su
myhostname = mail.xx.su
mydomain = xxsu
myorigin = xx.su
mydestination = $myhostname, localhost.$mydomain, localhost
inet_protocols = ipv4
inet_interfaces = all
mynetworks =
notify_classes = resource, software, protocol, policy
virtual_minimum_uid = 120
virtual_uid_maps = static:120
virtual_gid_maps = static:120
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
local_recipient_maps = $alias_maps
message_size_limit = 31457280
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client_hostname
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname,
reject_unknown_helo_hostname
smtpd_helo_required = yes
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient
virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql/domains.cf
virtual_alias_maps =
mysql:/etc/postfix/sql/alias.cf,
mysql:/etc/postfix/sql/alias_domain.cf,
mysql:/etc/postfix/sql/alias_domain_catchall.cf
virtual_mailbox_maps =
mysql:/etc/postfix/sql/mailbox.cf,
mysql:/etc/postfix/sql/alias_domain_mailbox.cf
# Dovecot LDA
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
virtual_mailbox_base = /home/vmail
# Dovecot SASL
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question