Duplicate entries in

2015-11-15 Thread Sebastian Wolfgarten
Dear all, I am on Postfix 2.11.7 and have pcre-based sender_access, body_checks and header_checks files. body_checks = pcre:/etc/postfix/body_checks,pcre:/etc/postfix/bad_urls header_checks = pcre:/etc/postfix/header_checks When using postmap on these files, I am getting a lot of warnings sayin

PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
Hi, I have a problem with a PCRE-based rule in header_checks which seems to be ignored and I can’t understand why this is the case. Hopefully you guys have an idea on how to fix this :-) So here is my setup: I am using Postfix 2.11.7 on FreeBSD 10 and as I am being bombarded with emails from c

Re: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
of header checks. Then you can > reject based on MAIL FROM:, since apparently the hosts are using their e**. > hostname in MAIL FROM. > > -Ursprungligt meddelande- > Från: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] För Sebastian Wolfgarte

Re: PCRE regex in header_checks ignored - why?

2016-01-31 Thread Sebastian Wolfgarten
> -o header_checks= > there ? > > Willi > > > Am 31.01.2016 um 11:56 schrieb Sebastian Wolfgarten: >> Hi, >> >> I have a problem with a PCRE-based rule in header_checks which >> seems to be ignored and I can’t understand why this is the case. >> Hop

Postfix with sqlite - Database becomes locked

2018-01-10 Thread Sebastian Wolfgarten
Dear all, I am running postfix 3.3 and recently migrated all my virtual domains from MySQL to Sqlite for performance reasons. So far, everything works fine however up to 5-8 times a day, I am seeing an error message in my mail.log saying that the Sqlite 3 database may be locked. Here is an exam

Re: Postfix with sqlite - Database becomes locked

2018-01-10 Thread Sebastian Wolfgarten
request, would it maybe make sense to add a waiting period to be able to wait for the lock for 1-2 seconds and then retry with the database query? Thanks. Kind regards Sebastian > Am 10.01.2018 um 21:15 schrieb Wietse Venema : > > Sebastian Wolfgarten: >> Dear all, >> >&g