How to setup server to use this utility
Add DNS records:
- MX 5 mail.yourdomain.com
- A mail 42.42.42.42
install Python
> pkg install python
- upload this program
$ rsync -p weblog you@yourdomain.com:/path/to/this/program
- add Sendmail alias
This will configure Sendmail to turn emails addressed to editor@yourdomain.com into weblog posts for the user "richard".
> cp /ect/mail/aliases.sample /etc/mail/aliases
> echo 'editor: "| /path/to/this/program richard"' >> /etc/mail/aliases
> newaliases
- add Sendmail access rule
> echo 'From:mail.my-email-provider.com OK' >> /etc/mail/access
> makemap hash /etc/mail/access < /etc/mail/access
> service sendmail restart
- create $(HOME)/weblog/static/posts directory
$ mkdir weblog
$ chgrp mailnull weblog
$ chmod g+wx weblog/static/posts

Log in or sign up for Devpost to join the conversation.