Re: [Exim] Re: Partial searches and NISPLUS

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: jhenders
CC: exim-users
Betreff: Re: [Exim] Re: Partial searches and NISPLUS
On Thu, 26 Aug 1999 jhenders@??? wrote:

> As trying to use one with the queries line didn't work for me.
>
> queries =\
> [alias=${local_part}@${domain}],mail_aliases.org_dir\:expansion:\
> [alias=@${domain}],mail_aliases.org_dir\:expansion


You have to double colons in colon-separated lists, not escape them. You
would also need to quote that:

queries ="\
[alias=${local_part}@${domain}],mail_aliases.org_dir::expansion: \
[alias=@${domain}],mail_aliases.org_dir:expansion"

> Appearanly sendmail knew how to parse this and bounce the message, but
> exim just treats it as a malformed query return and freezes it,
> returning this error.
>
> error in alias lookup: missing or malformed local part
> (expected word or "<") in "error:nouser User Unknown"
>
> Any ideas how I could make exim deal with this the way I need it to?


Exim syntax is

alias: :fail:error message

See the documentation of aliasfile.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.