[EXIM] Dual Aliases.

Top Page
Delete this message
Reply to this message
Author: Jhvh-1
Date:  
To: exim-users
Subject: [EXIM] Dual Aliases.

Hello everyone;

A PHB that works for a company that we do virtual hosting for has decided
that he/she wants to get a copy of all incoming mail. I have set up a
dual alias to handle it as such:

dual_aliases:
driver = aliasfile
file = "/usr/local/exim-2.02/customer/aliases.dual"
search_type = lsearch
user = exim
group = mail

and my 'aliases.dual' file looks like:

somedomain.com:    phb@???
lacky@???:    phb@???


Unfortunatly, all virtual domains are translated from
'user@???' to 'user@???'

I ran exim with the '-d9' option, and saw the following:

directing bbronnen@???
calling dual_aliases director
dual_aliases director: lsearch key=bbronnen
file="/usr/local/exim-2.02/customer/aliases.dual"
search_open: lsearch "/usr/local/exim-2.02/customer/aliases.dual"
search_find: file="/usr/local/exim-2.02/customer/aliases.dual"
type=lsearch key="bbronnen" partial=-1
internal_search_find: file="/usr/local/exim-2.02/customer/aliases.dual"
type=lsearch key="bbronnen"
file lookup required for bbronnen
in /usr/local/exim-2.02/customer/aliases.dual
lookup failed


I tries some other search types, but they wouldn't work right; I got
various configuration errors. Since the address is converted, I am not
sure if or how this can be done. Any ideas?

Thanks in Advance
Benton


--
*** Exim information can be found at http://www.exim.org/ ***