Re: [exim] exim4 STMP auth

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jay Bird
Dátum:  
Címzett: Jakob Hirsch
CC: exim-users
Tárgy: Re: [exim] exim4 STMP auth
Here's the output from exim4 -d -bh 12.180.48.135 and the EHLO something:

#/etc/exim4/conf.d/auth# exim4 -d -bh 12.180.48.135
Exim version 4.50 uid=0 gid=0 pid=15244 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=15244
auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00020800
trusted user
admin user
changed uid/gid: privilege not needed
uid=105 gid=105 pid=15244
auxiliary group list: <none>
Cyrus SASL knows about: NTLM
Cyrus SASL driver ntlm_sasl_server: NTLM initialised
Cyrus SASL knows about: DIGEST-MD5
Cyrus SASL driver digest_md5_sasl_server: DIGEST-MD5 initialised
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@???
sender_fullhost = [12.180.48.135]
sender_rcvhost = [12.180.48.135]

**** SMTP testing session as if from host 12.180.48.135
**** but without any ident (RFC 1413) callback.
**** This is not for real!

host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
SMTP connection from [12.180.48.135]
host in host_lookup? yes (matched "*")
looking up host name for 12.180.48.135
DNS lookup of 135.48.180.12.in-addr.arpa (PTR) succeeded
IP address lookup yielded 12-180-48-135.primarytarget.com
gethostbyname2(af=inet6) returned 1 (HOST_NOT_FOUND)
gethostbyname2(af=inet) returned 1 (HOST_NOT_FOUND)
no IP address found for host 12-180-48-135.primarytarget.com (during SMTP connection from [12.180.48.135])
LOG: host_lookup_failed MAIN
no IP address found for host 12-180-48-135.primarytarget.com (during SMTP connection from [12.180.48.135])
no IP addresses found for 12-180-48-135.primarytarget.com
12.180.48.135 does not match any IP address for 12-180-48-135.primarytarget.com
sender_fullhost = [12.180.48.135]
sender_rcvhost = [12.180.48.135]
set_process_info: 15244 handling incoming connection from [12.180.48.135]
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)
SMTP>> 220 megalinks.net ESMTP Exim 4.50 Wed, 27 Jul 2005 13:21:20 -0700

220 megalinks.net ESMTP Exim 4.50 Wed, 27 Jul 2005 13:21:20 -0700
smtp_setup_msg entered
EHLO something
SMTP<< EHLO something
something in helo_lookup_domains? no (end of list)
sender_fullhost = (something) [12.180.48.135]
sender_rcvhost = [12.180.48.135] (helo=something)
set_process_info: 15244 handling incoming connection from (something) [12.180.48.135]
host in pipelining_advertise_hosts? yes (matched "*")
host in auth_advertise_hosts? yes (matched "*")
host in tls_advertise_hosts? no (option unset)
250-megalinks.net Hello something [12.180.48.135]
250-SIZE 52428800
250-PIPELINING


And then I run:

#/etc/exim4/conf.d/auth# ldd /usr/sbin/exim4 | grep pam

and this comes back:

        libpam.so.0 => /lib/libpam.so.0 (0x40082000)







*********** REPLY SEPARATOR ***********

On 7/27/2005 at 10:10 PM Jakob Hirsch wrote:

>Jay Bird wrote:
>
>> I did read that and I did set the authenticators as indicated, and
>> it didn't work.
>
>try running a test smtp connection with "exim -d -bh some-ip-address",
>issue "EHLO something" and post the output.
>
>
>> I didn't install and compile that way. I used apt-get install, and it
>never prompted me
>> for those options.
>
>try this:
>
>$ ldd /usr/sbin/exim4  | grep pam
>        libpam.so.0 => /lib/libpam.so.0 (0xb7f61000)

>
>if it looks like that, pam is already in your Exim binary.
>
>> Is possible to set them and dpgk-reconfigure?
>
>I don't think so. But this is surely a topic for the debian exim list.
>
>--
>## List details at http://www.exim.org/mailman/listinfo/exim-users
>## Exim details at http://www.exim.org/
>## Please use the Wiki with this list - http://www.exim.org/eximwiki/