Re: [Exim] Multiple recipients and whitelist checks

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Mike Bacher
Cc: exim-users, Kjetil Torgrim Homme
Asunto: Re: [Exim] Multiple recipients and whitelist checks
On Fri, 16 Jul 2004, Mike Bacher wrote:

> Well, I only care that a message with multiple recipients gets broken up
> into 1 message per recipient and placed into the queue for outbound
> delivery,


You can do this with an "incestuous" call to exim. Make this your first
router:

split:
driver = accept
domains = the.domains.you.want.to.do.this.for
condition = ${if eq {$received_protocol}{split}{no}{yes}}
transport = send_to_self
no_verify

Add this transport:

send_to_self:
driver = pipe
batch_max = 1
use_bsmtp
command = /usr/sbin/exim -oMr split -bS
user = exim

Untested. YMMV. You logs will get bigger, of course...

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book