mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
don't muck with production.rb, no longer supported
This commit is contained in:
parent
e7975f25b8
commit
e27e8a65b3
@ -1,13 +1,8 @@
|
|||||||
# Discourse Mail Setup Guide
|
# Discourse Mail Setup Guide
|
||||||
|
|
||||||
After following INSTALL-ubuntu.md your mailer settings should still be set (in
|
After following INSTALL-ubuntu.md your mailer settings should still be set.
|
||||||
`config/environments/production.rb`, remember) to:
|
|
||||||
|
|
||||||
```ruby
|
|
||||||
config.action_mailer.delivery_method = :sendmail
|
|
||||||
config.action_mailer.sendmail_settings = {arguments: '-i'}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
Out-of-the-box Discourse is configured to deliver mail locally via sendmail.
|
||||||
That's great. Leave that there as we're going to try to get the mail to postfix
|
That's great. Leave that there as we're going to try to get the mail to postfix
|
||||||
ASAP so postfix do it's job and process the mail for delivery.
|
ASAP so postfix do it's job and process the mail for delivery.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user