OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: Attachment size

Re: Attachment size


Subject: Re: Attachment size
From: Paul D. Robertson (probertsclark.net)
Date: Sat Jan 08 2000 - 10:51:50 CST


On Sat, 8 Jan 2000, Thomas Kuehne wrote:

> Is there a way to increase the attachment size for some users more than
> for others?

Give them another mail address that goes to a new smtpd with different
limits, or set the postfix limit high and use mailbox quotas to enforce
per-user limits on disk space instead of per-message size.

Alternately, I suppose you could hack something up with a procmail global
delivery agent and a local filesystem with filesystem quotas such that when
procmail went to write the file as the user, the filesystem it used was
under OS quota limitations. If you're a gateway and not an end node, you'd
have to write something to forward the mail from there I suppose.

Final delivery or close to it is where you need to do this, otherwise
you'll have trouble with large messages being copied to users with and
without the ability to receive them. This will create much confusion in
people mailing to multiple people behind such a gateway though.

(Note that it's not really "attachment size", it's total message size,
SMTP doesn't know about message content.)

Paul
-----------------------------------------------------------------------------
Paul D. Robertson "My statements in this message are personal opinions
probertsclark.net which may have no basis whatsoever in fact."
                                                                     PSB#9280



This archive was generated by hypermail 2b27 : Sat Jan 08 2000 - 10:51:35 CST