LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-25-2002, 11:55 AM   #1
colporteur
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Rep: Reputation: 0
Exclamation "Relaying Denied" by Sendmail


I recently took back control of my network from some less than honorable employees, but that is history....

During their tenure (about 8 months ago) sendmail started to error out with "Relaying denied". The girls in the office can email anyone and I can send mail to all on our network (win2k PDC + numerous linux boxes), but from a remote location I CANNOT SEND MAIL TO ANYONE!!!!

help will be most appreciated....

thanks,

david
 
Old 12-26-2002, 10:11 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Most likely its not on your network but with whatever ISP your using outside, try selecting the option to make your outgoing mail server to use authentication and try it then. If that doesn't work its most likely blocked and you can most likely use your ISP outside of your network outgoing SMTP server.
 
Old 12-27-2002, 08:40 AM   #3
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Uh...

Mail relaying is off by default. I think it has been for a couple of releases now.

The problem is that you're not on your network and you want to send mail, using a machine which *is* on your network.

Now, you can configure the mail server to accept mail from people not on it's network, and to send them out. And this is called a mail relay, because it's relaying mail from some place to another - essentially, taking the baton from the previous mailer.

Problem is this : How do you stop others from also using your mail system from sending *their* mail? How does your machine know it's you, and to only relay mail from you, and not from joe spammer who discovered your machine and is now using it to send out his 15k emails describing the exciting opportunity of working from home...

The answer is smtp.auth :

SMTP AUTH allows relaying for senders who have successfully authenticated themselves. Per default, relaying is allowed for any user who authenticated via a trusted mechanism, i.e., one that is defined via
[blah]

http://www.sendmail.org/~ca/email/auth.html

I would *seriously* advise calling someone in to set this up though. Operating an 'open relay' is exceptionally bad. You won't make friends, and an incorrectly configured gateway can lead to your mail not reaching *anyone* because it's been blacklisted.

Oh.. And the relaying denied is a *good* thing. If your less than honourable employee's had been less honourable, they would have opened it up and let the world in to use your mail server

Slick.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to send email "Relaying denied" ejain Linux - Software 3 05-30-2005 09:31 AM
Unable to send email "Relaying denied" ejain Linux - Software 2 05-21-2005 08:02 AM
Email "Relaying denied" (sendmail) Wynand1 Linux - Networking 1 04-06-2005 07:47 AM
I get a "relaying denied" message when I try to send mail from a remote computer robmainella Linux - Software 4 09-09-2003 10:39 AM
sendmail: "permission denied" when using include:/file sohmc Linux - Software 1 05-22-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration