Thursday, July 3, 2014

Lino as an SMTP server

Started new module lino.modlib.smtpd which has no models but defines a recmail django-admin command and a mail_received signal.

Started new project Lino Noi which hooks to that signal. As a first step I just want to log every incoming mail.

Now I start the server:

$ go noi
$ sudo -i
# . /home/luc/pythonenvs/py27/bin/activate
# python manage.py recmail

But when I try and send a mail to myself, Thunderbird says:

An error occurred while sending mail. The mail server responded: Requested action not taken: mailbox unavailable

invalid DNS A/AAAA resource record. Please check the message recipient luc@127.0.0.1 and try again.