Re: Crontab verschickt keine Mails mehr

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Sat, 6 Mar 2004 11:36:38 +0100 (CET)

Matthias Fechner <idefix(at)fechner.net> wrote:
> MAILTO="idefix"
> */1 * * * * root echo test
>
> Das sollte mir doch jede Minute eine E-Mail schicken oder?

Ja, sieht korrekt aus.

Funktioniert es denn, wenn Du (testweise) die MAILTO-Zeile
wegläßt? Bekommt root dann die Mails? (Du kannst ja auch
einen Alias idefix --> root anlegen.)

Hast Du an der Standard-sendmail-Konfiguration irgendwas
verändert? Was steht in /var/log/maillog?

> Received: from root by server.idefix.loc with local (Exim 4.30; FreeBSD)
> id 1AzYEu-000HtB-Rk; Sat, 06 Mar 2004 10:37:00 +0100
> Message-Id: <E1AzYEu-000HtB-Rk(at)server.idefix.loc>
> From: CronDaemon <root(at)fechner.net>
> Date: Sat, 06 Mar 2004 10:37:00 +0100

Hmm, exim. Keine Ahnung.

Wenn's alles nichts hilft, kannst Du mal den cron-Prozeß
tracen, um zu sehen, was genau er an /usr/sbin/sendmail
(a.k.a. mailwrapper) übergibt. Das sollte dann zumindest
Aufschluß darüber geben, ob das das Problem bei Dir am
cron oder am MTA/LDA liegt.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"I have stopped reading Stephen King novels.
Now I just read C code instead."
        -- Richard A. O'Keefe
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 06 Mar 2004 - 11:37:06 CET

search this site