LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   postfix and smtp auth (http://www.linuxquestions.org/questions/linux-software-2/postfix-and-smtp-auth-365876/)

FragInHell 09-22-2005 07:31 AM

postfix and smtp auth
 
Hi Guru's :)

Been racking my brains with this one now for a few days and need some help.
That old Subject of postfix and sasl.
I have cent os 3.1 - all standard rpms.
postfix-2.0.16-14.RHEL3
cyrus-sasl-gssapi-2.1.15-10
cyrus-sasl-2.1.15-10
cyrus-sasl-md5-2.1.15-10
cyrus-sasl-devel-2.1.15-10
cyrus-sasl-plain-2.1.15-10

I think postfix has sasl support

ldd /usr/libexec/postfix/smtpd

libsasl.so.7 => /usr/lib/libsasl.so.7 (0x006d3000)
libssl.so.4 => /lib/libssl.so.4 (0x005b7000)

sasl is running

ps -ef

/usr/sbin/saslauthd -m /var/run/saslauthd -a shadow

postfix conf file is:
mynetworks = 127.0.0.0/8
broken_sasl_auth_clients = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_limit = 100
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous

when i telnet localhost 25
250-AUTH PLAIN LOGIN GSSAPI
250-AUTH=PLAIN LOGIN GSSAPI

ok so far but what ever i try i cannot login. I have been using the http://postfix.state-of-mind.de/patr...ilclients.html
as guide, I have even set my username password as base64.

Any help suggestions would be really cool, before I pull the rest of my hair out :)


Thanks
Keith.

bigrigdriver 09-23-2005 07:53 PM

Looks like you left out the response to this: smtpd_sasl_local_domain =. See section 12.1.3 of the document you reference above.

FragInHell 10-05-2005 07:23 AM

Thanks, but still can't get it to work, in the mean time I'm using POP before SMTP. Still getting Auth failure :(
Any more suggestions ?


All times are GMT -5. The time now is 11:34 AM.