On Friday, November 14, 2014 12:37:19 AM UTC+1, Niphlod wrote:
>
> well, to be nerdy.....
>
> import telnetlib
> tn = telnetlib.Telnet(hostname, 25, 10)
>
>
> or (even better ?!)....
>
> import socket
> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> s.settimeout(2)
> try:
>     s.connect((host, 25))
>     print 'i can reach it'
> except:
>     print "can't reach it"
>
>
Hello Niphlod, thank you for your reply. I tried both but return the same 
error permission denied. 

 

>
> On Wednesday, November 12, 2014 9:26:52 PM UTC+1, Leonel Câmara wrote:
>>
>> Well it would be easier to test stuff if you had telnet yes. You just 
>> need the telnet client so it's not much of a security risk. If you have an 
>> admin, however, you can just ask him to do his job and tell you what are 
>> the correct settings for your app to be able to send emails since these 
>> don't work.
>>
>
I talked to the admin while they have no clue neither.....
I checked a little more and found maybe the problem is the selinux, as 
talked here 
http://stackoverflow.com/questions/12804841/how-can-apache-be-allowed-to-send-email

I am asking the admin to try this, will post the results then.

On Wednesday, November 12, 2014 9:26:52 PM UTC+1, Leonel Câmara wrote:
Well it would be easier to test stuff if you had telnet yes. You just need 
the telnet client so it's not much of a security risk. If you have an 
admin, however, you can just ask him to do his job and tell you what are 
the correct settings for your app to be able to send emails since these 
don't work. 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to