* StGIT mail configuration
@ 2006-02-13 20:47 Aubin LaBrosse
2006-02-13 21:45 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: Aubin LaBrosse @ 2006-02-13 20:47 UTC (permalink / raw)
To: catalin.marinas, git
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
Hello,
I'm using StGIT 0.8.1 on top of the latest release of Cogito - in
.git/stgitrc of a local git repo, I have the following part related to
my mail configuration:
smtpserver: mail.stormboxes.com:25
smtpuser: username@stormboxes.com
smtppassword: myPassword
(actual username and password redacted, of course) - the point is, the
username actually is that entire string 'username@stormboxes.com' (no
quotes) because the box it's on is a virtual server for many domains and
the usernames must contain the domain to which they belong. anyway, i
was getting authentication failures, so i hacked up mail.py and set the
debug level on the smtp object - i found out that it's trying to auth
using CRAM-MD5. And I'm not sure whether the server doesn't support
that or not, but i didn't see anything in the python doc that would
indicate that i could make the login() method use auth login or auth
plain or something else, and it seems like it gets a valid response from
the server that tells it that the authentication failed - and i'm not
sure why - thunderbird works fine but i can't figure out which auth type
it's using. (suppose i could tcpdump it and see) I have, of course,
triple checked my auth credentials at this point.
does anyone have any hints or insights, or is this a server
configuration problem? any help would be greatly appreciated. Please
CC, as I am not subscribed to the git list.
Thanks,
Aubin LaBrosse
[-- Attachment #2: aubin.vcf --]
[-- Type: text/x-vcard, Size: 160 bytes --]
begin:vcard
fn:Aubin LaBrosse
n:LaBrosse;Aubin
email;internet:aubin@stormboxes.com
tel;work:589-0692
tel;home:429-1520
tel;cell:493-0121
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: StGIT mail configuration
2006-02-13 20:47 StGIT mail configuration Aubin LaBrosse
@ 2006-02-13 21:45 ` Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2006-02-13 21:45 UTC (permalink / raw)
To: Aubin LaBrosse; +Cc: git
On 13/02/06, Aubin LaBrosse <aubin@stormboxes.com> wrote:
> I'm using StGIT 0.8.1 on top of the latest release of Cogito - in
> .git/stgitrc of a local git repo, I have the following part related to
> my mail configuration:
>
> smtpserver: mail.stormboxes.com:25
> smtpuser: username@stormboxes.com
> smtppassword: myPassword
>
> (actual username and password redacted, of course) - the point is, the
> username actually is that entire string 'username@stormboxes.com' (no
> quotes) because the box it's on is a virtual server for many domains and
> the usernames must contain the domain to which they belong. anyway, i
> was getting authentication failures, so i hacked up mail.py and set the
> debug level on the smtp object - i found out that it's trying to auth
> using CRAM-MD5. And I'm not sure whether the server doesn't support
> that or not, but i didn't see anything in the python doc that would
> indicate that i could make the login() method use auth login or auth
> plain or something else
At least with Python 2.4, the authentication type is detected
automatically based on server's response to the ehlo command. It
supports cram-md5, plain and login (and I think it tries them in this
order). If the server responds with something different, the login()
command would raise an exception like "No suitable authentication
method found.". You could print s.esmtp_features["auth"] in mail.py in
StGIT after ehlo.
I haven't read the RFC2554 but you could also try to replace the '@' with '%40'.
> thunderbird works fine but i can't figure out which auth type
> it's using. (suppose i could tcpdump it and see) I have, of course,
> triple checked my auth credentials at this point.
Probably using tcpdump or ethereal would be the easiest.
--
Catalin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-13 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-13 20:47 StGIT mail configuration Aubin LaBrosse
2006-02-13 21:45 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).