mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
INSTALL.TXT: updating to merge together the two vacation.pl scripts
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@50 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
411e4fae3c
commit
02ee6675ae
1 file changed
+16
-19
@@ -13,9 +13,13 @@
|
||||
REQUIRED!
|
||||
---------
|
||||
You need to have the following installed to be able to use Virtual Vacation.
|
||||
|
||||
- Perl5
|
||||
- Perl DBI
|
||||
- Perl DBD::mysql
|
||||
- Either Perl DBD::mysql OR Perl DBD::pgsql - depending on DB backend.
|
||||
- Email::Valid
|
||||
- Mail::Sendmail
|
||||
|
||||
|
||||
About Virtual Vacation
|
||||
----------------------
|
||||
@@ -27,7 +31,6 @@ message back to the sender.
|
||||
Install Virtual Vacation
|
||||
------------------------
|
||||
|
||||
|
||||
1. Create a local account
|
||||
-------------------------
|
||||
Create a dedicated local user account called "vacation".
|
||||
@@ -95,24 +98,18 @@ Execute "postfix reload" to complete the change.
|
||||
5. Create the table
|
||||
-------------------
|
||||
|
||||
To use Virtual Vacation with Postfix Admin you need to create an extra table
|
||||
in the database that is used by Postfix Admin.
|
||||
See DATABASE.txt in this directory.
|
||||
|
||||
6. Edit filter.pl
|
||||
-----------------
|
||||
|
||||
The perl filter.pl script needs minor modification to know which database
|
||||
you are using, and also how to connect to the database.
|
||||
|
||||
Namely :
|
||||
|
||||
Change any variables starting with '$db_' and '$db_type' to either 'mysql' or 'pgsql'.
|
||||
|
||||
USE postfix;
|
||||
#
|
||||
# Table structure for table vacation
|
||||
#
|
||||
CREATE TABLE vacation (
|
||||
email varchar(255) NOT NULL default '',
|
||||
subject varchar(255) NOT NULL default '',
|
||||
body text NOT NULL,
|
||||
cache text NOT NULL,
|
||||
domain varchar(255) NOT NULL default '',
|
||||
created datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
active tinyint(4) NOT NULL default '1',
|
||||
PRIMARY KEY (email),
|
||||
KEY email (email)
|
||||
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Vacation';
|
||||
|
||||
|
||||
What do these files do?
|
||||
|
||||
Reference in new issue
Block a user