pigeonhole-0.4.14

j.emerlik j.emerlik at gmail.com
Sun Jul 9 14:44:42 EEST 2017


Sure !

# 2.2.24 (a82c823): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.14 (099a97c)
# OS: Linux 4.4.2-hardened x86_64 Gentoo Base System release 2.2
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 4096
default_internal_user = mailer
default_process_limit = 300
dict {
  sqlquota = pgsql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 100
hostname = mnode1
imap_capability = IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN
AUTH=LOGIN UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE STARTTLS
instance_name = dovecot_mnode1
last_valid_uid = 102
lmtp_rcpt_check_quota = yes
login_greeting = xx.eu mail server ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
mail_location = %h
mail_plugins = " quota"
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environment mailbox date index ihave
duplicate mime foreverypart extracttext
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = INBOX.
  separator = .
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota = dict:User quota::proxy::sqlquota
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_before = /usr/local/var/lib/dovecot/sieve/global/spam.sieve
  sieve_default = /usr/local/var/lib/dovecot/sieve/default.sieve
  sieve_dir = ~/sieve
  sieve_global = /usr/local/var/lib/dovecot/sieve/global/
}
pop3_reuse_xuidl = yes
postmaster_address = postmaster at xx.eu
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = mailer2
    mode = 0666
    user = postfix
  }
}
service dict {
  unix_listener dict {
    group = mailer2
    mode = 0660
    user = mailer
  }
}
service imap-login {
  inet_listener imap {
    port = 9143
  }
  inet_listener imapproxy {
    port = 143
  }
  inet_listener imaps {
    port = 9993
    ssl = yes
  }
  inet_listener imapsproxy {
    port = 993
    ssl = yes
  }
}
service imap-postlogin {
  user = dovecot
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
    address = 172.xx.xx.xx 127.0.0.1 ::1
    port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = mailer2
    mode = 0660
    user = postfix
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 9110
  }
  inet_listener pop3proxy {
    port = 110
  }
  inet_listener pop3s {
    port = 9995
    ssl = yes
  }
  inet_listener pop3sproxy {
    port = 995
    ssl = yes
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = mailer
  }
  user = mailer
}
ssl_ca = </usr/local/etc/dovecot/ssl/DigiCertCA.crt
ssl_cert = </usr/local/etc/dovecot/ssl/dovecot.crt
ssl_dh_parameters_length = 2048
ssl_key = </usr/local/etc/dovecot/ssl/dovecot.pem
userdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  info_log_path = /var/log/log.dovecot.lmtp
  mail_plugins = " quota quota sieve"
  postmaster_address = postmaster at xx.eu
}
protocol lda {
  mail_plugins = " quota quota sieve"
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = " quota imap_quota"
}


2017-07-07 21:30 GMT+02:00 Stephan Bosch <stephan at rename-it.nl>:

> Op 7/7/2017 om 1:18 PM schreef j.emerlik:
> > Solved temporary by replacing X-Spam-Status to X-Spam-Flag.
> >
> > X-Spam-Flag in my system is added only to SPAM e-mail, anyway it looks
> like
> > a bug.
>
> Can you show your configuration (output from `dovecot -n`)?
> An example message may also be useful.
>
> Regards,
>
> Stephan.
>
> > Regards,
> > Jack
> >
> >
> > 2017-07-07 12:41 GMT+02:00 j.emerlik <j.emerlik at gmail.com>:
> >
> >> Yes, I'am sure.
> >>
> >> I've only global as:
> >> ==============
> >> require "fileinto";
> >>
> >> if header :contains "X-Spam-Status" "YES" {
> >>   fileinto "INBOX.Junk";
> >> }
> >>
> >> if header :contains "X-Spam-Level" "********************" {
> >>   discard;
> >>   stop;
> >> }
> >>
> >> and default as:
> >> ==============
> >> require "fileinto";
> >>
> >> if header :contains "X-Spam-Status" "YES" {
> >>   fileinto "Junk";
> >> }
> >>
> >> if header :contains "X-Spam-Level" "********************" {
> >>   discard;
> >>   stop;
> >> }
> >>
> >> any idea ?
> >>
> >> Regards,
> >> Jack
> >>
> >>
> >> 2017-07-07 12:10 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
> >>
> >>>
> >>> On 07.07.2017 11:14, j.emerlik wrote:
> >>>> Hi,
> >>>> my global sieve filter looks like this:
> >>>>
> >>>> require "fileinto";
> >>>>
> >>>> if header :contains "X-Spam-Status" "YES" {
> >>>>   fileinto "INBOX.Junk";
> >>>> }
> >>>>
> >>>> if header :contains "X-Spam-Level" "********************" {
> >>>>   discard;
> >>>>   stop;
> >>>> }
> >>>>
> >>>>
> >>>> Why Dovecot 2.2.24 and pigeonhole-0.4.14 moves all e-mails to spam eg
> .:
> >>>> with "X-Spam-Status: No," too ?
> >>>>
> >>>> Regards,
> >>>> Jack
> >>> You sure there is no local filter involved?
> >>>
> >>> Aki
> >>>
> >>
>
>


More information about the dovecot mailing list