[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

exim4 on Debian stretch



I have been following a process for setting up my e-mail server, link below:

http://t-machine.org/index.php/2014/06/27/webmail-on-your-debian-server-exim4-dovecot-roundcube/

 After doing all the steps I finally got to restart everything with the following commands
1/etc/init.d/apache2 restart
2/etc/init.d/exim4 restart
3/etc/init.d/dovecot restart

apache2 and dovecot restarted as expected but exim4 failed with this message:

Myuser@myserver:/home/frosty# /etc/init.d/apache2 restart
[ ok ] Restarting apache2 (via systemctl): apache2.service.

Myuser@myserver:/home/frosty# /etc/init.d/exim4 restart
[....] Restarting exim4 (via systemctl): exim4.serviceJob for exim4.service failed because the control process exited with error code.
See "systemctl status exim4.service" and "journalctl -xe" for details.
 failed!

Diagnostics below:
Myuser@myserver/home/frosty# systemctl status exim4.service
 exim4.service - LSB: exim Mail Transport Agent
   Loaded: loaded (/etc/init.d/exim4; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-01-17 07:24:34 CST; 39min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 18525 ExecStop=/etc/init.d/exim4 stop (code=exited, status=0/SUCCESS)
  Process: 18538 ExecStart=/etc/init.d/exim4 start (code=exited, status=1/FAILURE)

Jan 17 07:24:34 myserver systemd[1]: Starting LSB: exim Mail Transport Agent...
Jan 17 07:24:34 myserver exim4[18538]: Starting MTA:2018-01-17 07:24:34 Exim configuration error in line 576 of /var/lib/exim4/config.autogenerated.tmp:
Jan 17 07:24:34 myserver exim4[18538]:   option "AND" unknown
Jan 17 07:24:34 myserver exim4[18538]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Jan 17 07:24:34 myserver exim4[18538]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Jan 17 07:24:34 myserver systemd[1]: exim4.service: Control process exited, code=exited status=1
Jan 17 07:24:34 myserver systemd[1]: Failed to start LSB: exim Mail Transport Agent.
Jan 17 07:24:34 myserver systemd[1]: exim4.service: Unit entered failed state.
Jan 17 07:24:34 myserver systemd[1]: exim4.service: Failed with result 'exit-code'.
Myuser@myserver/home/frosty# update-exim4.conf
2018-01-17 08:41:17 Exim configuration error in line 576 of /var/lib/exim4/config.autogenerated.tmp:
  option "AND" unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing 
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated

Myuser@myserver/home/frosty# /etc/init.d/dovecot restart
[ ok ] Restarting dovecot (via systemctl): dovecot.service.


anyone here that tried this?
Any suggestions for what to do with exim4 to get it restarted. 
I do not know what the error messeges here are referencing. Im very inexperienced with setting up email.




--
John Foster

Reply to: