Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
Thank you
Am 05.02.2013 13:12, schrieb absolutely_free@libero.it:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
this is a POSTFIX question not roundcube
anvil_rate_time_unit = 1800s smtpd_client_connection_rate_limit = 50
50 messages per half an hour and IP
Hi!
Am 05.02.2013 13:22, schrieb Reindl Harald:
Am 05.02.2013 13:12, schrieb absolutely_free@libero.it:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
this is a POSTFIX question not roundcube
imho it is not a postfix question, postfix is not ready for this...
anvil_rate_time_unit = 1800s smtpd_client_connection_rate_limit = 50
50 messages per half an hour and IP
...as you said: per IP.
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons).
Am 05.02.2013 14:20, schrieb Stephan Lauffer:
Hi!
Am 05.02.2013 13:22, schrieb Reindl Harald:
Am 05.02.2013 13:12, schrieb absolutely_free@libero.it:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
this is a POSTFIX question not roundcube
imho it is not a postfix question, postfix is not ready for this...
ah rate control from webmail per user no way without heavy logging - no thanks not for me
anvil_rate_time_unit = 1800s smtpd_client_connection_rate_limit = 50
50 messages per half an hour and IP
...as you said: per IP.
yes, as you are do the same on httpd-side to block bots but not on the application layer -> iptables-ratecontrols
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons)
not more than 10 recipient for single message
is clearly a MTA thing
smtpd_recipient_limit = 10 and you can have a own smtpd-process configured in master.cf to not fuckup regulary users
.oO(oh my god... I just told that postfix has not that feature requested by absolutely_free@libero.it. For this _something_ like http://www.policyd.org/ is needed. I pray that sometime people will stop "answering" not asked questions)
Am 05.02.2013 14:39, schrieb Reindl Harald:
Am 05.02.2013 14:20, schrieb Stephan Lauffer:
Hi!
Am 05.02.2013 13:22, schrieb Reindl Harald:
Am 05.02.2013 13:12, schrieb absolutely_free@libero.it:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
this is a POSTFIX question not roundcube
imho it is not a postfix question, postfix is not ready for this...
ah rate control from webmail per user no way without heavy logging - no thanks not for me
anvil_rate_time_unit = 1800s smtpd_client_connection_rate_limit = 50
50 messages per half an hour and IP
...as you said: per IP.
yes, as you are do the same on httpd-side to block bots but not on the application layer -> iptables-ratecontrols
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons)
not more than 10 recipient for single message
is clearly a MTA thing
smtpd_recipient_limit = 10 and you can have a own smtpd-process configured in master.cf to not fuckup regulary users
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On Tuesday 05 February 2013 13:12:29 absolutely_free@libero.it wrote:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message
// Maximum number of recipients per message. Default: 0 (no limit)
$rcmail_config['max_recipients'] = 0;
or not more that 50 message/hour?
// How many seconds must pass between emails sent by a user
$rcmail_config['sendmail_delay'] = 20;
On postfix side:
# # The maximal number of recipients that the Postfix SMTP server accepts per message delivery request. smtpd_recipient_limit = 100
# The maximum number of message delivery requests that an SMTP client may make
in the time interval specified with anvil_rate_time_unit (default: 60s).
smtpd_client_message_rate_limit = 10
Or there are some settings in Roundcube config/main.inc.php:
max_recipients, max_group_members, sendmail_delay
I don't use them myself, but I've seen them in there, and they may be of some help here?
On 05.02.2013 21:39, Reindl Harald wrote:
Am 05.02.2013 14:20, schrieb Stephan Lauffer:
Hi!
Am 05.02.2013 13:22, schrieb Reindl Harald:
Am 05.02.2013 13:12, schrieb absolutely_free@libero.it:
Hi, I'm using RC .0.8.4, MTA is Postfix (on Centos 6). There is a way to limit number of messages that a particular user can send at one time? For example: not more than 10 recipient for single message or not more that 50 message/hour?
this is a POSTFIX question not roundcube
imho it is not a postfix question, postfix is not ready for this...
ah rate control from webmail per user no way without heavy logging - no thanks not for me
anvil_rate_time_unit = 1800s smtpd_client_connection_rate_limit = 50
50 messages per half an hour and IP
...as you said: per IP.
yes, as you are do the same on httpd-side to block bots but not on the application layer -> iptables-ratecontrols
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons)
not more than 10 recipient for single message
is clearly a MTA thing
smtpd_recipient_limit = 10 and you can have a own smtpd-process configured in master.cf to not fuckup regulary users
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
absolutely_free@libero.it skrev den 2013-02-05 13:12:
I'm using RC .0.8.4, MTA is Postfix (on Centos 6).
good
There is a way to limit number of messages that a particular user can send at one time?
yes
For example: not more than 10 recipient for single message or not more that 50 message/hour?
what if that user have a cellphone ?
remember roundcube is just an email client, not a mailserver
the limit you like to enforce is better done in mta stage
Stephan Lauffer skrev den 2013-02-05 14:20:
...as you said: per IP.
stop using ip alone auth
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
best option is the old policyd with sasl auth rate limit, it does not care of ips at all
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons).
squirrelmail is nice too, but its not a good rate limiter for users with cellphones
http://www.policyd.org/ use v1, only use v2 if you have amavisd aswell
Stephan Lauffer skrev den 2013-02-05 18:26:
.oO(oh my god... I just told that postfix has not that feature requested by absolutely_free@libero.it. For this _something_ like http://www.policyd.org/ is needed. I pray that sometime people will stop "answering" not asked questions)
is it 42 ? :)
Hello:
Another approach, for sendmail as MTA, is to use rate-limit feature of milter-greylist (http://hcpnet.free.fr/milter-greylist/).
Can put different rate-limits for users based on (IP,sender) tuple. We're using it, with different limits for Webmail IP (RCU), clients in my network and clients anywhere else.
As it can use milters this could serve for postfix too.
Best Regards.
El 06/02/2013 3:29, Benny Pedersen escribió:
Stephan Lauffer skrev den 2013-02-05 14:20:
...as you said: per IP.
stop using ip alone auth
If the IP is that of your webmailer... one user causes the whole side to be throtteled... (not that funny unless every user has its own roundcube)
best option is the old policyd with sasl auth rate limit, it does not care of ips at all
You need some more magic software (plugged to postfix or to roundcube) for this. Postfix can't help you out (for Squirrelmail there are such addons).
squirrelmail is nice too, but its not a good rate limiter for users with cellphones
http://www.policyd.org/ use v1, only use v2 if you have amavisd aswell
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users