HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- .forward not working in sendmail
Operating System - Linux
1827856
Members
1613
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-14-2004 07:02 AM
10-14-2004 07:02 AM
.forward not working in sendmail
RedHat ES 3.0 sendmail-8.12.11-4.RHEL3.1
Have a .forward w/ correct permissions in root's home directory. I do not start the sendmail service on any UNIX/Linux server I have and the .forward works. On this OS version the .forward only seems to work when I have the sendmail service running. Can anyone tell me why. This version of sendmail seems to be completly different than any of my other systems.
Error Message without sendmail service started:
sendmail -v root
test email
.
root... Connecting to [127.0.0.1] via relay...
root... Deferred: Connection refused by [127.0.0.1]
Thanks.
Have a .forward w/ correct permissions in root's home directory. I do not start the sendmail service on any UNIX/Linux server I have and the .forward works. On this OS version the .forward only seems to work when I have the sendmail service running. Can anyone tell me why. This version of sendmail seems to be completly different than any of my other systems.
Error Message without sendmail service started:
sendmail -v root
test email
.
root... Connecting to [127.0.0.1] via relay...
root... Deferred: Connection refused by [127.0.0.1]
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 05:21 PM
10-14-2004 05:21 PM
Re: .forward not working in sendmail
This is probably a sendmail.cf error.
If sendmail.cf is generated from a sendmail.mc file the most likely cause is this:
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.40, Name=MTA')dnl
For an ip address that is not assinged to the machine.
The messages in the maillog file will not be helpful in figuring it out.
Thnere are other possible causes but they all lead back to misconfiguration of sendmail.cf, either directly, which I'd never do or via the sendmail.mc file.
SEP
If sendmail.cf is generated from a sendmail.mc file the most likely cause is this:
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.40, Name=MTA')dnl
For an ip address that is not assinged to the machine.
The messages in the maillog file will not be helpful in figuring it out.
Thnere are other possible causes but they all lead back to misconfiguration of sendmail.cf, either directly, which I'd never do or via the sendmail.mc file.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
10-15-2004 02:08 AM
10-15-2004 02:08 AM
Re: .forward not working in sendmail
This is the line in my sendmail.mc.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
This sendmial stuff is driving me crazy. It works very easily on all my aother systems except these RedHat Enterprise systems. Do you know of any good documentation on sendmail. All I can find is bits and pieces.
thanks.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
This sendmial stuff is driving me crazy. It works very easily on all my aother systems except these RedHat Enterprise systems. Do you know of any good documentation on sendmail. All I can find is bits and pieces.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 09:27 PM
10-19-2004 09:27 PM
Re: .forward not working in sendmail
Hi,
check your /etc/resolve.conf and check out for the localhost.localdomain entry is it correct.
Secondly if you have a relay in between your host and the server check out for the SMART HOST (IP ADDRESS OF YOUR SENDMAIL SERVER) ENTRY IN RELAY.
When you are sending mail from root to yoru server and if you have enabled the MASCURADE option then the mascurade wont work on root. You should send a mail by a user then only the mascurade would work.
Hope this would help to solve your query
Regards
Deep
check your /etc/resolve.conf and check out for the localhost.localdomain entry is it correct.
Secondly if you have a relay in between your host and the server check out for the SMART HOST (IP ADDRESS OF YOUR SENDMAIL SERVER) ENTRY IN RELAY.
When you are sending mail from root to yoru server and if you have enabled the MASCURADE option then the mascurade wont work on root. You should send a mail by a user then only the mascurade would work.
Hope this would help to solve your query
Regards
Deep
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP