Mailing List Archive

adminmailrcpt
I've noticed that email that should be going to the admin (ie. "config
fetcher problems") is going to the regular group mail.

Looks to me like the following two lines in control_rancid are the
culprit:

mailrcpt=${mailrcpt:-"rancid-${GROUP}${MAILDOMAIN}"}; export mailrcpt
adminmailrcpt=${mailrcpt:-"rancid-admin-${GROUP}${MAILDOMAIN}"};

The end result of those two lines is that adminmailrcpt is defined the
same as mailrcpt.

Is this the intention? I would have thought that you'd want the
second line to be:

adminmailrcpt=${adminmailrcpt:-"rancid-admin-${GROUP}${MAILDOMAIN}"};

- Morty
adminmailrcpt [ In reply to ]
Mon, Jun 20, 2005 at 11:29:56PM -0400, Morty Abzug:
>
> I've noticed that email that should be going to the admin (ie. "config
> fetcher problems") is going to the regular group mail.
>
> Looks to me like the following two lines in control_rancid are the
> culprit:
>
> mailrcpt=${mailrcpt:-"rancid-${GROUP}${MAILDOMAIN}"}; export mailrcpt
> adminmailrcpt=${mailrcpt:-"rancid-admin-${GROUP}${MAILDOMAIN}"};
>
> The end result of those two lines is that adminmailrcpt is defined the
> same as mailrcpt.
>
> Is this the intention? I would have thought that you'd want the
> second line to be:
>
> adminmailrcpt=${adminmailrcpt:-"rancid-admin-${GROUP}${MAILDOMAIN}"};

it should be, or
adminmailrcpt=${adminmailrcpt:-"@ADMINMAILPLUS@${GROUP}${MAILDOMAIN}"};
depending upon the version.