Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Limit for outgoing mails?

Quote Reply
Limit for outgoing mails?
Hello,

is there a way to limit the recipients allowed in outgoing mail per user/day?

Regards Thomas
Quote Reply
Re: [amacando] Limit for outgoing mails? In reply to
Hi,

Its a good idea! Just like other variables, this should be defined right at the setup stage (with provision for changing on per user basis). There are few corporate mailing solutions which charge fee as per number of outgoing mails per month.

Mails per instance could be something to do with the MTA or server setup. Normally this is limited to 15 to 20 per instance but i am not very sure on this...

GT could possibly comment on this....
Quote Reply
Re: [amacando] Limit for outgoing mails? In reply to
By default, this cannot be done. If you know how to write Perl, it shouldn't be too hard to do. To start you off, you would need to add two columns to the user table: one for the number of emails they can send, and the number of emails sent. All the code used to send is in Compose.pm - you would put your bit of code to check their limit inside _send(). Lastly you would need to reset the user's sent mail count once a day.

Adrian