Re: [exim] reject mails via .forward not bounce

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian FREISLICH
Data:  
A: Sebastian Siewior, exim-users
Assumpte: Re: [exim] reject mails via .forward not bounce
Sebastian Siewior wrote:
> Hi list,
>
> I tried to reject files via .forward which looks something like this:
>
> | if bla ....
> | elif ..
> | ...
> | else
> | fail
> | finish
> | endif
> | ...
>
> 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).


I'm glad you noticed this before it was pointed out to you :) We
do not set allow_freeze, allow_fail and allow_defer on filter files.

The only option you have is to blackhole the mail (turn
your fail into "seen finish") or to write it to another file or
directory using "save".

Ian

--
Ian Freislich