Roger Buck wrote:
> 
> Is anyone using MajorDomo (especially anyone also using MajorCool) with
> Linuxconf. I would appreciate it if you could tell me how you are
> integrating the Majordomo Aliases into the Sendmail Aliases. Also, where
> does Linuxonf place the manually editable Sendmail config files... and
> how can they be used - the Help that comes with Linuxconf (and hints in
> \etc\aliases) seems to point to the wrong locations (for RH 5.2 anyhow).

Yes, Im using Majordomo with Majorcool, and found a soloution after some
time.

The problem is that mj_build_aliases from Majorcool generates very long
lines. Linuxconf dont understand this, and splits the long lines in
(incorrectly) short lines. (This may be a linuxconf parsing bug)

One solution is to tell sendmail to use two aliases files, I did this by
placing the following in /usr/linuxconf/mailconf/stdoptions.cf (remember
to generate the new sendmail.cf and run newaliases before starting
sendmail after you do this):

# location of alias file
O AliasFile=/etc/aliases,/etc/aliases_majordomo

Then I made a symlink to the Majorcool generated .majordomo_aliases:

ln -s /home/majordomo/.majordomo_aliases /etc/aliases_majordomo

After this, all operations in linuxconf only affect /etc/aliases, and
everything is fine. It was nice to get rid of the majordomo aliases from
the /etc/aliases file also, since I only updates those via majorcool
(wrapper mj_build_aliases).

BTW If you know what is required to make majordomo run mj_build_aliases
and newaliases automatically after you make a new list in Majorcool I
would like to know.

---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to