Skip to content

TiagoTT/bonito.pt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bonito.pt

All the code and configurations behind bonito.pt mail forwarding system.


The initial purpose of this project was to develop en email forwarding system that would:

  • Run on a cheap VPS. Therefore the system was made simple and ligth from the start.
  • Be completely based on Open Source software. So a Linux/Xen VPS was chosen.

This is being published so that:

  • Someone else can used the code and configurations as examples for similar projects.
  • People using the system can know where their emails are going through.

So this is how it works:

  • The MTA reads forwarding rules from the DB.

  • On message reception, the real target address is fetched from the database.

  • The SMTP level sender is changed to a locally generated address to pass SPF checks.

  • The return path for bounces is ensured, as it is possible to retrieve the original SMTP level sender from the locally generated address.

  • The web interface allows configuration of forwarding rules on the DB.

  • There is no login, session, user/password nor authentication of any kind.

  • To configure a forwarding rule to target a given email, the client must have access to its inbox.

  • Email validation is performed by sending a URL with a token to the email targeted by the desired configuration.


Chimehost VPS specifications:

  • Virtualization: Xen
  • CPU: 2 vCPUs Intel Xeon E5620 @ 2.40GHz
  • RAM: 256 MB
  • Swap: 512 MB
  • HD: 20 GB
  • Bandwidth: 100 MBit/s

The operating system:

The software used in the system:


Missing features:

  • Change/Disable forwarding rules.
  • Domain key signature for forwarded messages.

About

All the code and configurations behind http://bonito.pt/ mail forwarding system.

Resources

Stars

Watchers

Forks

Packages

No packages published