Re: [exim] How can I distinguish between files and directori…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim users
Sujet: Re: [exim] How can I distinguish between files and directories using require_files?
Roland Illig wrote:

>> for redirections:
>>        require_files = !/var/mailboxes/$domain/$local_part/cur

>
> No, that doesn't work. :(
>
> $ exim -bt redir@???
> redir@??? cannot be resolved at this time:
>    require_files: error for /var/mailboxes/roland-illig.de/redir/cur:
>      Not a directory


Sorry, I should have tested that before posting it. Hmmm. It's not
ideal, but how about just dropping a file in the maildir each time you
create one, and testing for the existance of that. Eg:

/var/mailboxes/roland-illig.de/.notaliases

Mike