I could only get this to work by writing it as:
O AliasFile=/usr/adm/sendmail/aliases
O AliasFile/usr/info/majordomo/majordomo.aliases
Ie, on two different lines.
If you use sendmail's cf generation tools, it wants to put everything
on one line.
-David
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> [I am sending this both to the majordomo-users list and to
> comp.mail.sendmail]
>
> I modified my sendmail.cf (v8.7.5) from
>
> # location of alias file
> O AliasFile=/usr/adm/sendmail/aliases
>
> to
>
> # location of alias file
> O AliasFile=/usr/adm/sendmail/aliases,/usr/info/majordomo/majordomo.aliases
>
> and ran newaliases (actually sendmail -bi).
>
> sendmail -bi told me that there were N number of aliases from aliases
> and M from majordomo.aliases . Furthermore, the file
>
> /usr/info/majordomo/majordomo.aliases.db
>
> was created. So I thought that everything "took"
>
> However,
>
> sendmail -bv majordomo
>
> came back with user unknown. (Which I didn't check just then, but
> discovered when something sent to a mailing list bounced with unknown
> user for the list name (and owner-LIST as well)).
>
> I quickly put the majordomo stuff back in my normal aliases file, but
> would like to know why this failed. I would especially like to get
> this to work right since I will soon have two very similar mailhosts,
> with only one of them running majordomo and by putting the majordomo
> stuff in a separate file I can maintain the systems easier.
>
> - -j
> - --
> Jeffrey Goldberg +44 (0)1234 750 111 x 2826
> Cranfield Computer Centre FAX 751 814
> J.Goldberg@Cranfield.ac.uk http://WWW.Cranfield.ac.uk/public/cc/cc047/
> Relativism is the triumph of authority over truth, convention over justice.
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2i
>
> iQCVAgUBM9Tk6Bu6nIqxqP+5AQH5UwP/WGqlKTQx/f91SLKjpjiZjUuDwa0f1Tbr
> 8SYF2OcV+IStaINjB8IsUu7vlX2QaZi5hdGqk6m5YRw4nwpcS3pM3LD3UKda1FnE
> uyX3XF0Z7QMwus4aRZSIMwPJoTCv6JeL99tIV6vHNAW7CDrZkLUYlsD6sXMsGkn/
> nBkg031LxqQ=
> =cuEY
> -----END PGP SIGNATURE-----
>
References:
|
|