Mailserver Integration

filewall.io cleans files such as PDF documents, images and many more from malicious code that can do considerable damage to your computer. When you open your documents with filewall.io, you get a secure copy of your document and don't have to hope that your virus scanner already knows the virus. With filewall.io you make the attachments in your e-mails 100% virus-free.

Filewall smtpd

Install Service
sudo pip install git+https://github.com/filewallio/filewall-smtpd
Set your apikey in /etc/filewall-smtpd.conf

Start service with
sudo service filewall-smtpd start
To start filewall-smtpd at boot time, use
systemctl enable filewall-smtpd.service
. Get the full source code at https://github.com/filewallio/filewall-smtpd/

Postfix

What you need to do on Postfix side is to edit configuration according to the suggestions made in the Advanced Content Filtering above, but for your convenience, here is the quick version that could work for you too:
(/etc/postfix/)main.cf:
content_filter = scan:localhost:10025
receive_override_options = no_address_mappings
(/etc/postfix/)master.cf:
scan      unix  -       -       n       -       10      smtp
      -o smtp_send_xforward_command=yes
      -o disable_mime_output_conversion=yes

localhost:10026 inet  n       -       n       -       10      smtpd
      -o content_filter=
      -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
      -o smtpd_authorized_xforward_hosts=127.0.0.0/8
    

Any thoughts? Did we miss something? Drop us a note!