LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-06-2003, 08:44 PM   #1
robmainella
Member
 
Registered: Aug 2003
Posts: 30

Rep: Reputation: 15
I get a "relaying denied" message when I try to send mail from a remote computer


I am able to send email from my local computer but I cannot send email from a remote computer. When I try I receive a message saying "relaying denied". I can receive email from local systems. My ISP is from earthlink and I connect everything through a router using a virtual server. Can anyone tell me how to get around this. thanks
 
Old 09-06-2003, 09:10 PM   #2
charles168
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
You need to edit the /etc/mail/access and add an entry
to open the relaying function to outside.

/etc/mail/access

127.0.0.1 RELAY
<<host>> RELAY
.....
...

Finally, execute makemap to generate access.db
 
Old 09-06-2003, 09:15 PM   #3
robmainella
Member
 
Registered: Aug 2003
Posts: 30

Original Poster
Rep: Reputation: 15
does the relay have to be an IP address or can it be a name i.e. abd.net. Also how exactly do I run makemap.
thanks

Last edited by robmainella; 09-06-2003 at 09:27 PM.
 
Old 09-07-2003, 12:14 AM   #4
charles168
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
can be a name or IP address..

After editing the /etc/mail/access

# makemap -r hash /etc/mail/access.db < /etc/mail/access
 
Old 09-09-2003, 10:39 AM   #5
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 175

Rep: Reputation: 37
Or,

cd /etc/mail
make access.db

I find using the Makefile easier than remembering the makemap syntactica. But either way works, as long as you have access.db referenced in your sendmail.mc (if you are running any distro's stock configuration, you're OK).
 
  


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
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
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 09:08 AM
"Relaying Denied" by Sendmail colporteur Linux - General 2 12-27-2002 08:40 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration