Sieve Filter is not used

Andreas Winkelmann ml at awinkelmann.de
Fri Sep 22 17:41:39 EDT 2006


Am Friday 22 September 2006 22:06 schrieb Jean-Gabriel Duquesnoy:

> I have setup a small filter for testing that Sieve is working:
> require "fileinto";
>
> if address :is :all "From" "jgduquesnoy at yahoo.com"
> {
> fileinto "INBOX.Fun";
> stop;
> }
> else {
> keep;
> stop;
> }

Is the Script activated?

Is the Mail really new, or is it skipped because of Duplicate-Suppression?

> but obviously the filter is not used at all, and when checking the log
> I do not see any hint, that sieve is used at all:

Most amavis-Stuff.

> Sep 22 21:55:12 mail postfix/qmgr[3515]: 89D9B8DFBC:
> from=<jgduquesnoy at yahoo.com>, size=1744, nrcpt=1 (queue active)

I don't see the place, where the Mail is handed to Cyrus-Imap.

> Here is my imapd.conf:
> postmaster: postmaster
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> sievedir: /var/lib/sieve
> admins: cyrus
> allowanonymouslogin: no
> allowplaintext: yes
> sasl_mech_list: PLAIN
> servername: mail.jgduke.dnsalias.com
> autocreatequota: 10000
> reject8bit: no
> quotawarn: 90
> timeout: 30
> poptimeout: 10
> dracinterval: 0
> drachost: 127.0.0.1
> sasl_pwcheck_method: saslauthd
> #sasl_pwcheck_method: auxprop
> lmtp_overquota_perm_failure: no
> lmtp_downcase_rcpt: yes
> sendmail: /usr/sbin/sendmail
> sieve_maxscriptsize: 32
> sieve_maxscripts: 5
> sieve_sasl_minimum_layer: 0
> sasl_minimum_layer: 0
> autocreateinboxfolders: INBOX | INBOX.Trash | INBOX.Sent |
> INBOX.Drafts
> autosubscribeinboxfolders: INBOX | INBOX.Trash | INBOX.Sent |
> INBOX.Drafts
>
> This is my 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/socket
> SERVICES {
>   # add or remove based on preferences
>   imap          cmd="imapd" listen="192.168.0.5:imap" prefork=0
> #  imaps                cmd="imapd -s" listen="192.168.0.5:imaps"
> prefork=0
>   pop3          cmd="pop3d" listen="pop3" prefork=0
> #  pop3s                cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="timsieved" listen="192.168.0.5:sieve" prefork=0
>
>   # 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=0
>
>   # 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
>   delprune      cmd="cyr_expire -E 3" at=0400
>
>   # this is only necessary if caching TLS sessions
>   tlsprune      cmd="tls_prune" at=0400
>
> }
>
> Is there any setting missing which would cause sieve to not being
> used?
>
> Thanks for any help.
> Best regards,

-- 
	Andreas


More information about the Info-cyrus mailing list