[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim4 for virtual domains

TR RCPG wrote:
Would someone kindly post the relevant parts of an
exim4 configuration for a machine that works as isp
with virtual domains, and different users (with
possible not empty intersection set of users for
different domains)? Some directions about combined
remote mail retrieval + web access will be

# This router handles aliasing using the per-domain alias files from
# /etc/mail/aliases/
# Piping to programs is disabled per default.
# If that is a problem for you, see
#   /usr/share/doc/exim4-config/README.system_aliases
# for explanation and some workarounds.

  debug_print = "R: virtual_users for $local_part@$domain"
  driver = redirect
  domains = +virtual_domains
  data = ${lookup{$local_part}lsearch*@{/etc/mail/aliases/$domain}}

* put this into /etc/exim4/conf.d/router/160_local_virtual_users
* add a "domainlist virtual_domains =  ..." to conf.d/main/

/etc/mail/aliases/$domain contains local_part -> local_part and local_part -> username@localhost mappings.

Regards, David

Reply to: