- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vacation program
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:49 AM
тАО07-29-2003 06:49 AM
vacation program
I am trying to set up the vacation program for a specific user.
I've tried to follow the manuals, but the procedure doesn't seem to work. We are using sendmail 8.11.1 on HP-UX 11.
1) I have created the file .vacation.msg with the following text (just to test the functionality):
From: mysql@gissi.marionegri.it
Subject: Vacation
X-Delivered-By-The-Graces-Of: the vacation program
Precedence: bulk
I will be out of the office until August 15, 2002.
EOF
The file is created in the home dir of the user "mysql". Permissions on the file are
-rwxr-xr-x (755)
2) Used the command
# vacation -i
3) created (as user mysql) a file .forward in the home dir with the following single line:
\mysql, "|/usr/bin/vacation -a mysql@gissi.marionegri.it mysql"
Permissions on the file are
-rw------- (600)
Unfortunately, a mail reply isn't sent to any sender.
Thank you for your help
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:53 AM
тАО07-29-2003 06:53 AM
Re: vacation program
as the user mysql?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:57 AM
тАО07-29-2003 06:57 AM
Re: vacation program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:58 AM
тАО07-29-2003 06:58 AM
Re: vacation program
Does anything appear in "/var/adm/syslog/mail.log"?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 06:59 AM
тАО07-29-2003 06:59 AM
Re: vacation program
You could try creating a .forward to send to another user account only, just to test the .forward without the vacation functionality. If that works, then move on to using vacation.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 07:08 AM
тАО07-29-2003 07:08 AM
Re: vacation program
cat .forward
\melvyn, | "/usr/bin/vacation melvyn "
I think your error may be you have the | inside the double quotes
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 08:07 AM
тАО07-29-2003 08:07 AM
Re: vacation program
\melvyn, "|/usr/bin/vacation melvyn"
and this also worked.
Try leaving out the -a mysql@gissi..... section, i.e. try it as
\mysql, "|/usr/bin/vacation mysql" and at least get that working.
As per the man page, remember to run vacation -i BEFORE modifiying the .forward file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 08:27 AM
тАО07-29-2003 08:27 AM
Re: vacation program
\pauls, "|vacation pauls"
and it works for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 10:56 AM
тАО07-29-2003 10:56 AM
Re: vacation program
As of Melvyn's suggestion, I tried
\mysql, "|/usr/bin/vacation mysql"
as a .forward file.
The reply is not sent again: in addition, in the /var/adm/syslog/mail.log nothing about the vacation reply is present: just the receival of the message of the user mysql.
I really don't know what to do now ...
Thank you
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 11:11 AM
тАО07-29-2003 11:11 AM
Re: vacation program
vacation will create for you the .forward file, and .vacation.msg file.
It clearly states that running vacation when a .forward file will cause vacation to ask if you want it removed.
It also states that you can run "vacation -I" which will initialize the vacation.pag and vacation.dir files to log forwards. With no ability to log, vacation will fail.
Here's the interesting sniplets...
To install vacation, type it with no arguments on the com-
mand line. The program creates a .vacation.msg file, which
contains the message that is automatically sent to all
senders when vacation is enabled, and starts an editor for
you to modify the message. (See USAGE section.) Which editor
is invoked is determined by the VISUAL or EDITOR environment
variable, or vi(1) if neither of those environment variables
are set.
A .forward file is also created if one does not exist in
your home directory. Once created, the .forward file will
contain a line of the form:
\username, "|/usr/bin/vacation username"
If the string $SUBJECT appears in the .vacation.msg file, it
is replaced with the subject of the original message when
the reply is sent; thus, a .vacation.msg file such as
Subject: I am on vacation
I am on vacation until July 22.
Your mail regarding "$SUBJECT" will be read when I return.
If you have something urgent, please contact
Joe Jones (jones@fB0).
--John
Hope it helps!
Sincerely,
Shannon Petry