OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix sasl ... noch worthy mechs

From: Raimund Kohl-Fuechsle (raynabuli.de)
Date: Fri Apr 02 2004 - 03:04:52 CST


On Fri, 2 Apr 2004 06:15:32 +0200
Andreas Winkelmann <mlawinkelmann.de> wrote:

> it is sasl2. And now have a look on the Output in the previous Mail:
>
> > > # ls -l /usr/lib/sasl2
> > > # ls -l /usr/local/lib/sasl2
> >
> > ------snip----
> > ls -l /usr/lib/sasl2/
> >
> > libsasldb.a
> > libsasldb.la
> > libsasldb.so -> libsasldb.so.2.0.15
> > libsasldb.so.2 -> libsasldb.so.2.0.15
> > libsasldb.so.2.0.15
>
> I see only sasldb, no libplain.* no liblogin.*.... ("No Worthy Mech
> found...")
>
> Please install the Mechanisms.

apt-get install libsasl2-modules && ls -l /usr/lib/sasl2/

libanonymous.a
libanonymous.la
libanonymous.so -> libanonymous.so.2.0.15
libanonymous.so.2 -> libanonymous.so.2.0.15
libanonymous.so.2.0.15
libcrammd5.a
libcrammd5.la
libcrammd5.so -> libcrammd5.so.2.0.15
libcrammd5.so.2 -> libcrammd5.so.2.0.15
libcrammd5.so.2.0.15
libdigestmd5.a
libdigestmd5.la
libdigestmd5.so -> libdigestmd5.so.2.0.15
libdigestmd5.so.2 -> libdigestmd5.so.2.0.15
libdigestmd5.so.2.0.15
liblogin.a
liblogin.la
liblogin.so -> liblogin.so.2.0.15
liblogin.so.2 -> liblogin.so.2.0.15
liblogin.so.2.0.15
libntlm.a
libntlm.la
libntlm.so -> libntlm.so.2.0.15
libntlm.so.2 -> libntlm.so.2.0.15
libntlm.so.2.0.15
libotp.a
libotp.la
libotp.so -> libotp.so.2.0.15
libotp.so.2 -> libotp.so.2.0.15
libotp.so.2.0.15
libplain.a
libplain.la
libplain.so -> libplain.so.2.0.15
libplain.so.2 -> libplain.so.2.0.15
libplain.so.2.0.15
libsasldb.a
libsasldb.la
libsasldb.so -> libsasldb.so.2.0.15
libsasldb.so.2 -> libsasldb.so.2.0.15
libsasldb.so.2.0.15

I guess we now have all together. Let's see:

postfix stop
postfix start
testmail send from mh-e,

------snip------
tail -f /var/log/mail.log

postfix/smtpd[1217]: connect from localhost[127.0.0.1]

postfix/smtpd[1217]: 8577F4E921: client=localhost[127.0.0.1]

postfix/smtpd[1217]: disconnect from localhost[127.0.0.1]

postfix/pickup[1204]: B20A44E925: uid=1000 from=<raywahz>

postfix/cleanup[1219]: B20A44E925:
message-id=<20040402084114.B20A44E925wahz>

postfix/qmgr[1205]: B20A44E925: from=<raynabuli.de>, size=519,
nrcpt=1 (queue active)

postfix/smtp[1221]: B20A44E925: to=<raimund.kohlfreenet.de>,
relay=authmailonline.kundenserver.de[212.227.15.164], delay=1,
status=bounced (host authmailonline.kundenserver.de[212.227.15.164]
said: 530 Authentication required (in reply to MAIL FROM command))

postfix/cleanup[1219]: D2BC44E921:
message-id=<20040402084115.D2BC44E921wahz>

postfix/qmgr[1205]: D2BC44E921: from=<>, size=2156, nrcpt=1 (queue
active)

postfix/smtp[1221]: D2BC44E921: to=<raynabuli.de>,
relay=authmailonline.kundenserver.de[212.227.15.180], delay=1,
status=bounced (host authmailonline.kundenserver.de[212.227.15.180]
said: 530 Authentication required (in reply to MAIL FROM command))

------snip------

Ok, now I wonder what exactly ...

530 Authentication required (in reply to MAIL FROM command))
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^

... means; 's that a request from the ISP's server which is not
answered by my postfix smtp client? Or is it my own postfix server
that says there is no authentication from my own mail? I just wonder!
Since this here is a single machine only, no network, except the
internet connection, is there realy a need for the sasldb? Could that
be a possible source for my problems?

Whatever, I have the feeling we come closer to the solution. Thank
you again for your patience and help! Not very certain in times of
today :-)

ray