1

Topic: Greylisting

==== Required information ====
- iRedMail version: iRedMail-0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.3 LTS
- Related log if you're reporting an issue: mail.log
Jan 14 10:19:01 mail postfix/smtpd[13274]: NOQUEUE: reject: RCPT from smtp04.newegg.com[216.52.208.142]: 451 4.7.1 <peter@tracetrix.com>: Recipient address rejected: Greylisting in effect, please come back later; from=<info@newegg.com> to=<peter@tracetrix.com> proto=ESMTP helo=<smtp04.newegg.com>
Jan 14 10:26:14 mail amavis[6431]: (06431-08) Passed CLEAN, LOCAL [216.52.208.142] [216.52.208.142] <info@newegg.com> -> <peter@tracetrix.com>, Message-ID: <E3MSQ04BlHXjOnaaR2m00000815@E3MSQ04B.newegg.com>, mail_id: NaC-6VdUtjlA, Hits: 1.008, size: 43300, queued_as: CAD94438AB, dkim_id=@newegg.com, 6815 ms
Jan 14 10:26:14 mail postfix/smtp[13322]: C640841FF7: to=<peter@tracetrix.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.7, delays=2.2/0.16/1/6.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as CAD94438AB)
Jan 14 10:26:14 mail postfix/qmgr[29754]: C640841FF7: removed
====
Hi,

i never got the mail from newegg

i dont want to disable greylisting, but there are senders like newegg of course i don't want to greylist.
I could only find how to disable it but not how to configure it, or how to permanently remove a sender from greylist

Thanks,
Peter

2

Re: Greylisting

Could you please show me output of below SQL commands? So that i can know how to help disable greylisting for this sender.

mysql> USE cluebringer;
mysql> SELECT * FROM policies;
mysql> SELECT * FROM policy_members;

3

Re: Greylisting

ZhangHuangbin wrote:

Could you please show me output of below SQL commands? So that i can know how to help disable greylisting for this sender.

mysql> USE cluebringer;
mysql> SELECT * FROM policies;
mysql> SELECT * FROM policy_members;

| ID | Name                   | Priority | Description                              | Disabled |
+----+------------------+----------+--------------------------------+----------+
|  1 | Default                 |        0 | Default System Policy                 |        0 |
|  2 | Default Outbound |       10 | Default Outbound System Policy  |        0 |
|  3 | Default Inbound    |       10 | Default Inbound System Policy    |        0 |
|  4 | Default Internal    |       20 | Default Internal System Policy    |        0 |
|  5 | Test                     |       50 | Test policy                                |        0 |


+----+----------+-----------------------------------+--------------------+---------+----------+
| ID | PolicyID | Source                            | Destination        | Comment | Disabled |
+----+----------+-----------------------------------+--------------------+---------+----------+
|  1 |        1 | NULL                                            | NULL                       | NULL    |        0 |
|  2 |        2 | %internal_ips,%internal_domains    | !%internal_domains | NULL    |        0 |
|  3 |        3 | !%internal_ips,!%internal_domains  | %internal_domains  | NULL    |        0 |
|  4 |        4 | %internal_ips,%internal_domains    | %internal_domains  | NULL    |        0 |
|  5 |        5 | @example.net                               | NULL                      | NULL    |        0 |
+----+----------+-----------------------------------+--------------------+---------+----------+

4

Re: Greylisting

Please download two SQL files in below URL and import them:
https://bitbucket.org/zhb/iredmail/src/ … uebringer/

For example:

mysql> USE cluebringer;
mysql> SOURCE /tmp/extra.sql;
mysql> SOURCE /tmp/column_character_set.mysql;

Then go to Cluebringer web ui to disable greylisting for emails sent by domain 'newegg.com':

- click "Groups" under "Policies"
- click radio box "no_greylisting_for_external", choose "Members" in "Action" drop-down menu.
- choose "Add" in in "Action" drop-down menu
- input "@newegg.com" (without quotes) for "Member".
- click "Submit" button.

That's all. Let me know whether it works for you or not.