OT - Sendmail Auth

Lars Kristiansen lars+lister.mailscanner at adventuras.no
Sat Mar 24 03:48:47 CET 2007


Steve Campbell skrev:
> Quoting Lars Kristiansen <lars+lister.mailscanner at adventuras.no>:
> 
>> René Berber skrev:
>>> Steve Campbell wrote:
>>>
>>>> I need to set up SMTP Auth on a server to allow a roaming user to send
>>>> mail using one of our  servers. The user will have a dynamic IP. The
>>>> server is not in the MX lists for our domains.
>>>>
>>>> I have the sendmail Cookbook, and an older version of the Bat book, but
>>>> every thing I do seems pointless and doesn't work, as far as I can tell.
>>>> The cookbook seems to make it sound real simple, and I do get sendmail
>>>> to acknowedge and advertise DIGEST-MD5 and CRAM-MD5. After that,
>>>> AuthInfo to the access db, and every thing after seems to avoid the
>>>> Sasl. I have also started the saslauthd daemon. I have also created the
>>>> user with the saslpasswd command.
>>> [snip]
>>>
>>> Start by using LOGIN or PLAIN, saslauthd/sendmail don't do the ones you are
>> trying.
>>
>> Unless using sasldb and setting "auxprop" in the sasl2/Sendmail.conf.
>> Since OP is using saslpasswd then he is using sasldb.
>>
>> Here is examples for Sendmail.conf:
>> $ cat /usr/local/lib/sasl2/Sendmail.conf~
>> pwcheck_method: saslauthd
>> $ cat /usr/local/lib/sasl2/Sendmail.conf
>> pwcheck_method: auxprop
> 
> This is the first I've seen the auxprop stuff. I'll lookup more on that next week.

For an independent user database on a single computer,
  auxprop and sasldb was the easy way for me.
Other people may have more sophisticated needs.
If your users are also unix-accounts I think you can use use saslauthd 
and PAM.

Good night,
  Lars


> Thanks all,
> 
> Steve
>>
>> -- 
>> Regards,
>>   Lars
>> -- 
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website! 
>>
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/



More information about the MailScanner mailing list