Re: [exim] hyphen problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Alex
Data:  
A: Dave Evans
CC: exim-users
Assumpte: Re: [exim] hyphen problem
If I do directly the select into console database, this return the smtp dir

select smtp from users,domains where localpart = 'antolinos-ca' and domain =
'domaina.com' and domains.enabled = '1' and users.enabled = '1' and
users.domain_id = domains.domain_id

returns

/xxx/xxx/sitexx/users/antolinos-ca/Maildir


10:49:54 18230 --------> virtual_domains router <--------
10:49:54 18230 local_part=antolinos-ca domain=domaina.com
10:49:54 18230 stripped suffix -ca
10:49:54 18230 calling virtual_domains router
10:49:54 18230 rda_interpret (string): ${lookup
sqlite{/etc/gestionaisp/gestionaisp.db select smtp from users,domains where
localpart = '${quote_sqlite:$local_part}' and domain =
'${quote_sqlite:$domain}' and domains.enabled = '1' and users.enabled = '1'
and users.domain_id = domains.domain_id}}
10:49:54 18230 expanding: $local_part
10:49:54 18230    result: antolinos
10:49:54 18230 expanding: $domain
10:49:54 18230    result: domaina.com
10:49:54 18230 expanding: /etc/gestionaisp/gestionaisp.db select smtp from
users,domains where localpart = '${quote_sqlite:$local_part}' and domain =
'${quote_sqlite:$domain}' and domains.enabled = '1' and users.enabled = '1'
and users.domain_id = domains.domain_id
10:49:54 18230    result: /etc/gestionaisp/gestionaisp.db select smtp from
users,domains where localpart = 'antolinos' and domain = 'domaina.com' and
domains.enabled = '1' and users.enabled = '1' and users.domain_id =
domains.domain_id
10:49:54 18230 search_open: sqlite "/etc/gestionaisp/gestionaisp.db"
10:49:54 18230   cached open



I