Author: Marten Lehmann Date: To: exim-users Subject: Re: [exim] limiting messages send by certain users?
Hello,
> What I do is check the the number of recipients per message, and
> reject if it is over a very small number (3). The idea is that web-
> form email is only intended to be sent to one or two recipients (e.g.
> "submit this support question, and send me a copy").
what are you doing with the refused mails? Users are injecting them by
calling /usr/sbin/sendmail and thus they won't get an error if exim
refuses to handle them later. So emails might get lost. And there surely
are some shop operators that are sending newsletters to their customers
by putting all the recipients as blind copies in it. Such messages would
get lost, too. I could store an email-address to each linux-account that
may send email, but I guess exim isn't able to put the requested message
as attachment and send it as a violation notice to this email-address if
there are too many recipients.