Running Ubuntu, iRedMail, Mysql, Amavis, Spamassassin, Dovecot, Postfix

Recently had some unauthorized usage of a postfix server internally from a malware deprecated staging server. I worked on hardening the install but now external sasl logged in users can no longer send email.

May  3 15:35:07 nexus postfix/smtpd[19109]: NOQUEUE: reject: RCPT from tld.com[100.100.x.x]: 554 5.7.1 <tld.com[100.100.x.x]>: 
Unverified Client host rejected: Generic - Please relay via ISP (tld.com); from=<user@logged.in> to=<test.email@tld.com> proto=ESMTP helo=<[]>

Postfix main.cf: https://pastee.org/pcfvn [now a 404]

Postfix master.cf: https://pastee.org/22y8f [now a 404]

I did look at: Postfix rejecting mail from authenticated clients but it didn't seem to be my problem or at least not conventionally.

I think I've read enough that I've gone temporarily blind with information. If anyone sees the needle in my haystack, your attention is appreciated.

  • There's too much obfuscation here. Please repost the information without obfuscation. – Michael Hampton May 4 '16 at 5:02
  • Thanks Michael, I'll take that into consideration next time. I wasn't sure how much of my laundry I should hang out there. I cross-posted the ServerFault URL a few places and a response came in through twitter that resolved the issue via dropping the DNS PTR issue completely or at least moving it down. Doing so fixed it. – Ciordia9 May 4 '16 at 16:11

Winning suggestion came from Twitter / @CBallou: https://twitter.com/cballou/status/727593905399734273

DNS PTR issue. Test removing check_reverse_client_hostname_access

I removed it, mail passed. Re-added it below permit sasl lines and we're still golden.

Definitely glad for some extra eyeballs on it. I should have stripped some of my new blocks out, or at least moved my permissions to the top and slowly dropped them down for verification. I was too stuck in the idea that sasl auth wasn't getting understood by postfix, when it wasn't even getting a chance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.