On Thu, Aug 07, 2003 at 06:33:15PM -0500, Luis Daniel Lucio Quiroz wrote:
On my Job we are having big problem cause users mail messages to
everyone and over 5 MB. So I was asked to control mails by size and
number of destinities but controling them user per user. So user 1 may
send messanges to anyone of any size, but user2 only 5 users and not
more than 3 MB. So the system must send a message back warning what's
happening.
If you really want to limit the size of messages that uses may *send*,
then it's something you'll have to do in your MTA, not in procmail. If
you're using Sendmail, check out the milter interface described at
http://www.milter.org/. If you're using Postfix, you may have to do
something fancy with an extra transport. But whatever your MTA is, it's
not procmail. [chorus] Procmail is a LOCAL DELIVERY AGENT, and does not
filter mail in-transit.
I was thinging on applying rules like this:
:0 fwc
| /script_to_allow.sh
:0
${DEFAULT}
What is this supposed to achieve?
But I was wonrdering if I can filter them by managing unix groups.
Sure, you can filter by whatever you like, if you're writing the
software to do it. But this is a much larger problem than you've
imagined so far, and probably has nothing to do with procmail.
--
Paul Chvostek
<paul(_at_)it(_dot_)ca>
Operations / Abuse / Whatever
it.canada, hosting and development http://www.it.ca/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail