Re: header checks and regex issues

2016-09-29 Thread Kris Deugau
Alex wrote: > Okay, thanks. I'm doing this already on the pcre header_checks file, > and have added it on the mime_types file, but noticed a problem with > the pattern matching: > > /^Content-(Disposition|Type):\s+.+?(file)?name="?.+?\.com(\.\S{2,4})?(\?=)?"?(;|$)/ > REJECT ".com" file attachm

Re: header checks and regex issues

2016-09-28 Thread Noel Jones
On 9/28/2016 7:04 PM, Alex wrote: > Hi, > > On Wed, Sep 28, 2016 at 5:46 PM, Noel Jones wrote: >> On 9/28/2016 4:15 PM, Alex wrote: >> >>> How can I modify the lines in my header_checks.pcre file to provide >>> more info on the specific pattern that's causing the problem instead >>> of just "mess

Re: header checks and regex issues

2016-09-28 Thread Alex
Hi, On Wed, Sep 28, 2016 at 5:46 PM, Noel Jones wrote: > On 9/28/2016 4:15 PM, Alex wrote: > >> How can I modify the lines in my header_checks.pcre file to provide >> more info on the specific pattern that's causing the problem instead >> of just "message content rejected" the next time the email

Re: header checks and regex issues

2016-09-28 Thread Noel Jones
On 9/28/2016 4:15 PM, Alex wrote: > How can I modify the lines in my header_checks.pcre file to provide > more info on the specific pattern that's causing the problem instead > of just "message content rejected" the next time the email is > received? Note the log entry may not be the complete unm

header checks and regex issues

2016-09-28 Thread Alex
Hi, I'm having a problem with a few different emails with attachments being rejected due to some pattern in my header checks that I can't figure out: Sep 28 09:34:11 mail03 postfix/cleanup[24507]: 31926209EDF9: reject: header Content-Type: application/vnd.ms-excel;??name="Copy of Net Commissions