Re: [Exim] Any Mailadress for a domain like *@xyz.com

Góra strony
Delete this message
Reply to this message
Autor: Julian Bartels
Data:  
Dla: exim-users
Temat: Re: [Exim] Any Mailadress for a domain like *@xyz.com
Hello,
sorry, but i use outlook and "only-text" format, isn't this right?!
oh, found it! I use mysql for user-authentication and mail-delivery!
Can i use this one, too? Because I don't want to create an own
file and entry in exim-conf for every domain (about 100), using
an alias like %@virt.com or *@virt.com to postmaster@???
isn't possible?`
Here is my config:
mysql_sys_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup mysql{SELECT dest FROM aliases \
            WHERE email='${local_part}' AND \
            type="system"}}


mysql_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup mysql{ SELECT dest FROM aliases \
            WHERE email='${local_part}@${domain}' AND \
            type="site"}}


Thanks from the cold germany ...

Regards,
Julian