[sork] vacation not working with qmail, autorespond, vpopmail
Claus Szypura
claus at centralmail.de
Thu Jun 21 15:59:32 UTC 2007
Rick Romero <rick <at> havokmon.com> writes:
> Hi Claus,
>
>
Hi Rick,
many thanks for the link to the files.
At first glance (didn't try it yet) this
should work, at least for a mysql based vpopmail default installation.
One little bit of couriosity: did you do it for a popmail compiled with
--enable-many-domains (default). If so, I now have the task adapting it for
--without-many-domains,
where each domain has its own table in the vpopmail
database like so: my_first_domain_tld, my_second_domain_tld,
anotherdomain_tld...
because I did a compile configured --without-many-domains
I will give it a try and give feedback here!
Thanks again
Claus
> Here's what I attempted to post to the list:
> ---------------------------
> Hi All,
>
> 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 <at> home.com <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.
More information about the sork
mailing list