Le mercredi 22 juin 2011 10:21, Stephan Bosch a écrit :
Op 22-6-2011 3:18, ml@smtp.fakessh.eu schreef:
hello folks hello Timo hello all the guru
I met a few times the problem or an email that passes through a sieve script is silently discard after delivery but never returned to the inbox
all testimonials are welcome
We cannot say much about this problem, unless we get some more information:
- What is your configuration? Provide the output of dovecot -n.
my dovecot -n ~]# /usr/sbin/dovecot -n # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32.2-xxxx-grs-ipv6-32 i686 CentOS release 5.6 (Final) auth_mechanisms = plain login base_dir = /var/run/dovecot/ lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = [::] log_path = /var/log/maillog log_timestamp = %Y-%m-%d %H:%M:%S login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c mail_location = maildir:~/Maildir mail_max_userip_connections = 20 managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus virustest namespace { inbox = yes location = prefix = separator = . } passdb { driver = pam } plugin { autocreate = Trash autocreate2 = Junk autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Sent autosubscribe4 = Drafts plugin = $mail_plugins autocreate managesieve sieve sieve = ~/.dovecot.sieve sieve_before = /var/sieve-scripts/roundcube.sieve sieve_dir = ~/sieve sieve_global_path = whatever } protocols = sieve imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0600 user = postfix } unix_listener auth-master { mode = 0666 } unix_listener auth-userdb { mode = 0666 } vsz_limit = 64 M } service imap-login { inet_listener imap { port = 0 } inet_listener imaps { address = * , [::] port = 993 } process_limit = 128 vsz_limit = 64 M } service imap { client_limit = 1 service_count = 0 } service managesieve-login { inet_listener managesieve-login { address = * , [::] port = 2000 } process_limit = 128 vsz_limit = 64 M } service pop3-login { inet_listener pop3 { port = 0 } inet_listener pop3s { address = * , [::] port = 995 } process_limit = 128 vsz_limit = 64 M } ssl_ca =
- Is it reproducible somehow?
this is rare but does occur from time to time. I do not know how to reproduce
- What is the Sieve script you see this behavior for? Or does it
happen for all users?
i use a simple script sieve of this style ~]$ cat .dovecot.sieve require ["fileinto", "mailbox" ,"reject", "regex", "variables","envelope", "subaddress"]; # rule:[perl] if anyof (header :contains "Return-Path" "perl.apache.org", header :contains "Return-Path" "perl",header :contains "Return-Path" "groups.yahoo.com", header :contains "Return-Path" "jaos", header :contains "Return-Path" "dkimproxy", header :contains "Return-Path" "mongueurs", header :contains "Return-Path" "pep", header :contains "Subject" "dkimproxy", header :contains "To" "perl@mongueurs.net", header :contains "To" "pep@perl.org", header :contains "To" "perlwebmail-devel@jaos.org", header :contains "Return-Path" "jlong@messiah.edu", header :contains "To" "dkimproxy-users@lists.sourceforge.net", header :contains "Cc" "dkimproxy-users@lists.sourceforge.net",header :contains "Return-Path" "templates-bounces@template-toolkit.org",header :contains "Return-Path" "pm.org") { fileinto :create "INBOX.perl"; stop; }
- Is there a specific kind of incoming message that gets discarded
all the time?
no there is no particular type of message just some messages
- Is there any error or other message in the logs that may explain this behavior?
egrep lda /var/log/maillog
2011-06-22 14:34:45lda(fakessh): Info: sieve: msgid=<4E01E14E.4040401@sr******.info>: marked message to be discarded if not explicitly delivered (discard action) 2011-06-22 14:34:45lda(root): Info: sieve: msgid=<4E01E14E.4040401@sr******.info>: marked message to be discarded if not explicitly delivered (discard action)
Regards,
Stephan.
thanks Stephan
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7 gpg --keyserver pgp.mit.edu --recv-key 092164A7