bug-anubis
[Top][All Lists]
Advanced

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

[bug-anubis] Unable to obtain Anubis 4.1.1+Gmail SMTP


From: Nicola Nicola
Subject: [bug-anubis] Unable to obtain Anubis 4.1.1+Gmail SMTP
Date: Fri, 06 Feb 2009 14:27:05 +0000
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Hello,

I am trying unsuccessfully to have Anubis 4.1.1 dispatch emails to gmail
smtp server without using sendmail/postfix but I got
an exception from Thunderbird MUA after a successful TLS user
authentication. Any help appreciated, all details below.

Is there anything that I am assuming in my setup that is fundamentally
wrong ?

Many greetings
Nicola
   
---

Setup: Anubis 4.1.1, Ubuntu 2.6.18-92.1.22.el5, OpenSSL 0.9.8j, MUA:
Thuderbird 2.0.0.19
Anubis uses MySql for user Authentication.

Compilation details:
Use Guile...................... yes
Use GPGme...................... yes
Use GNU SASL................... yes
Use GDBM....................... yes
Use SQL........................ yes
Use MySQL...................... yes
Use PostgreSQL................. no
Use GNU TLS.................... yes
Support for SOCKS v4/5......... no
Perl-style regular expressions. yes
Enable PAM Support............. no
Use TCP wrapper library........ no
Unprivileged user name......... nobody

UserA is associated with a valid user anubis.unprivileged


LogFile:

anubis --altrc /etc/anubis/anubisrc --mode=transparent
--relax-perm-check  -f -D -v
> Reading system configuration file /etc/anubis/anubisrc...
> UID:0 (root), GID:0, EUID:0, EGID:0
> GNU Anubis bound to 0.0.0.0:24
> [15719] GNU Anubis is running...
> [15719] Connection from 192.168.222.12:31686
CLIENT <<< 220 XXX Wellcome(35)
CLIENT >>> EHLO [192.168.222.12](23)
CLIENT <<< 250-Anubis is pleased to meet you.(36)
CLIENT <<< 250-STARTTLS(14)
CLIENT <<< 250-AUTH CRAM-MD5 (20)
CLIENT <<< 250 HELP(10)
CLIENT >>> STARTTLS(10)
CLIENT <<< 220 Ready to start TLS(24)
> [15721] Initializing the TLS/SSL connection with MUA...
- Key Exchange: DHE-RSA
- Ephemeral DH using prime of 776 bits.
- Protocol: TLS1.0
- Certificate Type: X.509
- Compression: NULL
- Cipher: AES-256-CBC
- MAC: SHA1
CLIENT >>> EHLO [192.168.222.12](23)
CLIENT <<< 250-Anubis is pleased to meet you.(36)
CLIENT <<< 250-AUTH CRAM-MD5 (20)
CLIENT <<< 250 HELP(10)
CLIENT >>> AUTH CRAM-MD5(15)
SASL mech=CRAM-MD5, inp=NULL
CLIENT <<< 334 PDI2MTM4ODEwNDUyMjIwMzQzNTQ1LjBAbG9jYWxob3N0Pg==(54)
CLIENT >>> dXRlbnRlMSAyNmRhNWIxNjdiOGQxZjBhOThlOTVkZGE4M2U5ZTI1Zg==(58)
> [15721] Found record for `userA'.
> [15721] Authentication passed. User name userA, Local user
anubis.unprivileged. Welcome!
CLIENT <<< 235 Authentication successful.(32)
> [15721] UID:505 (anubis.unprivileged), GID:506, EUID:505, EGID:506
> [15721] Reading user configuration file /etc/anubis/anubisrc.userA...

[at this stage thunderbird spits out an error SMTP unavailable]


file /etc/anubis/anubisrc [gmail user account details - tested and
working fine - have been altered below with gmailusername/gmailpassword]
---BEGIN CONTROL---
mode auth
user-notprivileged "anubis.unprivileged"
loglevel all
logfile /etc/anubis/anubis.log
remote-mta smtp.gmail.com:587
esmtp-auth-id   address@hidden
esmtp-password  gmailpassword
termlevel debug
tracefile yes
ssl yes
ssl-cert /etc/anubis/anubis.pem
ssl-key /etc/anubis/anubis.pem
---END---

---BEGIN AUTH---
sasl-password-db mysql://mail:address@hidden/ANUBIS_USERS;table=anubis_test
sasl-allowed-mech NTLM GSSAPIDIGEST-MD5 CRAM-MD5
---END---

---BEGIN TRANSLATION---
---END---
---BEGIN GUILE---
---END---
---BEGIN RULE---
add [X-Comment] "Processed"
---END---

<EOF>


file /etc/anubis/anubisrc.userA:
---BEGIN RULE---
#
---END---





reply via email to

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