War with Sieve

Mike Mildner m.mildner at kleiderschrank51.de
Do Feb 21 11:34:46 CET 2019


;-)
root at idefix:~# doveconf -n
# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.4 (60b0f48d)
# OS: Linux 4.20.6-arch1-1-ARCH x86_64
# Hostname: idefix.domain.lan
auth_mechanisms = plain cram-md5
auth_verbose = yes
listen = 127.0.0.1, 192.168.2.1
mail_location = maildir:~/.Maildir
mail_plugins = zlib quota
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 vacation-seconds imapsieve vnd.dovecot.imapsieve
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
quota = maildir:User quota
quota_grace = 10%%
quota_max_mail_size = 50M
quota_over_flag_value = TRUE
quota_over_script = /usr/bin/quota-warning.sh %u
quota_rule = *:storage=20G
quota_rule2 = Trash:storage=+100
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = file:~/.Maildir/sieve;active=~/.Maildir/.dovecot.sieve
sieve_extensions = +vacation-seconds
sieve_plugins = sieve_imapsieve sieve_extprograms
sieve_redirect_envelope_from = recipient
sieve_trace_debug = yes
sieve_trace_dir = ~/.Maildir/sievetrace
sieve_trace_level = commands
sieve_vacation_use_original_recipient = yes
}
postmaster_address = postmaster at domain.de
protocols = lmtp imap sieve
sendmail_path = /usr/bin/sendmail
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-userdb {
mode = 0777
}
}
service imap-login {
inet_listener imap {
port = 0
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
ssl = required
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
submission_host = idefix.domaint.lan:993
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
protocol lmtp {
mail_plugins = zlib quota sieve
}
protocol imap {
mail_max_userip_connections = 10
mail_plugins = zlib quota quota imap_quota imap_sieve
}


Offtopicfrage: Hm...die wird dann aber nicht aufgelöst...och menno )-:

Naja, heute kommt sicher das Buch und nächste Woche bin ich dann hoffentlich schlauer
> Frank Ebert <frank.ebert at freenet.de> hat am 21. Februar 2019 um 07:22 geschrieben:
>
>
> Am Wed, 20 Feb 2019 17:40:34 +0100 (CET)
> schrieb Mike Mildner <m.mildner at kleiderschrank51.de>:
>
> > Entspricht bei
> > > dir die E-Mailadresse dem Usernamen?
> > >
> > Ja, dem ist so.
> > Der Versuch
> > [destination]
> > type = MDA_external
> > path = /usr/lib/dovecot/deliver
> > arguments = ("-e", "-d", "%(recipient)")
> > schlug mit
> > lda error Auth User lookup failed
> > zu Buch
> > Der soll eigentlich in mysql suchen (rollingEyes) versucht es aber
> > mit der auth-userdb - die es nicht gibt/geben wird. Da habe ich mir
> > das Dovecot-Buch bestellt ;-)
> >
> > Ich denke ja, ich muss das Auth-Verfahren über sql auch dem lda
> > beibringen - mr imap kann es ja auch. Nur komm ich mit diesen ganzen
> > config files nicht so richtig klar und seh den Wald vor lauter Bäumen
> > nicht. Offtopic: %(recipient) ist das ein Platzhalter oder eine
> > Variable?
> Dann machen wir dem Glaskugellesen ein Ende: Zeig doch mal die Ausgabe
> von "doveconf -n".
>
> Zur "Offtopic-Frage": Das ist eine Variable und sollte hier so stehen
> bleiben.


Mehr Informationen über die Mailingliste Dovecot