Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:exim4 [2015/11/26 14:15] yehudakb:exim4 [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Exim4 ====== ====== Exim4 ======
 +good link: https://www.mail-tester.com/
 +===== main/00_local_macros configuration =====
  
 +<code bash>
 +DKIM_CANON = relaxed
 +DKIM_SELECTOR = XXXXXXX
 +
 +DKIM_DOMAIN = ${lc:${domain:$h_from:}}
 +DKIM_FILE = /etc/exim4/dkim/${dkim_domain}-private.pem
 +DKIM_PRIVATE_KEY=${if exists{/etc/exim4/dkim/${dkim_domain}-private.pem} {/etc/exim4/dkim/${dkim_domain}-private.pem}}
 +
 +REMOTE_SMTP_HELO_DATA = ${lc:${domain:$h_from:}}
 +MAIN_TRUSTED_USERS = mail:www-data
 +MAIN_TLS_TRY_VERIFY_HOSTS =
 +</code>
 +
 +===== Other =====
 +
 +<code bash>
 +# remove all emails
 +exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash
 +# or 
 +exim -qff
 +</code>
  
 <code> <code>
kb/exim4.1448547353.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0