Re: [exim] Can't send email. Please help :(

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: sam
Fecha:  
A: exim-users
Temas nuevos: Re: [exim] Can't send email. - with debug mode.
Asunto: Re: [exim] Can't send email. Please help :(
sam wrote:

> Hi,
>
> I m a newbie with exim, any suggestion is highly appreciated.
> Here is the descriptoin.
> I m running exim 4.42 with cyrus-imap2.2 and sasl2 in FreeBSD 5.3.
> Authtentication with imap2.2 is fine. I can login to it without problem.
> The only problem is when I send email thru Exim, it failed to
> authenticate due to the top level domain name (domain.com) is not
> found for the local IP address. The error is as follow:
> # tail -f /var/log/exim/mainlog
> 2004-10-12 10:51:00 unexpected disconnection while reading SMTP
> command from ([192.168.4.235]) [192.168.4.235]
> 2004-10-12 10:54:30 exim 4.42 daemon started: pid=3650, -q30m,
> listening for SMTP on port 25 (IPv6 and IPv4)
> 2004-10-12 10:54:30 Start queue run: pid=3651
> 2004-10-12 10:54:30 1CH5Tf-000PO9-9Q Message is frozen
> 2004-10-12 10:54:30 1CH5Te-000PN7-Mm Message is frozen
> 2004-10-12 10:54:30 End queue run: pid=3651
> 2004-10-12 10:54:48 no host name found for IP address 192.168.4.235
> 2004-10-12 10:54:48 H=([192.168.4.235]) [192.168.4.235] sender verify
> fail for <sam.wun@???>: Unknown user
> 2004-10-12 10:54:48 H=([192.168.4.235]) [192.168.4.235]
> F=<sam.wun@???> rejected RCPT <john@???>: Sender verify
> failed
> 2004-10-12 10:54:54 unexpected disconnection while reading SMTP
> command from ([192.168.4.235]) [192.168.4.235]
>
> Of course the dns setting does not have IP associated with the top
> level domain name, but only with the FQDN, that is eg. host.mydot.com
>
> The following output from exim shown that the local IP 192.168.4.254 
> (the one has the exim and imap server hosted) is assoicate with 
> at.mydot.com:
> # exim -bh 
> 192.168.4.254                                                                                   

>
>
> **** SMTP testing session as if from host 192.168.4.254
> **** but without any ident (RFC 1413) callback.
> **** This is not for real!
>
> >>> host in host_lookup? yes (matched "*")
> >>> looking up host name for 192.168.4.254
> >>> IP address lookup yielded at.mydot.com
> >>> gethostbyname2 looked up these IP addresses:
> >>> name=at.mydot.com address=192.168.4.254
> >>> checking addresses for at.mydot.com
> >>> 192.168.4.254 OK
> >>> host in host_reject_connection? no (option unset)
> >>> host in sender_unqualified_hosts? no (option unset)
> >>> host in recipient_unqualified_hosts? no (option unset)
> >>> host in helo_verify_hosts? no (option unset)
> >>> host in helo_try_verify_hosts? no (option unset)
> >>> host in helo_accept_junk_hosts? no (option unset)
> 220 at.mydot.com ESMTP Exim 4.42 Tue, 12 Oct 2004 11:10:06 +0800
>
> the following command shonw that mydot.com is really refer to 
> at.mydot.com:
> # host mydot.com
> mydot.com mail is handled (pri=10) by at.mydot.com
> # host 
> at.mydot.com                                                                                         

>
> at.mydot.com has address 192.168.4.254
>
> Can anyone help me to resolve this problem?
> Thanks
> sam
>
>

The file configuration in the exim directory is made to authenticate
with cyrus-imap:
local_delivery:
driver = lmtp
command = "/usr/cyrus/bin/deliver -l"
batch_max = 20
user = cyrus

If there is any other suggestion related to this setting please let me know.

Thanks
sam