PDA

View Full Version : attachment limit & outgoing mail copy


Teddy_2009
23rd July 2009, 13:02
Hi

Is there any possibility to limit attachment sizes per email user and to have copy of outgoing mails in the ipconfig server?

Please let know

Tks
Teddy

Mark_NL
23rd July 2009, 13:17
message_size_limit = 15000000

max 15mb, well 15 Million bytes actually ;)

this is the maximum size of the COMPLETE email.

Teddy_2009
23rd July 2009, 13:25
Thanks

How to control attachment size for each user if each users having different sizes?

Teddy

Teddy_2009
23rd July 2009, 13:26
message_size_limit = 15000000

max 15mb, well 15 Million bytes actually ;)

this is the maximum size of the COMPLETE email.


Thanks

How to control attachment size for each user if each users having different sizes?

Teddy

Mark_NL
23rd July 2009, 13:31
it's a server wide setting.

Teddy_2009
23rd July 2009, 13:34
Thanks

Can you let me know some information how to do this in a postfix server?


Teddy

dipeshmehta
23rd July 2009, 13:44
Thanks

Can you let me know some information how to do this in a postfix server?


Teddy

this setting goes into /etc/postfix/main.cf
default size is 10mb and after changing the setting do not forget to restart the postfix service.

Dipesh

Teddy_2009
23rd July 2009, 14:27
Thanks

BUt changing default size to 10MB apply to all users. How to apply different attachment sizes to some email addressses only and others make use of the default 10MB one?

Teddy

Ben
23rd July 2009, 15:13
Maybe policyd (http://www.policyd.org/tiki-index.php) helps you to define sender / domain based quotas (throttle_sender)...

Here's also a small howto: http://www.apolicy.org/cgi-bin/moin.cgi/Tutorial