|
|
1.1 ! root 1: '\"macro stdmacro ! 2: .if n .pH g1.vacation %W% of %G% ! 3: .nr X ! 4: .if \nX=0 .ds x} vacation 1 "Essential Utilities" "\&" ! 5: .if \nX=1 .ds x} vacation 1 "Essential Utilities" ! 6: .if \nX=2 .ds x} vacation 1 "" "\&" ! 7: .if \nX=3 .ds x} vacation "" "" "\&" ! 8: .TH \*(x} ! 9: .SH NAME ! 10: \f4vacation\f1 \- automatically respond to incoming mail messages. ! 11: .SH SYNOPSIS ! 12: \f4vacation\fP ! 13: [\f4\-l\fP \f2logfile\fP] ! 14: [\f4\-m\fP \f2mailfile\fP] ! 15: [\f4\-M\fP \f2canned_msg_file\fP] ! 16: [\f4\-F\fP \f2failsafe\fP] ! 17: .SH DESCRIPTION ! 18: .PP ! 19: When a new mail message arrives, ! 20: the \f4mail\fP command first checks if the recipient's mailbox indicates ! 21: that the message is to be forwarded elsewhere (to some other recipient or ! 22: as the input to some command). ! 23: \f4vacation\fP is used to set up forwarding on the user's mailbox so that ! 24: the new message is saved into an alternative mailbox and ! 25: a canned response is sent to the message's originator. ! 26: .PP ! 27: Command-line options are: ! 28: .PP ! 29: .TP 12 ! 30: \f4\-l\f2\0logfile\f1 ! 31: .PD 0 ! 32: File to keep track of which originators have already seen the canned ! 33: response. ! 34: If not specified, it defaults to \f4$HOME/.maillog\fP. ! 35: .TP ! 36: \f4\-m\f2\0mailfile\f1 ! 37: Alternate mailbox to save new messages into. ! 38: If not specified, it defaults to \f4$HOME/.mailfile\fP. ! 39: .TP ! 40: \f4\-M\f2\0canned_msg_file\f1 ! 41: File to send back as the canned response. ! 42: If ! 43: .I canned_msg_file ! 44: is not specified, it defaults to \f4/usr/lib/mail/std_vac_msg\fP, ! 45: which contains: ! 46: .PD ! 47: .sp .5 ! 48: .in +1 ! 49: .nf ! 50: \f4Subject: AUTOANSWERED!!! ! 51: .sp ! 52: I am on vacation. I will read (and answer if necessary) ! 53: your e-mail message when I return. ! 54: .sp ! 55: This message was generated automatically and you will ! 56: receive it only once, although all messages you send ! 57: me while I am away WILL be saved.\f1 ! 58: .in -1 ! 59: .fi ! 60: .TP ! 61: \f4\-F\f2\0failsafe\f1 ! 62: If mail has troubles delivering to the mailfile specified, it may optionally ! 63: be forwarded to another login id (\f2failsafe\fP) instead of being returned ! 64: to the sender. ! 65: .TP ! 66: \f4\-d\f1 ! 67: The log file will have the day's date appended. ! 68: .PP ! 69: To remove the \f4vacation\fP functionality, use ! 70: .sp .5 ! 71: .RS 12 ! 72: \f4mail\0\-F\0"\^"\fP\0 ! 73: .RE ! 74: .SH FILES ! 75: .PD 0 ! 76: .TP 30 ! 77: \f4/tmp/notif\(**\fP ! 78: temporary file ! 79: .TP ! 80: \f4/usr/share/lib/mail/std_vac_msg\fP ! 81: default canned response ! 82: .TP ! 83: \f4/var/mail/\(**\fP ! 84: users' standard mailboxes ! 85: .TP ! 86: \f4/usr/lib/mail/vacation2\fP ! 87: program that actually sends back the canned response ! 88: .PD ! 89: .SH SEE ALSO ! 90: \f4mail\fP(1) ! 91: .br ! 92: .IR "User\'s Guide" . ! 93: .br ! 94: .ne 8 ! 95: .SH NOTES ! 96: Because \f4vacation\fP uses the ``\f4Forward to \(bv\f2command\f1'' facility of ! 97: \f4mail\fP to implement notifications, ! 98: \f4/var/mail/\f2username\f1 should \f4not\fP be specified as the place ! 99: to put newly arrived messages via the \f4\-m\fP invocation option. ! 100: The \f4mail\fP command uses ! 101: \f4/var/mail/\f2username\f1 to hold either mail messages, ! 102: \f4or\fP indications of mail forwarding, ! 103: but not both simultaneously. ! 104: .Ee
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.