Linux-Misc Digest #909, Volume #24               Fri, 23 Jun 00 21:13:01 EDT

Contents:
  Re: Weird email to FETCHMAIL-DAEMON (long) (David Steuber)
  Re: Group membership - any limit ? (Colin Smith)
  Re: Choice of Linux / Unix as second OS ("Mike Webb")
  Re: No data displayed by ntop 1.3.1. (Hal Burgiss)
  Re: Choice of Linux / Unix as second OS
  Re: GNU/LINUX at city of Boston Public Library departments
  Re: GNU/LINUX at city of Boston Public Library departments (Charles Demas)
  Re: HALTING Linux EXACTLY when I WANT TO.......!!!!!*smile* ([EMAIL PROTECTED])
  Re: Newbie: Shell Script ([EMAIL PROTECTED])
  Re: Newbie: Shell Script ([EMAIL PROTECTED])
  linux suse 6.4 and dual pentirum ("jan roth")

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

Subject: Re: Weird email to FETCHMAIL-DAEMON (long)
From: David Steuber <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2000 00:00:02 GMT

[Posted and mailed]

[EMAIL PROTECTED] (Rod Smith) writes:

' [Posted and mailed]
' 
' It would help in interpreting your headers to know how your mail system
' is set up -- for instance, what your domain and machine names are, what
' sort of spam filters you have installed locally, etc. I'll take a jab at
' it, though....

Thanks.

Here is a general overview of how I am set up.

I have sendmail configured to send outgoing mail to my DSL provider.
The mail server I use is called smtpout.bellatlantic.net.

I have 4 different POP3 mail accounts that I check with fetchmail.
One of them is my account with BA.  The other three are with my ISP who
hosts my david-steuber.com domain.  I pick up mail that is addressed
to david-steuber.com from a server called email.steuber.com.

