Re: [Exim] any way to enable auth from the command line?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc MERLIN
CC: exim-users
Subject: Re: [Exim] any way to enable auth from the command line?
On Mon, 21 Aug 2000, Marc MERLIN wrote:

> One option is to use some trick with exim -D something, but I can't come up
> with a macro that would disable SMTP AUTH entirely, or enable it (I need to
> comment/uncomment a whole section of exim.conf)


Since the authentication section comes last in the file, a dirty trick
would be to use a macro that expands to "end". But I don't recommend
this; one day I may invent another configuration file section.

> Another way is to have an exim.conf.auth that includes exim.conf and adds
> the AUTH drivers. However, I don't recall an option letting me include a
> config file from another one.


There isn't one, on efficiency grounds. The file gets read frequently.
How about having a single file and a trivial script that generates the two
working files?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.