Re: [exim] Missing File creates error

Pàgina inicial
Delete this message
Reply to this message
Autor: Edgar Lovecraft
Data:  
A: exim-users
Assumpte: Re: [exim] Missing File creates error
Marc Perkel wrote:
>

..[snip]...
>
> >>personal_blackhole:
> >> driver = redirect
> >> data = :blackhole:
> >> local_part_suffix=-*
> >> local_part_suffix_optional
> >> require_files = /etc/squirrelmail/prefs/$local_part@$domain.block
> >> senders = /etc/squirrelmail/prefs/$local_part@$domain.block
> >> domains = +virtual_local_domains
> >> no_verify
>

..[snip]...
>


OOPS! first oops, file and data options are mutually exlusive, sorry
about that one, and oops two, senders and require_files are both
preconditions, so you need to wrap those in ${if statments, along the
lines of:

${if exists\
    {/etc/squirrelmail/prefs/${lc:$local_part}\@${lc:$domain}.block}\
    {/etc/squirrelmail/prefs/${lc:$local_part}\@${lc:$domain}.block}\
    {/var/spool/mail/empty/.THIS_BETTER_NOT_EXIST}\
}


--

--EAL--

--