Hi Miguel, which test did you do from command line? does web2py print something? Any error?
Try to do the next thing from the command line: tail -f /var/log/mail.log (if you are in ubuntu/debian, don't know where it would be in other distributions...) and see if it complaints about anything when trying to send a mail from web2py. Bernardo 2010/12/4 Miguel Lopes <mig.e.lo...@gmail.com> > > > On Sat, Dec 4, 2010 at 1:12 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > >> did you apt-get install portfix? >> >> Do you mean postfix? No I didn't. > > By the way, tp be precise in the config I'm using: > mail.settings.server = 'myIPaddress:25' # your > SMTPserver > > since sendmail uses port 25 by default. > Miguel > > > >> >> On Dec 3, 6:36 pm, Miguel Lopes <mig.e.lo...@gmail.com> wrote: >> > I'm having problems trying to make gluon.tools.Mail work on a vps, and >> > wonder if anyone knows what would be a minimal setup for sending mail. >> > I just need to send the an occasional mail. The server as sendmail >> working, >> > which I've confirmed in the command line. However, I'm unable to make it >> > work via web2py. >> > My model file reads: >> > >> > mail.settings.server = 'localhost' # your >> SMTP >> > server >> > mail.settings.sender = 'r...@mydomain.pt' # your email >> > #mail.settings.login = '' # >> your >> > credentials or None 'username:password' >> > >> > I confess being a complete n00b regarding linux admin. >> > Is sendmail enough? What could I be missing? >> > Miguel >> > >