[Top][All Lists]

[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:46:51 +0200
User-agent: Thunderbird 0.6 (Windows/20040502)


after adding the sasl clauses to my aunibisrc, Anubis is
complaining about unknown keywords.

After I did examin the anubis config.log, I figured out
that the gsasl support was not enabled because of a
libgcrypt issue.

Right now I try to re-compile Anubis but I am getting the
following error message:

if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include/openssl -I/usr/local/include -Wall -O2 -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.c; then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
In file included from /usr/local/include/mysql/mysql.h:64,
                 from mysql.c:31:
/usr/local/include/mysql/my_list.h:27: error: conflicting types for `LIST'
list.h:25: error: previous declaration of `LIST'

Three questions:

 - what MySQL version do I have to use (I am using 5.0.0)?
 - why didn't I get this error while compiling Anubis without
   SASL support?
 - can you give me some hints on how to fix the above error?


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

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
bind 1024
mode 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

# 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,



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]