Postfix discard mails with attachment

Discussion in 'Server Operation' started by gabed, Nov 19, 2015.

  1. gabed

    gabed New Member

    Hello everybody,
    I'm running an V-Server with Ubuntu 14.04. I followed this manual The Perfect Server - Ubuntu 14.04 (nginx, BIND, MySQL, PHP, Postfix, Dovecot and ISPConfig 3) - HowToForge

    It worked not bad. I can send Mails, and ISPConfig works and so on. But Postfix is discarding Mails with attachemtents like *.pdf and *.zip. Otherwise *.tex files will delivered correctly.

    /var/log/mail.log says:

    *look the file*

    Does anyone has an idea? Would love to hear!

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you add any email header or body checks in ispconfig? The above message gets added when you add an body check in the ispconfig mail module.
  3. gabed

    gabed New Member

    Hello, thanks for your quick answer.

    Yes, I did a few filter, such as


    Because after I changed to this Mailserver I received a lot of Spam and the only way to reduce it, was to add a few filter for words, which appeared often.

    But I see the point. Here:

    discard: body +wm17giqQSt6Ad4hh0QB47IJmaVaRGZSUAZm0vDaTOL9SExaA03apOmc1JugPIBP4BwrZ+9M from unknown[]; from=<> to=<> proto=ESMTP helo=<[]>

    Okay, I just deleted this one, and suddenly pdf's are received. Do you have any suggestions handeling this issue (getting lower amount of spam)?

Share This Page