LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-16-2004, 02:02 AM   #1
cholo
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
sendmail and dnsbl


Hi, I have a user who is on a VPS account running Webmin as a control panel on Linux 2.4.20-021stab022.4.777-smp Red Hat Enterprise Linux AS release 3 (Taroon Update 1).

He runs sendmail and wanted to use DNSBL, so I put the line:
FEATURE(`dnsbl',`sbl.spamhaus.org')dnl
in sendmail.mc, ran make, and I see that it's been added to sendmail.cf

It seems to work from sendmail test mode (I tested beforehand, and it did not work):

# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> .D{client_addr}192.203.178.107
> Basic_check_relay <>
Basic_check_rela input: < >
Basic_check_rela returns: $# error $@ 5 . 7 . 1 $: "550 Rejected: " 192 . 203 . 178 . 107 " listed at sbl.spamhaus.org"
> /quit


But when I send a test to nelson-sbl-test@crynwr.com
(per www . spamhaus.org/sbl/howtouse.html),
it says the block is not working. It shows the SMTP conversation:

220 domain.com ESMTP Sendmail 8.12.10/8.12.10; Mon, 15 Nov 2004 12:11:20-0800
helo sbl.crynwr.com
250 domain.com Hello sbl.crynwr.com [192.203.178.107], pleased to meet you
mail from:<>
250 2.1.0 <>... Sender ok
rcpt to:<root@domain.com>
250 2.1.5 <root@domain.com>... Recipient ok
[snip]

[It goes on to give the body of the message and show that the mail server accepts it. It also sent another message which said uh-oh, your sbl block is not working.]

On another machine that works (qmail + DNSBL), the test message stops right after the "rcpt to:" line and says:
451 www . spamhaus.org/SBL/sbl.lasso?query=SBL230
Terminating conversation


So, it works from test mode, but fails the nelson-sbl-test. And the logs don't show any hits either (he gets a lot of spam to his mail accounts, it's been a couple nights, so if it was working, surely he would've gotten some hits).


At first, I thought it wasn't reading the same cf file, but there is only one on the machine, so I assume it is. I don't know of any way of checking.

The only things I can think of that might be relevant: sendmail on his machine seems to be controlled by xinetd, i.e., it's not constantly running, but when mail comes in, a new sendmail process is spawned by xinetd. We've restarted xinetd, in fact, rebooted just to be sure, and it still doesn't make a difference.

My gut tells me it's somehow xinetd related, but really, I'm at a loss.

Thanks for any suggestions.
 
  


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
sendmail behind router fails with 553 DNSBL sixerjman Linux - Networking 1 11-21-2005 08:26 AM
trouble with DNSBL jsheffie Linux - Networking 6 03-29-2005 03:53 PM
Create my own DNSBL? wytiger Linux - Security 3 10-21-2004 01:38 AM
Sendmail, m4 configuration for dnsbl jastorqu Linux - Networking 0 05-27-2004 05:24 PM
sendmail, dnsbl and access benjithegreat98 Linux - Software 0 12-15-2003 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 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