Solved

external mails are not working

Posted on 2001-07-26
9
233 Views
Last Modified: 2010-08-05
hello friends,
I am facing problem while sending mails from my outlook express through linux server ( Sendmail is configured linux server), but it goes from server directly
the error reported is :
----
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'snathan141@yahoo.com'. Subject 'testing mails', Account: '203.197.91.66', Server: 'semco.semco.co.in', Protocol: SMTP, Server Response: '551 <snathan141@yahoo.com>... we do not relay', Port: 25, Secure(SSL): No, Server Error: 551, Error Number: 0x800CCC79

(note : the same problem is faced by all users)

any help would be appriciated
Thanks
0
Comment
Question by:nathan141
9 Comments
 
LVL 3

Accepted Solution

by:
tdaoud earned 50 total points
Comment Utility

You need to enbale your server to accept mail from your local machines to send it outside.  You do that by going to the directory /etc/mail, there you edit the file "access" and add the following line in it

192.118.88.   RELAY

if your domain starts with 192.118.88.XXX.  This tells senmail to accept mail from these stations to be relayed to outside.

Then after you modify the "access" file, you need to run the command "make" while you are in the directory /etc/mail.

Tarik
0
 

Author Comment

by:nathan141
Comment Utility
No its not working
0
 
LVL 3

Expert Comment

by:tdaoud
Comment Utility

Just to confirm that you noticed the dot "." at the end of the first 3 parts of an IP address to indicate the IP beginning of.

Another thing is how are people putting their "From" adress in outlook settings?  Are they using user@your.domain or some other domain names?

You also have

127.0.0.1    RELAY

in your access file?

Tarik
0
 

Author Comment

by:nathan141
Comment Utility
ANOTHER THING i NOTICED IS THAT WHEN TRY TO PING THE LINUX SERVER FROM SAME MACHIEN ITS SAYING NETWORK UNREACHABLE, BUT ITS PINGING FROM ANOTHER MACHINE
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Expert Comment

by:reason100
Comment Utility
What version of Sendmail are you running?

To find out do the following:

1. At command prompt type:  telnet localhost 25
2. Write down the Sendmail Version.
3. Type "quit" to disconnect from port 25.

-Rod
0
 
LVL 2

Assisted Solution

by:ifincham
ifincham earned 50 total points
Comment Utility
Hi,

Most ISPs running SMTP servers do not 'relay' mail to prevent being used to distribute spam, etc. They require that the original point is their own smtp server and not another prior smtp server such as sendmail on a linux box.
See --> http://www.mail-abuse.org/dul/enduser.htm .

So your smtp server needs to be configured to co-exist with this situation. As explained in --> http://www.mail-abuse.org/dul/gateways.htm , you need to add some code to your sendmail config to masquerade as the ISP's smtp server :

define(`SMART_HOST',`mail.yourisp.net')dnl <--- Your ISP's mail server name goes here
MASQUERADE_AS(yourisp.net)dnl  <--- Your ISP's domain name goes here
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl

You add these lines to your sendmail macro file, i.e. edit /etc/mail/sendmail.mc (location on redhat - others may be  /etc/sendmail.mc) and then compile the updated macro file into a new sendmail.cf :

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

(I'd suggest making a copy of the existing sendmail.cf first in case of problems)

Then restart sendmail with '/etc/rc.d/init.d/sendmail restart' and check for error messages with 'tail /var/log/messages'. If all looks OK it should now work.

Hope this helps, Iain
0
 

Expert Comment

by:CleanupPing
Comment Utility
nathan141:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 7

Expert Comment

by:troopern
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between tdaoud & ifincham.
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

troopern
EE Cleanup Volunteer

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

763 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

5 Experts available now in Live!

Get 1:1 Help Now