[pfx] Re: Open relay clarification

2023-04-18 Thread Jaroslaw Rafa via Postfix-users
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

[pfx] Re: temporary lookup error with utf8mb4 characters

2023-04-18 Thread Gerald Galster via Postfix-users
> Wietse Venema via Postfix-users : > > And here is a more conservative patch for MySQL client retries. > > It closes the server connection after every error, and it delays > making a new server connection only after specific errors. > > Closing the connection eliminates the possibility that t

[pfx] Re: Open relay clarification

2023-04-18 Thread Tyler Montney via Postfix-users
> 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. I can't find anything more on what *local* is per the RFC, just that it must be defined. Based on that, I guess any argumen

[pfx] Re: Open relay clarification

2023-04-18 Thread Jaroslaw Rafa via Postfix-users
Dnia 18.04.2023 o godz. 12:11:06 Tyler Montney via Postfix-users pisze: > > - 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

[pfx] Reject mail by language

2023-04-18 Thread tom--- via Postfix-users
How to reject messages by languages? For example, only English, Germany and Chinese messages will be accepted. All others should be rejected. Thanks. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-u

[pfx] Re: Reject mail by language

2023-04-18 Thread Bill Cole via Postfix-users
On 2023-04-18 at 14:54:22 UTC-0400 (Wed, 19 Apr 2023 02:54:22 +0800) tom--- via Postfix-users is rumored to have said: How to reject messages by languages? For example, only English, Germany and Chinese messages will be accepted. All others should be rejected. For that sort of filtering, you

[pfx] Re: temporary lookup error with utf8mb4 characters

2023-04-18 Thread Wietse Venema via Postfix-users
Gerald Galster via Postfix-users: > > > Wietse Venema via Postfix-users : > > > > And here is a more conservative patch for MySQL client retries. > > > > It closes the server connection after every error, and it delays > > making a new server connection only after specific errors. > > > > Closi

[pfx] Re: Reject mail by language

2023-04-18 Thread mailmary--- via Postfix-users
I'm using a PHP milter to reject languages by their charset. For example, look for the charset "ks_c_5601-1987" under headers: Subject: Content-Type: Thread-Topic: etc... An Base64-encoded subject would look like: Subject: =?ks_c_5601-1987?B?...base64string... or a mime content-type would lo

[pfx] Re: Reject mail by language

2023-04-18 Thread Benny Pedersen via Postfix-users
Bill Cole via Postfix-users skrev den 2023-04-18 21:10: On 2023-04-18 at 14:54:22 UTC-0400 (Wed, 19 Apr 2023 02:54:22 +0800) tom--- via Postfix-users is rumored to have said: How to reject messages by languages? For example, only English, Germany and Chinese messages will be accepted. All oth

[pfx] Re: Postfix as relay server let us send messages with anothyer domain than ours

2023-04-18 Thread Demi Marie Obenour via Postfix-users
On 4/11/23 17:24, Viktor Dukhovni via Postfix-users wrote: > On Tue, Apr 11, 2023 at 03:34:09PM -0300, Roberto Carna via Postfix-users > wrote: > >> But we have realized that if we send messages using another domains >> than ourdomain1.com, the messages reach the recipients in Gmail, >> Hotmail a

[pfx] Re: Reject mail by language

2023-04-18 Thread Viktor Dukhovni via Postfix-users
On Wed, Apr 19, 2023 at 02:54:22AM +0800, tom--- via Postfix-users wrote: > How to reject messages by languages? > For example, only English, Germany and Chinese messages will be > accepted. All others should be rejected. Email messages almost never carry language information, they carry charact

[pfx] Re: Reject mail by language

2023-04-18 Thread tom--- via Postfix-users
On 2023-04-19 10:32, Viktor Dukhovni via Postfix-users wrote: On Wed, Apr 19, 2023 at 02:54:22AM +0800, tom--- via Postfix-users wrote: How to reject messages by languages? For example, only English, Germany and Chinese messages will be accepted. All others should be rejected. Email messages

[pfx] Re: Reject mail by language

2023-04-18 Thread Viktor Dukhovni via Postfix-users
On Wed, Apr 19, 2023 at 11:33:36AM +0800, tom--- via Postfix-users wrote: > I got a lot of spams (20+ every day) like the following for which i even > don't know what language they were. > > مميز المنتدى العربي الثالث The script is Arabic. Language is harder for an MTA to deduce. A priori an