LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2002, 11:03 AM   #1
hux
LQ Newbie
 
Registered: Feb 2002
Distribution: RedhHat 7.2
Posts: 9

Rep: Reputation: 0
I am *almost* there - RedHat 7.2


Hi,
I've searched far and wide for this answer, can't seem to find a fix that works...

RH 7.2
sendmail
qpopper - don't think it's the problem, though

I am able to receive emails to my domain, no problem..I am able to send emails to other users within my domain, no problem. It's when I use my box as an outgoing mail server to an external domain that I get relaying denied error..nothing about a hostname lookup, or unresolvable host...just relaying denied. I tried adding my domain in the relay-domains file in /etc/mail like so:

mail.foo.com

and

foo.com

with no joy...I also m4'ed sendmail.mc, but I didn't see much in there about smart relaying, which is what I saw in several places to do.

I ran into this with RH 7.1, but can't remember how I ended up fixing it. My goal is that my local users can use the server as an outgoing mail server after logging in with their pop client.

any ideas? I feel it must be something minor, just can't figure out what.

I'm also running webmin, so if anyone knows of a way to set it up in that I'm game.
 
Old 02-09-2002, 01:26 PM   #2
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
Check out this site and see if it solves your problems -

http://www.sendmail.org/tips/relaying.html

Look at the last few paragraphs on the page.. the rest is just an overblown explanation.

Last edited by ryanstrayer; 02-09-2002 at 01:27 PM.
 
Old 02-10-2002, 11:10 AM   #3
hux
LQ Newbie
 
Registered: Feb 2002
Distribution: RedhHat 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
thanks, that looks promising..not sure how I missed it before, I thought I had seen every single page on the sendmail site

what would the syntax be if I wanted to allow relaying to any domain? for example:

* RELAY

or

ALL RELAY

?

thanks again, this is the last piece of bringing my server up.
 
Old 02-10-2002, 07:15 PM   #4
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
I couldn't really tell you - I don't know much about sendmail.. probably just enough to be dangerous. But from the two seconds I glanced through that paragragh, it looked like this file what to allow which domains to allow on your side of the network, not what your sending to.... but I could be wrong. If that isn't the case, then yea I'd try what you said, or maybe *.* or add all the basic, *.com, *.net, *.gov, *.org ..
 
Old 02-11-2002, 01:27 PM   #5
hux
LQ Newbie
 
Registered: Feb 2002
Distribution: RedhHat 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
further weirdness...my cgi scripts have no problem sending emails out to any domain...but I continue to get the relaying denied error when using a client like outlook.

I tried adding ALL:RELAY to that file, still no go.
 
Old 02-15-2002, 11:56 AM   #6
hux
LQ Newbie
 
Registered: Feb 2002
Distribution: RedhHat 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
am I the only person to hit this?

further weirdness:

If I ssh in and use pine, I can email to anywhere, no problem.

still the relaying denied error if I'm using a client.
 
Old 02-17-2002, 07:21 PM   #7
kestrel
LQ Newbie
 
Registered: Feb 2002
Distribution: RH
Posts: 1

Rep: Reputation: 0
As I recall, you have to use the access.db / makemap to enable it to relay from other machines.

I am having a related problem, where I cannot telnet to the machine on port 25. This is a new install and about a year since I last dealt with it. If anyone is familiar with Rh 7.2 and can assist, would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Enterprise 3 08-13-2005 01:28 PM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Software 3 08-12-2005 11:18 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Newbie 1 08-11-2005 05:11 PM
redhat-config-packages error (thinks it is redhat and not fedora) qwijibow Fedora 3 12-17-2003 09:59 PM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 06:50 AM


All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration