sendmail2file

command module
v0.0.0-...-b6ff365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

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"}

Documentation

Overview

Copyright © 2024 Guilhem Lettron <guilhem@barpilot.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL