- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- problem sending email on redhat 8
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
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
тАО05-14-2003 12:04 PM
тАО05-14-2003 12:04 PM
problem sending email on redhat 8
echo "test" | mail -v perlknight@hotmail.com
perlknight@hotmail.com... Connecting to localhost via relay...
perlknight@hotmail.com... Deferred: Connection refused by localhost.
Any idea? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 03:19 PM
тАО05-14-2003 03:19 PM
Re: problem sending email on redhat 8
It probably no longer contains localhost RELAY entry.
If I'm right add an entry that says localhost then a tab then relay. Then run this linux script to rebuild your hash database.
the script is attached.
if the post helps, please assign points.
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
тАО05-14-2003 08:31 PM
тАО05-14-2003 08:31 PM
Re: problem sending email on redhat 8
there are some points to be noted.
one is /etc/mail/acces file which tells address to be access the mail service.
check in rh73 server whether the ipaddress of rh8 is added and made has ACCEPT.
another one is firewall rules.
check whether u have any firewall rules which does not allow rh8 network to rh73
radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 10:20 PM
тАО05-14-2003 10:20 PM
Re: problem sending email on redhat 8
Does this rh7.3 accept mail from other sources?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 10:36 PM
тАО05-14-2003 10:36 PM
Re: problem sending email on redhat 8
first check if sendmail is running and listening.
ps -ef | grep sendmail.
then see if localhost is allowed to relay.
cat /etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
then make the access db.
makemap hash access < access.
then check if sendmail can deliver your email address.
sendmail -bv email@dot.com
it should say how the mail will be deliverd. and then check by sending a mail.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 09:00 AM
тАО05-15-2003 09:00 AM
Re: problem sending email on redhat 8
If you don't have sendmail running as a deamon on your machine, then you get the message "Connection refused by localhost".
Start sendmail via
chkconfig sendmail on
Assuming you have an appropriate MX record for your mail server or have set up your mail relay in /etc/mail/sendmail.cf, you shoudl be good to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 09:04 AM
тАО05-15-2003 09:04 AM
Re: problem sending email on redhat 8
Let me clarify the question. My mail server is working properly. All my Linux servers are working properly, they're sending email via our mailserver. However, I found that server running redhat 8.0 does not sent email via the mail server, you noticed when I tried sending mail via sendmail or mail it's trying to contact localhost via relay instead of "Connecting to mymailserver-name. via esmtp...". I fixed the problem by copying my sendmail.cf file from rh7.3 to this server. Then move out submit.cf. The submit.cf file does not exist in rh7.3. All is working. There must be somenthing in the submit .cf file which is cuasing to contact itself and trying to relay the mail instead of contacting the mail server via esmtp. Does any one have any idea? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 10:15 PM
тАО05-15-2003 10:15 PM
Re: problem sending email on redhat 8
and when a mail needs to be sent by user or program, when sendmail is invoked, it runs as a mail submission program(MSP) with minimal privileges. this uses submit.cf
read more at
http://www.sendmail.org/secure-install.html
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2003 05:58 AM
тАО05-16-2003 05:58 AM
Re: problem sending email on redhat 8
Take a look in sendmail.cf for a line:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Make it look like:
O DaemonPortOptions= Name=MTA
Take out the Port=smtp,Addr=127.0.0.1,
Look for this around line 264..
This also might restrict incomming mail.. I forget..
Sorry..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2003 04:16 AM
тАО11-07-2003 04:16 AM
Re: problem sending email on redhat 8
V6
T1068224760
K1068224761
N1
P30253
MDeferred: Connection refused by localhost.localdomain.
Fbs
$_mqm@localhost
${daemon_flags}c u
Smqm
Amqm@xxxx.mydomain [address of rh8 server]
MDeferred: Connection refused by localhost.localdomain.
C:mqm
rRFC822; mqm@xxx.mydomain [address of rh8 server]
RPFD:mqm
H?P?Return-Path: <
Any idea, how to get locally delivered mailed to be forwarded to mail server. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 09:57 AM
тАО02-28-2005 09:57 AM
Re: problem sending email on redhat 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 06:09 PM
тАО02-28-2005 06:09 PM
Re: problem sending email on redhat 8
BUT - I don't see security problem here because in default configuration sendmail listen only to 127.0.01 == localhost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2005 07:06 AM
тАО03-01-2005 07:06 AM