[lug] qmail alias for forwarding to alternating mboxes

Michael J. Hammel mjhammel at graphics-muse.org
Wed Oct 3 14:22:16 MDT 2001


Thus spoke fschmid at archenergy.com
> Every user can create aliases themselves in their home directory for 
> qmail.  Eg. User mike can create an alias mike-friends by creating an 
> appropriate .qmail-mike-friends file in their home dir (and typing the 
> distribution addresses into this file).
> You also have the system aliases, which are kept in an alias directory 
> under the qmail dir.

This does exist, but unfortunately does a 1-to-many distribution.  I need a
1-to-1 distribution that cycles through a list of recipients, so the first
message goes to the first recipient, the next message to the next
recipient, and so forth.

> Don't know of existing scripts for the above task but it doesn't seem 
> difficult.

Probably not. I could use perl to read the message as stdin and then just
pass it to elm or mailx, keeping track of who the next recipient should be.

-- 
Michael J. Hammel           |
The Graphics Muse           |  I started out with nothing & still have most of
mjhammel at graphics-muse.org  |  it left.
http://www.graphics-muse.com 



More information about the LUG mailing list