Re: [exim] :fail: & :blackhole: implementation

Top Page
Delete this message
Reply to this message
Author: Michael L Griffin
Date:  
To: exim-users
Subject: Re: [exim] :fail: & :blackhole: implementation
Greetings
On 22/01/07, Ian Eiloart <iane@???> wrote:
> --On 22 January 2007 15:58:35 +0200 Michael L Griffin <milegrin@???>
> wrote:
> >
> > 1) From my reading on the archives, :blackhole: is only taken into
> > account after processing the mail which is a waste of resources. Is
> > there a way to blackhole directly after receipt before processing?
>
> Don't do that. If you don't want an email, then use "deny" in an ACL before
> the DATA phase. That way, if the sender is a real person, they'll get a
> failure notification. If the sender is a spambot, then the spambot will
> blackhole the message.
>

I have approximately 45 domains on my little server and :blackhole: is
only used on individual accounts as specifically requested (eg dude
has left and they no longer the mail sent his address and don't want
to bounce it) and it is easier to simply blackhole. Any ideas as to
howto implement your suggestion directly after SMTP time before
processing?
(I discourage the use of blackhole but clients are always right (c:} )

> > 2) On my exim3 system, I can fail a message with a custom fail message eg
> > : :fail: Sue has left - please speak to Mary
> > This would generate a 550 with the specified message. On the Exim4
> > system, it generates teh 550 but ignores the message so a generic 550
> > is received and the custom message is ignored. How do I get the
> > :fail: bounce to include the custom message?
> >
> > As an aside - would it be possible to change the bounce subject? If so,
> > how?
>
> You should NOT be generating bounce messages if you can help it. Usually,
> they will go to the innocent owner of a spoofed email address.

Correct, BUT, I have to cater for the legitimate bounces.
This is especially useful when addresses are no longer valid and an
announcement in the form of a bounce is used to give an alternate
address. I prefer this over blackholing as the sender of legitimate
mail can resend to the correct address.
It is also very useful when used in conjunction with a "catchall"
where legitimate mail is delivered and all mail to non-existent
addresses is bounced containing a obfuscated valid contact address and
message (I can customise the contact address per domain)

In essence, I need to get this working and am a little lost as too how.
>
>
> --
> Ian Eiloart
> IT Services, University of Sussex
>

R e g a r d s
M i c h a e l L G r i f f i n