Roundcube Community Forum

Release Support => Release Discussion => Topic started by: AmilaDG on July 27, 2010, 09:37:29 AM

Title: How to limit outgoing email per day and user
Post by: AmilaDG on July 27, 2010, 09:37:29 AM
My host can send unlimited email per day. Then some users send about 1000 to 5000 mails per day. I need limit number of outgoing email per users + per day. Please help solve this issue.
Title: How to limit outgoing email per day and user
Post by: SKaero on July 27, 2010, 09:47:38 AM
You would need to add a limit on your mail server, not in RoundCube.
Title: How to limit outgoing email per day and user
Post by: AmilaDG on July 27, 2010, 10:28:58 AM
How do i do that. I'm new for server config things. Please explain :confused:
Title: How to limit outgoing email per day and user
Post by: SKaero on July 27, 2010, 10:33:42 AM
I can't really help you, the mail server is not a part of RoundCube. I'd recommend that you find a support form for your mail server and ask there.
Title: How to limit outgoing email per day and user
Post by: AmilaDG on July 27, 2010, 11:03:22 AM
I apologize, the host provider says like these.

Quote(9:38:12 AM)  #######: has entered the chat.
(9:38:13 AM) #######: Hello, welcome to #######.
(9:38:17 AM) #######: I will be glad to assist you today.
(9:38:25 AM) #######: What type of account do you have with us?
(9:38:45 AM) AmilaDG: vps
(9:39:08 AM) #######: You can go into Tweak Settings from the menu in your WHM to change the outgoing limit per cpanel.
(9:39:40 AM) AmilaDG: limit per user daily. can i?
(9:39:53 AM) #######: Yes you can.
(9:40:05 AM) #######: It would be an hour limit though and not a daily one.
(9:40:26 AM) AmilaDG: wait. i'll check
(9:41:51 AM) #######: Okay.
(9:43:35 AM) AmilaDG: you told about "The maximum each domain can send out per hour (0 is unlimited)"
(9:45:07 AM) #######: Yes you would change that to limit the amount of mail sent per hour.
(9:45:33 AM) AmilaDG: it is about domain no? i need per account?
(9:46:31 AM) AmilaDG: as example [email protected] and [email protected]
(9:47:48 AM) #######: Please wait while I check. Thank you for your patience.
(9:52:26 AM) #######: I apologize, it would be by domain only.
(9:53:31 AM) AmilaDG: wht i can do for that?
(9:53:45 AM) AmilaDG: i need fix that issue
(9:53:51 AM) #######: You would only be able to limit the outgoing mail by domain only.
(9:54:24 AM) AmilaDG: k
(9:57:37 AM) #######: Were you able to change those settings?
(10:00:18 AM) AmilaDG: no i need limit per account. thats why some users sent 1000-5000 email per day. if i limit per domain some users couldn't have send any email
(10:00:43 AM) #######: I apologize, but cpanel is only able to limit per domain.
(10:01:09 AM) AmilaDG: ya ok. i'll try another way
(10:01:14 AM) AmilaDG: thanks for the assist
Title: How to limit outgoing email per day and user
Post by: qnrq on July 27, 2010, 01:24:01 PM
No matter what your provider says, this is not something Roundcube will do for you or something that Roundcube even remotely supports doing.
Title: How to limit outgoing email per day and user
Post by: SKaero on July 27, 2010, 04:40:46 PM
If your using CPanel you should try asking on the CPanel forms, they may be able to give you a better answer.
Title: Roundcube spam sending preventions
Post by: rosali on July 28, 2010, 12:24:41 AM
I run a demo site for Roundcube @ Mail4us.net Webmail :: Welcome to Mail4us.net Webmail (http://mail4us.net). People are able to register their own account anonymously.

I prevented Roundcube from spammers very successfully:

#1- Block smtp port (25) for connections outside your LAN. Only Roundcube is able to send mails.
#2- 'dnsbl' plugin to lock out connections to Roundcube from blacklisted IPs.
#3- 'limit_recipients' plugin to restrict sending out bulk mails.
#4- 'blockspamsending' plugin to restrict sending out mails with same content within one session.
#5- Finally I configured a delay of 90 seconds to send messages ( $rcmail_config['sendmail_delay'] = 90; ).