[Pkg-exim4-users] I don't succed to use tls + auth pam for relay

mathieu ruellan mathieu.ruellan at breizh-biniou.dyndns.org
Tue Aug 30 09:13:39 UTC 2005


Marc Haber said:
> On Tue, Aug 30, 2005 at 09:42:14AM +0200, mathieu ruellan wrote:
>> You're right, excepted i read the doc ;)
>
> Including /usr/share/doc/exim4-base/README.SMTP-AUTH and
> /etc/exim4/conf.d/auth/30_exim4-config_examples?
>

Yes, ... perhaps i don't understand well, i try !!!


>> The problem is that the file generated doesn't corresponds to my conf
>> files!
>
> That's bad.
>
>> I add a file :
>> login:
>>     driver = plaintext
>>     public_name = LOGIN
>>     server_prompts = Username:: : Password::
>>     server_condition = ${if pam{$1:${sg{$2}{:}{::}}}   \
>>                             {yes}{no} }
>>     server_set_id = $1
>>
>> plain:
>>     driver = plaintext
>>     public_name = PLAIN
>>     server_prompts = Username:: : Password::
>>     server_condition = ${if pam{$1:${sg{$2}{:}{::}}}   \
>>                             {yes}{no} }
>>     server_set_id = $1
>
> Where did you add it, and what is the name of the file?
>
with an example in a blog, i created a /etc/exim4/conf.d/auth/42-login
it can be read by everybody (for the moment)...

Another thing (I hope it can help you to guess my problem)

When I modify /etc/exim4/conf.d/auth/30_exim4-config_examples and restart
exim4, modifications are not applied in
/var/lib/exim4/config.autogenerated.
I think it's the main problem! (the date of this file has changed).

lines added:

fixed_login:
        driver = plaintext
        public_name = LOGIN
        server_prompts = "Username:: : Password::"
        server_condition = "${if pam{$1:${sg{$2}{:}{::}}}{1}{0}}"
        server_set_id = $1

fixed_plain:
        driver = plaintext
        public_name = PLAIN
        server_condition = "${if pam{$2:${sg{$3}{:}{::}}}{1}{0}}"
        server_set_id = $1

> Please notice that the login: and plain: authenticator names are
> already taken for the client side authenticators in the default
> configuration.
>
>> It is not cat to the generated file .... so i agree, that there is not
>> authenticators.
>> I miss special debian exim4 documentation!
>>
>> I never saw in docs information about
>> /etc/exim4/exim4.conf.localmacros
>
> documented in /usr/share/doc/exim4-base/README.Debian.gz line 273ff
>
Yes, but it's very poor for the moment ... some essential informations are
missing!

For instance, to understand that put the line MAIN_TLS_ENABLE = true is
enough to enable TLS, you have to read scripts!

A newbie (like me) reads the official exim doc, destruct everything and
get unreadable configuration files.

With just a little more information, he will be able to do the same, just
adding a few lines ...


>> /etc/exim4/hubbed_hosts
>
> documented in the configuration file, directly above the router
> definition.
>
>> etc.
>
> documented in http://en.wikipedia.org/wiki/Etc

eh eh eh!!!

>
> Greetings
> Marc
>
> --
> -----------------------------------------------------------------------------
> Marc Haber         | "I don't trust Computers. They | Mailadresse im
> Header
> Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621
> 72739834
> Nordisch by Nature |  How to make an American Quilt | Fax: *49 621
> 72739835
>
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>


-- 
Mathieu Ruellan
mathieu.ruellan at breizh-biniou.dyndns.org




More information about the Pkg-exim4-users mailing list