Re: [EXIM] majordomo private aliases trouble

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: patl
CC: Jeffrey Goldberg, exim-users
Subject: Re: [EXIM] majordomo private aliases trouble
On Tue, 8 Sep 1998 patl@??? wrote:

> > I am trying to do what is recommended in the majordomo/exim FAQ to
> > get -outgoing and archive2 aliases to be private to majordomo
> >
> > My majordomo directors look like
> >
> > =============================================
> > majordomo_private:
> >    driver = aliasfile
> >    file = /usr/info/exim/tables/majordomo-out.aliases
> >    search_type = lsearch
> >    user = majordom
> >    group = majordom
> >    condition = "${if eq {$received_protocol}{local} \
> >             {${if eq {$sender_ident}{majordom} \
> >             {true}{false}}}{false}}"

> >
> > ...[more config]...
>
>
> Did you check to make sure you have 'majordom' in the trusted_users?
>
> Several people have suggested running with '-d9' to see if the
> condition is failing. If it is, you could try temporarily simplifying
> it to see which part fails. (I.e., remove the sender_ident check and
> run the test again; then restore that expression and remove the protocol
> check.)


Another thing you can do, from version 2.00, is to add the option

    debug_print = "${if eq {$received_protocol}{local} \
             {${if eq {$sender_ident}{majordom} \
             {true}{false}}}{false}}"


and then do a delivery, or run an address through -bt with -d set. The
new option will write the value of the string to the debug output. If it
ends up "false", as seems likely, you could then use

    debug_print = "received_protocol=$received_protocol \
                   sender_ident=$sender_ident"


to find out more detail. And so on.


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



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