Re: nächtliche mails an root?

From: Heino Tiedemann <rotkaps_spam_trap(at)GMX.de>
Date: Wed, 24 Feb 2010 22:30:36 +0100

Oliver Fromme <olli(at)lurza.secnetix.de> wrote:

> Heino Tiedemann wrote:
> > Oliver Fromme wrote:
> > > Heino Tiedemann wrote:
> > > > Feb 24 03:03:25 ahab sendmail[41897]: gethostbyaddr(192.168.2.10)
> > > > failed: 2
> > >
> > > Ich nehme an, das ist die IP-Adresse des Rechners, oder?
> > > Die kann er offenbar nicht auflösen. Mach dafür doch mal
> > > einen Eintrag in /etc/hosts.
> >
> > ich habe keinen plan, woher er diese IP nimmt.
>
> Naja, aus den Fingern saugt er sich die nicht. :-)
> Die muss schon irgendwo stehen.

jaja - stimmt schon :)

> Was sagt denn »ifconfig«? Oder »netstat -rn«?
> Evtl. hilft auch »fgrep 192.168.2.10 /etc/*«.

hier isse ja schon:

,----[ ifconfig ]
| bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
| options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
| ether 00:11:85:b6:37:fa
| inet 192.168.2.10 netmask 0xffffff00 broadcast 192.168.2.255
| media: Ethernet autoselect (100baseTX <full-duplex>)
| status: active
`----

,----[ /etc/rc.conf ]
| ifconfig_bge0="inet 192.168.2.10 netmask 255.255.255.0"
`----

bge0? das ist wohl meine netzwerkkarte?

> > Argh, der alias fehlte!
> >
> > as ich komscih finde, denn bis zum 5.11.2009 habe ich noch daily mals
> > bekommen.
>
> Dann muss sich an dem Zeitpuntk etwas Entscheidendes
> geändert haben. Ob man das jetzt noch herausfinden kann,
> ist allerdings fraglich.
>
> Es genügt z.B. schon, dass man einmal versehentlich beim
> mergemaster die falsche Taste drückt, damit es zu seltsamen
> Effekten kommt.

Ich vermute genau das. Ein falcher merge und weg war der alias.

> > Und - was ich auch komscih finde: Ohne alias hätte die mail ja im root
> > poastfach liegen müssen.
>
> Stimmt.

macht mich nachdenklich.

> > Ich warte mal, was heute passiert. Das mailen twischen root und mir
> > klappte jedenfalls (habe ainfach "mail" benutzt.
>
> Ok, das ist schonmal ein gutes Zeichen. Falls das Problem
> nicht behoben ist, am besten dann nochmal die kompletten
> Einträge aus dem maillog hier posten (d.h. nicht nur die
> "failed"-Zeile, sondern alle zugehörigen Zeilen).

ich kanns ja jetzt schon mal machen - es zeigt eines: Nachdem ich die
aliases eintrug und erfolgreich neu "gebuildet" hab, scheint auch ruhe
mit dem gethostbyadrr zu sein. vielleicht wollte er Root draussen
suchen?

Feb 24 00:00:00 ahab newsyslog[41213]: logfile turned over
Feb 24 03:01:01 ahab sendmail[41680]: gethostbyaddr(192.168.2.10) failed: 2
Feb 24 03:01:01 ahab sendmail[41728]: gethostbyaddr(192.168.2.10) failed: 2
Feb 24 03:03:25 ahab sendmail[41855]: o1O23P5d041855: from=root, size=651, class=0, nrcpts=1, msgid=<201002240203.o1O23P5d041855(at)ahab.tihnet>, relay=root(at)localhost
Feb 24 03:03:25 ahab sendmail[41897]: gethostbyaddr(192.168.2.10) failed: 2
Feb 24 03:03:25 ahab sendmail[41855]: o1O23P5d041855: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30651, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (OK id=1Nk6az-000AtO-Rn)
Feb 24 03:03:26 ahab sendmail[41925]: o1O23QFG041925: from=root, size=2054, class=0, nrcpts=1, msgid=<201002240203.o1O23QFG041925(at)ahab.tihnet>, relay=root(at)localhost
Feb 24 03:03:26 ahab sendmail[41925]: o1O23QFG041925: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32054, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (OK id=1Nk6b0-000AuF-3l)
Feb 24 12:57:22 ahab sendmail[53509]: o1OBvMxL053509: from=rotkap, size=24, class=0, nrcpts=1, msgid=<201002241157.o1OBvMxL053509(at)ahab.tihnet>, relay=rotkap(at)localhost
Feb 24 12:57:22 ahab sendmail[53509]: o1OBvMxL053509: to=root, ctladdr=rotkap (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30024, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (OK id=1NkFrm-000Dv4-Ss)
Feb 24 12:58:49 ahab sendmail[53527]: o1OBwnAJ053527: from=rotkap, size=33, class=0, nrcpts=1, msgid=<201002241158.o1OBwnAJ053527(at)ahab.tihnet>, relay=root(at)localhost
Feb 24 12:58:49 ahab sendmail[53527]: o1OBwnAJ053527: to=rotkap, ctladdr=rotkap (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30033, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (OK id=1NkFtB-000DvM-DY)
Feb 24 13:16:18 ahab sm-mta[999]: gethostbyaddr(192.168.2.10) failed: 2
Feb 24 13:16:18 ahab sm-mta[1001]: starting daemon (8.14.3): SMTP+queueing(at)00:30:00
Feb 24 13:16:18 ahab sm-msp-queue[1005]: starting daemon (8.14.3): queueing(at)00:30:00
Feb 24 15:20:17 ahab sendmail[1616]: o1OEKH4I001616: from=rotkap, size=30, class=0, nrcpts=1, msgid=<201002241420.o1OEKH4I001616(at)ahab.tihnet>, relay=root(at)localhost
Feb 24 15:20:17 ahab sm-mta[1617]: alias database /etc/mail/aliases.db out of date
Feb 24 15:20:17 ahab sm-mta[1617]: o1OEKHD1001617: from=<rotkap(at)ahab.tihnet>, size=345, class=0, nrcpts=1, msgid=<201002241420.o1OEKH4I001616(at)ahab.tihnet>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 24 15:20:17 ahab sendmail[1616]: o1OEKH4I001616: to=root, ctladdr=rotkap (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30030, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o1OEKHD1001617 Message accepted for delivery)
Feb 24 15:20:17 ahab sm-mta[1618]: alias database /etc/mail/aliases.db out of date
Feb 24 15:20:17 ahab sm-mta[1618]: o1OEKHD1001617: to=<root(at)ahab.tihnet>, ctladdr=<rotkap(at)ahab.tihnet> (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30593, relay=local, dsn=2.0.0, stat=Sent
Feb 24 15:22:19 ahab sendmail[1637]: gethostbyaddr(192.168.2.10) failed: 1
Feb 24 15:22:19 ahab sendmail[1637]: alias database /etc/mail/aliases rebuilt by rotkap
Feb 24 15:22:19 ahab sendmail[1637]: NOQUEUE: SYSERR(root): /etc/mail/aliases: line 36: missing colon
Feb 24 15:22:19 ahab sendmail[1637]: /etc/mail/aliases: 28 aliases, longest 10 bytes, 285 bytes total
Feb 24 15:23:35 ahab sendmail[1642]: gethostbyaddr(192.168.2.10) failed: 1
Feb 24 15:23:35 ahab sendmail[1642]: alias database /etc/mail/aliases rebuilt by rotkap
Feb 24 15:23:35 ahab sendmail[1642]: /etc/mail/aliases: 28 aliases, longest 10 bytes, 285 bytes total
Feb 24 15:23:53 ahab sendmail[1644]: o1OENrJx001644: from=rotkap, size=36, class=0, nrcpts=1, msgid=<201002241423.o1OENrJx001644(at)ahab.tihnet>, relay=root(at)localhost
Feb 24 15:23:53 ahab sm-mta[1645]: o1OENrXt001645: from=<rotkap(at)ahab.tihnet>, size=351, class=0, nrcpts=1, msgid=<201002241423.o1OENrJx001644(at)ahab.tihnet>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 24 15:23:53 ahab sendmail[1644]: o1OENrJx001644: to=root, ctladdr=rotkap (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30036, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o1OENrXt001645 Message accepted for delivery)
Feb 24 15:23:53 ahab sm-mta[1646]: o1OENrXt001645: to=rotkap, ctladdr=<rotkap(at)ahab.tihnet> (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30599, relay=local, dsn=2.0.0, stat=Sent
Feb 24 15:26:18 ahab sendmail[1655]: o1OEQIG6001655: from=rotkap, size=31, class=0, nrcpts=1, msgid=<201002241426.o1OEQIG6001655(at)ahab.tihnet>, relay=rotkap(at)localhost
Feb 24 15:26:18 ahab sm-mta[1656]: o1OEQIsf001656: from=<rotkap(at)ahab.tihnet>, size=348, class=0, nrcpts=1, msgid=<201002241426.o1OEQIG6001655(at)ahab.tihnet>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 24 15:26:18 ahab sendmail[1655]: o1OEQIG6001655: to=root, ctladdr=rotkap (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30031, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o1OEQIsf001656 Message accepted for delivery)
Feb 24 15:26:18 ahab sm-mta[1657]: o1OEQIsf001656: to=rotkap, ctladdr=<rotkap(at)ahab.tihnet> (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30596, relay=local, dsn=2.0.0, stat=Sent

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 24 Feb 2010 - 22:31:11 CET

search this site