procmail
[Top] [All Lists]

RE: How about attachment size

2001-03-29 01:18:50
man sendmail is a useful command :)

The config. directive is "MAX_MESSAGE_SIZE" there is no such thing as
"MAX_ATTACHMENT_SIZE" as if you look on your UNIX mail server at your
mailbox file before you POP it, you will see it is just full of *text* with
no "attachements" - your email program "detaches" these

David

-----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 
Xiaoyan Ma
Sent: 28 March 2001 23:32
To: David Cross
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: RE: How about attachment size


David:
Do you mean that the MAX_MESSAGE_SIZE includes the attachment or the same
line in the config file: something like confMAX_ATTACHMENT_SIZE=100000 ?
Thanks.
Xiaoyan

At 09:14 PM 3/28/2001 +0100, David Cross wrote:
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


_______________________________________________
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>