Hey everyone --I am setting up Gerrit on an EC2 instance and, naturally, we want to use SES to send email. I've gotten SES set up, but I just can't seem to get it to accept Gerrit's email. When I add someone as a reviewer, the message I get is: "Server email-smtp.us-east-1.amazonaws.com rejected body"
Here is the [sendemail] portion from my gerrit.conf:[sendemail]from = USERsmtpServer = email-smtp.us-east-1.amazonaws.comsmtpServerPort = 25smtpEncryption = tlssmtpUser = (censored)The smtpPass is also configured correctly in secure.conf. I've tested these with a Python script running from the same machine and it works. All relevant email addresses are verified in SES (both the from and to, even though the to address need not be verified).I searched and searched on Google but could not find anyone who seems to have had the same problem. I checked the Gerrit logs and could find no relevant information.Thanks,Patrick--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
setVHeader("Mailing-List", "list $email.listId");
in ChangeEmail.java solves the issue. I suppose I will be rolling my own version until this can be resolved.
It looks like intent of Mailing-List is to provide the exact email address instead of an identifier for the list, but to me it seems like it should just be removed.
In addition to changing the error messages in SmtpEmailSender.java to be a little more elaborate, it would be greatly helpful to include the reply string from the server in the error message when client.completePendingCommand() fails. Since completePendingCommand() fails only when there was an error, it should be safe to include the most recent reply string in the error message (I think).
Thanks a lot for pushing these patches. I'm assuming these will be included in 2.6. Will they be in 2.5.2?
Hey everyone --
I am setting up Gerrit on an EC2 instance and, naturally, we want to use SES to send email. I've gotten SES set up, but I just can't seem to get it to accept Gerrit's email. When I add someone as a reviewer, the message I get is: "Server email-smtp.us-east-1.amazonaws.com rejected body"
Here is the [sendemail] portion from my gerrit.conf:[sendemail]from = USERsmtpServer = email-smtp.us-east-1.amazonaws.comsmtpServerPort = 25smtpEncryption = tlssmtpUser = (censored)