Re: Sendmail/SASL2/saslauthdb problem
- From: "jflowers" <jflowers@xxxxxxx>
- Date: Mon, 12 Jun 2006 07:29:26 -0400
Nibbed in here without reading the rest of the thread as I just finished
debugging some dovecot SASL. On FreeBSD mmencode can't be used, even with
printf for 'auth plain' because it can't handle the null (\0) characters
required. At least I couldn't figure out how to do it. My solution was to use
perl with MIME::Base64 installed as in:
perl -MMIME::Base64 -e 'print
encode_base64("user\@domain.tld\0user\@domain.tld\0password");'
mmencode -u can be used to test the encoding as there are no nulls:
perl -MMIME::Base64 -e 'print
encode_base64("user\@domain.tld\0user\@domain.tld\0password");'
| mmencode -u
On Mon, 12 Jun 2006 05:13:17 -0400, Rob Szarka wrote
*ahem*
I would like to point out the following obvious (in retrospect)
advice about testing smtp auth by hand:
when using mmencode to translate to base64, one should
printf "username" | mmencode
not
echo "username" | mmencode
Of course, it wasn't working from my usual MUA either, originally;
but after I fixed my problem, I didn't know it was fixed because I
was testing with a bad username and password.
*sigh*
After a complete deinstall/reinstall/reconfigure didn't work, I
caught on...
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"
--
Jim Flowers <jflowers@xxxxxxx>
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Sendmail/SASL2/saslauthdb problem
- From: Rob Szarka
- Re: Sendmail/SASL2/saslauthdb problem
- References:
- Sendmail/SASL2/saslauthdb problem
- From: Rob Szarka
- Re: Sendmail/SASL2/saslauthdb problem
- From: Rob Szarka
- Sendmail/SASL2/saslauthdb problem
- Prev by Date: Re: [PATCH] ng_tag - new netgraph node, please test (L7 filtering possibility)
- Next by Date: Re: [PATCH] ng_tag - new netgraph node, please test (L7 filtering possibility)
- Previous by thread: Re: Sendmail/SASL2/saslauthdb problem
- Next by thread: Re: Sendmail/SASL2/saslauthdb problem
- Index(es):