On the qmail list [EMAIL PROTECTED] wrote:
>[EMAIL PROTECTED] writes:
> > Does anyone have any ideas or a script that will e-mail a sender when the
> > recieptient is no longer at a domain?
> >
> > Qmail will bounce the message to postman, I would like to fire the message
> > back with "User no longer at domain, please correct your address book"
> > instead of bouncing it.
>
>The problem is that SMTP has no concept of redirection. All it can do
What is the problem with
251 User not local; will forward to <forward-path>
551 User not local; please try <forward-path>
or even, since we're on the qmail list and qmail uses RFC 1893,
251 User not local; please try <forward-path> (#2.1.6)
551 User not local; please try <forward-path> (#5.1.6)
>is send back a bounce message to the envelope sender. For example,
Of course, unless the sender MTA parses that, it is just a
bounce like any other.
But it *is* SMTP, RFC 821, Internet Standard number 10 ...
>you could use bouncesaying as someone suggested. The problem with
>this is that various programs, e.g. ezmlm, interpret anything sent to
>the envelope sender as a bounce message.
Well, I don't see why it should be anything else. What is the
desired behaviour? Either you send a notification about a
problem with mail delivery, or you don't. If ezmlm can't parse
a bounce message in QSBMF, then that's a pity. If you can't
risk being desubscribed from some long-forgotten announcement
mailing-list, it has to be manually monitored. I don't see
another way. If you want to bounce it after looking at it, that
is possible, of course. Should be a relatively simple script.