1 (edited by InformaticaTTU 2014-07-21 23:39:10)

Topic: Problem with Helo sending mails (Blacklist, Greylist...)

Hi there. First of all i'm sorry for my english.

My problem is about helo command from Thunderbird to Iredmail, i don't know why but when i try to send a mail from iRedMail server to another of my company i get helo errors like "Blacklisted" or "Greylisted". it only happen when i try to send to that host, but the other host log don't shows any connection from iRedMail host.

==== Required information ====
- iRedMail version: 1.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian Wheezy 7.6
- Related log if you're reporting an issue:
====

Jul 21 13:07:49 srv1m3 cbpolicyd[20586]: module=CheckHelo, action=reject, host=XX.XX.XX.XX, helo=[192.168.2.63], from=orig@host.com, to=dest@host.com, reason=blacklisted
Jul 21 13:07:49 srv1m3 postfix/smtpd[30537]: NOQUEUE: reject: RCPT from XX.Red-XX-XX-XX.staticIP.rima-tde.net[XX.XX.XX.XX]: 554 5.7.1 <dest@host.com>: Recipient address rejected: Invalid HELO/EHLO; Blacklisted; from=<orig@host.com> to=<dest@host.com> proto=ESMTP helo=<[192.168.2.63]>

====================================================================

Jul 21 13:14:07 srv1m3 cbpolicyd[29540]: module=Greylisting, action=defer, host=XX.XX.XX.XX, helo=[192.168.2.63], from=orig@host.com, to=dest@host.com, reason=greylisted
Jul 21 13:14:07 srv1m3 postfix/smtpd[31169]: NOQUEUE: reject: RCPT from 52.Red-XX-XX-XX.dynamicIP.rima-tde.net[XX.XX.XX.XX]: 451 4.7.1 <dest@host.com>: Recipient address rejected: Greylisting in effect, please come back later; from=<orig@host.com> to=<dest@host.com> proto=ESMTP helo=<[192.168.2.63]>

====================================================================

Sometimes after a wait time then the mail is sent:
====
Jul 21 13:21:46 srv1m3 postfix/smtpd[31809]: connect from 52.Red-XX-XX-XX.dynamicIP.rima-tde.net[XX.XX.XX.XX]
Jul 21 13:21:47 srv1m3 cbpolicyd[27313]: module=Greylisting, action=pass, host=XX.XX.XX.XX, helo=[192.168.2.63], from=orig@host.com, to=dest@host.com, reason=authenticated
Jul 21 13:21:47 srv1m3 postfix/smtpd[31809]: 33B81F621C: client=52.Red-XX-XX-XX.dynamicIP.rima-tde.net[XX.XX.XX.XX], sasl_method=PLAIN, sasl_username=orig@host.com
Jul 21 13:21:48 srv1m3 postfix/cleanup[31741]: 33B81F621C: message-id=<53CCF7C9.7090406@host.com>
Jul 21 13:21:48 srv1m3 postfix/qmgr[19942]: 33B81F621C: from=<orig@host.com>, size=720, nrcpt=1 (queue active)
Jul 21 13:21:48 srv1m3 postfix/smtpd[31809]: disconnect from 52.Red-XX-XX-XX.dynamicIP.rima-tde.net[XX.XX.XX.XX]

====================================================================

If i try to send the same mail from Roundcube then works fine, then the problem is Thunderbird but why only with that host, and why sometimes i get blacklisted and others greylisted...
I've tried in two different computers with two different OS, and i've tried to whitelist the IP but don't works.


Someone knows how i can fix this?

EDIT: I forgot to say that i've checked Thunderbird SMTP config and is fine, Authentication is enabled.
EDIT2: I've seen that only fails with that host, and fails even with local hosts (in same server). I've tried from other host and works all fine.
EDIT3: After a lot of tests i've seen that the problem is from that host to all of my other hosts (don't care if are local or remote, but with other like gmail works). I don't understand why fails the Helo if are the same for Gmail, local and remote servers...

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem with Helo sending mails (Blacklist, Greylist...)

Did you check SQL table "cluebringer.checkhelo_blacklist"? Does it contain any SQL record related to this IP address or HELO identity?

3 (edited by InformaticaTTU 2014-07-22 17:21:27)

Re: Problem with Helo sending mails (Blacklist, Greylist...)

I really didn't check that, but now have only local (127.0.0.1, local, local.local...).

Finally i've deleted the whole domain and i've recreated all accounts and now works fine. That problem was very strange, because we have 11 domains and all works fine even with same client and helo.

Thanks for help anyway smile

Greetings

4

Re: Problem with Helo sending mails (Blacklist, Greylist...)

I guess this mail domain was not listed in Cluebringer policy group 'internal_domains', and re-create this domain with iRedAdmin-Pro added it to this policy group. Looks like we can check this right now, so i close this thread.