Todd,
  Thanks for the reply. I took a few days off from messing with this. 
One thing that I am noticing is that when I SSH into the virtual server 
and send a test email using telnet like (noticed that I didn't use AUTH 
LOGIN):

telnet 127.0.0.1 25
HELO integrallis.com
MAIL FROM: <[EMAIL PROTECTED]>
RCPT TO: <[EMAIL PROTECTED]>
DATA
Subject: Test
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
A simple test

.
QUIT

I see this in the /var/log/maillog

Jan 31 23:07:37 integrallis sendmail[32499]: l1147Q0U032499: 
integrallis.virtual.vps-host.net [127.0.0.1] did not issue 
MAIL/EXPN/VRFY/ETRN during connection to stdin
Jan 31 23:10:05 integrallis sendmail[1407]: l1147vJL001407: 
from=<[EMAIL PROTECTED]>, size=113, class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, 
proto=SMTP, relay=integrallis.virtual.vps-host.net [127.0.0.1]
Jan 31 23:10:05 integrallis sendmail[1407]: l1147vJL001407: Milter add: 
header: Received-SPF: pass (integrallis.virtual.vps-host.net: domain of 
[EMAIL PROTECTED] designates 127.0.0.1 as permitted sender) 
receiver=integrallis.virtual.vps-host.net; client-ip=127.0.0.1; 
helo=integrallis.com; [EMAIL PROTECTED]; 
x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with 
libspf2-1.0.0;
Jan 31 23:10:07 integrallis sendmail[5918]: l1147vJL001407: 
to=<[EMAIL PROTECTED]>, delay=00:00:57, xdelay=00:00:02, 
mailer=esmtp, pri=120113, relay=mxmail.register.com. [205.158.62.41], 
dsn=2.0.0, stat=Sent (Ok: queued as 980094A446E)

but when I try to send an email with the mailer behaviour I get 
something like:

Jan 31 23:12:51 integrallis sendmail[9959]: l114CpQj009959: from=root, 
size=0, class=0, nrcpts=0, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
Jan 31 23:12:55 integrallis sendmail[10032]: l114CtPM010032: from=root, 
size=0, class=0, nrcpts=0, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
Jan 31 23:14:35 integrallis sendmail[12212]: l114EZ8o012212: from=root, 
size=0, class=0, nrcpts=0, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]
Jan 31 23:14:39 integrallis sendmail[12250]: l114Ednt012250: from=root, 
size=0, class=0, nrcpts=0, 
msgid=<[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]

I tried taking out the :authentication, :user_name and :password from my 
ActionMailer config but that didn't work either. Also noticed that 
before I still had action_mailer in the frameworks to skip (doh!). So I 
changed that to:

  # Skip frameworks you're not going to use
  config.frameworks -= [ :action_web_service ]

and my ActionMailer configuration now looks like:

# Configure ActionMailer
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.server_settings = {
   :address  => "127.0.0.1",
   :port  => 25,
   :domain  => "integrallis.com",
   :user_name  => "sender",
   :password  => "********",
   :authentication  => :login
}

Yet the emails are still not being delivered. This is just bizarre to 
say the least. Next thing I'm gonna try is to change the delivery_method 
form :smtp to whatever it is that let's you go against sendmail 
directly. If you have any more ideas I'll love to hear them.

Thanks,
  Brian


Todd McGrath wrote:
> Brian,
> 
> Here's my settings on Eapps-
> 
> config.action_mailer.server_settings = {
>    :address => "127.0.0.1",
>    :port => 25,
>    :domain => "example.com",
>    :authentication => :login,
>    :user_name => "blah",
>    :password => "blah",
> }
> config.action_mailer.perform_deliveries = true
> 
>> admin part:
>> ===========
>> mailers:
>>     contact:
>>         subject: Contact Request
>>         from: [EMAIL PROTECTED]
>>         redirect_to: /en/contact/thank-you
>>         recipients:
>>             - [EMAIL PROTECTED]
> 
> This should be "config" part, right, not "admin"?
> 
> and it's YAML, so it's white space sensitive-
> 
> mailers:
>   contact:
>     subject
> 
> Make sure, it's exactly (whitespace wise) like:
> http://mattmccray.com/svn/rails/plugins/radiant_mailer_behavior/README
> 
> Another good log to check is /var/log/maillog - this will tell you about
> un/sucessful mail send attempts.
> 
> Hope this helps,
> Todd
> 
> 
> 
> Quoting Brian Sam-Bodden <[EMAIL PROTECTED]>:


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to