From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
Date: Fri, 19 Jan 2018 18:31:42 +0000 (UTC) [thread overview]
Message-ID: <p3tdid$pp6$2@blaine.gmane.org> (raw)
In-Reply-To: d4d9d6e2-0a62-eff4-10eb-34756541af0e@monksofcool.net
On 2018-01-19, Ralph Seichter <m16+gentoo@monksofcool.net> wrote:
> On 19.01.18 19:03, Grant Edwards wrote:
>
>> 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).
>
> Based on your description you seem to have things backward.
I want to accept incoming email via SMTP (my computer is an SMTP server).
I want to relay each of those messages by invoking a command-line
utility that has the same "API" as /usr/bin/sendmail. That utility
injects the mail into another machine's MTA.
> Sendmail is used to inject mail into an MTA on the local machine,
> and the MTA can then use SMTP to transfer said mail to another
> server.
In this case, the /usr/bin/sendmail utility transfers the message to a
different machine's MTA using mechanisms that are beyond the scope of
my question.
> If the final recipient (i.e. mailbox) is on the same server the mail is
> generated on, the MTA can use a local transport mechanism to store mail
> instead of passing it on via SMTP.
There is no local delivery. It is a relay that accepts mail via SMTP
and transfers it to a different MTA. The usual way to do this is to
accept mail as an SMTP server and then relay it to the next MTA by
acting as an SMTP client (e.g. via postfix's 'relayhost' setting).
Instead of transfering mail to the next MTA by acting as an SMTP
client, I want to transfer it by invoking a command-line utility like
sendmail or msmtp.
> I suggest you clarify your goal, and ask on the Postfix mailing list
> (or Exim, etc.) for more information.
Will do.
--
Grant Edwards grant.b.edwards Yow! Everywhere I look I
at see NEGATIVITY and ASPHALT
gmail.com ...
next prev parent reply other threads:[~2018-01-19 18:34 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 18:03 [gentoo-user] Simple SMTP to cmd-line MTA relay? Grant Edwards
2018-01-19 18:19 ` Ralph Seichter
2018-01-19 18:31 ` Grant Edwards [this message]
2018-01-19 18:51 ` [gentoo-user] " Grant Taylor
2018-01-19 18:59 ` Grant Edwards
2018-01-19 19:10 ` Grant Taylor
2018-01-19 18:28 ` [gentoo-user] " Grant Taylor
2018-01-19 18:38 ` [gentoo-user] " Grant Edwards
2018-01-19 18:57 ` Grant Taylor
2018-01-19 19:48 ` Grant Edwards
2018-01-19 20:14 ` Grant Taylor
2018-01-19 20:29 ` Grant Edwards
2018-01-19 20:36 ` Grant Taylor
2018-01-19 18:46 ` Ian Zimmerman
2018-01-19 18:49 ` Grant Edwards
2018-01-19 19:43 ` Ian Zimmerman
2018-01-19 19:48 ` Alan McKinnon
2018-01-19 20:01 ` Grant Edwards
2018-01-19 20:05 ` Alan McKinnon
2018-01-19 20:04 ` Grant Taylor
2018-01-19 20:16 ` Grant Edwards
2018-01-19 19:54 ` Grant Edwards
2018-01-19 19:56 ` Alan McKinnon
2018-01-19 20:03 ` Grant Edwards
2018-01-19 20:06 ` Alan McKinnon
2018-01-19 20:19 ` Grant Edwards
2018-01-19 22:24 ` Ian Zimmerman
2018-01-19 22:31 ` Grant Taylor
2018-01-19 23:04 ` Grant Edwards
2018-01-19 23:21 ` Grant Taylor
2018-01-19 23:58 ` Grant Edwards
2018-01-20 0:30 ` Grant Taylor
2018-01-20 0:39 ` Grant Taylor
2018-01-20 0:53 ` Grant Edwards
2018-01-20 0:44 ` Ian Zimmerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='p3tdid$pp6$2@blaine.gmane.org' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox