- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vacation in Sendmail
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
Forums
Discussions
Discussions
Discussions
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
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
11-28-2001 07:25 AM
11-28-2001 07:25 AM
Thanks in advance,
Christian Briddon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 07:29 AM
11-28-2001 07:29 AM
Re: Vacation in Sendmail
If your users are sharing the same home directory, it is difficult to configure vacation mail for them. For other users you can configure vacation mail as advised in this link,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=d31f071b049d79c1f7/screen=ckiDisplayDocument?docId=200000007950534
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 07:30 AM
11-28-2001 07:30 AM
Re: Vacation in Sendmail
http://www.ling.helsinki.fi/~reriksso/procmail/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 07:31 AM
11-28-2001 07:31 AM
Re: Vacation in Sendmail
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/forward-2.2/
Or you can use your aliases to temporarly point the user on vacation to a script that will take care of forwarding/autoreply.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 11:44 AM
11-28-2001 11:44 AM
Re: Vacation in Sendmail
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2001 12:52 PM
11-28-2001 12:52 PM
SolutionThat would be a very easy task if you had separate home directories for each user. However, since everybody shares the same dir, I believe some cooperation will be necessary.
Here's the idea: you can use procmail, but procmail will use the ~/.procmailrc (it will be only one for all users, since you only have one homedir for everybody). In that case, you'll have to do some adjustments in your .procmailrc file.
Suppose users foo, bar and goo all share the same dir. Users foo and bar went out on vacations, but not goo. Suppose your domain is domain.com. Also, suppose the homedir for everybody is /home/mess
:)
First, we have to create a file called .forward in /home/mess. This will will put procmail as the local delivery agent:
/home/mess/.forward
"| exec /opt/procmail/bin/procmail"
Make this file chmod 600
Then, we need to setup the /home/mess/.procmailrc file:
(goes attached)
Make sure you chmod 600 this file as well.
As you can see, procmail will filter explicitly mail sent to foo@domain.com and bar@domain.com. Add users to that line as necessary, following the example as a model.
A mail will be sent back to whoever sends mail to these users. Since they all share the same dir, I'd say anybody will be able to edit this file. Proceed with caution.
Also, I've not personally tested this .procmailrc file. It came from my head and an example in procmail's manpages.
Hope it helps
Best of Luck,
Paga
PS: Have you considered separating the user's home dirs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2001 02:36 AM
11-29-2001 02:36 AM
Re: Vacation in Sendmail
I think I will go with the procmail suggestion. It look like it will do the job.
Thanks again for your help.
Christian