- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: email is not forwarding
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
05-31-2006 03:22 AM
05-31-2006 03:22 AM
email is not forwarding
It is being relayed to our relay server but it is sending it to the address root@server.name.
I have this working on my other linux servers but this one is a vendor configured OS. What is missing to allow forwarding?
OS=ReHat ES3update4
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 04:25 AM
05-31-2006 04:25 AM
Re: email is not forwarding
Have you check the file Permission for /root/.forward?
Regards,
Sung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 04:51 AM
05-31-2006 04:51 AM
Re: email is not forwarding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:12 AM
05-31-2006 06:12 AM
Re: email is not forwarding
- and I agree with previous post - you should re-check /root/.forward permission - it shouldn't be writable for group/other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 07:53 PM
05-31-2006 07:53 PM
Re: email is not forwarding
when you send directly, as what unix user? root, or a "regular" user?
where is the .forward file, in the / dir, or in the $HOME of user root (on RH AFAIK this would be /root)
again, the properties should be 400 [or 600] (-r-------- or -rw------- (chmod(1)))
root is a special user with regards to email. default it is not masqueraded. is that what you mean with "root@server.name." or is it a literal
you might also check the aliases file (/etc/aliases or /etc/mail/aliases), and check if mail for root is re-directed elsewhere, before it would be delivered locally (i.e. the .forward file would have any effect)
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:49 AM
06-01-2006 08:49 AM
Re: email is not forwarding
for root should be aliased to another user.
If MAILDIR is set correctly root can read
this mail. In this case .forward in the
root home directory will not work.
Try running tail -f on your mail log when
you send a message to root. It should
show the message arriving, and where and
how it was delivered.
.forward must be not be group or world
writeable. If any directory on the path
is world writable .forward will be ignored.
Depending on the version group writeable
directories on the path will also cause
.forward to be ignored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 05:44 AM
06-07-2006 05:44 AM
Re: email is not forwarding
ll -a /root/.forward
-r-------- 1 root root 32 Jun 7 13:09 /root/.forward
sendmail -v root
this is a test email
.
root... Connecting to [127.0.0.1] via relay...
220 m1000030.health-partners.org ESMTP Sendmail 8.12.11/8.12.11; Wed, 7 Jun 2006 13:14:19 -0400
>>> EHLO m1000030.health-partners.org
250-m1000030.health-partners.org Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
>>> DATA
250 2.1.5
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 k57HEJ1m006919 Message accepted for delivery
root... Sent (k57HEJ1m006919 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 m1000030.health-partners.org closing connection
/var/log/maillog
Jun 7 13:14:19 m1000030 sendmail[6917]: k57HEC8t006917: from=hoev178, size=21, class=0, nrcpts=1, msgid=<200606071714.k57HEC8t006917@m1000030.health-partners.org>, relay=root@localhost
Jun 7 13:14:19 m1000030 sendmail[6919]: k57HEJ1m006919: from=
Jun 7 13:14:19 m1000030 sendmail[6917]: k57HEC8t006917: to=root, ctladdr=hoev178 (17004/112), delay=00:00:07, xdelay=00:00:00, mailer=relay, pri=30021, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k57HEJ1m006919 Message accepted for delivery)
Jun 7 13:14:23 m1000030 sendmail[6921]: k57HEJ1m006919: to=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 05:51 PM
06-07-2006 05:51 PM