- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail issue.
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
02-10-2004 03:04 AM
02-10-2004 03:04 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:14 AM
02-10-2004 03:14 AM
Re: sendmail issue.
I agree with Sri, / at most should be 755 root:root
Sendmail has many "security" features & checking file/dir permissions/ownership is one of them.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:18 AM
02-10-2004 03:18 AM
Re: sendmail issue.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:19 AM
02-10-2004 03:19 AM
Re: sendmail issue.
root's home dir /root should be 700 root:sys
root's .forward file should be 600 root:sys
Having it world writable leaves it wide open for a mailicious user to drop executable - by root! - code in there to be run simply when root receives mail. Nice little way to drop a trojan on the system....
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:22 AM
02-10-2004 03:22 AM
Re: sendmail issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:27 AM
02-10-2004 03:27 AM
Re: sendmail issue.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:35 AM
02-10-2004 03:35 AM
Re: sendmail issue.
You don't need to have .forward file to get these messages.
.forward file is used to auto forward your messages to a different address or script. Look at "man sendmail" for more information.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:38 AM
02-10-2004 03:38 AM
Re: sendmail issue.
The .forward file is used to - as it's name implies - forward mail rec'd to another person or system. BUT, it can also be used to redirect mail to a file or even execute code - basically anything that can be done with an alias file.
That's why it's so importanr for root to protect it's .forward file as anything executed out of it is run as root.
Rgds.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 05:07 AM
02-10-2004 05:07 AM
Re: sendmail issue.
You should check permissions on all mail configuration files in /etc/mail
The last line indicates a piece of mail could not be forwarded.
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
02-10-2004 04:32 PM
02-10-2004 04:32 PM
Re: sendmail issue.
The aliases file has examples of what to do, but if you wanted to forward root's mail to joe and bob, you can add the following entry to the aliases file:
root: joe, bob
Run the command newaliases afterwards and it will take effect immediately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 01:20 AM
02-12-2004 01:20 AM
Re: sendmail issue.
WRT sendmail.st this is the place where statistics are logged. See man mailstats for an explaination
HTH
Kasper