Message from discussion
Actionmailer and postfix settings
MIME-Version: 1.0
Received: by 10.151.144.15 with SMTP id w15mr16820ybn.24.1231348985300; Wed,
07 Jan 2009 09:23:05 -0800 (PST)
Date: Wed, 7 Jan 2009 09:23:05 -0800 (PST)
X-IP: 116.14.192.41
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe)
Message-ID: <b3f016e6-2a6b-4541-9c7e-f3237d6f0d86@t26g2000prh.googlegroups.com>
Subject: Actionmailer and postfix settings
From: tyliong <tyli...@gmail.com>
To: "Ruby on Rails: Talk" <rubyonrails-talk@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,
I am having problems configuring my actionmailer to work with postfix.
I followed this tutorial: http://howtoforge.org/virtual-users-and-domains-postfix-courier-mysql-centos5.1
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-gmail-as-your-mail-server-for-rails/
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: mai...@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