1

Topic: long time before mail arrives

Hi,
I have installed iRedMail, everything works, but it takes very long time before e-mail arrives from other domains.. but when I'm sending between my accounts it takes normal time. what can it be?

----

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

2

Re: long time before mail arrives

Search 'greylisting' in google.

3

Re: long time before mail arrives

ZhangHuangbin wrote:

Search 'greylisting' in google.

I did this but what should I do smile
You see I'm quite new at this stuff smile

4

Re: long time before mail arrives

Just the first time would delay, later would arrive at once.

5

Re: long time before mail arrives

thank You!
hope I did everything right and there will be no delay any more smile

6

Re: long time before mail arrives

I found this in my logs "Recipient address rejected: Policy Rejection- Please try later" This is from a known address that is good. Is there a way to let good addresses that I know are good through right away? Also how long will it take the email to come through after it has been rejected once?


Thanks

darrell

7 (edited by radu 2010-04-18 00:38:24)

Re: long time before mail arrives

dbetts22 wrote:

I found this in my logs "Recipient address rejected: Policy Rejection- Please try later" This is from a known address that is good. Is there a way to let good addresses that I know are good through right away? Also how long will it take the email to come through after it has been rejected once?


Thanks

darrell


Yes you can insert a known address/domain/subnet into the mysql database:

Ex for subnet:
INSERT INTO whitelist (_whitelist,_description) VALUES ('209.85.%.%','# Gmail servers (common pool, no retry)');

Ex for email address:
INSERT INTO whitelist_sender (_whitelist,_description) VALUES ('sender@domain.com','# My old friend - this is just a comment');

Same applies for anything

The tables for policyd are these:

+------------------------+
| Tables_in_policyd      |
+------------------------+
| blacklist              |
| blacklist_dnsname      |
| blacklist_helo         |
| blacklist_sender       |
| helo                   |
| policy                 |
| policy_training        |
| rcpt_acl               |
| spamtrap               |
| throttle               |
| throttle_from_instance |
| throttle_rcpt          |
| triplet                |
| whitelist              |
| whitelist_dnsname      |
| whitelist_sender       |
+------------------------+


As for the question how long it will take for the greylist:

Well the greylist is by default set to 4 minutes. So basically if the senders mail server retries during those 4 minutes he will still get a retry
After those 4 minutes when the server will retry it will pass.

Basically it depends on the sending server, how soon it was set to retry, most have like 10-15 minutes, but some have way longer times.

For some servers i recommend either to whitelist the domain (like google which has xxxxxx subnets) since when the sender retries it will use a different ip address and it might take longer. Or whitelist the sender address.

Best of luck

8

Re: long time before mail arrives

You may also just disable 'greylisting' all togeather if you want by changing the GREYLISTING option in your postfix-policyd.conf file. smile

9 (edited by yaman 2010-06-02 20:32:19)

Re: long time before mail arrives

After inserting records in tables, must I restart postfix and must I enable greylisting in /etc/postfix-policyd.conf? By default I have greylisting=0. And what else I must enable in configs? I`m sorry for my question, I have not experience enough. smile

10 (edited by icedevil 2010-06-03 14:37:51)

Re: long time before mail arrives

[postfix-policyd-sf.conf]
yes, you must enable each feature you want with "1"