1

Topic: Message reject detail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  0.9.9
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I installed pflogsumm so that every day I receive an email with the details of the activities of my Mail Server. I'm mainly interested in understanding the number of messages discarded by the server. In particular:

message reject detail
---------------------
 RCPT
   Helo command rejected: Host not found (total: 2)
          2   198.252.108.183
   Recipient address rejected: Intentional policy rejection (total: 60)
         56   vincenzo@server.eu
          1   piero@server.eu
          1   ilaria@server.it

Is there an easy way to go to view the senders of 4xx errors without needing to analyze the log directly? Thanks for your help.

----

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

2

Re: Message reject detail

vinacc wrote:

Is there an easy way to go to view the senders of 4xx errors without needing to analyze the log directly?

I'm afraid that analyzing the log file is the only way.

3

Re: Message reject detail

Why do I still not receive emails from this sender? This is the log:

Dec 25 09:37:05 mail postfix/postscreen[13573]: CONNECT from [83.158.4.26]:60656 to [xxx.xxx.xxx.xxx]:25
Dec 25 09:37:06 mail postfix/dnsblog[13574]: warning: dnsblog_query: lookup error for DNS query 26.4.158.83.zen.spamhaus.org: Host or domain name not found. Name service error for name=26.4.158.83.zen.spamhaus.org type=A: Host not found, try again
Dec 25 09:37:06 mail postfix/postscreen[13573]: PASS OLD [83.158.4.26]:60656
Dec 25 09:37:06 mail postfix/smtpd[13576]: connect from smtp1.iliad.it[83.158.4.26]
Dec 25 09:37:06 mail postfix/smtpd[13576]: Anonymous TLS connection established from smtp1.iliad.it[83.158.4.26]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 25 09:37:06 mail postfix/smtpd[13576]: NOQUEUE: reject: RCPT from smtp1.iliad.it[83.158.4.26]: 451 4.7.1 <piero@domain.eu>: Recipient address rejected: Intentional policy rejection, please try again later; from=<noreply@iliad.it> to=<piero@adomain.eu> proto=ESMTP helo=<smtp1.proxad.it>
Dec 25 09:37:06 mail postfix/smtpd[13576]: disconnect from smtp1.iliad.it[83.158.4.26] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8

I added on top/etc/postfix/helo_access.pcre

/^smtp1\.iliad\.it$/ OK
/^smtp1\.proxad\.it$/ OK

and executed the command:

python wblist_admin.py --add --whitelist 83.158.4.26 @iliad.it @proxad.it

what am I doing wrong?

4

Re: Message reject detail

You did it right.

vinacc wrote:

Recipient address rejected: Intentional policy rejection, please try again later

This is greylisting, you can ignore it. FYI:
https://docs.iredmail.org/errors.html#i … gain-later

5

Re: Message reject detail

ZhangHuangbin wrote:

You did it right.

vinacc wrote:

Recipient address rejected: Intentional policy rejection, please try again later

This is greylisting, you can ignore it. FYI:
https://docs.iredmail.org/errors.html#i … gain-later

Unfortunately I had to deactivate the greylisting... 24 hours later I have not received any mail from that domain. As soon as I deactivated it came immediately.