Re: vacation not working with qmail, autorespond, vpopmail

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Quoting Rick Romero <[email protected]>:

> Here's what I attempted to post to the list:
> ---------------------------
> Hi All,
>
> Well, as I was looking for this list, I see I'm behind a version, but no
> matter - I didn't do a 'proper' integration anyways.
> http://www.havokmon.com/stuff/horde/vacation
>
> This is based on Vacation H3 3.0
>
> I've created a vpopmailsql.php Driver that will create a 'qmailadmin'
> compliant vacation message and .qmail file.  It still uses ftp to put
> the data into the user's 'home' directory.  I saw a couple posts looking
> for another way, but IMHO, using pureftp works just fine.  pureftp will
> do SQL auths and grab the home dir from SQL, you can specify a uid (89
> is usually vpopmail), and set the users chroot.
>
> Anyhow, an autorespond vacation message looks like:
> From: [email protected] <newline>
> Subject: Vacation <newline>
> <newline>
> Text
> <newline>
>
> So the vpopmailsql.php does this for you.  I also modified the main.php
> to display the vacation message correctly, as 3.0 doesn't do the 'From'
> address.   The only bug is the 'Subject' line has an extra space at the
> beginning because of how I snipped it.
>
> The driver uses mostly vars from the conf.php file, but I didn't finish
> the SQL integration so Mysql_connect/query are hardcoded.
>
> I kinda ran out of steam.

Would you be willing to put this up on the Horde wiki?

-chuck
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.