1 (edited by darth_wells 2013-10-21 23:17:24)

Topic: Inbound messages being rejected|Policy Rejection- Message size too big

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: Debian


554-5.7.1     <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Message size too big. 554 5.7.1

postconf -n | grep size
mailbox_size_limit = 0
message_size_limit = 26214400

postfix-policyd.conf
SENDERMSGSIZE=30 meg

postfix-policyd_throttle.con
SENDERMSGSIZE=30 meg

I only want to throttle outbound mail, not inbound

----

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

2

Re: Inbound messages being rejected|Policy Rejection- Message size too big

Error coming from the postfix-policyd_throttle.conf file

doesn't seem to be accepting changes beyond the defaults

checked the mysql
USE postfixpolicyd;

+---------------+------------+------------+------------+------------+------------+-------------+------------+------------+-----------+-----------+-----------+------------+------------+-----------+------------+-----------+---------------+
| _from         | _count_max | _count_cur | _date      | _quota_cur | _quota_max | _time_limit | _mail_size | _count_tot | _rcpt_max | _rcpt_cur | _rcpt_tot | _abuse_cur | _abuse_tot | _log_warn | _log_panic | _priority | _from         |
+---------------+------------+------------+------------+------------+------------+-------------+------------+------------+-----------+-----------+-----------+------------+------------+-----------+------------+-----------+---------------+
| @hilltech.com |        512 |          1 | 1382389877 |      15565 |          0 |          60 |   31457280 |      10166 |         0 |         1 |     10166 |          0 |          0 |         0 |          0 |        10 | @hilltech.com |
+---------------+------------+------------+------------+------------+------------+-------------+------------+------------+-----------+-----------+----

_mail_size shows correct, but rejects over 10 mb.

3

Re: Inbound messages being rejected|Policy Rejection- Message size too big

*) Did you restart Policyd service after changed SENDERMSGSIZE?
*) if it doesn't work as official document says, i have no idea. It's better to ask in Policyd mailing list. Sorry about this.

4 (edited by Juanito 2014-09-26 15:59:10)

Re: Inbound messages being rejected|Policy Rejection- Message size too big

Hi.   After changing Policyd service configuration and restart the service, I need to override the previous values on the mysql appropiate table...  something like

update `throttle` set `_mail_size`=26214400

And it works for me.