Dnia 17.04.2023 o godz. 19:59:48 Tyler Montney via Postfix-users pisze:
> And that's a definition I've been struggling with: What is *local* in
> relation to SMTP?

By "local", I mean here the domains for which that particular server is the
final destination, ie. the mail delivered locally and the server "knows"
what to do with it.

Note that the term "delivered locally" is quite broad and may include
*forwarding* the mail to other servers, eg. by aliases defined locally on
the server. But still, the mail *is* delivered locally, it just happens to
be delivered to an alias that forwards it elsewhere.

In terms of Postfix, I interpret the term "local" in the meaning I used
above as everything that is not in the default domain class (see
http://www.postfix.org/ADDRESS_CLASS_README.html ), ie. all domains for
which the server is configured to "handle" mail somehow. We can discuss if
this description includes relay domain class, but it definitely (at least
for me) includes local domain class, virtual alias domain class and virtual
mailbox domain class.

> What if I'm a managed service provider hosting email on Postfix? Are all my
> customers considered local?

In the meaning above, yes. They are all hosted on that server, so they are
local. The "operational" difference between local and non-local is simple
for me:

- mail for all local domains coming in on port 25 should be accepted (of
course considering all usual restrictions - the recipient exists, the
sending IP is not on a blacklist etc.)

- mail for all non-local domains coming in on port 25 should be outright
rejected with "Relay access denied" (or similar) message.

There is no authenticated submission on port 25.
-- 
Regards,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to