Sieve works, but file into can't find the directory.

Jon Mercer jon at trojan-heroes.co.uk
Tue Aug 12 22:05:02 EDT 2003


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








More information about the Info-cyrus mailing list