On Aug 8, 2010 8:08pm, Wietse Venema <wie...@porcupine.org> wrote:
/etc/postfix.master.cf:
# =================================================================
# service type private unpriv chroot wakeup maxproc command
# (yes) (yes) (yes) (never) (100)
# =================================================================
# SMTP service for "local" clients.
1.2.3.4:smtp inet n - n - - smtpd
-o message_size_limit=1234
-o smtpd_client_restrictions=permit_mynetworks,reject
# SMTP service for everyone else.
1.2.3.5:smtp inet n - n - - smtpd
-o message_size_limit=5678
If your size limit is a random function of client identity,
then you are probably working too hard.
This is not going to help so much in what i need. Actually, my size limit is a random function because we are trying to sell email domains with different size limits for their users; it sounds weird, but it's another way to get money from our services.