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
appreciated.

# 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.

virtual_users:
  debug_print = "R: virtual_users for [EMAIL PROTECTED]"
  driver = redirect
  domains = +virtual_domains
  allow_fail
  allow_defer
  data = [EMAIL PROTECTED]/etc/mail/aliases/$domain}}
  qualify_preserve_domain
  no_more

* 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 -> [EMAIL PROTECTED] mappings.


Regards, David




Reply via email to