hi list i am trying to understand how sendmail works, instead of using an outgoing mail server. it works for gmail and live.com but doesnt for yahoo or hotmail for example. they dont even get to the spam folder. i am complete beginner for email. what should i do to flag outgoing emails as proper email by using sendmail thanks -- Heri R. http://sprinj.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Clayton Cottingham
2006-Nov-23 19:06 UTC
Re: ?using sendmail for actionmailer marks my emails as spam
Make sure you are sending from an email address that is from the domain your rails app is on. Services like hotmail use SPF (Sender Policy Framework) DNS Records http://www.openspf.org And if the email isnt from that domain it gets rejected make sure the subject and body contain real info on the site and purpose ie something like Foo.bar welcomes you to their newsletter!! This will help it to not go into junk folders ________________________________________ From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Heri R> Sent: Thursday, November 23, 2006 10:27 AM To: rubyonrails-talk Subject: [Rails] ?using sendmail for actionmailer marks my emails as spam hi list i am trying to understand how sendmail works, instead of using an outgoing mail server. it works for gmail and live.com but doesnt for yahoo or hotmail for example. they dont even get to the spam folder. i am complete beginner for email. what should i do to flag outgoing emails as proper email by using sendmail thanks -- Heri R. http://sprinj.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I didn''t read the rest of the thread, but I got that when this line was munged: ActionMailer::Base.server_settings = { :address => "myMailbox.com", :port => 25, :domain => ''myOwnRealDomain.com'', # <-- must be correct :user_name => "whatever", :password => ''****'', :authentication => :login } The simplest check for spam compares the outbound domain in the mail headers to the actual host the mail came from. If they differ, then either a spammer has penetrated a computer and is using it to mask their real domain name - or a Rails newb is on the loose! ;-) -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---