OK, scratch this thread. Correct answer is:

fileinto "user/hostadmin/backup";

or even:

fileinto "user/hostadmin/backups";

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" "[EMAIL PROTECTED]" {
                    fileinto "user/hostadmin/achilles";}
            if header :contains "To" "[EMAIL PROTECTED]" {
                    fileinto "user/hostadmin/ajax";}
            if header :contains "To" "[EMAIL PROTECTED]" {
                    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 [EMAIL PROTECTED], and this isn't working either.

'Nuff headbanging for now, any help gratefully received.

Cheers,

Jon











Reply via email to