If I understand you right, take a look at the transport file in /etc/postfix.
My postfix transport table has entries similar to this:
  example.com         smtp:[192.168.1.96]

Our mx host(s) accept mail for our domains, then automatically relays it to an 
internal server which our users access.  Is that what you're after?

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357


-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Grant Edwards
Sent: Friday, January 19, 2018 9:16 AM
To: postfix-users@postfix.org
Subject: Relay via command-line MTA instead of 'relayhost' SMTP server?

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.

Can Postfix do that?

-- 
Grant Edwards               grant.b.edwards        Yow! Did an Italian CRANE
                                  at               OPERATOR just experience
                              gmail.com            uninhibited sensations in
                                                   a MALIBU HOT TUB?

Reply via email to