- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mail and .forward
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
тАО12-31-2001 08:00 AM
тАО12-31-2001 08:00 AM
we are using .forward to forward incoming mails.
it used to work properly but suddenly stopped working.
now it only works for user "root" , for any other user it doesnt work.
mail goes to users mail box, and can be read by mail / mailx, but .forward doesnt works.
any idea , what the problem can be ?
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 08:02 AM
тАО12-31-2001 08:02 AM
Re: mail and .forward
#echo test | sendmail -v email@forwardaddress.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 08:05 AM
тАО12-31-2001 08:05 AM
Solutiondirectory. However, if the owner and permissions on this file is not
set correctly sendmail will disallow execution of ".forward" file.
Also, Sendmail can run programs or write to files using the
".forward" file. This is controlled by the /etc/shells file. If the owner
of the ".forward" file lacks a valid shell as listed in /etc/shells
file, the execution of such programs will be disallowed.
Check the permissions on the ".forward" file. E.g. if the user
"mailman" has a ".forward" file in /home/mailman this user should
have the following permissions on the ".forward" file:
# ll -a /home/mailman/.forward
-rw------- 1 mailman users 20 Aug 4 1999 /home/mailman/.forward
Make sure the owner of the ".forward" file has the valid shell from
/etc/passwd listed in the /etc/shells file. E.g.:
# more /etc/passwd | grep mailman
mailmail:XcsSHS:126:20:TheMailMan,Sendmail
Group,:/home/mailman:/usr/bin/ksh
# vi /etc/shells
/usr/bin/ksh
:wq!
ps also SendMail checks the $HOME directory - as defined in /etc/passwd - for
proper permissions PRIOR to checking for a .forward file. If the
$HOME directory has incorrect 'group writable' permissions that could be your problem also ? -> # chmod 755 /home/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 08:08 AM
тАО12-31-2001 08:08 AM
Re: mail and .forward
Check your mail.log. It will give you a good hint about what's happening with your .forward files.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 08:12 AM
тАО12-31-2001 08:12 AM
Re: mail and .forward
i checked , permissions, shells .
everything looks ok.
it used to work properly , suddenly it stopped sending mails.
now it is working only for root user, but not for any other user.
i can send mail out using command line.
i can also read using mailx / mail.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 08:24 AM
тАО12-31-2001 08:24 AM
Re: mail and .forward
problem was with home directory permissions.
Thanks to all .