D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Sendmail - Clone all incoming email to compare spam filters?

 

Hi Gordon

Yes it would be the "one acting as a switch to send the message to 2 servers downstream? " option, so what should i put in the /etc/mail/aliases file to make this work?

I have forward to groups, like sales in the past, but never forward all email to another before. I would have use the smart host option.

Regards

Sam


Gordon Henderson wrote:
On Thu, 25 Mar 2010, Sam Grabham wrote:

Hi

Does anyone know how to clone all incoming email traffic to 2 separate smtp servers.

I want to prove a concept but need the same emails on both servers to compare.

have looked for a milter, but nothing seems to do what i want.

have tried "define(`SMART_HOST',`[exchange2007.xxxxxxxxx.co.uk]:[jessie.xxxxxxxxx.co.uk]')" but this chooses the first server only, if on-line.

have looked at a milter called SYNONYM - The Mail ARCHiver (http://www.modulo.ro/synonym)

are there any INPUT_MAIL_FILTER options in sendmail i could use?

I am not going to open my copy of the bat book...

However - won't this affect the 2nd server - as the email will have headers added by the first? Or do you realy have 3 servers - one acting as a switch to send the message to 2 servers downstream?

If you have 3, you could simply use the /etc/mail/aliases on the incoming server and send it to the 2 other servers - they'd at least get the same headers, but wouldn't be able to use any IP address based blacklisting unless the rules were really clever to scan all the headers and ignore the last sending server.

Watch out for backscatter though.

Gordon


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html