DevHeads.net

setting message size

How do I set an unlimited outgoing email attachment size?
thanks in advance
david

Comments

Re: setting message size

By Wietse Venema at 10/02/2009 - 11:56

David Southwell:

If would do that, then you would also need an unlimited disk
for the mail queue.

For safety reasons Postfix will not accept mail when the amount of
free space in the queue is less than 1.5x message size limit.

Wietse

Re: setting message size

By Ansgar Wiechers at 10/02/2009 - 10:28

Enable submission in your master.cf (with "-o message_size_limit=0" as
an additional option), and have your internal users send mail via
submission (port 587/tcp) instead of plain SMTP.

Regards
Ansgar Wiechers

Re: setting message size

By Charles Marcus at 10/02/2009 - 10:19

message_size_limit = ########

####### is in bytes

This affects all messages though - if you need different limits for
outgoing and incoming, I think you'll need a policy server...

Re: setting message size

By Stan Hoeppner at 10/02/2009 - 10:58

Charles Marcus put forth on 10/2/2009 10:19 AM:

Yes, a policy server and an FTP client running as a policy daemon. ;)

(sry if my attempt at humor comes across as sarcasm--purely unintentional)

Re: setting message size

By Victor Duchovni at 10/02/2009 - 10:18

There's no such thing as "unlimited". Pick a sensible limit that works
for you and your correspondents, and understand that most sites will
not accept unreasonably large messages, so don't expect to deliver 1GB
attachments to any recipients outside your domain any time soon.

Re: setting message size

By Charles Marcus at 10/02/2009 - 10:21

Oops... missed that word...