sendmail user name and password authentication

Jonathan T. Steadman fedoracore at stny.rr.com
Sun Jul 25 02:54:29 UTC 2004


On Sat, 2004-07-24 at 22:21, Alexander Dalloz wrote:
> Am So, den 25.07.2004 schrieb Jonathan T. Steadman um 3:07:
> 
> > originally it just had hosts and ip's for people on my network with a
> > RELAY next to each name. 
> >  
> > I have recently removed everything from access file (after your email),
> > so now I can only send from my machine, on other machines authentication
> > still does not work, yes have I cyrus-sasl-plain I double checked with
> > yum and confirmed it, I have not put any hosts in ~/relay-domains, I
> > dont know what I am doing wrong but I am quite sure it is probably
> > something rather silly.  Do I have to blatantly say somewhere,
> > some-random-domain require authentication?  or something like that?  I
> > haven't the slightest idea what I am missing.
> 
> No, authentication fails on your host. You broke something. I suggest
> following these steps:
> 
> 1) check content of /usr/lib/sasl2/Sendmail.conf is
> pwcheck_method:saslauthd
> 2) service saslauthd start
> 3) telnet localhost 25
> <- ehlo foo
> be sure you get at one line: 250-AUTH LOGIN PLAIN
> so that LOGIN and PLAIN are offered
> base64 encode your login data this way:
> perl -MMIME::Base64 -e 'print
> encode_base64("username\00username\00password");'
> <- AUTH LOGIN _base64_encoded_string_from_above_
> be sure you get a success like: 235 2.0.0 OK Authenticated
> <- quit
> do the same with AUTH PLAIN too
> 4) if SMTP AUTH again fails check that you can login with the given data
> on the shell
> 5) if all fails post the real and full maillog part of a tested SMTP
> AUTH session where you did it manually using telnet command; don't strip
> it, use your real *test accout* data
> 
> Alexander
> 

Ok problem solved, it had nothing to do with my server set up, it was
due to mozilla thunderbird, I guess it doesnt use right kind of
authentication, I tried (for some reason unknown even to myself because
I hate this program) using outlook express on my mothers computer and it
worked fine, I was very irritated about this, to say the least, all that
trouble and there was nothing wrong heh I guess thats how it goes, 
anyways I appreciate your sticking with me on this one Alexander. 
Without any help with this one, even though the solution was simple I
probably would have given up, a long time ago and just left
authentication alone.





More information about the fedora-list mailing list