Re: [exim] multiple recipients --> single mailbox

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Peter Farmer
CC: exim-users
Tárgy: Re: [exim] multiple recipients --> single mailbox
On Tue, 6 Mar 2007, Peter Farmer wrote:

> I run a large spamtrap domain, which has 1000+ valid aliases pointing
> to a single mailbox, as can be expected with spam, a lot of the mails
> have multiple recipients and subsequently multiple copies of the
> message get delivered to my mailbox as can be seen my the following
> log entries:
>
> Mar 6 10:30:42 adm01 exim: 2007-03-06 10:30:18 1HOWvt-0004IL-9n =>
> /opt/mail/hbmail.com/spamtrap/Maildir/ <palmer@???> R=spamtrap
> T=address_directory
> Mar 6 10:30:42 adm01 exim: 2007-03-06 10:30:18 1HOWvt-0004IL-9n =>
> /opt/mail/hbmail.com/spamtrap/Maildir/ <schmidt@???> R=spamtrap
> T=address_directory


This must be dependent on the way you have configured the routers.

> Is it possible to have only one copy of the message delivered to the
> mailbox as this would save cpu cycles when processing mails for abuse
> reporting and bayes learning through not processing dupes.


What you need to do is to have all the aliases expand to another alias,
and then route that alias to a file. The duplicates should then
collapse. (I'm guessing that you route each alias directly to the file.)

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book