I have a rails app that can send emails to gmail, yahoo accounts. But when it comes to more obscure accounts like emailme-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or emailme-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows that the email was sent. Any ideas why this may be happening? I have sent an email directly through the same web server through the command line using mail -s and that worked. Why doesn''t it work through my rails app? here are my configuration settings (mostly default) # Disable delivery errors, bad email addresses will be ignored config.action_mailer.delivery_method = :smtp config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.default_charset = "utf-8" config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain => "my-app.com" } help please! thanks Tony --~--~---------~--~----~------------~-------~--~----~ 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 have a rails app that can send emails to gmail, yahoo accounts. But when it comes to more obscure accounts like emailme-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or emailme-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows that the email was sent. Any ideas why this may be happening? I have sent an email directly through the same web server through the command line using mail -s and that worked. Why doesn''t it work through my rails app? here are my configuration settings (mostly default) # Disable delivery errors, bad email addresses will be ignored config.action_mailer.delivery_method = :smtp config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.default_charset = "utf-8" config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain => "my-app.com" } help please! thanks Tony --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 20 Mar 2009, at 18:16, tony wrote:> > I have a rails app that can send emails to gmail, yahoo accounts. But > when it comes to more obscure accounts like emailme-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or > emailme-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows > that > the email was sent. Any ideas why this may be happening? >Different hosts might be more or less restrictive when it comes to spam (eg blacklists of ip ranges, whether they check SPF records etc...)> I have sent an email directly through the same web server through the > command line using > > mail -s and that worked. Why doesn''t it work through my rails app? >I know nothing about mail -s. Does it send email through the same smtp server as your rails app. Would it set the same return-path/from address (which is what matters for SPF) as your rails app ? Fred> here are my configuration settings (mostly default) > > # Disable delivery errors, bad email addresses will be ignored > config.action_mailer.delivery_method = :smtp > config.action_mailer.raise_delivery_errors = true > config.action_mailer.perform_deliveries = true > config.action_mailer.default_charset = "utf-8" > > config.action_mailer.smtp_settings = { > :address => "localhost", > :port => 25, > :domain => "my-app.com" > } > > help please! > > thanks > Tony > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
What does SPF mean? No when I use mail -s, the email is sent from user-iw5oONQYNsEZ7NgbXH9Buw@public.gmane.org On Mar 20, 11:34 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20 Mar 2009, at 18:16, tony wrote: > > > > > I have a rails app that can send emails to gmail, yahoo accounts. But > > when it comes to more obscure accounts like emai...-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or > > emai...-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows > > that > > the email was sent. Any ideas why this may be happening? > > Different hosts might be more or less restrictive when it comes to > spam (eg blacklists of ip ranges, whether they check SPF records etc...)> I have sent an email directly through the same web server through the > > command line using > > > mail -s and that worked. Why doesn''t it work through my rails app? > > I know nothing about mail -s. Does it send email through the same smtp > server as your rails app. Would it set the same return-path/from > address (which is what matters for SPF) as your rails app ? > > Fred > > > here are my configuration settings (mostly default) > > > # Disable delivery errors, bad email addresses will be ignored > > config.action_mailer.delivery_method = :smtp > > config.action_mailer.raise_delivery_errors = true > > config.action_mailer.perform_deliveries = true > > config.action_mailer.default_charset = "utf-8" > > > config.action_mailer.smtp_settings = { > > :address => "localhost", > > :port => 25, > > :domain => "my-app.com" > > } > > > help please! > > > thanks > > Tony--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 22, 6:54 pm, tony <ton...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What does SPF mean? No when I use mail -s, the email is sent from > u...-iw5oONQYNsEZ7NgbXH9Buw@public.gmane.org >When you send an email from foo-+RB1Aph5k6s@public.gmane.org the mail server on the other end can lookup the SPF record for the domain bar.com (this info is part of the DNS records for bar.com). In a nutshell the SPF records are used to determine whether the server sending mail from something-+RB1Aph5k6s@public.gmane.org is allowed to send mail on behalf of that domain. Different mail servers receiving mail may be more or less stringent: it could merely count towards a score that determines whether the message is classed as spam or might lead to it being rejected altogether. Fred> On Mar 20, 11:34 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On 20 Mar 2009, at 18:16, tony wrote: > > > > I have a rails app that can send emails to gmail, yahoo accounts. But > > > when it comes to more obscure accounts like emai...-VB3JyQctZj/QT0dZR+AlfA@public.gmane.org or > > > emai...-yvl6RSr0Ftk@public.gmane.org, the mail never arrives even though the log shows > > > that > > > the email was sent. Any ideas why this may be happening? > > > Different hosts might be more or less restrictive when it comes to > > spam (eg blacklists of ip ranges, whether they check SPF records etc...)> I have sent an email directly through the same web server through the > > > command line using > > > > mail -s and that worked. Why doesn''t it work through my rails app? > > > I know nothing about mail -s. Does it send email through the same smtp > > server as your rails app. Would it set the same return-path/from > > address (which is what matters for SPF) as your rails app ? > > > Fred > > > > here are my configuration settings (mostly default) > > > > # Disable delivery errors, bad email addresses will be ignored > > > config.action_mailer.delivery_method = :smtp > > > config.action_mailer.raise_delivery_errors = true > > > config.action_mailer.perform_deliveries = true > > > config.action_mailer.default_charset = "utf-8" > > > > config.action_mailer.smtp_settings = { > > > :address => "localhost", > > > :port => 25, > > > :domain => "my-app.com" > > > } > > > > help please! > > > > thanks > > > Tony--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---