Re: [exim] Returning mail via filter/how to avoid frozen mes…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Toralf Lund
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Returning mail via filter/how to avoid frozen messages
Fred Viles wrote:

>[ ... ]
>A more general solution is to use a file rather than hard-coding
>defunct user names in the ACL. Example (untested):
>
> # Reject defunct user names
>
>  deny local_parts = lsearch;/usr/exim/alumni
>       message = ${lookup{$local_part}lsearch{/usr/exim/alumni}}

>
>where alumni contains lines like:
>
>hostmaster: hostmaster account cancelled due to Swen, resend to fv
>exsalesguy: exsalesguy not here anymore, resend to sales@???
>
>

Wouldn't this be rather like using :fail: in the system aliases file?

- Toralf