Am Di, den 12.10.2004 schrieb Chris Logan um 20:10:
Is there anyway I can create users and have there usernames and
passwords separate from the systems.
Yes, sure. A simple solution would be to use a sasldb2. A more complex
solution is to use an LDAP server. Setting up Sendmail along with a
MySQL server is possible too.
How do I use sasldb2? I wouldn't mind using MySQL since its
something I know but want to keep it simple.
Change /usr/lib/sasl2/Sendmail.conf to contain something like:
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
Then use "saslpasswd2" to create the /etc/sasldb2 with your user data.
Be sure the file is chowned by root and chmod 600, because the auth data
is stored in this db file in plain format. Read about the SASL auth. You
will need to care for the realm being part of the username.
"sasldblistusers2" will list created sasldb2 users.