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

Re: exim4 on Debian stretch



David this is the file you requested. any help is much appreciated.


# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='internet'
dc_other_hostnames=mydomain.net'
dc_local_interfaces='127.0.0.1;192.168.xx.xx'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'


On Wednesday, January 17, 2018, 6:53:07 PM CST, David Wright <deblis@lionunicorn.co.uk> wrote:


On Wed 17 Jan 2018 at 21:29:51 (+0000), Joe wrote:

> On Wed, 17 Jan 2018 14:38:44 -0600
> John Foster <jfoster81747@gmail.com> wrote:
>
> > 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# 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.
>
> Neither do we. The broken file referred to is basically a program with
> subroutines, some external. We don't know what line 576 contains.
>
> The first step would be to copy and paste here that line 576, with two
> or three lines before and after it. If the code is inline, we can
> probably make some suggestion for improvement, if it refers to a macro
> we would need to look a bit further. But with luck, there is an obvious
> syntax error on line 576 itself. As the file is autogenerated, it isn't
> going to be a typo, but it's probably looking for a variable that isn't
> initialised, or something like that. It might conceivably be a typo in
> a user configuration file which gets built into this autogenerated one.
>
> I doubt that the exim4 configuration is standard enough that someone
> else can find the answer from their own line 576. The version of exim4
> I'm running is older and does its configuration differently, so I
> can't help directly.


We could hazard a guess though. Mine would be that the OP tried
to put multiple smarthosts, say, by connecting them with AND rather
than ";".

But I would ask that the OP post their /etc/exim4/update-exim4.conf.conf
in the first instance, suitably recused of course.

Cheers,
David.



Reply to: