I figured this might be handy for anyone to look over.
# doveconf -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.29.1.el6.x86_64 x86_64 CentOS release 6.7 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_debug = yes
mail_location = maildir:~/Maildir
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
mbox_write_locks = fcntl
passdb {
driver = pam
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
xaps_socket = /var/run/xapsd/xapsd.sock
}
postmaster_address = postmaster at hldns.com
protocols = imap pop3 sieve
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
ssl_ca = </etc/dovecot/dovecot.ca.pem
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_cipher_list = DEFAULT:!EXPORT:!LOW:!MEDIUM:!MD5
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
protocol lmtp {
mail_plugins = " xaps"
}
protocol lda {
mail_plugins = " sieve xaps"
}
protocol imap {
mail_plugins = " imap_xaps"
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
On 10/8/15, 8:23 AM, "dovecot on behalf of Steffan Cline"
<dovecot-bounces at dovecot.org on behalf of steffan at hldns.com> wrote:
>I?m posting this here and will in a couple other places to see if anyone has
any experience with this and knows what I can do.
>
>My setup is CentOS 6 with postfix, procmail and dovecot administered via
Virtualmin.
>
>Postfix of course receives the email. Procmail uses it?s hooks to run the
email through spam assassin and clamd. After than procmail hands it off to
dovecot/deliver to drop it in the user?s mail box.
>
>I use the following plugin for dovecot with the daemon to provide Apple push
mail for iPhones.
>
>https://github.com/st3fan/dovecot-xaps-daemon
>
>https://github.com/st3fan/dovecot-xaps-plugin
>
>For the most part, this works awesome but have run into a bit of a race
issue with notification of mail in a particular instance.
>
>On my computer I use Outlook for Mac which says it supports IDLE but is
broken. When an email comes in, I ALWAYS get the notification via the dovecpt
plugin for a push since Outlook is checking IMAP every 2 minutes.
>
>On a buddy?s setup, he uses Apple Mail which supports IDLE that actually
works. When his email client is connected from his laptop, it does actually
maintain a persistent connection and NEVER receives a notification from the
dovecot plugin because I?m guessing dovecot/deliver sees that the email was
received by the desktop client.
>
>I?m not sure how to make the plugin ALWAYS give a push. Is it a dovecot
config? A bug in the plugin? I?m not sure.
>
>Suggestions?
>
>
>Thank you,
>Steffan Cline
>602-793-0014
>