Re: [Exim] how to skip a router for local mails?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Troy Engel
Cc: exim-users
Asunto: Re: [Exim] how to skip a router for local mails?
On Tue, 14 May 2002, Troy Engel wrote:

> Easy one, 2 parts -- Exim 4.04:
>
> 1) how do you skip a router if the email was sent from one user to
> another within the domain?


Use the "condition" option to test $sender_address_domain and $domain.

> I have the spamassassin router configured,
> but I don't want it to scan any internal mail (bob@??? ->
> staff@???):


Sender addresses can be forged. You might also want to test where the
message came from (a local host, for example).

> Thanks! A major problem happening is that "joe@???" sends an
> email to "staff@???", an alias which expands to a bajillion
> addresses. Then, each mail to each individual address is sent through
> SpamAssassin, just clogging up the works entirely. In a nutshell, I
> want anything sent from my local domains not spamcheck-touched.


You might want to investigate the use of batching with SpamAssissin.
(No, I can't help more - I haven't used SA myself, and don't even know
if it supportes batching.) Oh, by "batching" I mean sending *one* copy
of the message with many recipients.


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