IOERROR: fstating sieve script

brian bally.zijn at gmail.com
Wed Aug 12 21:52:13 EDT 2009


I've created a "vacation" script and activated it but there appears to
be a problem implementing it. The reply is for several addresses and
so I did not pass a --user to sieveshell. It has placed the defaultbc
in /var/lib/imap/sieve/global. However, lmtp is looking for it in a
directory for the particular address.

maillog says:
Aug 12 21:33:55 logi sieve[27866]: entered bc_action_emit with filelen: 16
Aug 12 21:35:49 logi lmtpunix[21521]: IOERROR: fstating sieve script
/var/lib/imap/sieve/domain/q/VIRTUAL_DOMAIN/a/admin/defaultbc: No such
file or directory

Should I create the necessary directories and copy defaultbc into
them? Or, do I need to invoke sieveshell for each user?

# cat imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasldb_path: /etc/sasldb2
sasl_mech_list: PLAIN LOGIN DIGEST-MD5 CRAM-MD5
defaultdomain: DOMAIN
virtdomains: userid
allowplaintext: 1
loginrealms: [several domains]
tls_ca_file: /etc/pki/tls/certs/cacert.pem
tls_cert_file: /etc/pki/cyrus-imapd/newcert.pem
tls_key_file: /etc/pki/cyrus-imapd/newkey.pem


# cat cyrus.conf
# standard standalone server implementation

START {
  # 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
SERVICES {
  # 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="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
}

EVENTS {
  # 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
}


More information about the Info-cyrus mailing list