Re: Spawn milter access to Verified Sender database

2021-11-28 Thread M Champion
Hi raf, Replies in-line ; Dear Postfix users, I'm really grateful to Wietse who thankfully raised concerns regarding Perl querying the verified senders database using postmap via the shell as there was a real chance the sender (easily faked) could carry out evil. My use of 'backticks' was a v

Re: Spawn milter access to Verified Sender database

2021-11-28 Thread M Champion
Dear Postfix users, I'm really grateful to Wietse who thankfully raised concerns regarding Perl querying the verified senders database using postmap via the shell as there was a real chance the sender (easily faked) could carry out evil. My use of 'backticks' was a very bad idea as it turns ou

Re: Spawn milter access to Verified Sender database

2021-11-25 Thread M Champion
Hi Wietse, OK, the storage key is null-terminated. you may have to use a postmap option to add a null byte to the query. All the storage keys are null-terminated, but I tried adding the N option anyway though to no avail.  However the issue seems to be resolved.  I totally missed the fact tha

Re: Spawn milter access to Verified Sender database

2021-11-25 Thread M Champion
Hi Wietse, The DB dump shows : londonstransport+bncbdzntlposqirbr426sgamgqeh7mv...@googlegroups.com??? 0:0:1637682515:250 2.1.5 OK s8si901258edx.4 - gsmtp There are 0xc2 0xa0 bytes at the end of the storage key, but not in your query. Apologies,  I pasted the output generated by 'postmap -s

Re: Spawn milter access to Verified Sender database

2021-11-24 Thread M Champion
ccurred to me (in direct opposition to my vanity project which is to log those I allow to bypass the verify check against those that would passed the check anyway), is that it is pretty pointless adding certain groups to the database where there sender address is unique and unlikely to ever be rep

Re: Spawn milter access to Verified Sender database

2021-11-19 Thread M Champion
Hi Wietse, On 19/11/2021 16:53, Wietse Venema wrote: With hash and btree there is no guaranteed way to read a table after it is updated, even when using locks. LMDB tables are better in this respect, as long as you use the right locking procedure (man 5 lmdb_table) but you'd need to make the ta

Spawn milter access to Verified Sender database

2021-11-19 Thread M Champion
Dear Postfix users, I have a fairly quiet Postfix server and so can just about get away with having 'reject_unverified_sender set' as default. This does lose genuine email from time to time so to mitigate, I have a SPAWN policy service 'policy-nv' which checks a global file for exceptions. In

Re: Remote's Receiving mail reate issue

2021-06-07 Thread M Champion
On 07/06/2021 13:47, Jos Chrispijn wrote: Delivering an email to google resulted in this message: "The user you are trying to contact is receiving mail at a rate that 450-4.2.1 prevents additional messages from being delivered. Please resend your 450-4.2.1 message at a later time. If the us