LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-16-2005, 01:10 AM   #1
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Rep: Reputation: 15
Question QMail receives but doesn't send mail


Relevant Information
OS: Fedora Core 3
Mail: QMail
Router: netgear
Registrar: Godaddy.com
=============================

Hello. I have recently set up a mail server using qmail. I sent myself a test email from Gmail and Hotmail and I received both emails. But when I replied back to my Gmail and Hotmail accounts, no mail ever came through. I even checked the spam folders for each account, nothing was there. Does anyone have any idea what maybe the problem? If incoming mail is oK, what can be the source of the problem? I dont think are any problems with the router or MX configurations, for incoming mail is oK.

Can someone please help?

Thanks in advance.
 
Old 05-16-2005, 01:44 AM   #2
mike33
Member
 
Registered: Jul 2004
Location: Houston Tx
Distribution: kubuntu, Debian, Suse 10.2
Posts: 31

Rep: Reputation: 15
Take a look at the log files, in particular /var/log/syslog; you can see if the mail connection was refused; one possibility is that your ISP is blocking outgoing mail that is not sent through their designated mail server.
 
Old 05-16-2005, 09:55 PM   #3
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
No my ISP is not blocking port 25. In february I used to have both incoming/outgoing mail on a RH9 system. Then it crashed, I got busy with work, and never picked up on the project until now. I have now gone with the new Fedora Core but am having problems with my outbound mail. Can anyone please offer me another suggestion? Thanks in advance.
 
Old 05-16-2005, 11:33 PM   #4
mike33
Member
 
Registered: Jul 2004
Location: Houston Tx
Distribution: kubuntu, Debian, Suse 10.2
Posts: 31

Rep: Reputation: 15
Looking at the log files can really help, as I suggested earlier. Also it is a good idea to test various possibilities; indeed just because your ISP wasn't blocking mail a month or two ago doesn't mean that they aren't doing so now; mine (charter) wasn't blocking a year ago but they sure are now. It is easy to test;just telnet to any mailserver on the internet(port 25):
telnet mail.charter.net 25
If you get a connection refused response then you are probably blocked; if you connect then the problem is at your end.

Last edited by mike33; 05-16-2005 at 11:39 PM.
 
Old 05-17-2005, 01:51 AM   #5
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
this is what I get in the /var/log/qmail/qmail-send/current file....

deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ ...etc.

I have Google'd this and the answer's I found either dont relate to me or are no where close to helping me. Can someone explain why I'm getting that error message please?
 
Old 05-17-2005, 02:15 AM   #6
ysg08
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 21

Original Poster
Rep: Reputation: 15
I also can't telnet to any remote computer on port 25. this is what I get

telnet somedomain.com 25

Trying 69.xx.xx.xxx...
telnet: connect to address 69.xx.xx.xxx: Connection timed out
telnet: Unable to connect to remote host: Connection timed out
 
Old 05-17-2005, 11:05 AM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
It seems pretty clear that your ISP doesn't want you running servers on their connection. Doing so would probably violate their terms of service and could result in getting your account closed. Better check on that before you get too far.

If your ISP doesn't allow servers on your connection, you should consider getting a different internet plan, or consider getting a dedicated server at a real datacenter, or colocate your server at a datacenter.
 
Old 05-17-2005, 01:12 PM   #8
mike33
Member
 
Registered: Jul 2004
Location: Houston Tx
Distribution: kubuntu, Debian, Suse 10.2
Posts: 31

Rep: Reputation: 15
create the file (if it doesn't already exist) smtproutes in the directory /var/qmail/control/ and put the following line in it:
:myISPmailserver.com
where myISPmailserver.com is the domain name or ip address of your ISP's mailserver. All non-local mail will then be relayed to your ISP's mailserver which will then relay it to whereever it is supposed to go. You should restart qmail for the change to take effect.
 
  


Reply



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
i can't send mail in qmail by evolution phpvirus Linux - General 7 07-29-2005 10:53 AM
qmail queue -- can't send mail to anywhere -- please help me b:z *BSD 2 07-12-2005 08:30 AM
Qmail wont send mail to some addresses The_Nerd Linux - Software 5 01-03-2005 06:40 PM
send mail or qmail, which is better? mamta_k Linux - Software 0 06-22-2004 11:44 PM
Postfix/Squirrelmail receives but will not send kphinney Linux - Software 0 06-30-2003 07:55 PM

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

All times are GMT -5. The time now is 11:08 PM.

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