different message_size_limit_maps for outgoing and incoming mails

Indunil Jayasooriya indunil75 at gmail.com
Fri Sep 8 07:29:19 CEST 2017


Hi ALL,

Below config covers  one size limit for both incoming and outgoing mails.

* @message_size_limit_maps = ({'user1 at example.com <user1 at example.com>'
=> 20_000_000,
                                 'user2 at example.com
<user2 at example.com>' => 15*1024*1024,
                                 'user3 at example.com
<user3 at example.com>' => 0, # uses global limit
                                 '.example.com <http://example.com/>'
    => 10*1024*1024 });
 $smtpd_message_size_limit = 20*1024*1024**;  # global limit if nonzero
*




But, I need one size limit for incoming and another size limit for outgoing
mails.

I need it for domain wise and user wise.

Any ideas?




-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170908/26ce8e93/attachment.html>


More information about the amavis-users mailing list