Re: [EXIM] majordomo 2 work

Top Page
Delete this message
Reply to this message
Author: Julian King
Date:  
To: exim-users
Subject: Re: [EXIM] majordomo 2 work
>
> OK, maybe I overstated the case. The only real hack was to change
> the places that majordomo looks for majordomo.cf to include
> "${HOME}/majordomo.cf" and then get exim to set the home directory
> to "/etc/mail/domains/$domain" when calling a majordomo script -
> no wrappers required.
>
>     majordomo_pipe:
>       driver = pipe
>       return_output
>       path = "/etc/mail/majordomo"
>       home_directory = "/etc/mail/domains/$domain"

>
> and in majordomo.pl:
>
>     $cf = $ENV{"MAJORDOMO_CF"} || "$ENV{HOME}/majordomo.cf" || "/etc/majordomo.cf";



Or don't bother, and set the majordomo.cf in the alias entry... it is
just a command line parameter.

Julian
--
Julian King
Computer Officer, University of Cambridge, Unix Support

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