I use a typical setup in ~/.fetchmailrc to poll the POP3 servers.  For
all four accounts, the rule is that the mail in the POP3 account goes
to `david' here.

The headers make me believe that fetchmail is bouncing messages using
FETCHMAIL-DEAMON.david-steuber.com in the From header.  I am not using 
procmail or any other filters that I am aware of.  AFAIK, all the mail 
should end up in /var/spool/mail/david and _not_ be forwarded
elsewhere.  Clearly it is.  As the mail is from my domain, the rule in 
sendmail.cf is not going to recognize the bogosity of the from
address.

I am assuming fetchmail is the culprit because of the headers.  I
suppose it could be sendmail, but then why would
FETCHMAIL-DAEMON.david-steuber.com appear in the From header?

Normally, I have no problem with SMTP rfc-822 headers.  But this is an 
exceptional case.  The Received headers are not in the normal order of 
relayed mail.  The spamfilter that BA uses (I'm assuming it is them)
to bounce back the mail that fetchmail apparantly forwards does not
include the body of the message.  Heck, the mail I get is such a
complete mess that I couldn't figure out what was going on.  That is
why I decided to post, in the hopes that someone more familiar with
fetchmail could tell me what is up.

Perhaps I should put some entries in /etc/aliases, but I am not at all 
sure that would help.  I normaly get the mail sent to my accounts,
including the trashcan account.

I also find it odd that the spamfilter that BA uses bounces the mail
to email.steuber.com instead of mailn.bellatlantic.net.  I should be
picking up the bounces from a different account.  Perhaps this is a BA 
issue.  Or perhaps it is because BA sees the From header as being from 
the david-steuber.com domain and that is why it sends the mail there.

All this tells me that fetchmail is the problem.  If fetchmail is not
the problem, then I am extremely confused.  I've used fetchmail for
several revisions now without changing my ~/.fetchmailrc file.
Perhaps there is some new control word I need to add or something?

# Configuration created Thu Dec 17 19:29:08 1998 by fetchmailconf
set logfile "/home/david/.fetchmail.log"
set postmaster "david"

poll email.steuber.com with proto POP3 and options no dns timeout 30
    user "user" there with password "password" is david here 
options no rewrite

There are no clues in the _huge_ file ~/.fetchmail.log.  I've just
truncated it to see if I get an indication the next time this
happens.  All I saw in the file were the normal connects.  Nothing
about forwarding the mail.

' > From [EMAIL PROTECTED]  Wed Jun 21 22:18:30 2000
' > Return-Path: <[EMAIL PROTECTED]>
' > Received: from localhost (david@localhost [127.0.0.1])
' >     by solo.david-steuber.com (8.9.3/8.9.3) with ESMTP id WAA12782
' >     for <david@localhost>; Wed, 21 Jun 2000 22:18:30 -0400
' > Received: from email.steuber.com
' >     by localhost with POP3 (fetchmail-4.7.8)
' >     for david@localhost (single-drop); Wed, 21 Jun 2000 22:18:30 -0400 (EDT)
' 
' OK, obviously you're using Fetchmail to retrieve your e-mail, so this
' bit is basically just saying that Fetchmail has sent you this message.

Yes.  For incoming mail, this is the normal head of the message.
Obviously, the From header is dependant on the sender.  In this case,
BA is sending the mail.

' >    ----- The following addresses had permanent fatal errors -----
' > <[EMAIL PROTECTED]>
' > 
' >    ----- Transcript of session follows -----
' > 550 <[EMAIL PROTECTED]>... Host unknown (Name server: 
localhost.localdomain: host not found)
' 
' Some system, somewhere along the line has tried to send e-mail to
' [EMAIL PROTECTED], which is invalid. From later entries, I
' suspect this was a spam filter called in conjunction with Fetchmail, but
' I'm not positive of this.

My belief is that fetchmail tried to send the message.  It is supposed 
to drop off mail in my local mailbox.  Fetchmail does use sendmail to
do this so that it doesn't have to muck about with the spool file.
I'm not running any spam filters at my end.

' > Received: from solo.david-steuber.com (adsl-151-197-207-231.bellatlantic.net 
[151.197.207.231])
' >     by smtp-out1.bellatlantic.net (8.9.1/8.9.1) with ESMTP id TAA16581
' >     for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 19:21:57 -0400 (EDT)
' 
' It looks like your local system's Sendmail is configured to relay
' through Bell Atlantic's e-mail system. This is perfectly legitimate and
' has certain advantages, but it can also produce some pretty convoluted
' chains of error messages, as you've displayed here.

I have to do this because some ISPs will not accept mail from any host 
that does not have a DNS MX record.  Primenet is an example.  They do
this so that dialups can't spam user's accounts.  Mail goes into my
mailq and is relayed to smtpout.bellatlantic.net.  Clearly, the host
has more than one name, or is on a round robin DNS or something.

' > From: [EMAIL PROTECTED]
' > Received: from localhost (david@localhost [127.0.0.1])
' >     by solo.david-steuber.com (8.9.3/8.9.3) with SMTP id TAA12429
' >     for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 19:22:01 -0400
' > Date: Wed, 21 Jun 2000 19:22:01 -0400
' > Message-Id: <[EMAIL PROTECTED]>
' > To: [EMAIL PROTECTED]
' 
' OK. [EMAIL PROTECTED] has tried to send e-mail to
' [EMAIL PROTECTED] Clearly this is bogus.

Yes.  My question is why is FETCHMAIL-DAEMON doing this?  I have no
such user, so I am assuming that fetchmail uses this name.

' > --om-mani-padme-hum-12407-12393-961629721
' > Content-Type: text/plain
' > 
' > Our spam filter rejected this transaction.
' > 
' > 
' > --om-mani-padme-hum-12407-12393-961629721
' 
' Here's the reason for [EMAIL PROTECTED] rejecting the
' mail. (I think.) I'm a bit foggy on Fetchmail's interactions with spam
' filters, so I don't know how you might have this configured. It's also
' conceivable that some other system rejected the mail and it got bounced
' back to Fetchmail.

I have no filters installed.  I don't know if fetchmail has decided to 
include its own filtering facility.  That would be rather un-unix like 
of it.  Since the mail was sent with a bogus To: address, the RCPT
command is bound to fail.

' > Received: from smtp05.primenet.com [206.165.6.135] by email.steuber.com with ESMTP
' >   (SMTPD32-6.00) id A612AE501DE; Wed, 21 Jun 2000 15:22:58 -0400
' > Received: (from daemon@localhost)
' >     by smtp05.primenet.com (8.9.3/8.9.3) id MAA12126
' >     for <[EMAIL PROTECTED]>; Wed, 21 Jun 2000 12:23:10 -0700 (MST)
' > Received: from ip-54-007.scf.primenet.com(206.132.54.7)
' >  via SMTP by smtp05.primenet.com, id smtpdAAAtbayLx; Wed Jun 21 12:23:00 2000
' > Date: Wed, 21 Jun 2000 12:29:41 -0700 (MST)
' > From: [EMAIL PROTECTED]
' > Sender: [EMAIL PROTECTED]
' 
' This last line is presumably the cause of all the trouble. Something
' (presumably the spam filter) picked up on the Sender address, which is
' bogus, rather than the valid From address, and tried to bounce the mail
' back to the sender. (Note that the From address could as easily be
' bogus.) You may want to look into your spam filter's configuration and
' options. Some spam filters do quite nicely when used in conjunction
' with SMTP, but end up producing problems when used in conjunction with
' POP and Fetchmail.

The reason I don't use a filter is because I want to save my spam for
the day I get to cause horrible vengeance on said spammers by
publishing all their mail on my website.

Then again, I could just delete it.

This mail was not from a spammer, but from someone useing a forged
address to respond to a usenet post I made.  I am guessing that this
is the case, because I saw a response from the same person in the
group.  My general rule of thumb is to look in the groups for
responses and to respond only in the groups.  I do occasionally use
e-mail as a curtesy.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

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

From: [EMAIL PROTECTED] (Colin Smith)
Subject: Re: Group membership - any limit ?
Date: Sat, 24 Jun 2000 01:00:48 +0100
Reply-To: [EMAIL PROTECTED]

On Fri, 23 Jun 2000 23:43:14 +0200, Bertrand Renuart <[EMAIL PROTECTED]> wrote:
>> "R> Hi there,
>> "R>
>> "R> I was wondering if there is a limit to the number of groups a user
>account
>> "R> can belong to ?
>>
>> Not under Linux.  SunOS whines if you are in more than 8 groups and
>> Solaris bitches and moans if you are in more than 16.

Yes, there is.

>>
>Great...
>So, according to you, what could be the cause of the problem I described
>below ?

Linux allows 32 groups. You'll have to edit a couple of header files and rebuild
a whole lot of software to increase it.

You could try NIS netgroups instead.

[snip]

-- 
|Colin Smith:  [EMAIL PROTECTED]  |   Windows 2000    |
|     86% of Americans support the banning       |        AKA        |
|of Dihydrogen monoxide... Where do you stand??? |    The W2K Bug    |

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

From: "Mike Webb" <[EMAIL PROTECTED]>
Subject: Re: Choice of Linux / Unix as second OS
Date: Fri, 23 Jun 2000 19:41:19 -0500
Reply-To: Mike Webb <[EMAIL PROTECTED]>

> From:          "Shotgun Bob" <[EMAIL PROTECTED]>
> Date:          Wed, 21 Jun 2000 01:53:03 GMT
> Your second OS should be BeOS. It's downloadable
> for free from http://free.be.com and it has a much smaller
> learning curve compared to Linux.

Educate me. What can you DO with BeOS? My understanding is that BeOS's app 
support is pretty meager. Specifically, what freeware exists for BeOS? 

========================================================================
This message is being sent from the account I use to receive Usenet Posts
thru Deja.Com's Usenet-by-Email service. I receive posts from quite a number
of Usenet newsgroups at this address and do a mass delete before reading 
them; please send any personal replies to my Reply-to address of 
<[EMAIL PROTECTED]> so I don't accidentally delete it. Thanks!


 Sent via Deja.com http://www.deja.com/
 Before you buy.

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: No data displayed by ntop 1.3.1.
Reply-To: [EMAIL PROTECTED]
Date: Sat, 24 Jun 2000 00:12:17 GMT

On Fri, 23 Jun 2000 09:48:36 -0700, Jason Bassford
<[EMAIL PROTECTED]> wrote:
>I'm using RedHat 6.1 with kernel 2.2.15 and most RPMs updated to
>RH 6.2 level.

6.2 with 2.2.16pre3.

>I can run the RPM of ntop 1.1-1 without any problem.  When I
>compile and run ntop 1.3.1 it works - but collects no data
>whatsoever.  (Unlike ntop 1.1-1 and tcpdump which both show
>active data.)

I see the same, or something similar. For me, 1.3 will not launch into
interactive mode, but only in web mode. And it is logging nothing.
Either it is broken with our configurations, or has changed so much that
I am missing something completely. Using 1.1 ATM.

Did you build from tar ball?

-- 
Hal B
[EMAIL PROTECTED]
--

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

From: [EMAIL PROTECTED] ()
Subject: Re: Choice of Linux / Unix as second OS
Date: Sat, 24 Jun 2000 00:24:54 GMT

On Fri, 23 Jun 2000 19:41:19 -0500, Mike Webb <[EMAIL PROTECTED]> wrote:
>> From:          "Shotgun Bob" <[EMAIL PROTECTED]>
>> Date:          Wed, 21 Jun 2000 01:53:03 GMT
>> Your second OS should be BeOS. It's downloadable
>> for free from http://free.be.com and it has a much smaller
>> learning curve compared to Linux.
>
>Educate me. What can you DO with BeOS? My understanding is that BeOS's app 
>support is pretty meager. Specifically, what freeware exists for BeOS? 

        It's a mediaOS yet has no support for Sorenson, DVD Video or DivX.

[deletia]

-- 

                                                                |||
                                                               / | \

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

From: [EMAIL PROTECTED] ()
Subject: Re: GNU/LINUX at city of Boston Public Library departments
Date: Sat, 24 Jun 2000 00:28:18 GMT

On Fri, 23 Jun 2000 22:59:59 GMT, David Steuber <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] () writes:
>
>' On 23 Jun 2000 05:13:58 -0800, Floyd Davidson <[EMAIL PROTECTED]> wrote:
>' >Charles Philip Chan <[EMAIL PROTECTED]> wrote:
>' >>>>>>> "David" == David Steuber <[EMAIL PROTECTED]> writes:
[deletia]
>' >Which very few people ever turn on, because they are running it
>' >on a unix box,  which doesn't crash 3 times a day.
>' 
>'      It's typically on by default.
>
>I shouldn't have used autosaving as an example.  Some Emacs and Vi
>users are on dialup connections that may be droped, so being able to
>recover from that is important.
>
>However, I stand firm on the formating issue which is far more
>important.  I know one person who would love to trade Word for
>something that doesn't reformat a technical document on a whim.

        Personally, I would have loved to have traded it just for 
        AmiPro or WordPro. However, the user culture on Windows 
        isn't very tolerant of that sort of activity.

        Why use a platform that "runs everything" when you can't
        infact just run anything?

-- 

                                                                |||
                                                               / | \

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

Crossposted-To: ne.internet.services
From: [EMAIL PROTECTED] (Charles Demas) 
Subject: Re: GNU/LINUX at city of Boston Public Library departments
Date: Sat, 24 Jun 2000 00:29:57 GMT

In article <[EMAIL PROTECTED]>,
Rich Braun  <[EMAIL PROTECTED]> wrote:
>Floyd Davidson wrote:
>
>> Do you really think that the vi or emacs of today is the same
>> one that was around in 1980????
>
>Well, it's *possible* that vi has changed since then.  But I only use the
>commands that I learned in 1978.

FWIW, vim (a vi clone) is better, especially in that it has built in
help capability.  Learning vi is VERY painful.

But vim may not be installed on all variants of unix, so using special
stuff in vim may not be the best approach if you must work on many
systems.

It is good to have as a help reference though.  

Tradeoffs, tradeoffs.  :-)


Chuck Demas
Needham, Mass.

-- 
  Eat Healthy    |   _ _   | Nothing would be done at all,
  Stay Fit       |   @ @   | If a man waited to do it so well,
  Die Anyway     |    v    | That no one could find fault with it.
  [EMAIL PROTECTED] |  \___/  | http://www.tiac.net/users/demas

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

From: [EMAIL PROTECTED]
Subject: Re: HALTING Linux EXACTLY when I WANT TO.......!!!!!*smile*
Crossposted-To: alt.os.linux
Date: Sat, 24 Jun 2000 00:45:49 +0100

In comp.os.linux.misc Charles Philip Chan <[EMAIL PROTECTED]> wrote:
> Run it as a cron job.

OR an at job, if you only want to shut it down once.

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "I'm alive!!! I can touch! I can taste!         |
|Andrew Halliwell BSc(hons)|  I can SMELL!!!  KRYTEN!!! Unpack Rachel and    |
|            in            |  get out the puncture repair kit!"              |
|     Computer Science     |     Arnold Judas Rimmer- Red Dwarf              |
==============================================================================

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

From: [EMAIL PROTECTED]
Subject: Re: Newbie: Shell Script
Date: Sat, 24 Jun 2000 01:08:29 +0100

Alex Loew <[EMAIL PROTECTED]> did eloquently scribble:
> Hi,

> I just installed Linux and have a little problem running shell
> scripts:

> When I try to run a script it only runs when I explicitly call the
> shell which is used:

> e.g. ksh <file>

> although in the first line the shell to called is specified.:
> #!/bin/ksh

You have to make the script executable by using chmod...

chmod 755 file (or 700 if you don't want other users using it)

-- 
|                          |What to do if you find yourself stuck in a crack|
|  [EMAIL PROTECTED]    |in the ground beneath a giant boulder, which you|
|                          |can't move, with no hope of rescue.             |
|Andrew Halliwell BSc(hons)|Consider how lucky you are that life has been   |
|           in             |good to you so far...                           |
|    Computer Science      |   -The BOOK, Hitch-hiker's guide to the galaxy.|

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

From: [EMAIL PROTECTED]
Subject: Re: Newbie: Shell Script
Date: Sat, 24 Jun 2000 01:10:38 +0100

Alex Loew <[EMAIL PROTECTED]> did eloquently scribble:
> I found the problem. When logged in as root '.' is not in my path.
> That was the problem.

That's not a "problem" and should be left alone.
It's a security feature.

If you want to run a file that's not in your path, but is in your current
directory ./file is a good habit to get into.

-- 
|                          |What to do if you find yourself stuck in a crack|
|  [EMAIL PROTECTED]    |in the ground beneath a giant boulder, which you|
|                          |can't move, with no hope of rescue.             |
|Andrew Halliwell BSc(hons)|Consider how lucky you are that life has been   |
|           in             |good to you so far...                           |
|    Computer Science      |   -The BOOK, Hitch-hiker's guide to the galaxy.|

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

From: "jan roth" <[EMAIL PROTECTED]>
Subject: linux suse 6.4 and dual pentirum
Date: Sat, 24 Jun 2000 02:40:55 +0100

Hi there!

I`ld like to know wether my kernel knows about my second intel-processor or
not. I cannot figure out where to find information about how many processors
the kernel uses!
Actually I`m not a unix-freak at all,- so please tell an
windows-mouse-user in slow words what to do and how I can tell this little
nice linux-pc how to use 2 prozessors...

thanks for help!

jan





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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to