diff options
author | Med Anis Jbara <74317212+medanisjbara@users.noreply.github.com> | 2023-07-11 10:40:32 +0100 |
---|---|---|
committer | jbara <medanisjbara@proton.me> | 2023-07-11 10:41:02 +0100 |
commit | 354a1c80cb2ab53ea5eeef19b8c238f5812d9be2 (patch) | |
tree | bc7fea4604dd84f9677f40c92b96fd1438642adf | |
parent | 8b9e7b1dd591b7305ba9e4aa58d7b69d14dc3e84 (diff) |
adding pop3 specific settings
-rw-r--r-- | emailwiz.sh | 9 |
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 |