Autor: Phil Pennock Data: A: Sebastian Siewior, exim-users Assumpte: Re: [exim] reject mails via .forward not bounce
On 2006-11-22 at 10:18 +0800, Sebastian Siewior wrote: > The problem is that all those mails which come into the "else fail
> finish" part are bounced back instead of rejected (smtp code 5XX is what
> I am looking for).
Then you need the fail to happen at address verification time, rather
than at delivery time. Before removing no_verify, read spec.txt section
22.2 Forward files and address verification
Since it would run as exim, not as the user, you also should look very
closely at the various forbid_* options for redirect routers in section
22.10; you'd also need to put "check for new redirect forbid_* options"
onto your review checklist for any new Exim releases, since it's a
growing list.
Basically: it can be done, but it's probably not a good idea.
Do you really need every user to be able to implement SMTP time rejects
according to their own rules, or can you perhaps instead handle the
logic in a system filter? Everyones' needs are different so without
knowing _why_ you're wanting to let user filters reject at SMTP time,
it's difficult to give concrete advice on what you should do.