| 81 | == Using GMail as the SMTP relay host == |
| 82 | |
| 83 | Use the following configuration snippet |
| 84 | {{{ |
| 85 | [notification] |
| 86 | smtp_enabled = true |
| 87 | use_tls = true |
| 88 | mime_encoding = base64 |
| 89 | smtp_server = smtp.gmail.com |
| 90 | smtp_port = 587 |
| 91 | smtp_user = user |
| 92 | smtp_password = password |
| 93 | }}} |
| 94 | |
| 95 | where ''user'' and ''password'' match an existing GMail account, ''i.e.'' the ones you use to log in on [http://gmail.com] |
| 96 | |
| 97 | Alternatively, you can use `smtp_port = 25`.[[br]] |
| 98 | You should not use `smtp_port = 465`. It will not work and your ticket submission may deadlock. Port 465 is reserved for the SMTPS protocol, which is not supported by Trac. See [comment:ticket:7107:2 #7107] for details. |
| 99 | |