Forum: Ruby on Rails Actionmailer and postfix settings

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0bdaf2a5cf0a401d2ee4377b9ce47581?d=identicon&s=25 Tyl Tan (tyanlion)
on 2009-01-07 18:23
(Received via mailing list)
Hi,

I am having problems configuring my actionmailer to work with postfix.

I followed this tutorial:
http://howtoforge.org/virtual-users-and-domains-po...

and i got the server set up.

at first i fixed the mail settings to work with gmail using this
tutorial:

http://www.danielfischer.com/2008/01/09/how-to-use...

and my app worked with gmail.

but now i want it to work with my newly built email server. I read
somewhere if your server has tls u have to do something special with
actionmailer for it to work so i am relying on fischer's workaround.

so i inputed this into the mailer.yml file that danielfischer created:

    :address: localhost
    :port: 25
    :domain: localhost
    :user_name: mailer@mydomain.com
    :password: secret
    :authentication: :plain
    :tls: true

Should i have used mydomain instead of localhost?
I just can't seem to get it to connect there is nothing in my  tail -
f /var/log/maillog error
Please help!
This topic is locked and can not be replied to.