************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
I could verify only with 2.8.1 and 2.9.1, deployed on Tomcat 7.0 on Windows Server 2008 R2
What steps will reproduce the problem?
1. Changed the password of the user running Gerrit service. Updated it in secure.config's sendemail.smtpPass.
2. Re-instantiated gerrit.war, copied it from gerrit_site\bin to Tomcat\web-apps
3. Opened a review in gerrit
What is the expected output? What do you see instead?
Tomcat7-stderr-*.log has following error:
ERROR com.google.gerrit.server.change.EmailReviewComments : Cannot email comments for <My_review_id>,<My_patchset_number>
com.google.gerrit.common.errors.EmailException: Mail Error: Server <My_SMTP_Server> rejected message body: 550 5.7.1 Client does not have permissions to send as this sender
at com.google.gerrit.server.mail.SmtpEmailSender.send(SmtpEmailSender.java:222)
at com.google.gerrit.server.mail.OutgoingEmail.send(OutgoingEmail.java:124)
at com.google.gerrit.server.change.EmailReviewComments.run(EmailReviewComments.java:136)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:364)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please provide any additional information below.