> Can gerrit use Gmail SMTP Server?
Sure, just include proper login credentials in gerrit.conf.
Note that all released versions of Gerrit submit email messages
synchronously with the operations that trigger the email, so e.g.
operations in the web UI will temporarily freeze while the message
is being sent (and if your connection to the Gmail servers is flaky
the UI could probably hang for minutes).
This drawback was solved last week, so future Gerrit releases won't
have this problem.
I recommend that you set up your own SMTP server for outgoing email.
--
Magnus Bäck
ba...@google.com
Indeed, I prefer using a local SMTP server like Postfix to relay to
the GMail SMTP servers. This way Gerrit stays nice and fast, and
retrying delivery through GMail during a temporary network outage or
something is automatically handled by a reliable MTA like Postfix
rather than having to build all of this into Gerrit Code Review
itself.
> I wanna to use local smtp server ,too.Yesterday I built the Postfix in
> my computer,it can send mail to another user on my computer,but can't
> send to another computer .What's wrong with it?
That's impossible to say with the information you're giving us. Read
the logs (/var/log/mail.info or similar) and contact the postfix-users
mailing list for further help (make sure to include logs and "postconf
-n" output in your post). The kind of configuration you're looking for
is a standard one that's described in the Postfix documentation.
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html
http://www.postfix.org/SASL_README.html#client_sasl
Googling "postfix gmail" will give you several useful pages.
Was it really necessary to build Postfix yourself? Surely, your
distribution has a prebuilt Postfix that you can use.
--
Magnus Bäck
ba...@google.com
> If I wanna to use Gmail SMTP Server ,How to do it?
See https://groups.google.com/d/topic/repo-discuss/6FSg5XksjaE/discussion.
--
Magnus Bäck
ba...@google.com