Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Simple SMTP to cmd-line MTA relay?
Date: Fri, 19 Jan 2018 18:06:36
Message-Id: p3tbu6$u61$
I need to setup an SMTP relay server.

It needs to accept messages as an SMTP server (using SSL and AUTH on a
non-standard port) from a single user and single source and then relay
them by passing them to a command-line MTA (e.g. /usr/bin/sendmail
replacement provided by msmtp).

It only needs to handle a few messages per week, and doesn't need to
handle more than one connection at a time.


What I can't figure out for the above is how you configure them to
send the mail using a command line MTA like /usr/bin/sendmail or
/usr/bin/msmtp instead of initiating a network connection to an SMTP

I'm currently using something I wrote in Python, but the SSL support
in the 3rd party SMTP module is broken and I don't relish trying to
fix it.

Grant Edwards               grant.b.edwards        Yow! SHHHH!!  I hear SIX
                                  at               TATTOOED TRUCK-DRIVERS
                                tossing ENGINE BLOCKS into
                                                   empty OIL DRUMS ...


Subject Author
Re: [gentoo-user] Simple SMTP to cmd-line MTA relay? Ralph Seichter <m16+gentoo@×××××××××××.net>
Re: [gentoo-user] Simple SMTP to cmd-line MTA relay? Grant Taylor <gtaylor@××××××××××××××.net>
[gentoo-user] Re: Simple SMTP to cmd-line MTA relay? Ian Zimmerman <itz@××××××××××××.org>