set mail size limit, rename mailbox

This commit is contained in:
Chang, Chu-Kuan 2021-03-27 13:06:32 +08:00
parent a95e3cd8f5
commit 4b53f53bef
1 changed files with 4 additions and 2 deletions

View File

@ -128,6 +128,8 @@ cat << EOF > /etc/mail/smtpd.conf
# This is the smtpd server system-wide configuration file. # This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information. # See smtpd.conf(5) for more information.
smtp max-message-size 100M
pki "${maildomain}" cert "${certfile}" pki "${maildomain}" cert "${certfile}"
pki "${maildomain}" key "${keyfile}" pki "${maildomain}" key "${keyfile}"
@ -179,9 +181,9 @@ cat << EOF > /etc/dovecot/dovecot.conf
# Use imap and lmtp ( deliver mail for OpenSMTPD ) # Use imap and lmtp ( deliver mail for OpenSMTPD )
protocols = imap lmtp protocols = imap lmtp
# Our mail for each user will be in ~/Maildir, and the inbox will be ~/Maildir/Inbox # Our mail for each user will be in ~/maildir, and the inbox will be ~/maildir/Inbox
# The LAYOUT option is also important because otherwise, the boxes will be ".Sent" instead of "Sent". # The LAYOUT option is also important because otherwise, the boxes will be ".Sent" instead of "Sent".
mail_location = maildir:~/Maildir:INBOX=~/Maildir/Inbox:LAYOUT=fs mail_location = maildir:~/maildir:INBOX=~/maildir/Inbox:LAYOUT=fs
namespace inbox { namespace inbox {
inbox = yes inbox = yes