Here is an example of setting up an autoresponder and sending a copy
of the mail to another user. I created it via the qmailadmin interface.

[root@orbital test.com]# cat .qmail-joe
|/usr/local/bin/autorespond 10000 5
/home/vpopmail/domains/test.com/JOE/message/home/vpopmail/domains/test.com/JOE
&[EMAIL PROTECTED]

The file is actually two lines long, with the second line having
the email address. You can replace the email address with the full
path to a vpopmail users Maildir directory, like

/home/vpopmai/domains/test.com/kbo/Maildir/

If you install qmailadmin and the autoresponder from the
http://www.inter7.com/qmailadmin/ page, you can create these files
for yourself to examine.

Ken Jones

John Van Boxtel wrote:
> 
> Sorry for double posting but I never got any replies the first time
> around...
> If anyone has ANY comments on this please make them, as if I don't get any
> responses I will take it as no one being interested and my problem being a
> non issue to others (and thus if i find a solution or right a new autoreply
> I won't have to GPL it)
> 
> Once again...
> 
> Does anyone know about any autoresponders that allow one account to
> autorespond AND save the message into their maildir or mbox?  All the ones
> that I have tried with vpopmail seem to cause loops on the first message
> when trying to deliver to one account.
> 
> As a work around, I have created a perl cgi script that users can use to
> turn autoreplies on and off, but all it is really doing is deleting their
> account, creating a new account, and adding an autorespond with the same
> name as the old account that sends mail to the new account.  Turning it off
> does the reverse.
> 
> The perl script does havea flaw, it deletes all hte messages that have not
> been "popped" out, so I was going to work on making it so that  it will move
> all messages in the mbox, or maildir to the temp
> account, and all the messages from the temp account back to the recreated
> user account.
> 
> The thing that has stopped this from being ready is I can't
> figure out why some accounts are created in a "0" directory in vpopmail, and
> others are in the root of the domain's directory.  As soon as I figure that
> out or write in a way to parse the vpasswd file easily for the directory of
> the
> maildir.  Any ideas about the "0" directory?
> 
> John Van Boxtel

Reply via email to