Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 11:26:05 -0700
From:      Gary Kline <kline@tao.thought.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Gary Kline <kline@tao.thought.org>, freebsd-questions@freebsd.org
Subject:   Re: tao.thought.org is back.....
Message-ID:  <20061020182605.GA6770@thought.org>
In-Reply-To: <20061020120816.GA5512@gothmog.pc>
References:  <20061018211258.GA1350@thought.org> <20061018215708.GB93083@gothmog.pc> <20061019001443.GC3342@thought.org> <EA1428C1-A621-4DC4-85DD-02C208EBF62C@mac.com> <20061019193854.GC11212@thought.org> <20061019214725.GA1683@gothmog.pc> <20061020051000.GA2419@thought.org> <20061020120816.GA5512@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 20, 2006 at 03:08:16PM +0300, Giorgos Keramidas wrote:
> On 2006-10-19 22:10, Gary Kline <kline@tao.thought.org> wrote:
> >On Fri, Oct 20, 2006 at 12:47:25AM +0300, Giorgos Keramidas wrote:
> >>On 2006-10-19 12:38, Gary Kline <kline@tao.thought.org> wrote:
> >>>On Wed, Oct 18, 2006 at 05:22:44PM -0700, Chuck Swiger wrote:
> >
> >	[[ ... ]]
> >
> >>> I see an example as the equivalent of 10K words.
> >> 
> >> I'll let Chuck write what he had in mind :)
> >> 
> >>> Is there any way of testing this after I have set up my table
> >>> entries?  In other words, how do I re-initialize things without
> >>> having to  (ugh) *reboot*.
> >> 
> >> If you modify `mailertable' in `/etc/mail', you should be able to run:
> >> 
> >>     # cd /etc/mail
> >>     # make mailertable.db
> >> 
> >> to update it.  A reboot is not necessary for Sendmail changes.
> > 
> > For unknown reasons, mail started to be "refused" from my mailserver
> > just as I was heading out this afternoon.  It may have been a bad DHCP
> > lease, ??
> 
> It's hard to guess without seeing the log file entries for the rejected
> messages.  Can you _please_ show us the logs, instead of describing the
> results in broad terms?

	See appeneded.  

> 
> > Anyway, a make restart and other reinitializations didn't seem to
> > work, so my next guess is that I didn't restart my maps, databases
> > correctly.
> 
> Maps are not 'restarted'.  They are parsed to *.db files.
>
	This is what I'd thought.  I have a script that adds to
	access, then calls a script to create access.db.  Another 
	script does both access and virtusertable.  No other database
	or map files are touched.


> What does your `/etc/mail/HOSTNAME.mc' file contain?
> 
> What do the map files referenced by it contain?

	I'm surprised that these files are referenced::

 
 FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
 FEATURE(mailertable, `hash -o /etc/mail/mailertable')
 FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')


> 
> How did you perform the `reinitializations' mentioned above?
> 


	Well, for years I have kill -9'd sendmail and then restarted 
	it.  This by a csh alias.   From the /etc/mail/Makefile, it 
	looks like I can do the same thing more correctly by Makefile.

> > If I ever have enough courage to test these theories in the next 95
> > years, I'll know.  Meanwhile, I've got to beg help from some REAL
> > system admins here.
> 
> I don't like 'REAL' in the above lines, but you are free to use whatever
> you are more comfortable with.
> 

	I was not referring to anyone on this list!  Sometimes I
	credit myself as the System Admin for thought.org, but the 
	truth is that I'm barely a REAL system admin; that was the
	reason behind my quip.  I don't even play a sysadmin on TV.... 


-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix

/*
 * several lines of mail being rejected yesterday afternoon
 */





3929:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3930:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
3931:Oct 19 13:08:56 sage sm-mta[8263]: k9JK8Jfs008260: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=87298, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
3944:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3945:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
3946:Oct 19 13:11:29 sage sm-mta[8283]: k9JKAurL008281: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88056, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
3959:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3960:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
3961:Oct 19 13:14:50 sage sm-mta[8286]: k9JKECg4008284: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=90569, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
3974:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3975:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
3976:Oct 19 13:16:02 sage sm-mta[8300]: k9JKFOTQ008298: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88247, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
3989:Oct 19 13:17:19 sage sm-mta[8311]: k9JKGlf0008303: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
3990:Oct 19 13:17:19 sage sm-mta[8311]: k9JKGlf0008303: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
3991:Oct 19 13:17:19 sage sm-mta[8311]: k9JKGlf0008303: to=<kline@thought.org>, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=89550, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
4004:Oct 19 13:17:51 sage sm-mta[8313]: k9JKHIVE008309: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
4005:Oct 19 13:17:51 sage sm-mta[8313]: k9JKHIVE008309: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
4006:Oct 19 13:17:51 sage sm-mta[8313]: k9JKHIVE008309: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88750, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
4025:Oct 19 13:19:18 sage sm-mta[8318]: k9JKIkgb008315: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
4026:Oct 19 13:19:18 sage sm-mta[8318]: k9JKIkgb008315: --- 050 <kline@tao.thought.org>... Deferred: Connection refused by
tao.thought.org.
4027:Oct 19 13:19:18 sage sm-mta[8318]: k9JKIkgb008315: to=<kline@tao.thought.org>, delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=33630,
 relay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
4040:Oct 19 13:19:47 sage sm-mta[8320]: k9JKJE8S008316: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
4041:Oct 19 13:19:47 sage sm-mta[8320]: k9JKJE8S008316: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
4042:Oct 19 13:19:47 sage sm-mta[8320]: k9JKJE8S008316: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=88466, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
4055:Oct 19 13:20:58 sage sm-mta[8329]: k9JKKQwl008327: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
4056:Oct 19 13:20:58 sage sm-mta[8329]: k9JKKQwl008327: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.
4057:Oct 19 13:20:58 sage sm-mta[8329]: k9JKKQwl008327: to=<kline@thought.org>, delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=87668, rel
ay=tao.thought.org. [10.0.0.247], dsn=4.0.0, stat=Deferred: Connection refused by tao.thought.org.
4070:Oct 19 13:22:15 sage sm-mta[8332]: k9JKLW0w008330: makeconnection (tao.thought.org. [10.0.0.247]) failed: Connection refused by
tao.thou
ght.org.
4071:Oct 19 13:22:15 sage sm-mta[8332]: k9JKLW0w008330: --- 050 <kline@thought.org>... Deferred: Connection refused by
tao.thought.org.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061020182605.GA6770>