Re: [Exim] Multiple recipients and whitelist checks

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Mike Bacher
CC: exim-users, Kjetil Torgrim Homme
Temat: 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