SF.net SVN: postfixadmin:[554] trunk/VIRTUAL_VACATION/INSTALL.TXT
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2009-01-25 22:09:43
|
Revision: 554 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=554&view=rev Author: christian_boltz Date: 2009-01-25 21:56:37 +0000 (Sun, 25 Jan 2009) Log Message: ----------- VACATION INSTALL.TXT - add note about using /etc/mail/postfixadmin/vacation.conf Modified Paths: -------------- trunk/VIRTUAL_VACATION/INSTALL.TXT Modified: trunk/VIRTUAL_VACATION/INSTALL.TXT =================================================================== --- trunk/VIRTUAL_VACATION/INSTALL.TXT 2009-01-25 21:37:42 UTC (rev 553) +++ trunk/VIRTUAL_VACATION/INSTALL.TXT 2009-01-25 21:56:37 UTC (rev 554) @@ -49,6 +49,7 @@ #/etc/group vacation:*:65501: + 2. Create a directory --------------------- Create a directory, for example /var/spool/vacation, that is accessible @@ -68,6 +69,7 @@ -rwx------ 1 vacation vacation 3356 Dec 21 00:00 vacation.pl* + 4. Setup the transport type -------------------- Define the transport type in the Postfix master file: @@ -105,12 +107,13 @@ If security is an issue for you, read ../DOCUMENTS/Security.txt -6. Edit vacation.pl ------------------ -The perl vacation.pl script needs minor modification to know which database -you are using, and also how to connect to the database. +6. Configure vacation.pl +------------------------ +The perl vacation.pl script needs 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'. @@ -118,6 +121,17 @@ Change the $vacation_domain variable to match what you entered in your /etc/postfix/transport file. +You can do this in two ways: + +a) edit vacation.pl directly + +b) create /etc/mail/postfixadmin/vacation.conf and enter your settings there + + Just use perl syntax there to fill the config variables listed in vacation.pl + (without the "our" keyword). Example: + $db_username = 'mail'; + + What do these files do? ----------------------- When a user enables a vacation message on their account, the alias This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |