Re: [exim] NIS Auth not working

Pàgina inicial
Delete this message
Reply to this message
Autor: kmb
Data:  
A: exim-users
Assumpte: Re: [exim] NIS Auth not working

Thanks Phil,

I had been receiving so much spam via the exim-user.org email that
I blocked all but the web site addresses, so my email address was being
blocked. I have added my "kmb" to the allowed addresses.

I attempted to run exim as you suggested but did not seem to get the
responses I would have expected, When I entered EHLO gosignal.com I
get


Code:
--------------------
    SMTP<< EHLO gosignal.com
--------------------



I would have expected the 250 - response


Code:
--------------------
    ehlo gosignal.com
  250-mail.gosignal.com Hello localhost [127.0.0.1]
  250-SIZE 52428800
  250-PIPELINING
  250-AUTH PLAIN
  250 HELP


--------------------


Any Guidance on this?

Thanks

Keivn

Phil Pennock Wrote:
> On 2008-09-21 at 22:10 -0400, kmb wrote:
> > This is all running on a RH ES4 64Bit server
> >
> > any pointers on what to look for are welcome.
>
> Run a fake SMTP session with debugging, connect and authenticate.
>
> exim -d+auth -bS
>
> For the authentication, the plaintext is sent as a base64 string. If
> we
> ignore all the normalisation to deal with non-ASCII characters then
> the
> string is made up of three components separated by ASCII NUL:
>
> * authorization ID: leave this empty
> * authentication ID: the user whose password is given
> * password
>
> So for user "phil" with password "fred" you want to send the
> base64-encoded form of "\000phil\000fred", or:
> perl -MMIME::Base64 -le 'print encode_base64("\000phil\000fred")'
> or:
> AHBoaWwAZnJlZA==
>
> So after the EHLO response, you'd send:
>
> AUTH PLAIN AHBoaWwAZnJlZA==
>
> which should provide lots of debugging information about what's
> happening and why.
>
> In this case, you're lucky that you don't have:
> server_advertise_condition = ${if def:tls_cipher}
> in your config, but you might want to consider a set-up where the
> NIS password doesn't travel across the wire in nothing more than
> base64
> wrapping.
>
> -Phil
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/



--
kmb


------------------------------------------------------------------------
kmb's Profile: http://www.exim-users.org/forums/member.php?action=getinfo&userid=1
View this thread: http://www.exim-users.org/forums/showthread.php?threadid=57206