ISPconfig 3 - regexp blocking pdf's

Discussion in 'Installation/Configuration' started by MisterRichard, Oct 9, 2018.

  1. MisterRichard

    MisterRichard Member

    Hi All,
    recently postfix has started discarding PDF's attached, but not all of them.

    /var/log/maillog :
    Oct 7 19:59:44 mail postfix/cleanup[13439]: C2A264F1DDE4: discard: header Content-Type: application/pdf;??name=20181005121804794.pdf;??x-apple-part-url="C0E1D58EF8721E4 [email protected]" from[xxx.xx.xx.xx]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<ns

    Here is the regexp I have in the mail content filter section :


    Can someone please help me understand why the pdf is being blocked ?


  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Well, to state the obvious, because it matches your regex. :) More specifically, it contains name= and .com in the header.
  3. MisterRichard

    MisterRichard Member

    Hi Jesse,
    Thank you for averting my blindness !

Share This Page