craig.dovecot at noboost.org
2013-Dec-05  00:27 UTC
[Dovecot] Postfix & Dovecot Sieve Advice
Hi,
I've configured up Dovecot Pigeonhole with Postfix for delivery (all working
perfectly). Seeing as I'm about to use this in production, I'm just
after any advice or tips people might have to safeguard email delivery from
Postfix to Dovecot via LMTP?
Spec: 
postfix-2.6.6-2.2.el6_1.x86_64
dovecot-2.0.9-5.el6.x86_64
dovecot-pigeonhole-2.0.9-5.el6.x86_64
Postfix:
virtual_transport = lmtp:unix:private/dovecot-lmtp
Dovecot (key settings):
vim /etc/dovecot/conf.d/10-auth.conf
auth_username_format = %Ln
vim /etc/dovecot/conf.d/10-master.conf
service lmtp {
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
   group = postfix
   mode = 0660
   user = postfix
}
}
vim /etc/dovecot/conf.d/20-lmtp.conf
protocol lmtp {
  mail_plugins = $mail_plugins sieve
}
vim /etc/dovecot/conf.d/90-sieve.conf
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_vacation_min_period = 1h
  sieve_vacation_default_period = 10d
  sieve_vacation_max_period = 30d
}
Regards,
Craig
