LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-01-2002, 05:34 PM   #1
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
Qmail wont send to Remote users!


Qmailers,

Very interesting problem going on here. Installed Qmail on Redhat 8.0 and I am able receive mail from remote addresses as well as local users. The problem is it just wont send out email to remote users. When I checked the smtpd logs, it tells me

Sorry: I couldnt establish an SMTP connection.

Here is a picture of what I am seeing:

local user to locat user: Success
remote user to local user: Success
local user to remote user: Fail

This Qmail Server is running behind an IPTABLEs firewall and I can do ping and nslookups (using the mx switch) and connect to the remote mail servers but it just wont send mail out? I also have the correct entries in my DNS server indicating this box as the mail exhanger.

Has anyone experienced this ? Any ideas where I should start looking to fix this problem and what modules control connecting to a remote SMTP transaction.

Thanks Guys.
 
Old 12-02-2002, 05:01 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Sending mail from a local address to a remote address is called "RELAYING"

Check the rules you have to allow specific users or authorised users to RELAY
 
Old 12-02-2002, 12:00 PM   #3
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks peter_robb,

Checked that . This is a copy of what my tcp.smtp file reads:

127.:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow


and this is started as an option with the qmailctl script. So this should allow me to send email from any of my LAN clients with the 192.168.1.* address right ? Funny thing is it doesnt even send from the mail server itself (127.0.0.1) which is listed also in the tcp.smtp file listed above.

Double checked and rebuilt the cdb files but still no go. Any other suggestions ?

Thanks Man.
 
Old 12-02-2002, 09:36 PM   #4
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
Hey Guys,

Figured out why it wasnt sending to remote address. My firewall was dropping the packets. I opened up the ports 25 and voila.

I should have tried telnet to port 25 from the command line to a remote mail server (Duh!!) and that would have pointed me in the right direction .


So all I did to test was
telnet mail.yahoo.com 25 :

And once i got the response back, boom all my messages in my queue started going out. Just thought i would say what happened in case it helps someone.

Thanks Guys.
 
  


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
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-19-2016 11:27 PM
Qmail wont send mail to some addresses The_Nerd Linux - Software 5 01-03-2005 06:40 PM
qmail wont send messages The_Nerd Linux - Software 5 11-26-2004 01:37 PM
qmail - Can't send out to the world? LampMan Linux - Software 2 08-12-2004 04:00 PM
qmail wont send email to addresses not in my domain robmainella Linux - Software 2 02-02-2004 05:37 PM

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

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

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