1

Topic: Throttling iproblem

i Am using iRedAdmin-Pro    v1.8.1 (LDAP)+CentOs 6
what i want to acheive is only enabling sender throttling, recipient throttling not needed
Throttling setting via controll panel  is not working as expected i followed the wiki guide.I have made the changes as per the guide .My settings follows
/etc/policyd.conf
SENDERTHROTTLE=0
SENDER_THROTTLE_SASL=0
SENDER_THROTTLE_HOST=1
RECIPIENTTHROTTLE=0
File: /etc/policyd_sender_throttle.conf
SENDERTHROTTLE=1
SENDER_THROTTLE_SASL=1
SENDER_THROTTLE_HOST=0
RECIPIENTTHROTTLE=1
When ever i am sending mails to multiple email ids i am getting  "smtp Server policy Rejection Error".If iam seng to single email id ,it works.
By changing back to RECIPIENTTHROTTLE=0 in /etc/policyd_sender_throttle.conf,Error goes and everything works.But throttling is not working.
For Example
i enabled sender throttling in a domain through control panel after making the above changes and set maximum out going messages per day to 2 for that domain.Even after limiting i can send multiple mails from a user of this domain.


Error SMTP: [450] 4.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Invalid data

dovecot_destination_recipient_limit=1 is missing in postconf -n .but this entry is showing in main.cf file.
Error found while sending from roundcube

Mar 24 12:03:05 mailsrv postfix/smtpd[27509]: connect from mailsrv.xxx.com[127.0.0.1]
Mar 24 12:03:05 mailsrv postfix/smtpd[27509]: 814F0CC0073: client=mailsrv.xxx.com[127.0.0.1], sasl_method=LOGIN, sasl_username=test@xyz.com
Mar 24 12:03:07 mailsrv policyd: connection from: 127.0.0.1 port: 41118 slots: 0 of 2044 used
Mar 24 12:03:07 mailsrv policyd: invalid triplet_array[8][2]: (recipient throttle):
Mar 24 12:03:07 mailsrv postfix/smtpd[27509]: 814F0CC0073: reject: END-OF-MESSAGE from mailsrv.xxx.com[127.0.0.1]: 450 4.7.1 <END-OF-MESSAGE>: End-of-data rejected: Policy Rejection- Invalid data; from=<test@xyz.com> proto=ESMTP helo=<webmail.xyz.com>
Mar 24 12:03:07 mailsrv postfix/cleanup[27518]: 814F0CC0073: message-id=<1ca8861687465bcbe5932fc71a80ebbc@xyz.com>
Mar 24 12:03:07 mailsrv roundcube: SMTP Error: SMTP error: Failed to send data in /var/www/webmails/xyz/program/include/main.inc on line 1485 (POST /?_unlock=loading1364106582303&_lang=undefined?_task=mail&_action=send)
Mar 24 12:03:07 mailsrv postfix/smtpd[27509]: disconnect from mailsrv.xxx.com[127.0.0.1]

Here i tried to send mails using test@xyz.com to multiple email ids using webmail.

2

Re: Throttling iproblem

Well, i'm so sorry that this is a known issue about Policyd-1.82 with iRedMail. There may be something wrong with iRedMail default setting. I will test it later today and let you know.

3

Re: Throttling iproblem

Reference: http://comments.gmane.org/gmane.mail.po … olicyd/826