Browse Source

Merge pull request #288 from medanisjbara/patch-1

Adding pop3 support
pull/295/head
Luke Smith 9 months ago
committed by GitHub
parent
commit
84876971de
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      emailwiz.sh

+ 7
- 2
emailwiz.sh View File

@@ -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


Loading…
Cancel
Save