Re: [Exim] Reject an email with a user-defined message

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Nigel Metheringham
Fecha:  
A: exim-users
Asunto: Re: [Exim] Reject an email with a user-defined message
On 07 Aug 2001 09:48:33 +0100, Mike Kenyon - David Austin Roses Limited
wrote:
> Nope. Two possible ways of integrating a virus checker into Exim is to either
> use a pipe transport through to the virus checker which then squirts clean
> messages back to Exim with the -oMr option. The problem with this is that
> virus checker has to extract the local recipients from the headers (easy
> enough, 49 line sh/awk script). However, with mailing lists (such as Exim
> users), the recipient is *not* listed in the headers, instead being solely
> listed in the envelope (who appears after the RCPT TO does not have to appear
> in To:, Cc: or Bcc: at all). This is the same problem with using, say,
> fetchmail to collect mail from a POP3 host for a unix system.


If you are doing something like this then its easiest to deliver it as a
bsmtp packet so you get all the envelope information easily accesible in
the preceding few lines of smtp headers. Easy to inject it back in
again too... although you may want to tweak the received protocol
setting.

    Nigel.