[lug] qmail alias for forwarding to alternating mboxes

Riggs, Rob RRiggs at doubleclick.net
Wed Oct 3 16:10:47 MDT 2001


I have not managed to get qmail to read a .qmail FIFO yet, but if that could
be made to work, it might be an easy way to cycle through a list of email
addresses. There are a number of example of using a .signature FIFO to embed
fortunes, for example, that could be modified for your purpose.

-----Original Message-----
From: Michael J. Hammel [mailto:mjhammel at graphics-muse.org]
Sent: Wednesday, October 03, 2001 2:22 PM
To: lug at lug.boulder.co.us
Subject: Re: [lug] qmail alias for forwarding to alternating mboxes


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 
_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list