Re: How to set mail.smtp.auth to be true in gerrit?

474 views
Skip to first unread message

Manuel Doninger

unread,
Jul 4, 2011, 12:10:48 PM7/4/11
to repo-d...@googlegroups.com
sendemail.smtpUser and sendemail.smtpPass for authentication, and
sendemail.smtpEncryption for encryption.

Manuel

On Mon, Jul 4, 2011 at 14:59, Jelly <sino...@gmail.com> wrote:
> I can't found any option looks like mail.smtp.auth.
> my settings:
> [sendemail]
>         smtpServer = smtp.xxx.com
>         smtpServerPort = 25
>         smtpUser = c61764
>
> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>

Jelly

unread,
Jul 5, 2011, 8:17:50 AM7/5/11
to repo-d...@googlegroups.com
my server require auth, i set endemail.smtpUser and sendemail.smtpPass in gerrit.config, but still get "password or username error".
maybe because i don't have send mail privilege.

Magnus Bäck

unread,
Jul 5, 2011, 12:31:59 PM7/5/11
to repo-d...@googlegroups.com
On Tuesday, July 05, 2011 at 14:17 CEST,
Jelly <sino...@gmail.com> wrote:

It would be easier to debug with an exact error message from the log.

On which port does your server accept authentication? It's not uncommon
for SMTP servers to only accept authentication on the submission port
(587) and not on the default SMTP port (25). Is Gerrit connecting to the
port offering authentication? Are you using TLS? Some servers only offer
authentication for TLS-encrypted sessions.

Sniffing the network traffic between your Gerrit server and the SMTP
server may be an easy way to answer some of these questions (just make
sure you mask out any usernames and passwords if you post anything to
the list).

--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson

Jelly

unread,
Jul 4, 2011, 8:59:51 AM7/4/11
to repo-d...@googlegroups.com
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
Reply all
Reply to author
Forward
0 new messages