Hi,

I have a series of mime patterns to automatically reject file types
including com, bat, exe, etc. It appears one pattern is matching
incorrectly, and I could use some help making it more accurate. I
don't know if it's something yahoo is doing to their outgoing mail or
the result of this user's mail client.

It appears the question marks are not in the proper place? We'd like
to continue to permit PDF files, but obviously reject com, not the
icloud.com that appears to be part of it.

Jun 14 05:07:13 mail01 postfix/cleanup[1177]: F3AF86800C808: reject:
header Content-Type: application/pdf;??name="Prelim
14.06.17.pdf";??x-apple-part-url="[email protected]"
from nm3-vm6.bullet.mail.ne1.yahoo.com[98.138.91.96];
from=<[email protected]> to=<[email protected]> proto=ESMTP
helo=<nm3-vm6.bullet.mail.ne1.yahoo.com>: 5.7.1 content8

/^(Content-(Type|Disposition)\:|[[:space:]]+).*(file)?name="?.*\.com"?;?$/
REJECT content8

Thanks,
Alex

Reply via email to