El 06/05/17 a las 03:12, Peter escribió:
On 04/05/17 18:13, Angel L. Mateo wrote:
My problem is that I can't classify by recipient. I should do it by
client IP. Is this possible in a transport map?
No, instead use smtpd_client_restrictions with check_client_access and a
FILTER result pointing to the correct transport. See postconf(5) and
access(5) for details.
I have the first problem solved: I have created a restriction class
that apply a check_recipient_access just to the client I want with slow
delivery.
My problem now is that I have this in the check_recipient_access:
/@mydomain\.com$/ FILTER slow_lmtp:[imapserver.mydomain.com]
/.+/ OK
and now, as a side effect, amavis is not run for messages directed to
my domain from these clients.
Is there any way to specify a content_filter for this kind of messages?
--
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