El 03/05/17 a las 16:44, Viktor Dukhovni escribió:
On May 3, 2017, at 7:56 AM, Angel L. Mateo <ama...@um.es> wrote:
I have a postfix mail relay server for my domain. This mail server
delivered mail to my imap server via LMTP.
Now I want that all mail received from a client to the same imap
server, but with a different LMTP configuration. That is because this client is
a massive mailer and I want to deliver its mail with low concurrency (I don't
mind getting higher delays).
Is this possible without deploying a new postfix server?
The answer depends on information you have not provided.
* How is this client distinguished from other clients?
By IP
* How big (message count) are the mail "bursts" from this sender?
Thousand of mails (10k-30k), all directed to my own domain.
* At what rate are messages arriving during a "burst"?
I don't know. The only limitation we have in the postfix receiving
these mails are:
smtpd_client_connection_count_limit = 5
smtpd_client_connection_rate_limit = 100
smtpd_client_message_rate_limit = 500
smtpd_recipient_limit = 150
My problem is not in the postfix side, but delivering to the IMAP
server. Because these bursts are of messages directed all of them to my
domain, when I receive one I have problems delivering them to the imap
server via LMTP.
* How many such bursts a day?
Depends, but it is not rare days with 2 or 3 bursts
When you slow down mail delivery below the burst arrival rate, a backlog
develops somewhere along the pipeline. Depending on the size of the bursts,
the choice of the right place to buffer the bursts may change.
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337