On 02/08/2010, at 8:27 PM, Robbie Shepherd wrote: > My rails 2.3.5 app is sitting on a sandboxed server that allows outbound > access only through a squid proxy server. I'd like to use the exception > notifier plugin to notify me when my app plays up. Does anyone know if > there's a setting in ActionMailer::Base.smtp_settings that would allow this > to happen through squid? Or is there a way to configure squid to support the > smtp protocol?
Hi there Robbie, squid is an HTTP and HTTPS proxy cache, it is not a POP3 or SMTP cache. Having said that, your proxy cache is probably also a firewall, and you could open up ports 110 and 25 through to the gmail.com servers. This has a complexity, as the pop.gmail.com and smtp.gmail.com have multiple IP Addresses... so this might make it difficult... Your other alternative would be to setup a POP3 proxy and SMTP proxy, you can google both of those terms to find several. Once the POP3 proxy and SMTP proxy is setup, you should just configure actionmailer as if you did not have a proxy and it should all be good. If you need help with this professionally, feel free to contact me off list, otherwise, report back what you find and I am sure between all of us RoRo folk we can steer you in the right direction. Regards Mikel Lindsaar http://rubyx.com/ http://lindsaar.net/ -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
