LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-27-2001, 11:55 PM   #1
lesath
LQ Newbie
 
Registered: Apr 2001
Posts: 3

Rep: Reputation: 0
Question


I have a Redhat 7.0 box acting as a router between my LAN and the internet over a cable modem. Everything works great, including games or voice even, just not SMTP.

When trying to send a message with Outlook, for instance, it gives an error message saying "relaying denied".

(BTW - this is trying to use an email account which is NOT that of the linux server, just another one)

To me it just sounds like I somehow have to enable port 25 to be forwarded as well, but I'm not quite sure if that's right, or how to do it for that matter.

Any help someone could offer would be great. Thanks!

j.
 
Old 05-28-2001, 06:04 AM   #2
suid
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0
Your client needs relay permissions.. You can specify that in the sendmail config files in /etc/sendmail

 
Old 05-28-2001, 08:03 AM   #3
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Use mailconf command. It will be very userful
siddiqu.t
 
Old 05-28-2001, 08:26 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If you don't want to hack your sendmail.cf file directly try creating a file called 'relay-domains' in /etc/mail (thats where it is on mine) and simply adding your domain to it. Literally, a text file that holds some.domain.com. You might also want to add a Cw line to your sendmail.cf file, just put it under the existing one (somewhere near the top I would expect)
Code:
Cwsome.domain.com
note the lack of space between the Cw and the domain. This will stop sendmail moaning when relaying mail to user@your.domain.com as opposed to user@somemachine.your.domain.com.

HTH

Jamie...
 
  


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
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Postfis SMTP forwarding and Incoming SMTP pheasand Linux - Software 0 04-27-2005 05:32 PM
Mail forwarding via smtp w/rules Greg21 Linux - Software 1 04-29-2004 02:03 AM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 03:49 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:25 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