RE: Not Receiving Mail
11-11-2016, 02:47 PM
(This post was last modified: 11-11-2016, 02:49 PM by Surf3rDud3.)
Code:
Connecting to xxx.xx.xxx.xx
220 mail.domain.tld ESMTP [672 ms]
EHLO PWS3.mxtoolbox.com
250-mail.domain.tld
250-PIPELINING
250-SIZE 20480000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN [641 ms]
MAIL FROM:<supertool@mxtoolbox.com>
250 2.1.0 Ok [641 ms]
RCPT TO:<test@example.com>
454 4.7.1 <test@example.com>: Relay access denied [642 ms]
PWS3v2 3283ms
Ive changed the file...
Code:
# network settings
inet_interfaces = all
mydomain = devrea.com
myhostname = mail.domain.tld
mynetworks = 127.0.0.0, xxx.xx.xxx.xx
mydestination = localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf
Code:
# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain