[CentOS] Complex sendmail alias handling.

John Plemons
Fri, 23 Mar 2007 19:27:55 -0000

OK, why not just add a couple more scripts to the cron job you have
now.  One for 0600 to 0800 aliases, then run the 0800 to 1600 version,
then next 1600 to 1800 version, but you should still be able to do it in
the same manor you are handling it in already...  Adding 2 more support
files should get it done, just use cron to make live as needed...

john








Hugh E Cruickshank wrote:
> Hi all:
>
> I have a situation where I need to change the distribution of emails
> for selected accounts on a regular basis. This is for the controlling
> of the distribution of our "support" email address.
>
> In the past I just created a "alias.bas" file to hold the bulk of
our
> aliases and then 3 "support" alias files, alias.wkd, alias.evn
and
> alias.wed (for weekday, evening and weekend day distribution lists) and
> then used crontab entries to cat the base file and one of the
"support"
> files into the alias file and run newaliases.
>
> This worked fine while everyone was working on an 0800-1600 schedule
> but now we have one person that will be working on an 0600-1800
> schedule a few days per week. This is going really muck up my simple
> little procedures.
>
> I was wondering if anyone out there new of something short of an
> automatic email receiving and routing package (which I have not
> done any research on) that might fit my simple requirements.
>
> Failing that can anyone recommend an automatic email receiving and
> routing package that is not to difficult to setup?
>
> TIA
>
> Regards, Hugh
>
>