LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-11-2004, 03:58 PM   #1
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Rep: Reputation: 30
Mfcheck + Qmail on a cable modem.


I have 2 email servers. One is running on a t1 and the other is running on a cable modem. The one on a t1 has the mfcheck patch running. We can email people on the cable modem server without any problem. However when the cable modem server emails the t1 server I get no emails and nothing in my logs to show it recieved it. The cable modem server's logs show it sent fine without a problem. I believe this might be caused because the cable modem has a valid domain but the ip is reversed to one of our isp's hostnames. Has anyone ever had this problem with qmail or the mfcheck patch? Or can anyone give me a clue because I have racked my brain completely. Thanks

Justyn
 
Old 08-12-2004, 09:17 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
mfcheck is supposed to do a reverse lookup on the domain part of the envelope sender. This ensures that you're able to bounce the message properly. So what domain are you using when you send messages to the mail server on your T1? Are you sure the messages aren't in the queue? Maybe you're looking at the wrong log. Be sure to look at the qmail-send logs on the sending mail server.
 
Old 08-12-2004, 10:22 AM   #3
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
Postive I'm looking at the right logs on the t1 server. Im using dtetechnologies.com which is pointed to our cable modem ip. No email stuck in the queue.


Justyn
 
Old 08-12-2004, 10:35 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Ok, let me be sure I understand... you mean everything on both systems was working fine before but now things are not working right? Or this is a new installation on both machines and you're trying to get them both working??? If these are new setups, then maybe there are basic delivery problems.

On your sending machine, there should be entries written to the qmail-send log or /var/log/maillog (depending on how you've got things setup) that shows qmail connecting to the remote IP address and delivering the message. You're saying there is NOTHING being written to the logs when you send mail?? Is it possible something is down? Maybe logging is not taking place? Run qmailctl stat and see if logging is running. Is it logging deliveries to other hosts but simply not logging for mail being sent to your T1?
 
Old 08-12-2004, 04:58 PM   #5
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
No. My cable server is using a older package of qmailrocks. I installed it before they had a slackware walkthrough. And I have manually updated all the packages by hand (qmail,qmailadmin,qmail-scanner,etc). The t1 server is a new box. Brand spanking new.

On the sending machine (my cable server) I see the t1 server has accepted the email in qmail-send logs. However on the reciever machine (t1 server) I dont get email nor do I see anything remotely related to the email in the logs. Nothing saying it was rejected either.

The odd thing is if I send from the cable server to the t1 server to an address that does not exist (thisaddressdontwork@myt1domain.com) I get a reply back from the t1 server that this person does not exist.

I'm ASSUMING this...
Since my domain hosted on my cable server is set to a cable ISP's ip. The t1 server is rejecting the email because when it does a dns reverse on the email the ip does not reverse back to my domain. It reverses back to my-ip.home.isp.com. I know I installed 2 anti-spam patches that are suppose to block email that dont reverse right (ie: mfcheck.patch)

Does this make sense? I've never ran into this problem. Any ideas?


Thanks

Justyn
 
Old 08-12-2004, 10:53 PM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
>> The t1 server is a new box. Brand spanking new.

Maybe something is misconfigured in there.

>> I see the t1 server has accepted the email in qmail-send logs

That's good. But doesn't tell us much because we know the configuration works because this machine has been running for a while without problems.

>> Nothing saying it was rejected either.

I recommend testing it via telnet, as that is easier and shows you the server's responses.

For example...

[root@slaveone root]# telnet falcon 25
Trying 192.168.0.60...
Connected to falcon.
Escape character is '^]'.
220 falcon.mydomain.com ESMTP
helo spammer
250 falcon.mydomain.com
mail from: aksdfh@lkdfhsldhf.hhj
553 sorry, your envelope sender domain must exist (#5.7.1)

This shows the mfcheck patch doing it job by trying to reverse lookup on the domain I put for the "mail from" line.

>> I get a reply back from the t1 server that this person does not exist.

Hmm... this certainly suggests that everything is configured right on the new box. But it's not normal for qmail to discard messages into the ether.


>> The t1 server is rejecting the email because when it does a dns reverse on the email the ip does not reverse back to my domain.


Your server will only do what you tell it to do. It will not do this by default.


>> I know I installed 2 anti-spam patches that are suppose to block email that dont reverse right (ie: mfcheck.patch)


What might the other one be?? This may be the issue. Maybe your patch didn't get applied properly. Maybe it's not logging properly. Maybe the patch you applied was bad.
 
  


Reply


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
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM
Cable modem insanebluecow Linux - Hardware 2 06-14-2003 01:39 PM
Cable Modem jasonk Linux - General 2 10-27-2002 07:52 PM
Cable Modem help please NeedingHelp Linux - General 1 06-18-2001 04:50 PM

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

All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration