Skip to content

Instantly share code, notes, and snippets.

@vibragiel
Created July 3, 2013 18:14
Show Gist options
  • Save vibragiel/5921214 to your computer and use it in GitHub Desktop.
Save vibragiel/5921214 to your computer and use it in GitHub Desktop.
Fichero router para exim4, a colocar en /etc/exim4/conf.d/router, para permitir dominios y usuarios de correo virtuales. Dentro de /etc/mail/virtual/ hay que crear un fichero por cada dominoi, y dentro los alias de correo que se mapean a usuarios locales.
router_virtualdomains:
driver = redirect
domains = dsearch;/etc/mail/virtual
data=${lookup{$local_part}lsearch*{/etc/mail/virtual/$domain}}
no_more
gabi: chewie@localhost
me: chewie@localhost
#foo: foo@localhost,bar@localhost
*: chewie@localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment