Re: [web2py] Re: unable to send e-mail postfix

2012-11-30 Thread keiser1080
the server admin find the problem I wil post later the configuration. ITS a setting with TLS = False or none. Le jeudi 29 novembre 2012 10:42:30 UTC+1, Niphlod a écrit : > > web2py uses smtplib, which uses "something like telnet" under the hood. > Technology to "talk" to a mail server is always t

Re: [web2py] Re: unable to send e-mail postfix

2012-11-29 Thread Niphlod
web2py uses smtplib, which uses "something like telnet" under the hood. Technology to "talk" to a mail server is always the same, no matter what language you use. On Thursday, November 29, 2012 12:20:34 AM UTC+1, keiser1080 wrote: > > Good idea I will try a other instance (if i have the necessar

Re: [web2py] Re: unable to send e-mail postfix

2012-11-28 Thread Icham Achtir
Good idea I will try a other instance (if i have the necessary right) Do you now how web2py deal with the mail server? He do a telnet on the mail server to send a mail? Le 29 nov. 2012 00:16, "Niphlod" a écrit : > if web2py is started as www-data, you should try to send a mail with that > user f

Re: [web2py] Re: unable to send e-mail postfix

2012-11-28 Thread Niphlod
if web2py is started as www-data, you should try to send a mail with that user from the shell. If it works from the shell and not from web2py, then something else is missing (maybe an additional check on the sender address?) Try also the other way around: start a simple web2py instance on a diff

Re: [web2py] Re: unable to send e-mail postfix

2012-11-28 Thread Icham Achtir
I think is the same user as apache maybe www-data when web2py is setup with wsgi ? I can chek tomorow @work, i have a limited shell access on the server, with some limited sudo user right like the reload of the apache service. Le 29 nov. 2012 00:00, "Niphlod" a écrit : > > But still unable to sen

[web2py] Re: unable to send e-mail postfix

2012-11-28 Thread Niphlod
> But still unable to send e-mail > > Before I leave the work I have ask the administrator of the server to > check the log of the mail server. > > Maybe the owner of the web2py process have no right to send a e-mail ? > > Did you try running web2py with the same user that can send an email with

[web2py] Re: unable to send e-mail postfix

2012-11-28 Thread keiser1080
Thank you for the answer I try mail.settings.server = 'localhost' mail.settings.sender = 'yoursen...@yourdomain.com' mail.settings.login = None and mail.settings.server = '127.0.0.1' mail.settings.sender = 'yoursen...@yourdomain.com' mail.settings.login = None But still unable to send e-mai

[web2py] Re: unable to send e-mail postfix

2012-11-28 Thread Niphlod
you should be good to go setting mail.settings.server = 'localhost' mail.settings.sender = 'yoursenderem...@yourdomain.com' mail.settings.login = None On Wednesday, November 28, 2012 10:31:42 PM UTC+1, keiser1080 wrote: > > Hello, > > I have a fresh install of web2py on a redhat server. > When I