Current time: 11-22-2024, 03:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
How to limit postfix sending/receiving mail size
Author Message
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #1
How to limit postfix sending/receiving mail size
Hello all,
I have some clients who are pretty stupid and are trying to send emails over 100mbs. This seems to knock my server around too much.

I would like to put a limit on my server. Is there a way to configure globally (for all domains) postfix to limit inbound/outbound email to a size of 20mb?

Thanks,
Rob
03-23-2010 07:06 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: How to limit postfix sending/receiving mail size
Long answer: go to google, input "postfix max email size", click "I'm feeling lucky".

Short answer: set "message_size_limit = xxxxx" in your postfix's main.cf, where xxxx is the maximum message size in bytes.
03-23-2010 08:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #3
RE: How to limit postfix sending/receiving mail size
Many thanks.. Thought there might of been something hidden in ISPCP to do it.
Cheers,
Rob
03-23-2010 08:25 PM
Find all posts by this user Quote this message in a reply
prardkila Offline
Banned

Posts: 1
Joined: Oct 2011
Post: #4
ядерное вооружение рф
как изменить атрибуты вложенных папок на сервере
10-26-2011 01:05 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)