9.4.12 on page 391 Ignored for compatibility with Sun??™s vacation.
-U ?§10.9.4.13 on page 391 Don??™t look up the user in the passwd(5) file.
-x ?§10.9.4.14 on page 392 Exclude a list of addresses.
-z ?§10.9.4.15 on page 392 Set the sender to <>.
Table 10-8. vacation command-line switches (continued)
Switch ?§ Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
10.9 The vacation Program | 387
10.9.4.3 -d
Don??™t syslog errors vacation command-line switch
Beginning withV8.12 sendmail, vacation logs all its error and warning messages via the
syslog(3) facility (?§14.3 on page 513). Warnings are logged at LOG_NOTICE, and errors
are logged at LOG_ERR.
The syslog facility reports them like this:
Mar 1 13:30:05 lady vacation[26884]: vacation: can't open mailbox database: Service
unavailable.
If you prefer to have these errors and warnings printed to your screen, you can use this -d
command-line switch. It is better used outside your ~/.forward file because otherwise,
printed errors will be sent to sendmail where they might be lost. You use the -d commandline
switch like this:
% vacation -d bob < /dev/null
vacation: no such user bob.
Here, the administrator is about to set up a ~/.forward file for a user, and tests the vacation
command withth is -d switch.
Pages:
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697