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
|
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 |
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 |
can be a name or IP address..
After editing the /etc/mail/access # makemap -r hash /etc/mail/access.db < /etc/mail/access |
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. |