sieve setup problems

Bruhin Gregor gbruhin at vianetworks.ch
Mon Jan 6 12:29:42 EST 2003


Hi,

I think there is a problem writing the mail files into the queue folder,
cyrus seems not to be allowed to write anything.
In which folder is cyrus trying to write and how did you setup the
permissions on this folder ?

Mytest script is:

require ["fileinto","reject"];

if allof (header :contains "subject" "test") {
        reject text:
fuck off
.
;
}

elsif allof (header :contains "subject" "greg") {
        redirect "gbruhin at vianetworks.ch";
}


Maillog:

Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:
Authentication-Warning: dhcp19.eunet.ch: cyrus set sender to root at dhcp using
-f
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309: SYSERR(cyrus):
collect: Cannot write ./dfh06HPpNt025309 (bfcommit, uid=60, gid=502):
Permission denied
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309: from=root at dhcp,
size=677, class=0, nrcpts=1, relay=cyrus at localhost
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:   0: fl=0x0,
mode=10600: FIFO: dev=0/5, ino=3689856, nlink=1, u/gid=60/60, size=0
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:   1: fl=0x2,
mode=140777: SOCK [[UNIX: /var/imap/socket/lmtp]]->[[UNIX:
/var/imap/socket/lmtp]]
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:   2: fl=0x2,
mode=140777: SOCK [[UNIX: /var/imap/socket/lmtp]]->[[UNIX:
/var/imap/socket/lmtp]]
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:   3: fl=0x2,
mode=140777: SOCK localhost->[[UNIX: /dev/log]]
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309:   4: fl=0x1,
mode=20666: CHR: dev=3/2, ino=66746, nlink=1, u/gid=0/0, size=0
Jan  6 18:25:51 dhcp sendmail[25309]: h06HPpNt025309: SYSERR(cyrus):
queueup: cannot create queue temp file ./tfh06HPpNt025309, uid=60:
Permission denied
Jan  6 18:25:51 dhcp sendmail[25307]: h06HPobq025305: to=<greg at dhcp>,
delay=00:00:01, xdelay=00:00:01, mailer=cyrusv2, pri=30304, relay=localhost,
dsn=2.0.0, stat=Sent


Cyruslog:

Jan  6 18:25:50 dhcp19 master[25308]: about to exec /usr/cyrus/bin/lmtpd
Jan  6 18:25:50 dhcp19 lmtpunix[25308]: executed
Jan  6 18:25:50 dhcp19 lmtpd[25308]: accepted connection
Jan  6 18:25:50 dhcp19 lmtpd[25308]: lmtp connection preauth'd as postman
Jan  6 18:25:51 dhcp19 lmtpd[25308]: duplicate_check:
<200301061725.h06HPoIc025304 at dhcp19.eunet.ch>-gbruhin at vianetworks.ch
.greg.sieve.         0
Jan  6 18:25:51 dhcp19 lmtpd[25308]: sieve runtime error for greg id
<200301061725.h06HPoIc025304 at dhcp19.eunet.ch>: Redirect: Sendmail process
terminated normally, exit status 71
Jan  6 18:25:51 dhcp19 lmtpd[25308]: duplicate_check:
<200301061725.h06HPoIc025304 at dhcp19.eunet.ch> user.greg            0




More information about the Info-cyrus mailing list