RE: [exim] Problems with 2 exim in same server

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Israel Cardenas
Date:  
À: exim-users
Sujet: RE: [exim] Problems with 2 exim in same server
>>
>> - First Exim listen at port 25 (SMTP) and execute Kaspersky antivirus.

If a
>> mail isn't infected, Kaspersky send it to the second Exim through an LMTP
>> transport.


>Er, Exim isn't an LMTP server.


OK. Kaspersky send mails to the second Exim through an LTMP integrated in
Kaspersky.

This is the "routers" configuration in first Exim:

begin routers

dnslookup:
debug_print = "ROUTER: dnslookup -> $local_part@$domain"
driver = manualroute
domains = !+local_domains
route_list = * my.relay.com
transport = remote_smtp
no_more

local_user:
debug_print = "ROUTER: local_user -> $local_part@$domain"
driver = accept
domains = +local_domains
transport = kav_lmtp_transport

And this is the "transports" configuration in first Exim:

remote_smtp:
debug_print = "TRANSPORT: remote_smtp -> $local_part@$domain"
driver = smtp

kav_lmtp_transport:
debug_print = "TRANSPORT: kav_lmtp_transport -> $local_part@$domain"
driver = lmtp
command = /opt/kav/bin/smtpscanner

Kaspersky sends mails to the second Exim with this binary:
/opt/kav/bin/smtpscanner, and it works OK.

>> When the second Exim has problems with NFS and can't give mails to user's
>> Maildirs, both Exim processes queues the mail, with different IDs. Then,
>> final user received the mail twice...


>Remove the local delivery transport from the first Exim.


The local delivery transport is the Kaspersky LMTP. I only have two
transports in first Exim, remote and local with Kaspersky. I've though
change folder for first Exim's queue and not process this new folder, but
then I could have lost mails...



Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/


______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________