On 2018-01-19, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
>
>
>> On Jan 19, 2018, at 1:15 PM, Grant Edwards <grant.b.edwa...@gmail.com> wrote:
>> 
>> I'm trying to figure out how to set up an SMTP server that accepts
>> incoming mail and relays it by invoking a command-line MTA
>> (e.g. /usr/bin/sendmail or equivalent) instead of connecting to a
>> 'smarthost' SMTP server.
>
> That'd be magic.  How exactly is the command-line MTA supposed to
> get the mail "relayed" without connecting to a remote host?

Let's not worry about how the command-line MTA works.  It has the same
usage as /usr/bin/sendmail and it works.  What I am asking for is an
SMTP relay server that will relay incoming my by invoking it.

>> Can Postfix do that?
>
> It is far from clear what you have in mind.

I'm asking if Postfix can relay mail, but instead of Postifix sending
relayed mail by opening an SMTP connection to a relayhost, I want
Postfix to invoke a command line MTA that I specify.  That command
line MTA has the same API as /usr/bin/sendmail.

-- 
Grant Edwards               grant.b.edwards        Yow! I've got a COUSIN
                                  at               who works in the GARMENT
                              gmail.com            DISTRICT ...

Reply via email to