guilhem / sendmail2file

A sendmail drop-in replacement that push mail in a file on json format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sendmail2file

A sendmail drop-in replacement that push mail in a file on json format

Installation

go install github.com/guilhem/sendmail2file

Usage

echo -e "Subject:Test Mail using sendmail2file\n\nThis is a Test Message" | sendmail2file

This happen in file (default: /var/lib/send2file/mails)

{"subject":"Test Mail using sendmail2file","body":"This is a Test Message\n"}

About

A sendmail drop-in replacement that push mail in a file on json format

License:Apache License 2.0


Languages

Language:Go 100.0%