- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vacation - second part
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
тАО08-01-2003 08:24 AM
тАО08-01-2003 08:24 AM
Sorry for the repost but the problem seems to be different from the original one
I am trying to set up the vacation program for a specific user.
Following the manuals:
1) I have created the file .vacation.msg with the following text (just to test the functionality):
From: user@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 "user". Permissions on the file are
-rwxr-xr-x (755)
2) Used (as user "user") the command
# vacation -i
The command creates the files ".vacation.dir" and ".vacation.pag".
3) created (as user "user") a file .forward in the home dir with the following single line:
\user, "|vacation -a user"
Permissions on the file are
-rw------- (600)
All this does not work, it seems to be a problem of sendmail, because instead of a vacation reply I receive a message reporting:
----- The following addresses had permanent fatal errors -----
"|vacation -a user"
(reason: 550 Unsafe for mailing to programs)
(expanded from:
----- Transcript of session follows -----
550 5.7.1 /home/user/.forward: line 1: "|vacation -a user"... Address
Reporting-MTA: dns; gissi.marionegri.it
In sendmail the restricted sendmail shell (smrsh) was already enabled, and the vacation program had been already copied in the correct directory (sm.bin) where the restricted shell looks for executables. (And that's the reason for not having cited the full path of "vacation" in the command line)
In the sendmail configuration file I haven't found the phrase "is unsafe for mailing to programs"
Could you please help ?
Thank you
Enrico
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 08:28 AM
тАО08-01-2003 08:28 AM
Re: Vacation - second part
How about an auto-reject with message in the access database.
email@yourdomain.com REJECT 550 User is on vacation.
Or don't reject, simply reply.
Lots of possibilities.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 08:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 10:03 AM
тАО08-01-2003 10:03 AM
Re: Vacation - second part
Could you explain me better the auto-reply,
SEP ? I don't understand your suggestion
Thank you
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 10:20 AM
тАО08-01-2003 10:20 AM
Re: Vacation - second part
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 01:21 PM
тАО08-01-2003 01:21 PM
Re: Vacation - second part
| character and the start of the path name".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2003 01:46 PM
тАО08-01-2003 01:46 PM
Re: Vacation - second part
Magically in the mail.log appeared 2 lines with the message to "|vacation user" and the message to the original sender ... thank you so much.
Enrico