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: Sergey Poznyakoff
Subject: Re: [bug-anubis] [QUESTION] How to identify an user via SMTP AUTH
Date: Fri, 14 May 2004 18:24:26 +0300

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




reply via email to

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