On 08-Sep-98 at 16:14:19 Jeffrey Goldberg 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}}"
>
> And
> /usr/info/exim/tables/majordomo-out.aliases
> contains
>
> testlist-outgoing::include:/usr/info/majordomo/lists/test,
> "|/usr/info/majordomo/wrapper archive2.pl -f
> /usr/info/majordomo/archives/testlist.archive/testlist -m -a"
>
A wild stab in the dark before I go home - but I had a similar (? possibly)
problem earlier today (different reason though). If you run it with the '-d9'
option it may say that the director condition has failed - and hence the
username (testlist-outgoing) drops through as an unknown user. The condition
may fail because you are implying a sort of 'nested if'. I changed my
condition statement to use the 'or' function, but you'll need an 'and'. So,
something like:
condition = "${if and {{eq {$received_protocol}{local}} \
{eq {$sender_ident}{majordom}}} \
{true} {false}}"
I think! :-)
John.
-----------------------------------------------------------------------------
John Horne E-mail: J.Horne@???
Academic and Information Services Phone : +44 (0) 1752 - 233911
University of Plymouth, UK Fax : +44 (0) 1752 - 233919
--
*** Exim information can be found at
http://www.exim.org/ ***