Re: [exim] rewrite smtp-time rcpt

Pàgina inicial
Delete this message
Reply to this message
Autor: Chris Edwards
Data:  
A: exim-users
Assumpte: Re: [exim] rewrite smtp-time rcpt
On Fri, 11 Mar 2005, R McGlue wrote:

| our lowest MX preference is a spam trap
| its set up as a second IP on our primaryMX and a rule defers all mail
| addressed to it...

|
| what im looking to do now though is rewrite the rcpt address at SMTP
| time so that all mail aimed at the spamMX gets routed into a mailbox on
| that machine > spam@mailhub4 for baysian input / browsing / all sorts of
| fun stuff


Hi,

First of all, you'll need to ditch the "defer" ACL statement.

Then, I suspect you want to add a redirect router redirecting to the
spambox, with a condition which checks the incoming interface.

However, this may be a bad idea, as you'll get a small amount of legit
mail in the spambox, even when all the other MXs are happy. The neat
thing about the "defer" is that this doesn't matter.