bug-anubis
[Top][All Lists]
Advanced

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

[bug-anubis] SMTP AUTH passthrough


From: Jim Cheetham
Subject: [bug-anubis] SMTP AUTH passthrough
Date: Fri, 09 Jul 2004 16:42:58 +1200

I'm setting up SMTP AUTH with 3.9.94, to work from a backend db, with
virtual users, and I've got about three issues to address.

Getting into Anubis is all fine, I can present cram-md5 data and get it
accepted (by manually populating the mysql db, not using anubisadm,
because my anubis user does not have write access to the db, because
it's not dedicated for Anubis)

1) However, I can't use a specified rcfile if ACCOUNT is null, and if
ACCOUNT is provided, I always get ~/.anubisrc and not the file I named
in RCCOL (at least, I don't get any mention of the rcfile in the output
from -v -D ...).

2) Even when I relent and test with a real system account that has a
~/.anubisrc, I can't see how to specify the SMTP AUTH values to use when
talking to the remote MTA (in my setup, they will be the same as the
ones used for Anubis). I tried the esmtp-auth config, but that didn't
appear to do anything.

3) A minor aside - I can't say "CRAM-MD5" in lowercase on the AUTH line
when talking to Anubis. "auth" in lowercase is fine. I think this means
that there should be a forced-single-case comparison somewhere for
sasl-allowed-mech

Anyway, my trimmed config file :-
---BEGIN CONTROL---
drop-unknown-user yes
user-notprivileged "nobody.nobody"
mode auth
---END---
---BEGIN AUTH---
sasl-allowed-mech CRAM-MD5
sasl-password-db
mysql://user:address@hidden/dbname;table=users;authid=username;passwd=password;account=sysaccount;rccol=anubisrc
---END---

Any suggestions on things to try and places to look are welcome :-)

-- 
Jim Cheetham
Systems Administrator, eCOSM Limited.
Phone +64 3 365 4176 | Mobile +64 21 314 158
http://www.ecosm.com/





reply via email to

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