bug-anubis
[Top][All Lists]
Advanced

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

Re: [bug-anubis] [QUESTION] How to identify an user via SMTP AUTH


From: Daniel S. Haischt
Subject: Re: [bug-anubis] [QUESTION] How to identify an user via SMTP AUTH
Date: Fri, 14 May 2004 19:52:52 +0200
User-agent: Thunderbird 0.6 (Windows/20040502)

Hello,

I know this does not directly belong to Anubis, but can you
give me some information about the GNU SASL implementation.

 - does DBM mean that I am forced to use the GNU database
   management system, or can I use the Berkeley DB system
   as well.

 - how should a PostgreSQL/MySQL database schema look like
   (e.g. which column names are you using)?

 - is the GNU SASL implementation able to authenticate
   against an LDAP backend in conjunction with Anubis?

regards

Daniel S. Haischt

Sergey Poznyakoff schrieb:

Hi Daniel,


can you clearify how Anubis handles SMTP AUTH via SASL?

If an SMTP AUTH enabled mail client connects to Anubis,
will this trigger SASL based authentication instead of
IDENTD?


No, you should explicitely instruct Anubis to use new mode.
There is a new keyword, "mode", that serves the purpose. This
keyword should be set in 'CONTROL' section. If you set

mode auth

Anubis will switch to SMTP AUTH mode.
Just in case, here is my anubisrc file:

# Begin anubisrc
BEGIN CONTROL
bind 1024
mode auth
END CONTROL

BEGIN AUTH
# Use only CRAM-MD5 mechanism
sasl-allowed-mech CRAM-MD5
# I keep users' data in MySQL database. The following is a URL of it
# See comment in src/sql.c, lines 32-42 for a short description of the
# URL format. Other database formats available are: pgsql (postgres), dbm and
# plaintext.
sasl-password-db mysql://gray:address@hidden/ANUBIS;table=users
END AUTH

# Rest of sections goes here.
# END anubisrc

I'm workng on the docs now. However, they are far from being finished,
so should you have any questions, feel free to ask :)
Mit freundlichen GrĂ¼ssen,
Sergey

!DSPAM:40a4e4b9628001055412307!



--

Mit freundlichen Gruessen / With kind regards

Daniel S. Haischt   | phone:    +49 -7032-992909
Grabenstrasse 11    |           +49 -700-DHAISCHT
                    | fax:      +49 -7032-992910
D-71083 Herrenberg  | fax2mail: +49 -7032-7999738
GERMANY             | cell:     +49 -172-7668936

email: address@hidden
web:   http://www.daniel.stefan.haischt.name/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]