Postfix will not start? Error Code 89
Using CENTOS 7 / WEBMIN / VIRTUALMIN / POSTFIX / DEVOCOT
Postfix is installed even if CentOS system was installed with [Minimal Install], but if Postfix is not, Install it first like follows.
[root@mail ~]#
yum -y install postfix
This example shows how to configure SMTP-Auth to use Dovecot’s SASL function.
Edit the main.cf file
/etc/postfix/main.cf
Make sure that the following line of code is set like this…
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
[root@mail ~]#
myhostname =mail.server.world
mydomain = server.world
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8, 10.0.0.0/24
home_mailbox = Maildir/
smtpd_banner = $myhostname ESMTP
message_size_limit = 10485760
mailbox_size_limit = 1073741824
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject
[root@mail ~]#
systemctl restart postfix
[root@mail ~]#
systemctl enable postfix