Fix stuff
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ssl = yes
|
||||
disable_plaintext_auth = yes
|
||||
disable_plaintext_auth = no
|
||||
ssl_cert = </etc/ssl/certs/dovecot.pem
|
||||
ssl_key = </etc/ssl/private/dovecot.pem
|
||||
|
||||
|
||||
@@ -29,9 +29,9 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||||
# information on enabling SSL in the smtp client.
|
||||
|
||||
myhostname = localhost
|
||||
alias_maps = hash:/etc/aliases
|
||||
alias_database = hash:/etc/aliases
|
||||
mydestination = /etc/mailname, localhost.localdomain, localhost
|
||||
#alias_maps = hash:/etc/mail/aliases
|
||||
#alias_database = hash:/etc/mail/aliases
|
||||
mydestination = localhost.localdomain, localhost
|
||||
relayhost =
|
||||
mynetworks = 127.0.0.0/8 [::1]/128
|
||||
mailbox_size_limit = 0
|
||||
@@ -58,8 +58,8 @@ smtpd_relay_restrictions = permit_auth_destination, permit_mynetworks, reject
|
||||
smtpd_recipient_restrictions = permit
|
||||
|
||||
# Delivery to dovecot
|
||||
alias_maps = hash:/etc/aliases
|
||||
alias_database = hash:/etc/aliases
|
||||
#alias_maps = hash:/etc/mail/aliases
|
||||
#alias_database = hash:/etc/mail/aliases
|
||||
virtual_alias_maps = hash:/etc/postfix/virtual
|
||||
virtual_mailbox_domains = /etc/postfix/virtual-mailbox-domains
|
||||
virtual_mailbox_maps = hash:/etc/postfix/virtual-mailbox-maps
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
dovecot unix - n n - - pipe
|
||||
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
|
||||
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
|
||||
|
||||
# we need to be permissive with the helo restrictions since the client can only
|
||||
# authenticate after HELO has been sent
|
||||
|
||||
@@ -6,7 +6,7 @@ process_name=master
|
||||
directory=/etc/postfix
|
||||
command=/usr/sbin/postfix -c /etc/postfix start
|
||||
startsecs=0
|
||||
autorestart=true
|
||||
autorestart=false
|
||||
|
||||
[program:dovecot]
|
||||
command=/usr/sbin/dovecot -c /etc/dovecot/dovecot.conf -F
|
||||
|
||||
Reference in New Issue
Block a user