Installing mail server on Fedora 25 -- postfix error
Installing postfix on my Fedora server, I have gone through basic config and also installed dovecot, but I'm getting this error when I start the postfix service:
Job for postfix.service failed because the control process exited with error code.
See "systemctl status postfix.service" and "journalctl -xe" for details.
systemctl status postfix.service
yields:
systemctl start postfix Job for
postfix.service failed because the
control process exited with error
code. See "systemctl status
postfix.service" and "journalctl -xe"
for details. [root@li1531-138 ~]#
systemctl status postfix.service ●
postfix.service - Postfix Mail
Transport Agent Loaded: loaded
(/usr/lib/systemd/system/postfix.service;
disabled; vendor preset: disabled)
Active: failed (Result: exit-code)
since Sun 2017-06-25 14:35:26 UTC; 16s
ago Process: 20480
ExecStart=/usr/sbin/postfix start
(code=exited, status=1/FAILURE)
Process: 20478
ExecStartPre=/usr/libexec/postfix/chroot-update
(code=exited, status=0/SUCCESS)
Process: 20474
ExecStartPre=/usr/libexec/postfix/aliasesdb
(code=exited, status=75)
Any ideas what status code 75 means and how to fix this?
The status=75 part is probably not fatal, it's the status=1 on the main postfix line which is the problem. What is the output of
journalctl -b -u postfix
? Also, what is the output ofhostname
?Setting up a mail server is not trivial, and not something that has a direct, simple solution. There are several Postfix//Dovecot how-to documents available on the internet, as well as documentation on configuration for Postfix and Dovecot which you should read even if it is not specific to Fedora. There are a lot of configuration details that you would have to post in detail if you want help on your specific situation, which is difficult on a question-and-answer site. You might have better luck on the Fedora Forum for something this involved. You do not want quick-and-dirty for a mail server.