Re: [exim] Smtp-Authentication problems (using courier-authd…

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Kahl
Data:  
A: Exim-users
Assumpte: Re: [exim] Smtp-Authentication problems (using courier-authdaemond on debian etch)

Peter Bowyer schrieb:
> On 13/06/07, Andreas Kahl <Andreas_Kahl@???> wrote:
>
>> Hello,
>>
>> by now I tryed to activate Port 465 for SMTP-TLS Connections and tested
>> that via telnet. I added these lines at the very beginning of my
>> Main-Section of /etc/exim4/exim4.conf:
>>
>> <<
>> MAIN_TLS_ENABLE = true
>> SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'
>> tls_on_connect_ports=465
>>
>
> Hmm, not sure how those daemon options get extracted from your exim
> config file - did you put them in the right place? Don't know what
> package/config system you're using, but the daemon options need to go
> where the exim daemon gets started from , which isn't the config
> file...
>
> Peter
>
>

I now put MAIN_TLS_ENABLE = true into /etc/exim4/exim4.conf.localmacros
instead of /etc/exim4.conf . I am using a Debian Etch and initially
configured exim4 via dpkg --reconfigure.

By the way, I now also tested my SMTPLISTENEROPTIONS manually via debug
output - and that works:

<<
vitruvia:/etc/exim4# exim -d+acl+auth -oX 465:25 -bd -oP
/var/run/exim4/exim4.pid
Exim version 4.63 uid=0 gid=0 pid=8146 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq iconv() IPv6 PAM Perl GnuTLS move_frozen_messages
Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl plaintext spa
[...]
originator: uid=0 gid=0 login=root name=root
8146 daemon_smtp_port overridden by -oX:
8146 <: 465: 25
8146 listening on all interfaces (IPv6) port 465
8146 listening on all interfaces (IPv4) port 465
8146 listening on all interfaces (IPv6) port 25
8146 listening on all interfaces (IPv4) port 25
8146 pid written to /var/run/exim4/exim4.pid
8146 changed uid/gid: running as a daemon
[...]
>>


With that telnet works:
<<
vitruvia:~# telnet localhost 465
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
vitruvia:~#                       

>>


So the question still is how to put that into the configuration file to
take any effect.

Regards
Andreas