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 11-16-2004, 02:02 AM   #1
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:
in, ran make, and I see that it's been added to

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}
> Basic_check_relay <>
Basic_check_rela input: < >
Basic_check_rela returns: $# error $@ 5 . 7 . 1 $: "550 Rejected: " 192 . 203 . 178 . 107 " listed at"
> /quit

But when I send a test to
(per www .,
it says the block is not working. It shows the SMTP conversation:

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

[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 .
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.


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 > Forums > Linux Forums > Linux - Software

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