如何在生产模式下测试邮件配置

时间:2012-03-13 00:40:20

标签: ruby-on-rails diaspora exim4

我在debian挤压时设置了一个侨民吊舱,其中exim4为smtp。如果我想通过用户界面(用户/密码/新)重置我的密码,我没有收到电子邮件。我可以mail email@domain.tld通过shell。

如何在生产模式下测试本地配置?

我的配置如下:

# from application.yml
mailer_on: true
smtp_address: 'localhost'
smtp_port: '25'
mailer_method: 'smtp'
sendmail_location: '/usr/sbin/sendmail'
sendmail_exim_fix: true
smtp_authentication: 'none'
smtp_starttls_auto: true
smtp_domain: 'mydomain.tld'

1 个答案:

答案 0 :(得分:1)

您可能会发现Mailcatcher有用。