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

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Cardwell
Data:  
A: exim users
Assumpte: Re: [exim] How can I distinguish between files and directories using require_files?
Mike Cardwell 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


Of course, I meant: "/var/mailboxes/roland-illig.de/redir/.notaliases"

I don't know why I even bother to try and use my brain before 10am on a
Monday ;)

Mike