Re: Dumping Postfix ldap tables to hash files

2020-12-16 Thread Ganael Laplanche
On Wednesday, December 16, 2020 4:58:28 PM CET Wietse Venema wrote: Hello Wietse, > Alternative: use memcache (on 127.0.0.1) with LDAP as a 'backup'. > This will answer most queries from the cache. Thanks for your reply. It seems interesting, I'll have a look at that. Best regards, --

Re: Issue with postfix and glusterFS

2020-12-16 Thread Wietse Venema
Samuel Mutel: > Hello, > > I encountered some issues with postfix when the /var/spool/postfix is on a > glusterfs. > The postfix queue is blocked suddenly and no more mail is sent. > > I don't know exactly what the issue is with GlusterFS ? Is-it a particular > option to use when mounting the

Re: Dumping Postfix ldap tables to hash files

2020-12-16 Thread Wietse Venema
Ganael Laplanche: > Hello everyone, > > I was looking for some way of having hash file fallbacks for our ldap lookup > tables. Alternative: use memcache (on 127.0.0.1) with LDAP as a 'backup'. This will answer most queries from the cache. Wietse

Re: Issue with postfix and glusterFS

2020-12-16 Thread John Stoffel
Samuel> I encountered some issues with postfix when the Samuel> /var/spool/postfix is on a glusterfs. The postfix queue is Samuel> blocked suddenly and no more mail is sent. Please see http://www.postfix.org/DEBUG_README.html and re-send your problem with the right details. Samuel> I don't

Issue with postfix and glusterFS

2020-12-16 Thread Samuel Mutel
Hello, I encountered some issues with postfix when the /var/spool/postfix is on a glusterfs. The postfix queue is blocked suddenly and no more mail is sent. I don't know exactly what the issue is with GlusterFS ? Is-it a particular option to use when mounting the partition ? Thanks in advance

Dumping Postfix ldap tables to hash files

2020-12-16 Thread Ganael Laplanche
Hello everyone, I was looking for some way of having hash file fallbacks for our ldap lookup tables. As 'postmap -s' does not work (yet ?) for ldap-backed tables, I've written a small script that uses a ldap_table(5) .cf file as input and outputs a hash table that (hopefully!) includes all

Re: rejecting 'fancy' TLDs, allowing a specified one ?

2020-12-16 Thread Dominic Raferd
On 16/12/2020 11:07, li...@sbt.net.au wrote: I have a check to reject 'fancy TLDs' as below smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, check_sender_access pcre:/etc/postfix/sender_pcre, check_sender_access pcre:/etc/postfix/reject_domains cat

rejecting 'fancy' TLDs, allowing a specified one ?

2020-12-16 Thread lists
I have a check to reject 'fancy TLDs' as below smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, check_sender_access pcre:/etc/postfix/sender_pcre, check_sender_access pcre:/etc/postfix/reject_domains cat /etc/postfix/reject_domains /\.bid$/ REJECT We reject all .bid