by: =?windows-1251?B?yu7t7u3u4iDF4uPl7ejp?= <>, @ Sat, 17 Jan 2009 09:41:23 +0200

Hello !

I'm using cyrus-imapd-2.3.7-2.el5 with patches autusieve and
autocreate. Mailboxes in virtual domains and appear to be
user/user@domain.tld, belonging to the user mailboxes as
user/user/Sent@domain.tld, user/user/Draft@domain.tld,
user/user/Trash@domain.tld. When you create a folder by using the
parameter autosievefolders: Spam, it creates a folder in the root
domain domain.tld and physically located in
/var/spool/imap/domain/d/domain.tld/s/user/Spam@domain.tld. From a
folder cyradm visible as Spam@domain.tld This sieve-script to a user
is looking for a Spam folder to another location and can not be
running. How can I make sure that the directive autosievefolders:
Spam folders in the user's inbox, but not at the root domain? And yet,
does not operate automatically create scripts for users, given the
parameters autocreate_sieve_script, autocreate_sieve_compiledscript,
generate_compiled_sieve_script. Here are my configuration files.
admins: cyrus
allowanonymouslogin: no
allowplaintext: 1
autocreateinboxfolders: Drafts|Sent|Trash
autosubscribeinboxfolders: Drafts|Sent|Trash
autocreatequota: 25600
configdirectory: /var/lib/imap
defaultacl: cyrus lrswipcda
hashimapspool: 1
lmtp_downcase_rcpt: 1
lmtp_over_quota_perm_failure: 1
logtimestamp: 1
partition-default: /var/spool/imap
poptimeout: 1
postmaster: postmaster
quotawarn: 90
reject8bit: 0
sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sendmail: /usr/sbin/sendmail
servername: domain.tld
sieveusehomedir: no
sievedir: /var/lib/imap/sieve
#autocreate_sieve_script: /var/lib/imap/sieve/global/default_sieve_script.script
autocreate_sieve_compiledscript: /var/lib/imap/sieve/global/default_sieve_script.bc
#generate_compiled_sieve_script: 1
sieve_maxscripts: 5
sieve_maxscriptsize: 64
singleinstancestore: yes
timeout: 30
tls_cert_file: /etc/pki/cyrus-imapd/server.pem
tls_key_file: /etc/pki/cyrus-imapd/server.pem
tls_ca_file: /etc/pki/cyrus-imapd/server.pem
tls_session_timeout: 15
umask: 077
unixhierarchysep: yes
virtdomains: userid
lmtp_overquota_perm_failure: yes
plaintextloginpause: 2
duplicatesuppression: 0
createonpost: yes
anysievefolder: yes
autosievefolders: Spam
sieve_extensions: fileinto reject vacation imapflags notify include envelope body relational regex subaddress copy
altnamespace: 0

# standard standalone server implementation

# do not delete this entry!
recover cmd="ctl_cyrusdb -r"

# this is only necessary if using idled for IMAP IDLE
idled cmd="idled"

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=5
imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
sieve cmd="timsieved" listen="localhost:sieve" prefork=0

# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=3
# nntps cmd="nntpd -s" listen="nntps" prefork=1

# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1

# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1

# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30

# this is only necessary if using duplicate delivery suppression,
# Sieve or NNTP
delprune cmd="cyr_expire -E 3" at=0400

# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400

Please, help !!!

Best regards,