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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Mike Kenyon - David Austin Roses Limited
Cc: Exim users mailling list
Asunto: Re: [Exim] Reject an email with a user-defined message
On Mon, 6 Aug 2001, Mike Kenyon - David Austin Roses Limited wrote:

> If a virus is found, this program should send an error message back to the
> original sender. What would be ideal is if exim could be called with some
> option which would cause a given message to be returned as an error but with
> user-definable text making up the body of the message, say:
>
> exim -Xx 12345-67890-00 "Your message contains a virus and has been rejected."
>
> Is there such an option?


Not unless you do it in a system filter. An option such as

exim -Mg <message-id> "message"

has been on the wish list for some time, but I'm afraid I've never
implemented it. (-Mg exists, but not the message argument.)

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.