H
H
Harbid Abu Marhamedoff2015-04-03 06:52:17
Email
Harbid Abu Marhamedoff, 2015-04-03 06:52:17

Postfix: is it possible to make a different maximum message size for different recipients?

Tell me, is it possible to configure Postfix so that it allows you to receive (send) letters with certain rules?
For cases where the sender and recipient are in the local domain, the maximum message size is 100 MB.
For the case when the sender is local and the recipient of the message is the @X domain, the maximum message size is 6 MB.
For all other cases, when the sender is a local domain, the maximum message size is 10 MB.
As I understand it, the smtpd_recipient_restrictions parameter is responsible for checking the recipient, and smtpd_sender_restrictions is responsible for checking the sender.
But how can this be put together, and will it work in principle?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question