Consequently, sharing a vacation
database via NFS between machines of differing integer representations might cause vacation to misinterpret
its interval.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
388 | Chapter 10: Build and Use Companion Programs
If you wish to use a database file that is different from the default one named .vacation.db,
you can do so by including the -f command-line switch described earlier:
% /usr/ucb/vacation -i -f .vacation/data.db
If you use -f when initializing, you must use the same -f expression when you set up your
~/.forward file.
You should initialize the database and give it a custom notification interval, exclusion
addresses, and hosts (?§10.9.4.14 on page 392) before you set up vacation in your ~/.forward
file. If a database doesn??™t exist, vacation will automatically create an empty one for you with
the default notification interval.
If the database file cannot be created or written for some reason, vacation will log the
following error:
vacation: .vacation: reason here
Note that the suffix .db or .dbm is omitted because vacation doesn??™t know which database
type will be used ahead of time.
10.9.4.6 -j
Reply despite lack of recipient in To: or Cc: header vacation command-line switch
Ordinarily, the vacation program will auto-respond only to messages that contain the recipient??™s
address in the To: or Cc: header.
Pages:
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699