On 11 Feb 1999 [EMAIL PROTECTED] wrote:
>
>
> Hello!
>
> I have a little problem with qmail 1.03 on Solaris 2.6
> with /var/mail as spool directory.
> Everything works fine except the vacation program!!!
>
> I used the used the vacation program from Solaris (sendmail).
> But the vacation works only the first time when it's enabled.
> The first time it sends back the vacation message as expected,
> but then never again.
>
> Then I tried the vacation program from Peter Samuel ......
> the same thing ... one time and never again.
>
> But the mail is in the users mailbox.
>
> Does anyone have a solution for this???
The solution is in the man page :) By default vacation will only reply
once. Subsequent mails from the same person are checked against the
timstamp recorded in the dbm file. If the time between replies is less
than one week, vacation will not reply. This is the standard sun
vacation behaviour, it is also the behaviuor in Larry Wall's original
perl implementation and hence its the standard behaviour in my
implementation (based on Larry's).
You can change the timeout setting using the -t option
-tN Change the interval between repeat replies to the same
sender. The default is 1 week. A trailing s, m, h, d, or
w scales the number N to seconds, minutes, hours,
days or weeks respectively. For example, to set the
interval value to 3 days you would specify -t3d.
There should be no spaces between the -t and N. This
option is only useful when specified in the ~/.qmail
file.
So to use a timeout of 1 second, your .qmail file would look like
this
| /usr/local/bin/vacation -t1s psamuel
/home/psamuel/Mailbox
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
Technical Consultant or at present:
Uniq Professional Services, [EMAIL PROTECTED]
a division of X-Direct Pty Ltd
Phone: +61 2 9206 3410 Fax: +61 2 9281 1301
"If you kill all your unhappy customers, you'll only have happy ones left"