[pfx] Re: distributed email system

2024-06-15 Thread Wietse Venema via Postfix-users
Jeff Peng via Postfix-users: > On 2024-06-15 21:35, Wietse Venema via Postfix-users wrote: > > > > > This is a bit off topic for Postfix, but a comnmon approach is to > > shard a global database into regional ones and limit the impact of > > outages. Some database systems support sharding out of

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Dan Mahoney via Postfix-users
> On Jun 15, 2024, at 15:03, Wietse Venema via Postfix-users > wrote: > > One addendum about how to distinguish from root@mydomain > from different hosts. > > Dan Mahoney via Postfix-users: >>> Use a virtual alias mapping from "r...@dayjob.org" to the collector >>> email address. This is a

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
One addendum about how to distinguish from root@mydomain from different hosts. Dan Mahoney via Postfix-users: > > Use a virtual alias mapping from "r...@dayjob.org" to the collector > > email address. This is a variation on > > > > /usr/local/etc/postfix/main.cf: > > virtual_alias_maps = has

[pfx] Re: distributed email system

2024-06-15 Thread Jeff Peng via Postfix-users
On 2024-06-15 21:35, Wietse Venema via Postfix-users wrote: This is a bit off topic for Postfix, but a comnmon approach is to shard a global database into regional ones and limit the impact of outages. Some database systems support sharding out of the box (for example, MongoDB, supported by Pos

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
Dan Mahoney via Postfix-users: > > Use a virtual alias mapping from "r...@dayjob.org" to the collector > > email address. This is a variation on > > > > /usr/local/etc/postfix/main.cf: > > virtual_alias_maps = hash:/local/etc/postfix/virtual-for-root > > > > /local/etc/postfix/virtual-for-ro

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Dan Mahoney via Postfix-users
> On Jun 15, 2024, at 06:19, Wietse Venema via Postfix-users > wrote: > > Dan Mahoney via Postfix-users: >> Hello, >> >> We currently have myorigin = $mydomain, and mydomain = dayjob.org >> on one of our border MXes, which is also the outbound MX for our >> whole organization. We are a fair

[pfx] Re: distributed email system

2024-06-15 Thread Wietse Venema via Postfix-users
Joachim Lindenberg via Postfix-users: > sql databases optimize for consistency instead of availability. > And even if you design your data model not to rely on joins, to > use unique ids per node, and to replicate both directions or > disallow writes on the slave, at least MariaDB failed on partiti

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Viktor Dukhovni via Postfix-users
On Sat, Jun 15, 2024 at 09:19:58AM -0400, Wietse Venema via Postfix-users wrote: > > However, we would like our rootmail to respect our aliases file, > > which tells root to go to a specific mail destination on a specific > > box. > > Use virtual_alias_maps, as shown below. The null-client overv

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
Dan Mahoney via Postfix-users: > Hello, > > We currently have myorigin = $mydomain, and mydomain = dayjob.org > on one of our border MXes, which is also the outbound MX for our > whole organization. We are a fairly large site with mxes in two > locations and many machines which send mail which ma

[pfx] Re: distributed email system

2024-06-15 Thread Joachim Lindenberg via Postfix-users
sql databases optimize for consistency instead of availability. And even if you design your data model not to rely on joins, to use unique ids per node, and to replicate both directions or disallow writes on the slave, at least MariaDB failed on partitioning, and I didnĀ“t want or tried to use an

[pfx] Re: Fastest way to reject unwanted sender

2024-06-15 Thread Viktor Dukhovni via Postfix-users
On Sat, Jun 15, 2024 at 07:06:43PM +0800, Jeff Peng via Postfix-users wrote: > On 2024-06-15 18:14, John Levine via Postfix-users wrote: > > People I'm working with have a short list of addresses from which they > > don't want to accept mail at all, and they'd like to reject as early > > as possibl

[pfx] Re: Fastest way to reject unwanted sender

2024-06-15 Thread Matus UHLAR - fantomas via Postfix-users
On 15.06.24 12:14, John Levine via Postfix-users wrote: People I'm working with have a short list of addresses from which they don't want to accept mail at all, and they'd like to reject as early as possible without running it through anti-spam milters, ideally by rejecting the SMTP MAIL FROM com

[pfx] Re: Fastest way to reject unwanted sender

2024-06-15 Thread Jeff Peng via Postfix-users
On 2024-06-15 18:14, John Levine via Postfix-users wrote: People I'm working with have a short list of addresses from which they don't want to accept mail at all, and they'd like to reject as early as possible without running it through anti-spam milters, ideally by rejecting the SMTP MAIL FROM c

[pfx] Re: Fastest way to reject unwanted sender

2024-06-15 Thread Viktor Dukhovni via Postfix-users
On Sat, Jun 15, 2024 at 12:14:01PM +0200, John Levine via Postfix-users wrote: > People I'm working with have a short list of addresses from which they > don't want to accept mail at all, and they'd like to reject as early > as possible without running it through anti-spam milters, ideally by > re

[pfx] Fastest way to reject unwanted sender

2024-06-15 Thread John Levine via Postfix-users
People I'm working with have a short list of addresses from which they don't want to accept mail at all, and they'd like to reject as early as possible without running it through anti-spam milters, ideally by rejecting the SMTP MAIL FROM command. What's the best way to do this? The list is short so