🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #75428

Re: Daily Usenet Report Stops

#75428
From: John F. Morse
Date: Fri, 09 Mar 2007 18:29
137 lines
7227 bytes
Russ Allbery wrote:
> John F Morse <xanadu.bbs@example.net> writes:
>
>   
>> I've throttled, rc.stop, rc.start all successfully, but still no Daily
>> Report at midnight. I finally rebooted the computer (Debian 3.1 Sarge,
>> INN 2.4.3) and still get no Daily Report.
>>     
>
> Not getting a daily report is generally going to be a mail problem of some
> sort rather than a problem with INN itself, as long as news.daily is still
> running.  innreport runs independently from cron.  I would double-check
> that the cron job to run news.daily is still there, that you can send
> e-mail as whatever user NEWSMASTER is set to in ~news/lib/innshellvars and
> receive it successfully, and see if there are any errors in your mail
> logs.
>
> Also double-check that there aren't any lingering processes on the system.
> Sometimes something really strange happens to news.daily (particularly if
> there are nacent hardware problems) and it never finishes or takes an
> extremely long time.

I tend to believe your e-mail theory.

After some investigating and sending some test e-mail from the INN 
optima5 server, and then checking:

------------------------------------------------------------------------

john@optima5:~$ mail
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/john": 6 messages 6 unread
 >U  1 Mailer-Daemon@opt  Thu Mar 08 21:46   41/1610  Mail delivery 
failed: returning message to sender
 U  2 Mailer-Daemon@opt  Thu Mar 08 21:46   41/1610  Mail delivery 
failed: returning message to sender
 U  3 Mailer-Daemon@opt  Thu Mar 08 22:23   41/1582  Mail delivery 
failed: returning message to sender
 U  4 Mailer-Daemon@opt  Thu Mar 08 22:24   41/1582  Mail delivery 
failed: returning message to sender
 U  5 Mailer-Daemon@opt  Thu Mar 08 22:25   41/1582  Mail delivery 
failed: returning message to sender
 U  6 Mailer-Daemon@opt  Thu Mar 08 22:25   41/1582  Mail delivery 
failed: returning message to sender
& 1

Message 1:
 From MAILER-DAEMON Thu Mar 08 21:46:28 2007
Envelope-to: me@optima5.my.net
Delivery-date: Thu, 08 Mar 2007 21:46:28 -0600
X-Failed-Recipients: myself@an_isp.net
Auto-Submitted: auto-generated
From: Mail Delivery System <Mailer-Daemon@optima5.my.net>
To: me@optima5.my.net
Subject: Mail delivery failed: returning message to sender
Date: Thu, 08 Mar 2007 21:46:28 -0600

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  myself@an_isp.net
    (generated from root@optima5.my.net)
    SMTP error from remote mailer after RCPT TO:<myself@an_isp.net>:
    host my.net [74.123.456.789]: 591 No mail will be accepted. Your 
host is in a Black List. Rejected - zen.spamhaus.org

------ This is a copy of the message, including all the headers. ------

Return-path: <me@optima5.my.net>
Received: from me by news with local (Exim 4.50)
        id 1HPW3n-0004bi-UM
        for root@optima5.my.net; Thu, 08 Mar 2007 21:46:27 -0600
To: root@optima5.my.net
Subject: *** SECURITY information for news ***
From: "John F. Morse" <me@optima5.my.net>
Message-Id: <E1HPW3n-0004bi-UM@news>
Date: Thu, 08 Mar 2007 21:46:27 -0600

------------------------------------------------------------------------

There were earlier frozen messages which were the missing Daily Usenet 
Reports. However I discovered an RBL was blocking "me" from sending to 
"me." ;-)

Since this optima5 INN server is on a separate LAN (a different WAN IP, 
obtained by using a switch after the cable modem), it sends mail via the 
Internet instead of the LAN, like optima7 does. Optima7 also has the use 
of the local BIND DNS server, so optima7's e-mail doesn't leave the 
building. Furthermore, it is coming from a different IP net block, which 
evidentially is not blacklisted by spamhaus.

Here are the two pertinent MTA log entries for 20070304, the day this 
started:

00:00:54 1 SMTP-273([64.123.456.789]) SPAM? Recipient '<me@my.net>' rejected: sending host is blacklisted, "Rejected - zen.spamhaus.org"
00:00:54 1 SMTP-274([64.123.456.789]) SPAM? Recipient '<me@my.net>' rejected: sending host is blacklisted, "Rejected - zen.spamhaus.org"

(Sorry I have to munge all IP and domain info, but this group is 
frequented by persons of questionable character. They keep me quite busy 
creating message filters.) ;-)

I have removed the PBL block at spamhaus.org, so we'll see what happens 
tonight at midnight.

I've also taken the time to make sure optima5 is really who it is, and 
have replaced all instances of the "news" hostname with optima5 
everywhere it appeared (throughout INN, resolv.conf, hosts, hostname, 
Exim4, etc).

Adding to the confusion, although happening slightly earlier and not 
affecting the Daily Usenet Reports, was that the optima5 WAN IP was 
changed on 20070221 when the ISP received a new net block to relieve the 
original one. This caused me a day of no optima7 INN activity because my 
"main" LAN became unreachable from the WAN. I'd had that IP since 
20040924, and was using tzo.com DDNS, a built-in feature of the Linksys 
BEFSR41 router. It failed to switch the IP when it changed. It is good I 
use Fetchmail to bring most of my mail into my MTA, or I could have also 
lost mail (until it was resent).

On the same day I was smack dab in the middle of moving my domain from 
one registrar to another and renewing it. This caused a short outage 
until DNS propagated. It also caused me to completely overlook the IP 
changes at the ISP, since I was looking for the two registrars to do 
their thing. <grrr>

Nothing like fighting simultaneous problems from every direction!

Did you get a chance to think about the other problem concerning the 
unwanted.log?

-- 
John 

No Microsoft products were used in the
preparation or transmission of this message.
Technical Details
Message-ID: <SHhIh.49201$as2.7126@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <XqXHh.45958$as2.31590@bgtnsc05-news.ops.worldnet.att.net> <87y7m7y27w.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <SHhIh.49201$as2.7126@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Daily Usenet Report Stops
Date: Fri, 09 Mar 2007 18:29:06 GMT
From: "John F. Morse" <xanadu.bbs@example.net>
References: <XqXHh.45958$as2.31590@bgtnsc05-news.ops.worldnet.att.net> <87y7m7y27w.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@example.net
Organization: Xanadu BBS
User-Agent: Thunderbird 1.5.0.10 (X11/20070306)
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <87y7m7y27w.fsf@windlord.stanford.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 137
NNTP-Posting-Host: 11d4332c7e947984e6c988818bddee52
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1173464946
NNTP-Posting-Date: Fri, 09 Mar 2007 18:29:06 GMT