1 (edited by keng 2012-04-24 13:01:09)

Topic: Can't receive big mail

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====
CentOS5.7
iRedMail-0.7.4  openldap backend
maillog: policyd: rcpt=1, greylist=update, host=65.xxx.116.46 (unknown), from=xxxx@live.com, to=User@xxxx.xxx, size=11015021


I want to receive big mail, how to extent site of policyd and postfix extent already.

----

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

2

Re: Can't receive big mail

Reference:

- Change attachment size in Postfix and Roundcube webmail:
  http://www.iredmail.org/forum/topic464- … -size.html

- Attachment size in Policyd is configured in /etc/policyd.conf.

3

Re: Can't receive big mail

Thank you, ZhangHuangbin  Postfix fix already,

But, in policyd.conf in  "SENDERMSGSIZE=31457280 " ?

4

Re: Can't receive big mail

keng wrote:

But, in policyd.conf in  "SENDERMSGSIZE=31457280 " ?

Sender throttling is configured in /etc/policyd_sender_throttle.conf.

5 (edited by keng 2012-04-25 17:29:27)

Re: Can't receive big mail

Thank you, I'm change already But, Mail 16MB delay 10 hr. Please help me.

maillog::
maillog |grep by xxx@yahoo.com
Apr 24 09:13:57 xxx01 policyd: rcpt=26, module=bypass, host=98.139.xxx.xxx (unknown), from=xxx@yahoo.com, to=myUser@mydomain.com, size=0
Apr 24 14:14:58 xxx01 policyd: rcpt=89, module=bypass, host=98.139.xxx.xxx (unknown), from=xxx@yahoo.com, to=myUser@mydomain.com, size=0
Apr 24 19:15:59 xxx01 policyd: rcpt=122, module=bypass, host=98.139.xxx.xxx (unknown), from=xxx@yahoo.com, to=myUser@mydomain.com, size=0
Apr 25 03:25:54 xxx01 postfix/qmgr[595]: 23C5F22006C: from=<xxx@yahoo.com>, size=23087275, nrcpt=1 (queue active)
Apr 25 03:29:25 xxx01 postfix/qmgr[595]: 624DB220072: from=<xxx@yahoo.com>, size=23087925, nrcpt=1 (queue active)
Apr 25 03:29:26 xxx01 amavis[6905]: (06905-02) Passed CLEAN, LOCAL [98.139.xxx.xxx] [110.xxx.xxx.xxx] <xxx@yahoo.com> -> <myUser@mydomain.com>, Message-ID: <1335258818.50656.YahooMailNeo@web162102.mail.bf1.yahoo.com>, mail_id: hcZtS1l5MkXN, Hits: 1.176, size: 23087273, queued_as: 624DB220072, dkim_id=@yahoo.com,xxx@yahoo.com, 210078 ms

>> how I can set fix it

6

Re: Can't receive big mail

Delay is caused by greylisting, you can disable greylisting in /etc/policyd.conf for testing. Reference:
http://iredmail.org/wiki/index.php?titl … reylisting

It's recommended to enable greylisting.

7

Re: Can't receive big mail

Hi, ZhangHuangbin sir

Thank you, That's change already, still delay 10 hour in big email, small email not dealy, 

big email = 6-10MB.

8

Re: Can't receive big mail

That's strange, it should arrive immediately.
Still no idea yet, sorry.

9 (edited by keng 2012-04-26 10:35:23)

Re: Can't receive big mail

Possible in case amavis scan slow ?

10 (edited by keng 2012-05-01 23:53:33)

Re: Can't receive big mail

in mysql Tables_in_policyd have about limit size mail ? But, I'm use ldap

11

Re: Can't receive big mail

help me please

12

Re: Can't receive big mail

No idea at all, sorry. sad
Did you check network filewall/router?

13

Re: Can't receive big mail

My Server is VPS not have filewall. speed normal

Gmail
Delivery to the following recipient failed permanently:

maillog
This process postfix/cleanup in hold and return mail to Gmail 

possible bug in case bigmail ?   

Big mail lost or delay 10 hr.
small mail is normail faster.

14

Re: Can't receive big mail

keng wrote:

Gmail
Delivery to the following recipient failed permanently:

Could you please paste full log reported by Gmail in this Gmail message?

15

Re: Can't receive big mail

It might be caused by Policyd.

- Did you enable sender throttling with Policyd? Could you please post output of command 'postconf -n' to help troubleshoot?
- If you have sender throttling enabled, please show us Policyd settings.

16

Re: Can't receive big mail

Did you try to disable Policyd in Postfix then test it again?

To disable Policyd in Postfix, simply remove 'check_policy_service inet:127.0.0.1:7777, ' in smtpd_recipient_restrictions.

WARNING: If you want to enable Policyd again, please make sure you add above restriction in the original order in smtpd_recipient_restrictions.

17

Re: Can't receive big mail

//Problem close// and Thank you very much ZhangHuangbin.


I confirm iRedmail the best of mail server open source


//Root cause:
Some equipment of my ISP block big email for protect customer