LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I get a "relaying denied" message when I try to send mail from a remote computer (https://www.linuxquestions.org/questions/linux-software-2/i-get-a-relaying-denied-message-when-i-try-to-send-mail-from-a-remote-computer-90034/)

robmainella 09-06-2003 08:44 PM

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

charles168 09-06-2003 09:10 PM

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

robmainella 09-06-2003 09:15 PM

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

charles168 09-07-2003 12:14 AM

can be a name or IP address..

After editing the /etc/mail/access

# makemap -r hash /etc/mail/access.db < /etc/mail/access

Medievalist 09-09-2003 10:39 AM

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).


All times are GMT -5. The time now is 05:10 AM.