[exim] Debugging SMTP relay

Top Page
Delete this message
Reply to this message
Author: Johan Parin
Date:  
To: exim-users
Subject: [exim] Debugging SMTP relay

Hi all,

Total newbie here. I've just set up exim as the primary mail server
for my own little domain. My problem currently is that I can't do SMTP
relay for my PocketPC running Inbox connecting via GPRS. My setup is:

host_auth_accept_relay = *

tls_certificate = /etc/exim/cert.csr
tls_privatekey = /etc/exim/privkey.pem
tls_advertise_hosts = *
auth_over_tls_hosts = *

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc
/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $1

(for some reason I could'n get the "plain" authentication to work with
my other MUAs).

This is working well with: Outlook, Mozilla and Gnus.

When trying with the PPC, if I have a host_lookup = * setting, I will
get this:

2004-09-05 20:31:39 refused relay (host) to <addr> from <addr>
H=(Inbox) [217.213.131.219] (failed to find host name from IP address)

If I remove the host_lookup setting I just get:

2004-09-05 23:03:58 refused relay (host) to <addr> from <addr>
H=(Inbox) [217.213.132.254]

By running a network sniffer I can see that the PPC does a
STARTTLS. After that, since it's encrypted it's impossible to see
what's happening. I'm confident that I have entered the correct
username/password on the PPC.

I tried to set log_level to 6, but that didn't give any additional
information.

Any suggestions on what the problem could be here and how I can debug
this?

Any help is appreciated.


Johan