procmail
[Top] [All Lists]

RE: How about attachment size

2001-03-28 14:10:48
Exact same method, but as we discussed this is on a server-wide basis.

In fact this is the widespread use of this method. I know one company who
set it to 10000 (yes, 10K!) so they only get short emails with no attached
files which is excessive

David


-----Original Message-----
From: Xiaoyan Ma [mailto:xma(_at_)haas(_dot_)berkeley(_dot_)edu]
Sent: 28 March 2001 20:35
To: David Cross; Paulo Ricardo Almeida
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: How about attachment size


Is there a way to limit the size of attachment received, either through
sendmail or procmail?
Thanks
Xiaoyan Ma


At 08:36 AM 3/27/2001 +0100, David Cross wrote:
You don't need to use Procmail for this.

Sendmail config directive:

confMAX_MESSAGE_SIZE
"MaxMessageSize [infinite] The maximum size of messages that will be
accepted (in bytes)."

So, in sendmail.cf:

MaxMessageSize=1000000

is 10MB send/receive.

http://www.sendmail.org/m4/tweakingoptions.html#confMAX_MESSAGE_SIZE


David Cross


-----Original Message-----
From: procmail-admin(_at_)lists(_dot_)rwth-aachen(_dot_)de
[mailto:procmail-admin(_at_)lists(_dot_)rwth-aachen(_dot_)de]On Behalf Of 
Paulo Ricardo
Almeida
Sent: 26 March 2001 18:38
To: procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: How can i do it!?


Hi!
I need to configure my mail server (procmail+sendmail) to:
Define the max. size of the message per user.
Define the user that can't send mail out of the network
What i have to do!?
I'm using Linux RedHat 7.0
PS: Sorry for my bad English!!!


Atenciosamente,
Integral Informática Ltda
Paulo Ricardo Almeida
paulo(_at_)integral(_dot_)inf(_dot_)br
http://www.integral.inf.br
+55(47) 433-6990




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>