summaryrefslogtreecommitdiff
path: root/emailwiz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'emailwiz.sh')
-rw-r--r--emailwiz.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 2e24c57..ebc8e6b 100644
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -17,7 +17,7 @@
umask 0022
-apt-get install -y postfix postfix-pcre dovecot-imapd dovecot-sieve opendkim opendkim-tools spamassassin spamc net-tools fail2ban
+apt-get install -y postfix postfix-pcre dovecot-imapd dovecot-pop3d dovecot-sieve opendkim opendkim-tools spamassassin spamc net-tools fail2ban
domain="$(cat /etc/mailname)"
subdom=${MAIL_SUBDOM:-mail}
maildomain="$subdom.$domain"
@@ -164,7 +164,7 @@ ssl_dh = </usr/share/dovecot/dh.pem
auth_mechanisms = plain login
auth_username_format = %n
-protocols = \$protocols imap
+protocols = \$protocols imap pop3
# Search for valid users in /etc/passwd
userdb {
@@ -218,6 +218,11 @@ protocol lmtp {
mail_plugins = \$mail_plugins sieve
}
+protocol pop3 {
+ pop3_uidl_format = %08Xu%08Xv
+ pop3_no_flag_updates = yes
+}
+
plugin {
sieve = ~/.dovecot.sieve
sieve_default = /var/lib/dovecot/sieve/default.sieve