HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
v
vacation(1) vacation(1)
DIAGNOSTICS
On error, vacation exits with a value from
<sysexits.h> and causes sendmail to report an error
back to the sender of the original message. Errors such as the absence of
.vacation.msg
or calling
vacation with incorrect arguments, are logged using syslogd
on the system where vacation actu-
ally runs (see syslogd(1M)). The
syslog file (
/var/adm/syslog/mail.log
by default − see
/etc/syslog.conf
and syslogd(1M) for customizations) should be inspected when
vacation gen-
erates mailer error messages.
Remember that if the machine is configured for shared mail, inbound mail is handled at the mail server
rather than on mail client nodes. This means that
syslog diagnostics appear in the mail server’s sys-
log
; not the client’s syslog.
WARNINGS
Errors in the .forward file can lead to loss of mail and infinite mail loops.
Always send test mail to yourself after configuring
vacation to be sure that it is working properly. This
is akin to checking telephone forwarding before leaving for an extended period, and can prevent loss of
messages.
Some mail recipients look for RFC-822 compliant
To: header in their incoming mail messages. Such reci-
pients have to set the option NoRecipientAction
to add_to in the sendmail configuration file,
sendmail.cf .
AUTHOR
vacation was developed by Eric Allman and the University of California, Berkeley.
FILES
$HOME/.vacation.dir
Database file.
$HOME/.vacation.msg
Message to send.
$HOME/.vacation.pag
Database file.
/usr/share/lib/vacation.def
System-wide default header and message.
/etc/syslog.conf
Dictates where error messages are recorded.
SEE ALSO
sendmail(1M), syslogd(1M), ndbm(3X).
Section 1−−1032 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005