Implement OLE Filter on Debian 8 / Postfix (Mraptor Milter)

Published on

To avoid this stupid OLE Viruses in Office documents, there is a OLE scanner which you can implement in your postfix http://www.decalage.info/en/python/oletools First you need some apts: apt-get install python-milter python-daemonize Then you need to install the OLE tools: pip install -U https://github.com/decalage2/oletools/archive/master.zip chomd +x /usr/local/lib/python2.7/dist-packages/oletools/mraptor_milter.py /usr/local/lib/python2.7/dist-packages/oletools/mraptor_milter.py Paste this in /etc/crontab for autostart at reboot … Continue reading Implement OLE Filter on Debian 8 / Postfix (Mraptor Milter)

Setup SRS on Postfix on Debian 8

Published on

First install postsrsd: apt-get install postsrsd Add this to Postfix main.cf: # PostSRSd settings. sender_canonical_maps = tcp:localhost:10001 sender_canonical_classes = envelope_sender recipient_canonical_maps = tcp:localhost:10002 recipient_canonical_classes= envelope_recipient,header_recipient and reload: postfix reload

Dane based on existing Postfix, Letsencrypt and DNSSEC

Published on

To activate it use following in the postfix main.cf: smtp_tls_security_level=dane smtp_dns_support_level = dnssec smtpd_use_tls=yes Now create the TLSA hash and generate a TLSA DNS Record: printf ‘%s’ $(openssl x509 -in fullchain.pem -noout -pubkey | openssl pkey -pubin -outform DER | openssl dgst -sha256 -binary | hexdump -ve ‘/1 “%02x”‘) push to DNS: _25._tcp.mail INTLSA 3600 … Continue reading Dane based on existing Postfix, Letsencrypt and DNSSEC