1

Topic: policy problem

==== Provide basic information to help troubleshoot ====
- iRedMail version 0.7.2:
- centos 5.5:
====

Recently some users have some problems with sending more then 10 emails and they got message back:

554 5.7.1 Failed, id=19332-08, from MTA([127.0.0.1]:10025): 554 5.7.1
<END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Limit has been
reached

I cant find solution to solve this problem.

mail log:
Sep 30 11:59:34 mail postfix/smtpd[14277]: E9C587A09C7: reject: END-OF-MESSAGE from xxx.xxxxxx.xx[127.0.0.1]: 554 5.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Limit has been reached.; from=<xxxxxx@xxxxxxxxxxxx.xx> to=<xxxxxx@xxxxxxxxx.xx> proto=ESMTP helo=<localhost>
Sep 30 11:59:34 mail amavis[15178]: (15178-17) Negative SMTP response to data-dot (<xxxxxxx@vxxxxxx.xx>): 554 5.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Limit has been reached.
Sep 30 11:59:34 mail amavis[15178]: (15178-17) (!)FWD via SMTP: <xxxxxx@xxxxxxxxxx.xx> -> <xxxxxx@xxxxxxxxx.xx>,BODY=7BIT 554 5.7.1 Failed, id=15178-17, from MTA([127.0.0.1]:10025): 554 5.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Limit has been reached.


Regards
micentosh==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: policy problem

It was caused by Policyd. Please check policyd config file /etc/policyd*, change related limit.

3

Re: policy problem

thanks for your answer, i increased some limits at policyd.conf added txt.
but i still get the same error when somebody sends like 50 messages in a row

Post's attachments

SENDER THROTTLE.txt 4.77 kb, 2 downloads since 2011-10-06 

You don't have the permssions to download the attachments of this post.

4

Re: policy problem

Is your server under heavy load?

I just found that it was not Policyd configure issue, it was concurrent connections issue.
Reference: http://permalink.gmane.org/gmane.mail.p … olicyd/515

You can try to add this line in /etc/security/limits.conf:

policyd         hard    nofile          2048

5

Re: policy problem

thanks for answer
i added the line into limits and i hope its now fixed.
server load is 1.35, 0.85, 0.38
will notify after few days what is happend

regards

6 (edited by micentosh 2011-10-10 18:03:12)

Re: policy problem

Still getting this error, and i cant find solution

Oct 10 12:11:44 mail postfix/smtpd[4005]: AE4C97A070D: reject: END-OF-MESSAGE from unknown[000.000.000.00]: 554 5.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Limit has been reached.; from=<xxxxxx@xxxxxxx.xx> proto=ESMTP helo=<hpelitebook