[exim] mail.app tls authentication

Startseite
Nachricht löschen
Nachricht beantworten
Autor: spam
Datum:  
To: exim-users
Betreff: [exim] mail.app tls authentication
I am trying to get Apple's Mail.app to play with exim4 on a Debian server.

$ dpkg -l | grep exim
ii  exim4                                4.69-9
ii  exim4-base                           4.69-9
ii  exim4-config                         4.69-9
ii  exim4-daemon-light                   4.69-9


I would like the laptop Mail.app lives on to use password authentication over
tls to send mail. However, it does not work.

$ cat exim4.conf.localmacros
MAIN_TLS_ENABLE = true

$ cat update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='fooke'
dc_local_interfaces=''
dc_readhost='fooke'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.1.0/24'
dc_smarthost='machine.isp.com'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

In exim4.conf.template:
plain_server:
driver = plaintext
public_name = PLAIN
server_condition = "${if crypteq{$auth3}{${extract{1}{:}{${lookup{$auth2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $auth2
server_prompts = :
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif

$ cat passwd
user:310rn3lrrprLr

This is generated using:
htpasswd -nd user

In mainlog I see:
2008-10-18 17:35:39 no IP address found for host laptop (during SMTP connection from [192.168.1.41])
2008-10-18 17:35:49 TLS error on connection from ([192.168.1.41]) [192.168.1.41] (gnutls_handshake): Error in the push function.

'ping laptop' shows there is an IP address for 'laptop' (it comes from dnsmasq on my dhcp server I think).

$ ping -c1 laptop
PING laptop (192.168.1.41) 56(84) bytes of data.
64 bytes from laptop (192.168.1.41): icmp_seq=1 ttl=64 time=1.89 ms

--- laptop ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.898/1.898/1.898/0.000 ms

However, to be sure, I add an appropriate entry in /etc/hosts and the IP messages goes away but the push error stays.

Questions:
1) Should I be concerned about the IP address not being found? Any ideas why exim might not resolve it when ping can?
2) What is the push error all about? How can I fix it?

Turning off password auth but still using tls creates the same error.
Turning off password auth and not using tls works just fine and email sends.

WS