Re: [EXIM] majordomo private aliases trouble

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ben Smithurst
Dátum:  
Címzett: Jeffrey Goldberg, exim-users
Tárgy: Re: [EXIM] majordomo private aliases trouble
Jeffrey Goldberg wrote:

> 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}}"


[...]

> ================================================================
> testlist-outgoing::include:/usr/info/majordomo/lists/test,
>    "|/usr/info/majordomo/wrapper archive2.pl -f /usr/info/majordomo/archives/testlist.archive/testlist -m -a"
> ================================================================


[...]

> However, when I actually mail to the testlist, I get a failure claiming
> that testlist-outgoing is an unknown local user.


What does -d9 show? I suspect, as John said, that the condition is
failing. Have you tried ``eq {$sender_host_address}{}'' in place of ``eq
{$received_protocol}{local}''? If received_protocol != local it won't
work, though this is only likely to happen if you're using bulk_mailer
(yuk) which uses local-bsmtp, or if Majordomo is passing -oMr to exim. I
suppose you thought about those though...

--
Ben Smithurst : ben@??? : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)


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