Sieve works, but file into can't find the directory.
Ken Murchison
ken at oceana.com
Tue Aug 12 23:40:14 EDT 2003
Jon Mercer wrote:
> OK, scratch this thread. Correct answer is:
>
> fileinto "user/hostadmin/backup";
>
> or even:
>
> fileinto "user/hostadmin/backups";
Assuming this is hostadmin's script, then "backups" is the correct answer.
>
> if that's what you called the folder. What's an 's' between friends?
>
> Panic over. Bedtime.
>
> Cheers,
>
> Jon
>
> Jon Mercer wrote:
>
>> Folks,
>>
>> I've got a problem specifying the fileinto line in my sieve scripts.
>> I'm using:
>>
>> unixhierarchysep: yes
>> altnamespace: yes
>> userprefix: user
>> sharedprefix: shared
>>
>> in imapd.conf. Users have been created in cyradm with:
>>
>> cm user.hostadmin
>>
>> with subdirs created within Mozilla-Mail. The sieve script looks like
>> this:
>>
>> require "fileinto";
>> if header :contains "Subject" "AMANDA" {
>> fileinto "user/hostadmin/backup";}
>> if header :contains "To" "root at host.com" {
>> fileinto "user/hostadmin/achilles";}
>> if header :contains "To" "root at host.com" {
>> fileinto "user/hostadmin/ajax";}
>> if header :contains "To" "root at host.com" {
>> fileinto "user/hostadmin/menelaus";}
>>
>> the file into line has been through every permutation I can think of,
>> e.g.:
>>
>> fileinto "INBOX.backup";
>> fileinto "user.hostadmin.backup";
>> fileinto "hostadmin.backup";
>> fileinto "backup";
>> fileinto "INBOX/backup";
>> fileinto "user/hostadmin/backup";
>> fileinto "hostadmin/backup"
>>
>> Nothing seems to be catching the mails, and they end up in the inbox.
>>
>> What am I doing wrong? As a side note, I've also tried addressing
>> mails to hostadmin+backup at host.com, and this isn't working either.
>>
>> 'Nuff headbanging for now, any help gratefully received.
>>
>> Cheers,
>>
>> Jon
>>
>>
>>
>>
>>
>>
>
>
>
>
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list