Re: sendmail user name and password authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp 
Serendipity 04:00:41 up 2 days, 12:48, load average: 1.23, 1.36, 1.28 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux