So, it looks like lsearch of /etc/userdomains is failing... I started exim in debug mode and saw this:
Code:
10:26:34 25242 search_open: lsearch "/etc/userdomains"
10:26:34 25242 cached open
10:26:34 25242 search_find: file="/etc/userdomains"
10:26:34 25242 key=""stelesys.com"" partial=-1 affix=NULL starflags=0
10:26:34 25242 LRU list:
10:26:34 25242 6/etc/userdomains
10:26:34 25242 5/etc/relayhosts
10:26:34 25242 5/etc/trustedmailhosts
10:26:34 25242 6/etc/trustedmailhosts
10:26:34 25242 End
10:26:34 25242 internal_search_find: file="/etc/userdomains"
10:26:34 25242 type=lsearch key=""stelesys.com""
10:26:34 25242 cached data used for lookup of "stelesys.com"
10:26:34 25242 in /etc/userdomains
10:26:34 25242 lookup failed
10:26:34 25242 expanding: $value
10:26:34 25242 result:
10:26:34 25242 skipping: result is not used
10:26:34 25242 expanding: ${lookup{"stelesys.com"}lsearch{/etc/userdomains}{$value}}
10:26:34 25242 result:
10:26:34 25242 expanding: ${perl{checkuserpass}{$1}{$2}}
10:26:34 25242 result: no
10:26:34 25242 expanded string: no
10:26:34 25242 expanding: $1
10:26:34 25242 result: jerry@stelesys.com
10:26:34 25242 SMTP>> 535 Incorrect authentication data
This part:
10:26:34 25242 expanding: ${lookup{"stelesys.com"}lsearch{/etc/userdomains}{$value}}
10:26:34 25242 result:
Should return the user name associated with stelesys.com, but does not and so the rest fails because it doesn't know where to go to look at the passwords.