Displaying 1 result from an estimated 1 matches for "name_of_smtp".
Did you mean:
name_of_set
2006 Aug 16
1
ActionMailer cannot use SMTP for email delivery...
...Permission denied - socket(2)
/usr/lib/ruby/1.8/net/protocol.rb:206:in `initialize''
...
Which is very strange, because if I run the following snippets on the
same Linux box, I don''t get any errors whatsoever:
ruby -rsocket -e ''p Socket.getaddrinfo("NAME_OF_SMTP", "smtp")''
ruby -rsocket -e ''p Socket.getaddrinfo("IP_OF_SMTP", "smtp")''
So it doesn''t appear to be a firewall, proxy or other configuration
issue on the box that''s causing the problem.
Also, a small Ruby progr...