On Fri, 2009-02-06 at 14:27 +0000, Nicola Nicola wrote: > 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.
I just checked the combination of Anubis+GMail+Evolution+TLS successfully. > Anubis uses MySql for user Authentication. As long as you use mode=auth, not mode=transparent. > anubis --altrc /etc/anubis/anubisrc --mode=transparent > --relax-perm-check -f -D -v You can just use -D without -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 ... > 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] Can you provide more information about this error? Based on the logs you provided, it seems that it doesn't connect to smtp.gmail.com. Here's my session log: $ anubis -f -D > Reading system configuration file /etc/anubisrc... > UID:0 (root), GID:0, EUID:0, EGID:0 > GNU Anubis bound to 127.0.0.1:24 > [11267] GNU Anubis is running... > [11267] Connection from 127.0.0.1:51328 CLIENT <<< 220 GNU Anubis ESMTP; Identify yourself(56) CLIENT >>> EHLO [127.0.0.1](18) 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) ...[snipped] CLIENT >>> EHLO [127.0.0.1](18) CLIENT <<< 250-Anubis is pleased to meet you.(36) CLIENT <<< 250-AUTH CRAM-MD5 (20) CLIENT <<< 250 HELP(10) CLIENT >>> AUTH CRAM-MD5(15) ...[snipped] > [11312] Found record for `polak'. > [11312] Authentication passed. User name polak, Local user polak. Welcome! CLIENT <<< 235 Authentication successful.(32) > [11312] UID:500 (polak), GID:500, EUID:500, EGID:500 > [11312] Reading user configuration file /home/polak/.anubisrc... > [11312] Getting remote host information... > [11312] Connected to smtp.gmail.com:587 > [11312] Starting SMTP session... SERVER >>> 220 mx.google.com ESMTP t10sm205265muh.58(43) SERVER <<< EHLO [127.0.0.1](18) SERVER >>> 250-mx.google.com at your service, [MY-IP] SERVER >>> 250-SIZE 35651584(19) SERVER >>> 250-8BITMIME(14) SERVER >>> 250-STARTTLS(14) SERVER >>> 250-ENHANCEDSTATUSCODES(25) SERVER >>> 250 PIPELINING(16) > [11312] Using TLS/SSL encryption between Anubis and remote MTA only... SERVER <<< STARTTLS(10) SERVER >>> 220 2.0.0 Ready to start TLS(30) > [11312] Initializing the TLS/SSL connection with MTA... ...[snipped] SERVER <<< EHLO [127.0.0.1](18) SERVER >>> 250-mx.google.com at your service, [MY-IP] SERVER >>> 250-SIZE 35651584(19) SERVER >>> 250-8BITMIME(14) SERVER >>> 250-AUTH LOGIN PLAIN(22) SERVER >>> 250-ENHANCEDSTATUSCODES(25) SERVER >>> 250 PIPELINING(16) > [11312] Selected authentication mechanism LOGIN ...[snipped] SERVER >>> 235 2.7.0 Accepted(20) > [11312] Authentication successful. > [11312] Transferring messages... ...[snipped] > [11312] Connection closed successfully. Regards, Wojciech _______________________________________________ Bug-anubis mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-anubis
