File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11disable_plaintext_auth = no
2- auth_username_format = %u
2+ auth_username_format = %Lu
33auth_verbose = yes
44auth_mechanisms = plain login
55!include auth-passwdfile.conf.ext
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ if [ -z "$(grep -e 'condition = ${lookup{$local_part@$domain}lsearch{/etc/exim4
4949 done
5050fi
5151
52+ # Allow Email@domain.com for login
53+ if [ -f " /etc/dovecot/conf.d/10-auth.conf" ]; then
54+ sed -i " s/auth_username_format = %u/auth_username_format = %Lu/g" /etc/dovecot/conf.d/10-auth.conf
55+ fi
56+
5257# rename /var/run/xx to /run/
5358for file in /etc/dovecot/dovecot.conf /etc/clamav/clamd.conf /etc/exim/exim.conf.template /etc/logrotate.d/apache2 /etc/logrotate.d/nginx /etc/mysql/my.cnf /etc/nginx/nginx.conf; do
5459 if [ -f " $file " ]; then
You can’t perform that action at this time.
0 commit comments