- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail problem -pls help me
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
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
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
10-21-2011 08:58 PM
10-21-2011 08:58 PM
sendmail problem -pls help me
We have RHEL 5 server . i added this server in domain and mailrelay server. but we unable to send the mail. it is showing below error .pls help me this is urgent.
Error
[root@hn01 ~]# sendmail -q -v
Running /var/spool/mqueue/p9M3hVqq032284 (sequence 1 of 5)
<harish.h@rtech.com>... Connecting to mailrelay.rtech.com. via esmtp...
421 4.3.2 Service not available, closing transmission channel
>>> QUIT
<harish.h@rtech.com>... Deferred: 421 4.3.2 Service not available, closing transmission channel
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2011 09:41 PM
10-21-2011 09:41 PM
Re: sendmail problem -pls help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2011 11:20 AM
10-22-2011 11:20 AM
Re: sendmail problem -pls help me
Hi,
sorry , please find the attached error report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2011 03:03 AM
10-23-2011 03:03 AM
Re: sendmail problem -pls help me
It looks like there might be nothing wrong with your RHEL 5 server, but your mailrelay server is either not working or not configured to accept mails from your RHEL 5 server using the standard SMTP protocol.
(If it's a Microsoft Exchange server, it might be configured to accept mails using the proprietary Outlook protocol only - if that's the case, you'll need to have the mailrelay server administrator enable SMTP access.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2011 08:44 AM
10-23-2011 08:44 AM
Re: sendmail problem -pls help me
thanks for your suggestion. i already given a request to our network administrator to add the RHEL server to mailrelay . he also added . but still we are facing the error.
could you please confirm me this error only exchange server side or RHEL server side.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2011 11:14 AM
10-23-2011 11:14 AM
Re: sendmail problem -pls help me
According to your attachment, you get the same error message when using telnet to port 25. When you're testing with telnet, sendmail is not involved at all, so the message cannot come from the local sendmail.
The error message appears after the telnet command has output the "connected to <host>" and "Escape character is..." messages, so the message must come from the network connection.
The error message has the standard format of SMTP error messages: the error messages of the telnet command don't use that format. Obviously, whatever is at the other end of the connection is a mail server or some other application that is designed to handle mail using the SMTP protocol. It accepts your connection only to tell that it won't accept your mail, and then immediately closes the connection.
Unless you have configured a transparent SMTP proxy on your RHEL server, the problem must be outside the RHEL server. And a transparent proxy is a fairly advanced configuration: it's not likely you could have created one by accident. Anyway, run "iptables -L -vn -t nat" to be sure. Normally, it should display a set of empty tables, like this:
# iptables -L -vn -t nat Chain PREROUTING (policy ACCEPT 262K packets, 23M bytes) pkts bytes target prot opt in out source destination Chain INPUT (policy ACCEPT 160K packets, 16M bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 569K packets, 61M bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 529K packets, 53M bytes) pkts bytes target prot opt in out source destination
If the output contains more lines than that (especially lines mentioning "tcp dpt:25" or the IP address of the mailrelay server), then it would be possible that you have a transparent proxy in your RHEL server. But if the output looks like my example above, the error definitely comes from somewhere outside your RHEL server.
It could be possible to install an email anti-virus server as a transparent proxy to protect the Exchange mail server. Do you know if something like this has been done? Your network administrators should definitely know, as setting up an external transparent proxy requires an advanced router/firewall configuration. If your network has such an anti-virus server, then the configuration of the anti-virus server needs to be changed to accept mail from your RHEL server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2011 10:54 AM
10-29-2011 10:54 AM
Re: sendmail problem -pls help me
Exactly your suggestion is very useful. now i turn off the iptables. now send mail working fine. but we unable to communication some database server.
again we turn on the iptables , we able to communicate data base servers, but send mail is not working.
please advice next step what can i do.
- Tags:
- iptables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2011 10:58 AM
10-29-2011 10:58 AM
Re: sendmail problem -pls help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 03:13 AM
10-30-2011 03:13 AM
Re: sendmail problem -pls help me
Apparently your iptables configuration needs to be modified to allow sendmail and the database server connections simultaneously. The best way would be to find someone at your site who has designed the current configuration and understands the network infrastructure at your site. He/she would probably be able to suggest the appropriate changes.
If nobody at your organization can help with this problem, find out if you're allowed to post your iptables configuration here for analysis. I would check very carefully before posting: posting your iptables configuration in a public forum (like this HP forum) could give out entirely too much information about the structure of your network and its possible weaknesses. If a company policy says that posting internal configuration information is not allowed, your only option to get help might be to hire someone who really understands iptables and have him/her sign the appropriate NDA before allowing him/her to work on the configuration.
Alternatively, you might have to learn iptables yourself, figure out what is going wrong in your current configuration, and fix it.
Here is a picture that describes when each individual IPtables table is used:
http://run.tournament.org.il/files/Pictures/IPTables.jpeg
You'll also need the iptables documentation:
http://www.netfilter.org/documentation/index.html#documentation-howto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 08:05 AM
10-30-2011 08:05 AM
Re: sendmail problem -pls help me
Thanks for your message. first we check our internal team. after i revert back to you.
thanks .......