[sork] Vacation reply interval
Eric Rostetter
eric.rostetter at physics.utexas.edu
Fri May 16 21:06:14 PDT 2003
Quoting Doug Wilson <sony7818 at yahoo.com>:
> Just wondering if there was a place in the source code
> where I could customize the vacation reply interval
> (vacation -r <interval>). The normal reply interval
> for is one week, but the -r flag can be used to pick
> another interval.
This is on the TODO list, but isn't universal so it can be a problem.
For example, in my vacation program it is -t instead of -r for this.
Some don't have it at all. Some do it in different time units, etc.
> Is this something I can add in the php source if I
> want to globally change the reply interval?
Edit vacation/lib/Driver/*.php (probably forwards.php, maybe qmail.php)
and find the lines that read something like:
if (!empty($alias) && ($alias != $my_email)) {
$contents = "\\$my_email, \"|" . $conf['vacation']['path'] .
" -a $alias $my_email\"";
} else {
$contents = "\\$my_email, \"|" . $conf['vacation']['path'] .
" $my_email\"";
}
and change it to something like:
if (!empty($alias) && ($alias != $my_email)) {
$contents = "\\$my_email, \"|" . $conf['vacation']['path'] .
" -r 2 -a $alias $my_email\"";
} else {
$contents = "\\$my_email, \"|" . $conf['vacation']['path'] .
" -r 2 $my_email\"";
}
This would set it for "-r 2" what ever that means (2 days?).
> I'm not entirely sure if this is something that's
> handled in the source code. Thanks for any insight.
It can be... If you want to make the modification.
> Doug
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> --
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the sork
mailing list