[pfx] Re: domain based vhosts

2023-05-04 Thread Bill Cole via Postfix-users

On 2023-05-04 at 08:21:31 UTC-0400 (Thu, 04 May 2023 14:21:31 +0200)
Corey Hickman via Postfix-users 
is rumored to have said:


Hello list,

another more question, does postfix support domain based vhosts?


It depends on what you mean by that...

There is no mechanism in SMTP for a server to determine what host and/or 
domain names a client has used to choose where to make the connection. 
HTTP has the Host header and very little flexibility until that header 
is available, where an analogous header for email would be unavailable 
until the DATA phase, after at least one recipient has been explicitly 
accepted.



such as different vhost has different policies, routes, milters etc.


See the MULTI_INSTANCE_README file in the Postfix documentation for what 
Postfix *does* support in regards to having multiple instances running 
on a single machine. Note that instances are differentiated by IP 
address and TCP port number.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: domain based vhosts

2023-05-04 Thread Wietse Venema via Postfix-users
Corey Hickman via Postfix-users:
> Hello list,
> 
> another more question, does postfix support domain based vhosts?
> such as different vhost has different policies, routes, milters etc.

For near-complete isolation of queues, policies, and so on,
https://www.postfix.org/MULTI_INSTANCE_README.html comes to mind.

Domains still share fate when a shared host crashes or loses
networking).

Wietse
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org