On Sat, Dec 4, 2010 at 1:12 AM, mdipierro <[email protected]> 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 <[email protected]> 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 = '[email protected]'             # 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
>

Reply via email to