Re: Mail Restrictions with sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Indunil Jayasooriya wrote:
Hi,

Thanks once again,

ONE MORE THING IS NEEDED.

I want to limit mail sizes for both incoming and outgoing mails.

Let's say

userx@xxxxxxxxxxx <mailto:userx@xxxxxxxxxxx> can send mails up to 5MB, but can receive up to 2MB

usery@xxxxxxxxxxx <mailto:usery@xxxxxxxxxxx> can send and receive mails up to 5MB.

Is this 2/5MB after encoding or before encoding of attachments? Encoding will increase data size about 25%.


All the other users can send mails as usual (i.e - without restrictions)


Can procmail do it? (i-e- /etc/procmailrc  - system wide configuration)

procmail is a local delivery agent and so no, it cannot do it.


pls let me know?

mimedefang? You have per user settings and so setting a system wide setting in sendmail configuration will not help and sendmail does not differentiate between outgoing and incoming limits so you are left with a milter solution and so maybe mimedefang is your best bet.

I know another centos list subscriber, Les, will swear by mimedefang.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux