It’s via HTTP API to post messages to gateway which then relay messages out to internet.
Thanks. > Gesendet: Donnerstag, den 01.12.2022 um 17:25 Uhr > Von: "Viktor Dukhovni" <postfix-us...@dukhovni.org> > An: postfix-users@postfix.org > Betreff: Re: relay server port listening on all or local? > > On Thu, Dec 01, 2022 at 10:02:02AM +0100, linux...@gmx.net wrote: > > > I am using postfix as mail relay which is deployed on gateway for > > internal users. This relay send mail out only, doesn't accept > > messages. My question is, do I need to make the relay server port 25 > > listened on 0.0.0.0? or just 127.0.0.1 should work? > > It needs to listen on the IP address and port combinations that the > internal "users" will establish TCP connections to (if that's what they > are doing). > > Are these "submission" users sending mail via some MUA (Thunderbird, > Mail.app, Outlook, Mutt, ...) or client "hosts" running MTAs that > forward messages via SMTP for external recipient to your "relay", or is > the mail generated locally on the machine? > > -- > Viktor.