diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2023-07-12 10:03:11 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-12 10:03:11 +0000 | 
| commit | 84876971de75b1948d7ba1afd148be0b1c3bca58 (patch) | |
| tree | bc7fea4604dd84f9677f40c92b96fd1438642adf | |
| parent | 8b9e7b1dd591b7305ba9e4aa58d7b69d14dc3e84 (diff) | |
| parent | 354a1c80cb2ab53ea5eeef19b8c238f5812d9be2 (diff) | |
Merge pull request #288 from medanisjbara/patch-1
Adding pop3 support
| -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 | 
