You are here: Foswiki>HomeInfra Web>Exim (22 Sep 2019, AdminUser)Edit Attach

Basic Exim install

# apt-get install exim4-daemon-light openssl ca-certificates

tools

/usr/share/doc/exim4-base/examples/exim-gencert
update-exim4.conf

add the below snippet to /etc/exim4/exim4.config.localmacros
CHECK_RCPT_IP_DNSBLS = cbl.abuseat.org : zen.spamhaus.org
MAIN_TLS_ENABLED = yes
tls_advertise_hosts = *
tls_privatekey = /etc/exim4/exim.key
tls_certificate = /etc/exim4/exim.crt

Mail compression

Dovecot can store/read compressed email in gzip, bzip2, lz4 and xz format (zstd in under development). So if exim delivers it compressed, it will save some space./re

https://lists.gt.net/exim/dev/101152

For Ubuntu it is enough the add the below to lines to maildir_home: section of exim4.conf.template
transport_filter = /bin/gzip -8
transport_filter_timeout = 1m 

xz, bzip2 don't compress better than good-old gzip (at least for my inbox)... and decompression with gzip is also faster.

for more mail stuff also have a look at SPFDKIM
Topic revision: r6 - 22 Sep 2019, AdminUser
This site is powered by FoswikiCopyright © by Eddy Vervest