[lug] Randomize Alias mapping with postfix
Hugh Brown
hugh at math.byu.edu
Mon Sep 24 14:59:38 MDT 2007
On Mon, Sep 24, 2007 at 01:43:06PM -0600, Ben wrote:
> Seems like it would be a common question, but I can't find anything on
> the net. Can I randomize who postfix forwards an alias to? Specifically
> I'd like support at asdfasf.com to randomly choose one of X support
> engineers. A round-robin really, but not for load-balancing.
>
> I could cron a job that changes the /etc/aliases file, but I'm thinking
> there is probably a better way. (And maybe a problem with what happens
> if an e-mail comes in while I'm updating the alias database).
>
> Thanks,
>
> Ben
I think at this point in a support organization's lifecycle folks usu. introduce a ticketing system (e.g. RT).
If a ticketing system is more trouble than it's worth in your situation, you could probably have the alias point at a program which could choose who to send it to based on whatever algorithm you choose.
Hugh
More information about the LUG
mailing list