[ postfixadmin-Patches-3181465 ] vacation and autoreply
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2012-04-19 20:52:02
|
Patches item #3181465, was opened at 2011-02-14 16:07 Message generated for change (Comment added) made by gingerdog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3181465&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Vacation Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: J.Kruis (jan-kruis) Assigned to: Nobody/Anonymous (nobody) Summary: vacation and autoreply Initial Comment: This patch allow the admin to select three type of vacation message one reply reply after delay time autoreply The admin of a domain can give the users of that domain the right to change the setting of the vacation type or not. If this function is used is set by $conf [allow_user_reply] other default setting are put in config.inc.php or config.local.php ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2012-04-19 13:52 Message: Typo fixes for the below; also suggest the config parameters are all renamed to start with 'vacation_' (which I haven't done). I can't merge the patch as edit-domain has now been removed. You also have a syntax error in VacationHandler ( 'interval_time' => $$interval_time). (double $) Can you also remove the 'e' off the end of users_domain_controle ? The vacation.pl part of the patch looks fine to me. thanks for taking the time to submit the patch; if you could resync it with trunk and make the few changes I'm asking for, I'll merge it. David. // // // Virtual Vacation Stuff // // // If you want to use virtual vacation for you mailbox users set this to 'YES'. // NOTE: Make sure that you install the vacation module. (See VIRTUAL-VACATION/) $CONF['vacation'] = 'NO'; // This is the autoreply domain that you will need to set in your Postfix // transport maps to handle virtual vacations. It does not need to be a // real domain (i.e. you don't need to setup DNS for it). $CONF['vacation_domain'] = 'autoreply.change-this-to-your.domain.tld'; // Vacation Control // If you want users to take control of vacation set this to 'YES'. $CONF['vacation_control'] ='YES'; // Vacation Control for admins // Set to 'YES' if your domain admins should be able to edit user vacation. $CONF['vacation_control_admin'] = 'YES'; // Alllow ReplyType Control // This varible will be checked in ./templates/vacation.tpl // YES means it show the reply option, everything else means it will not show $CONF['replytype_control'] = 'YES'; // AllowUser Reply // You can Allow or Disable User control over Reply Type // This variable will be checked in ./templates/vacation.tpl // YES means it show the reply option, anything else means it will not show $CONF['allow_user_reply'] = 'YES'; // ReplyType options // If you want to define additional reply options put them in array below. $CONF['choice_of_reply'] = array ( 'One Reply', // Sends only Once the message during Out of Office 'Auto Reply', // Reply on every email but not within autoreplydelay 'Interval Reply' // Reply on every email but not within intervaldelay_default ); // ReplyType default // You should define default replytype. It must be in array above. $CONF['replytype_default'] = 'One Reply'; // autoreplydelay // You should define autodefaultdelay is seconds // if a new message comes in within this delay it most likely that that the sender is // autoreplying on our autoreply message. $CONF['autoreplydelay_default'] = '100'; // Replydelay default // You should define default replydelay time here time in in seconds. $CONF['intervaldelay_default'] = '86400'; // is 1 day = 60 sec * 60 min * 24 hours // // End Vacation Stuff. // ---------------------------------------------------------------------- Comment By: J.Kruis (jan-kruis) Date: 2011-02-14 16:11 Message: // Vacation Control // If you want users to take control of vacation set this to 'YES'. $CONF['vacation_control'] ='YES'; // Vacation Control for admins // Set to 'YES' if your domain admins should be able to edit user vacation. $CONF['vacation_control_admin'] = 'YES'; // Alllow ReplyType Control // This varible will be check in ./templates/vacation.tpl if it should enable this option // YES mains it show the reply option everthing els mains it will not show $CONF['replytype_control'] = 'YES'; // AllowUser Reply // You can Allow or Disable User to contole over Reply Type // This varible will be check in ./templates/vacation.tpl if it should enable this option // YES mains it show the reply option everthing els mains it will not show $CONF['allow_user_reply'] = 'YES'; // RepleyType options // If you want to define additional reply options put them in array below. $CONF['choice_of_reply'] = array ( 'One Reply', // Sends only Once the message during Out of Office 'Auto Reply', // Reply on every email but not within autoreplydelay 'Interval Reply' // Reply on every email but not within repldelay_default ); // ReplyType default // You should define default replytype. It must be in array above. $CONF['replytype_default'] = 'One Reply'; // autoreplydelay // You should define autodefaultdelay is seconds // if a new message comes in within this delay it most likely that that the sender is // autoreplying on our autoreply message. $CONF['autoreplydelay_default'] = '100'; // Replydelay default // You should define default replydelay time here time in in seconds. $CONF['intervaldelay_default'] = '86400'; // is 1 day = 60 sec * 60 min * 24 hours ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3181465&group_id=191583 |