MTA: Exim

Configuration

by ross at 09:05:33 on April 27, 2017

Edit /usr/local/etc/exim/configure.

This your primary hostname:

primary_hostname = mx.example.com

Your domains:

domainlist local_domains = coffin.lan : example.com

The domain for letters without @domain part:

qualify_domain = example.com

Speed the things up:

rfc1413_hosts =
rfc1413_query_timeout = 0s
# comment out the following:
#host_lookup = *

Use maildir format:

local_delivery:
  driver = appendfile
  maildir_format = true
  directory = ${home}/Maildir
  create_directory
  delivery_date_add
  envelope_to_add
  return_path_add
  user = $local_part
  directory_mode = 700
  mode = 600
  no_mode_fail_narrower
address_file:
  driver = appendfile
  maildir_format = true
  create_directory
  delivery_date_add
  envelope_to_add
  return_path_add

Correct letters with non-Internet domain:

 begin rewrite
 
# Rewrite envelope From field, From: header
*@*.lan [email protected] Ff

 

Comments