On Jan 25, 2008 6:11 PM, rupert <rupertt@xxxxxxxxx> wrote:
ok, i added the junkfolder creation to my accountadd script,
also the sieve script does its job when its added manually with sieveshell,
why does the autoadd function not work?
sievedir: /var/lib/imap/sieve
autocreate_sieve_script: /var/lib/imap/sieve/global/move_junk.sieve
ls /var/lib/imap/sieve/global/
defaultbc move_junk.sieve.bc move_junk.sieve.script
Hi,
i have my murder cluster running, with postfix as MTA and amavis for spam and virus check.
Now I would like to move all the junkmails automiticaly into a subfolder INBOX.Junk..
I tried the autocreateinboxfolder option with varioous enytries like NBOX/Junk or only Junk,
nothing did work. Can I maybe create the junkfolder with the first junkmessage received or
should it be automtically.
Since I have a murder setup, I read the sieve should run on the frontend, right?
my sievesettings in imapd.conf
sievedir: /var/lib/imap/sieve
autocreate_sieve_script: /etc/mail/move_junk.sieve
autocreateinboxfolders: INBOX/Junk
createonpost: 1
my move_junk script
require "regex";
if header :regex "Subject" "^\*\*\*SPAM" {
fileinto "INBOX/Junk";
}
when I create a new user I cant find any entries in the maillog about the new folders :(
ok, i added the junkfolder creation to my accountadd script,
also the sieve script does its job when its added manually with sieveshell,
why does the autoadd function not work?
sievedir: /var/lib/imap/sieve
autocreate_sieve_script: /var/lib/imap/sieve/global/move_junk.sieve
ls /var/lib/imap/sieve/global/
defaultbc move_junk.sieve.bc move_junk.sieve.script
my updated script:
require "fileinto";
if header :contains "Subject" "***SPAM***" {
fileinto "INBOX/Junk";
}
thx again
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html