Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- smtpd_recipient_restrictions = reject_invalid_hostname,
- reject_unknown_recipient_domain,
- reject_unauth_destination,
- reject_rbl_client sbl.spamhaus.org,
- permit
- smtpd_helo_restrictions = reject_invalid_helo_hostname,
- reject_non_fqdn_helo_hostname,
- reject_unknown_helo_hostname
- smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net
- relayhost = [<public server IP through OpenVPN>]
- smtpd_helo_required = no
- Sep 2 15:53:53 HomeServer sm-mta[6677]: t82Drr6w006677: from=sys@mydomain.com, size=69, class=0, nrcpts=1, msgid=<201509021353.t82Drr6w006677@HomeServer.blablabla_crappyRouter>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
- Sep 2 15:53:53 HomeServer sm-mta[6679]: STARTTLS=client, relay=mydomain.com., field=cn_subject, status=failed to extract CN
- Sep 2 15:53:53 HomeServer sm-mta[6679]: STARTTLS=client, relay=mydomain.com., field=cn_issuer, status=failed to extract CN
- Sep 2 15:53:53 HomeServer sm-mta[6679]: STARTTLS=client, relay=mydomain.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
- Sep 2 15:53:53 HomeServer sm-mta[6679]: t82Drr6w006677: to=info@mydomain.com, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120069, relay=mydomain.com. [93.186.192.197], dsn=4.7.1, stat=Deferred: 450 4.7.1 <HomeServer.blablabla_crappyRouter>: Helo command rejected: Host not found
- ehlo localhost
- mail from: sys@mydomain.com
- rcpt to: info@mydomain.com
- data
- Subject: My first mail on Postfix
- Hi,
- Are you there?
- regards,
- Admin
- .
- quit
- cat mail.txt | nc localhost 25
- smtpd_helo_restrictions = reject_invalid_helo_hostname,
- reject_non_fqdn_helo_hostname,
- reject_unknown_helo_hostname
- smtpd_helo_restrictions =
- permit_mynetworks,
- reject_invalid_helo_hostname,
- reject_non_fqdn_helo_hostname,
- reject_unknown_helo_hostname
- smtpd_delay_reject = yes
- mua_helo_restrictions =
- permit_sasl_authenticated,
- reject_unknown_helo_hostname
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement