Re: [Exim] catch all in exim with mysql (the file)

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Torsten Mueller
Datum:  
To: exim-users@exim.org
Betreff: Re: [Exim] catch all in exim with mysql (the file)

Paulo Henrique Baptista de Oliveira schrieb:
>
> --
>         Hi all,
>         I'm reading the FAQ and docs at exim.org to implement catch all
> emails (emails that are errors but arrive to one email account).
>         I'm a little confused because I use exim+mysql and dont know where to
> put the "*" caracter in lsearch?!?!
>         I'm sending the directors part of my exim.conf.
>         TIA,            Paulo Henrique

>


If you use exim+mysql (with exim4) , you don't want to use lsearch,
but lookup mysql.

For exim 4 the catch all account would i.e. look like this:

# Check for wild card match '@'@domain in mysql database
virtual_all_alias:
    driver = redirect
    allow_fail
    allow_defer
    data = ${lookup mysql {MYSQL_ALL_ALIAS}}


For exim 3
# Check for wild card match '@'@domain in mysql database
virtual_all_alias:
driver = aliasfile
search_type = mysql
query = MYSQL_ALL_ALIAS
include_domain = true

Torsten