Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-30-2004, 10:24 AM   #1
LQ Newbie
Registered: May 2004
Posts: 6

Rep: Reputation: 0
unable to send email from outside of the local network


I am slowly trying to migrate from windoze world into linux world. Tiz a painful process.

I created my own mailserver on my linux box. To the best of my knowledge it is working fine. My laptop has windows, and i use oulookexpress (pop3) as my mailclient. sendmail is running on the linux box.

when i am on my local network, i can send and receive emails just fine from both the linux box and the laptop. only if i leave my local network, and take my laptop on the road i run into problems. I can pull my email from the server without a problem, but i cannot send. The error that i get points me to "relaying denied".

I have played with both "access" and "relay-domains" file and no dice. Ports (25 and 110) are working fine coz i can send just fine from within the local network.

Any pointer would be fantastic


Old 06-03-2004, 11:35 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
I'm not really sure but:

Isn't it a matter of firewall? Do you have any running on the linux box?
Don't you have to authenticate, in order to send mail?
If your mail server can relay from inside the local net, but not from outside, maybe its some security setting.
How about your ISP?

Relaying mail has been considered a potentially dangerous breach, and a bandwidth vortex, for spammers. These guys scan the whole internet, looking for open relays. Take a look at this:
Old 06-05-2004, 10:53 AM   #3
Registered: Jul 2003
Location: Norway
Posts: 65

Rep: Reputation: 15
Hi. Did you find a solution Andreja? I have same problem. They can receive mail (pop3, port 110), but they cannot send using smtp (port 25, same as sendmail server uses). Locally I can send and receive from windows outlook express, and they can send to the users of my local area network, but they cannot send to others, like hotmail from their computers (their computers are not on my local area network, but in other towns and coutries).

They use Windows Outlook express by the way, and have normal ISP (modem or ADSL with no fixed IP). Is it a safe way (without being an open relay) to let them send mail to, say, hotmail, via my server (I thought to send it through my server so that the mails they send doesn't go to the junk mail because some spam filter DNS failure, my domain and their ISP does not match.. And I use a ISP too, with the MX record of my domain name pointing towards my IP address )


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
Email Server Able to see Local Network but not Internet?? thiessenstuart Linux - Networking 3 08-24-2005 02:29 PM
why does FTP server send local network address in passive mode? edesmarais Linux - Newbie 11 03-16-2005 12:33 AM
Unable to send/receive email newlinuxgeek Linux - Software 2 01-10-2005 09:07 AM
Email works on local network but internet doesn't nixclueless Linux - Networking 1 07-06-2004 08:12 PM
Unable to send or receive email dcroxton Linux - Networking 0 04-29-2004 07:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration