Solved

Sendmail doesn't send mail to outside my domain

Posted on 2003-11-26
12
223 Views
Last Modified: 2010-04-17
I use sendmail to send mails. I am not able to send mail to domains other than mine . i.e if I try sending a mail to yahoo account , it doesn't go but it can recieve from yahoo domain. I am very new to all these and I don';t know how can I make it work. This is very improtant to me as I have a webserver running and I need to send mails to lot of people in other domains regularly. I was always assuming that my mails are reaching them but recently got to know it's not. Please help me.
0
Comment
Question by:Achivee
  • 6
  • 3
  • 2
12 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9828534
what Opearting system u are using.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9828556
do u have relay server.
This is for Linux.
----------------------
if yes then u can add relay ip address to

add ip addresses to /etc/mail/access
Just insert a new line such as:

xxx.xxx.x.xxx  RELAY  (to relay from one machine)
or
xxx.xxx.x  RELAY (to relay from the whole subnet)
0
 

Author Comment

by:Achivee
ID: 9828613
I am using MAndrake Linux 9.1 and I don't know anything about relay server. I am very new to this field. Kindly help me configuring this.
I use kmail for other purposes and it uses smtp to send mails on the port 25 and if I send throguh this, mails are recieved at the other end in my case  recieve at yahoo account
If I use sendmail through commandline and give
sendmail sv_veena@yahoo.com
I don't recieve any
0
 

Author Comment

by:Achivee
ID: 9828618
My /etc/mail/access file has below lines.
# by default we allow relaying from localhost...
localhost.localdomain       RELAY
localhost           RELAY
127.0.0.1           RELAY


Does this help
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9828644
edit your sendmail.cf

# "Smart" relay host (may be null)
DS

edit it to:
# "Smart" relay host (may be null)
DSmail.your-provider.domain
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 24

Expert Comment

by:shivsa
ID: 9828648
whereby mail.your-provider.domain is the smtp-host you normally use when sending email directly out of an e-mail client.

after editing just restart sendmail and everything should be fine...
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9829514
set the relay to your smtp host so that all emails not in your domain can be relayed to the net
0
 

Author Comment

by:Achivee
ID: 9853450
Thank you very much Shiv
It's working now. DS was null initially.
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9855550
great! now can you please accept shiv's answer and close the question.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9860630
Good to know you got the issue resolved. You can close the question by following this guidelines:

http://www.experts-exchange.com/help.jsp#hs5
0
 
LVL 24

Accepted Solution

by:
shivsa earned 250 total points
ID: 10315993
the question is answered.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 57
How to split this in C++ 4 94
mapShare challenge 13 90
How to obtain Administrator permission when you are the Administrator 6 66
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now