fakemail

command module
v0.0.0-...-57ddd0d Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

README

FAKEMAIL

NAME
        fakemail - Simple logging (and printing) SMTP black hole

SYNOPSIS
        fakemail [OPTION]...

DESCRIPTION
        Logs all the SMTP traffic it receives. Logging to a directory
        will create a new file for each email processed.

        If neither the `-dir` or `-p` flags are present then only the
        message to, from, subject and overall size in bytes will be
        written to the log.

        -addr STRING
                address to bind to (default ":2525")

        -dir DIRECTORY 
                folder to log the emails to

        -p      Print email messages to the log

        -s      Skip the date prefix if redirecting stdout to a logging
                service
        
        -t      Trace SMTP actions, Quite verbose


EXAMPLES
        If running fakemail with directory output:

                fakemail -dir /tmp

        Email will be written to the /tmp directory with a filename
        format like:

                /tmp/20210109-1954-01610250859386380246.eml

        The first part of the file name is the date, to the minute, in
        local time. The date is for easy refernce. The nanosecond
        timestamp contains all the required infomation to trace the the
        ingest time of the mail.


LICENCE
        BSD-3-Clause, See LICENCE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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