Sieve and Squat errors

wcooley at nakedape.cc wcooley at nakedape.cc
Sat Feb 13 03:40:19 EST 2010


> Hi,
>
> I've got two errors in a new cyrus setup. It works well but I would like
> to get rid of these errors, could someone please tell me what I am
> missing? Here are the errors and the setup files... I'm not actually using
> sieve right now so I could just turn it off if that would work. I would
> like to use squat though so it would be nice to get that working without
> the errors.

You're not seeing errors, you're seeing debugging messages. If you don't
want to see these messages, then don't log at the debug level. (Well, the
sieve one does say "IOERROR"...)

What they mean is that the squat index and compiled sieve script are not
found; if the mailbox in question has not had a squat index built for it
(such as if you don't have squatter running, or you do only for selected
mailboxes) and if there is not an associated sieve script, then these are
completely normal.

HTH,
Wil


> Thanks,
> Reggie
>
> LOG
> ---
>
> 9 22:56:39 neutrino imaps[20826]: open: user server at xxxxxxxxxxx.com opened
> INBOX
> Feb  9 22:56:39 neutrino imaps[20826]: SQUAT failed to open index file
> Feb  9 22:56:39 neutrino imaps[20826]: SQUAT failed
> Feb  9 22:56:39 neutrino imaps[20826]: SQUAT failed to open index file
> Feb  9 22:56:39 neutrino imaps[20826]: SQUAT failed
> Feb  9 23:00:18 neutrino lmtpunix[23564]: accepted connection
> Feb  9 23:00:18 neutrino lmtpunix[23564]: lmtp connection preauth'd as
> postman
> Feb  9 23:00:18 neutrino lmtpunix[23564]: IOERROR: fstating sieve script
> /var/spool/mail/sieve/domain/K/xxxxxxxxxxx.com/E/server/defaultbc: No such
> file or directory
> Feb  9 23:00:18 neutrino lmtpunix[23694]: executed
> Feb  9 23:00:18 neutrino lmtpunix[23564]: Delivered:
> <cmu-lmtpd-23564-1265785218-0 at neutrino> to mailbox:
> xxxxxxxxxxx.com!user.server
> Feb  9 23:01:13 neutrino lmtpunix[23694]: accepted connection
> Feb  9 23:01:13 neutrino lmtpunix[23694]: lmtp connection preauth'd as
> postman
> Feb  9 23:01:13 neutrino lmtpunix[23694]: IOERROR: fstating sieve script
> /var/spool/mail/sieve/domain/K/xxxxxxxxxxx.com/E/server/defaultbc: No such
> file or directory
> Feb  9 23:01:13 neutrino lmtpunix[23694]: Delivered:
> <20100210070113.27E33A007E at mail.xxxxxxxxxxx.com> to mailbox:
> xxxxxxxxxxx.com!user.server
> Feb  9 23:03:05 neutrino lmtpunix[23748]: executed
>
> CYRUS.CONF
> ----------
>
> # standard standalone server implementation
>
> START {
>   # recover - do not delete this entry!
>   # idled   - this is only necessary if using idled for IMAP IDLE
>   recover   cmd="ctl_cyrusdb -r"
>   idled     cmd="idled"
> }
>
> # UNIX sockets start with a slash and are put into /var/lib/imap/socket
> SERVICES {
>
>   # DEFAULT DOMAIN
>   imap      cmd="imapd"         listen="imap"
>              prefork=1
>   imaps     cmd="imapd -s"      listen="imaps"
>              prefork=1
>   pop3      cmd="pop3d"         listen="pop3"
>              prefork=1
>   pop3s     cmd="pop3d -s"      listen="pop3s"
>              prefork=1
>   sieve     cmd="timsieved"     listen="sieve"
>              prefork=1
>   lmtpunix  cmd="lmtpd"         listen="/var/lib/imap/socket/lmtp"
>              prefork=1
>   notify    cmd="notifyd"       listen="/var/lib/imap/socket/notify"
> proto="udp"       prefork=1
>
> }
>
> EVENTS {
>   # "period" is in Minutes, should be >10
>   # "at" is in 24 hour time (hhmm), valid time 0000-2359)
>
>   checkpoint  cmd="ctl_cyrusdb -c"  period=30
>   delprune    cmd="cyr_expire -E 3" at=0400
>   tlsprune    cmd="tls_prune"       at=0400
>   # Note: The squatter man pages can be confusing so don't
>   # ever remove the line below, comment it out if you must
>   # disable it.
>   squatter    cmd="squatter -as"    period=180
>
> # cleanup     cmd="ipurge -d 30 -f" period=60
>
> }
>
> IMAP.CONF
> ---------
>
> #
> ==============================================================================
> # Cyrus-SASL options
> #
> ==============================================================================
>
> sasl_auxprop_plugin: sql
> sasl_log_level: 3
> sasl_mech_list: CRAM-MD5 DIGEST-MD5
> sasl_pwcheck_method: auxprop
>
> #
> ==============================================================================
> # Cyrus-SASL SQL Options
> #
> ==============================================================================
> sasl_sql_hostnames: localhost
> sasl_sql_user: cyrus
> sasl_sql_passwd: Yn8HVdsqYBvhqX5j
> sasl_sql_database: system_mail
> sasl_sql_select: SELECT AES_DECRYPT(`password`, 'xxxxxxxxxxxxxxxxxxxxxxx')
> AS password FROM `accounts` WHERE `user`='%u' AND `realm`='%r' AND
> `virtual` != 0
> sasl_sql_insert: INSERT INTO `accounts` (`user`, `realm`, `password`)
> VALUES ('%u', '%r', AES_ENCRYPT('%v','xxxxxxxxxxxxxxxxxxxxxxx'))
> sasl_sql_update: UPDATE `accounts` SET
> `user`='%u',`realm`='%r',`password`=AES_ENCRYPT('%v','xxxxxxxxxxxxxxxxxxxxxxx')
> WHERE `user`='%u' AND `realm`='%r'
>
> #
> ==============================================================================
> # Cyrus-IMAP Options
> #
> ==============================================================================
>
> admins: root cyrus
> allowplaintext: 1
> allowpop: 1
> allowusermoves: 1
> altnamespace: 1
> anyoneuseracl: 0
> auth_mech: unix
> configdirectory: /var/lib/imap
>
> defaultdomain: localhost
> drachost: localhost
> dracinterval: 0
> duplicatesuppression: 0
> fulldirhash: 1
> hashimapspool: 1
>
> improved_mboxlist_sort: 1
>
> lmtp_downcase_rcpt: 1
> lmtp_strict_quota: 1
>
> logtimestamps: 1
>
> partition-default: /var/spool/mail/cyrus
>
> popsubfolders: 1
>
> sendmail: /usr/sbin/sendmail
>
> sievedir: /var/spool/mail/sieve
>
> tls_ca_file: /etc/ssl/private/cyrus.bdl
> tls_key_file: /etc/ssl/private/cyrus.key
> tls_cert_file: /etc/ssl/private/cyrus.crt
> unixhierarchysep: 1
>
> virtdomains: userid
>
> --
> Nybbles2Byte                          mailto:nybbles2byte at gmail.com----
> 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




More information about the Info-cyrus mailing list