- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: forward mail.
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-12-2001 02:17 PM
тАО12-12-2001 02:17 PM
forward mail.
Now everyone wants to know why they aren't getting any mail.
I have checked their file - /usr/mail
and put their e-mail address into their file-
- Foward to user@address
I also want root to foward all of it's mail to my computer so I went to /home/root and vi the .forward file and put my e-mail into the file.
When I send a mail message to root, it doesn't show up at my computer. What could I be doing wrong?
Thanks for any help you can give.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:25 PM
тАО12-12-2001 02:25 PM
Re: forward mail.
Make sure that none of the directories in
the filesystem have directory permissions
of 777. They must bet set to 755 or higher.
e.g.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:27 PM
тАО12-12-2001 02:27 PM
Re: forward mail.
make sure sendmail is running
check /var/adm/syslog/mail.log file for errors
Can you send mail out from the command line???
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:43 PM
тАО12-12-2001 02:43 PM
Re: forward mail.
Check /var/adm/syslog/mail.log for possible problem.
If sendmail is not running start it by /sbin/init.d/sendmail start
Make sure that home directory for root is /home/root
If sendmail is running and configured correctly then .forward file should forward all the mails, but mail.log give you more clear picture about what's happening..
-Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:44 PM
тАО12-12-2001 02:44 PM
Re: forward mail.
Dec 12 12:56:06 diomede sendmail[2134]: MAA02134: MAB02134: return to sender: Ho
st unknown (Name server: co.fairbanks.ak.us: host not found)
Dec 12 12:56:06 diomede sendmail[2134]: MAB02134: to=ssmith@co.fairbanks.ak.us,j
goldsmith@co.fairbanks.ak.us, delay=00:00:00, xdelay=00:00:00, mailer=smtp, rela
y=co.fairbanks.ak.us, stat=Host unknown (Name server: co.fairbanks.ak.us: host n
ot found)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:53 PM
тАО12-12-2001 02:53 PM
Re: forward mail.
'ps -ef | grep sendmail'
Then test to see if it can send mail to you using
/usr/sbin/sendmail -v your.email@your.domain
Test
Message
^D
This will give you a verbose output which will indicate where problems lie if there are any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 02:58 PM
тАО12-12-2001 02:58 PM
Re: forward mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 03:00 PM
тАО12-12-2001 03:00 PM
Re: forward mail.
mail server from DNS. Suggest you
compare the DNS and sendmail setup to
another system.
/etc/resolv/conf
/etc/nsswitch.conf
/etc/mail/sendmail.cw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 03:19 PM
тАО12-12-2001 03:19 PM
Re: forward mail.
I checked my other server and it had this file but the file is empty.
The following is what I get when I try to send mail to myself:
root: /etc ==> /usr/sbin/sendmail -v jgoldsmith@co.fairbanks.ak.us
Test
Message
jgoldsmith@co.fairbanks.ak.us... Connecting to co.fairbanks.ak.us via smtp...
jgoldsmith@co.fairbanks.ak.us... Host unknown (Name server: co.fairbanks.ak.us: host not found)
root... WARNING: writable directory /home/root
root... WARNING: writable directory /home/root
/home/root/.forward: line 1: forwarding to ssmith@co.fairbanks.ak.us
/home/root/.forward: line 2: forwarding to jgoldsmith@co.fairbanks.ak.us
/home/root/dead.letter... cannot open: Permission denied
ssmith@co.fairbanks.ak.us,jgoldsmith@co.fairbanks.ak.us... Host unknown (Name server: co.fairbanks.
ak.us: host not found)
MAILER-DAEMON... aliased to root
root... WARNING: writable directory /home/root
root... WARNING: writable directory /home/root
/home/root/.forward: line 1: forwarding to ssmith@co.fairbanks.ak.us
/home/root/.forward: line 2: forwarding to jgoldsmith@co.fairbanks.ak.us
postmaster... aliased to root
root... WARNING: writable directory /home/root
root... WARNING: writable directory /home/root
/home/root/.forward: line 1: forwarding to ssmith@co.fairbanks.ak.us
/home/root/.forward: line 2: forwarding to jgoldsmith@co.fairbanks.ak.us
ssmith@co.fairbanks.ak.us,jgoldsmith@co.fairbanks.ak.us... Host unknown (Name server: co.fairbanks.
ak.us: host not found)
MAILER-DAEMON... aliased to root
root... WARNING: writable directory /home/root
root... WARNING: writable directory /home/root
/home/root/.forward: line 1: forwarding to ssmith@co.fairbanks.ak.us
/home/root/.forward: line 2: forwarding to jgoldsmith@co.fairbanks.ak.us
MAILER-DAEMON... Saved message in /var/tmp/dead.letter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2001 03:24 PM
тАО12-12-2001 03:24 PM
Re: forward mail.
resolv/conf is a typo.