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 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 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" <[email protected]> a écrit : >> >>> 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 >>> different port (8000 is the default) and try from there. >>> >>> On Thursday, November 29, 2012 12:08:12 AM UTC+1, keiser1080 wrote: >>>> >>>> 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" <[email protected]> a écrit : >>>> >>>>> >>>>> 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 the "mail" command ? >>>>> >>>>> >>>>>> There are a lot of post with a similare probleme. But no solution. >>>>>> >>>>>> >>>>> that's because there are a lot of configuration possibilities for >>>>> authentication against a mail server ^_^ At the cost of sounding pedantic >>>>> and obvious, web2py just uses the "usual" method for queueing a mail, but >>>>> if the settings doesn't match the ones allowed from the mail server, it >>>>> won't work (of course). >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> -- >>> >>> >>> >>> >> --

