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

Re: problem with sendmail in sid



On Fri, 27 Apr 2001, Martin Maciaszek wrote:

> The problem was even more subtle that I thought. Somehow I
> misspelled my hostname in GENERICS_DOMAIN. After that my old
> genricstable started working again :))
>
> Thanks for the help and sorry for the false alarm.

heh, one of the easier false alarms lately...

> Yet another problem is still unsolved. I want my sendmail to do
> smtp-auth to my smarthost (gmx.net). I read the documentation on
> sendmail.org but somehow I seem to have missed something. Here's
> a snipplet from my sendmail.mc:
> [...]
> TRUST_AUTH_MECH(`PLAIN')dnl
> define(`confAUTH_MECHANISMS',`PLAIN')dnl
> define(`confDEF_AUTH_INFO',`/etc/mail/default-auth-info')dnl
> [...]

The last line is the default, you don't need it in sendmail.mc

> my /etc/mail/default-auth-info contains the following lines:
> myusername
> myusername
> mypassword
> mail.gmx.net
>
> This somehow doesn't work. Can anyone give me some hints? or
> maybe a samples of a working configurations (without the
> passwords)

Run this through perl:
encode_base64("$username\000$username@$realm\000$password"

and then:
telnet mail.gmx.net 25
ehlo localhost
AUTH PLAIN <result_from_encode>

Send me the resultant log.

-- 
Rick Nelson
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you."
(By Vance Petree, Virginia Power)



Reply to: