Hi,
ich habe jetzt schon ziemlich langer Zeit Probleme mit cron in
Verbindung mit exim.
Leider lassen sich die Mails die cron verschicken soll nicht
zustellen, was mir leider nicht klar ist.
Dafür habe ich das folgende in die /etc/crontab geschrieben:
MAILTO="idefix(at)fechner.net"
#*/1 * * * * root echo test
Ich bekomme die folgende Mail zurück:
---cut---
Received: from [::1] (helo=localhost)
by server.idefix.loc with esmtp (Exim 4.51 (FreeBSD))
id 1DiBnD-0005nd-5D
for idefix(at)localhost; Tue, 14 Jun 2005 15:49:31 +0200
Received: from fechner.net [83.120.0.234]
by localhost with IMAP (fetchmail-6.2.5)
for idefix(at)localhost (single-drop); Tue, 14 Jun 2005 15:49:27 +0200 (CEST)
Received: from server.idefix.loc (idefix.fechner.net [83.120.11.11])
(authenticated bits=0)
by michelle.lostinspace.de (8.13.1/8.13.1) with ESMTP id j5EDm0vp012424
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <root(at)fechner.net>; Tue, 14 Jun 2005 15:48:01 +0200 (CEST)
Received: from mailnull by server.idefix.loc with local (Exim 4.51 (FreeBSD))
id 1DiBlo-0005n7-Ko
for root(at)fechner.net; Tue, 14 Jun 2005 15:48:00 +0200
Auto_submitted: auto-generated
From: Mail Delivery System <Mailer-Daemon(at)fechner.net>
To: root(at)fechner.net
Subject: Mail failure - no recipient addresses
Message-Id: <E1DiBlo-0005n7-Ko(at)server.idefix.loc>
Date: Tue, 14 Jun 2005 15:48:00 +0200
X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00
autolearn=ham version=3.0.3
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on
michelle.lostinspace.de
X-Spam_score: -5.8
X-Spam_score_int: -57
X-Spam_bar: -----
X-Spam_host: idefix.fechner.net
A message that you sent contained no recipient
addresses, and therefore no
delivery could be attempted.
------ This is a copy of your message, including all the headers. ------
Message-Id: <E1DiBlo-0005n6-KH(at)server.idefix.loc>
From: CronDaemon <root(at)fechner.net>
Date: Tue, 14 Jun 2005 15:48:00 +0200
--- cut ---
wenn ich allerdings eine Mail folgendermassen schreibe, klappt es
wunderbar:
mail idefix(at)fechner.net
test
.
Die Mail kommt folgendermassen an:
--- cut ---
Received: from [::1] (helo=localhost)
by server.idefix.loc with esmtp (Exim 4.51 (FreeBSD))
id 1DiBnI-0005nd-5F
for idefix(at)localhost; Tue, 14 Jun 2005 15:49:37 +0200
Received: from fechner.net [83.120.0.234]
by localhost with IMAP (fetchmail-6.2.5)
for idefix(at)localhost (single-drop); Tue, 14 Jun 2005 15:49:32 +0200 (CEST)
Received: from server.idefix.loc (idefix.fechner.net [83.120.11.11])
(authenticated bits=0)
by michelle.lostinspace.de (8.13.1/8.13.1) with ESMTP id j5EDmgw6012449
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <idefix(at)fechner.net>; Tue, 14 Jun 2005 15:48:43 +0200 (CEST)
(envelope-from root(at)fechner.net)
Received: from root by server.idefix.loc with local (Exim 4.51 (FreeBSD))
id 1DiBmV-0005nN-0g
for idefix(at)fechner.net; Tue, 14 Jun 2005 15:48:43 +0200
To: idefix(at)fechner.net
Subject: test von console
Message-Id: <E1DiBmV-0005nN-0g(at)server.idefix.loc>
From: Charlie Root <root(at)fechner.net>
Date: Tue, 14 Jun 2005 15:48:43 +0200
X-Spam-Status: No, score=-5.9 required=5.0
tests=ALL_TRUSTED,AWL,BAYES_00
autolearn=ham version=3.0.3
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on
michelle.lostinspace.de
X-Spam_score: -5.9
X-Spam_score_int: -58
X-Spam_bar: -----
X-Spam_host: idefix.fechner.net
test
--- cut ---
Mit mail root(at)fechner.net klappt es auch wunderbar.
Hat hier vielleicht einer eine Idee?
Ich bin mir leider nicht absolut sicher, ob die Konfiguration von Exim
ok ist.
Leider hab ich nicht mehr Informationen, wie cron die Mail verschickt,
sonst könnte ich das mal manuell ausprobieren und schaun, ob dann das
gleiche passiert.
Ich bin dankbar für jeden Tip.
-- Gruss Matthias "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Tue 14 Jun 2005 - 16:28:47 CEST