Re: Mail von Cron kommen nicht an

From: Matthias Fechner <idefix(at)fechner.net>
Date: Sat, 18 Jun 2005 10:52:31 +0200

Hallo Michael,

* emfau(at)t-online.de <emfau(at)t-online.de> [17-06-05 16:25]:
> -t When Exim is receiving a locally-generated, non-SMTP message on its
> standard input, the -t option causes the recipients of the message
> to
> be obtained from the To:, Cc:, and Bcc: header lines in the message
> instead of from the command arguments.
> The addresses are extracted before any rewriting takes place.
>
> ...
>
> In diesem Fall gibt's ja keinen To, Cc oder Bcc Header, so dass es schief
> gehen muss, or am I wrong?! Erwartungsgemaess wird folgendes erfolgreich
> zugestellt
>
> $ /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
> From: "root (Cron Daemon)"
> To: "Michael" <michael(at)test-intern.org>
> ^D

diese Mail wird bei mir auch wunderbar zugestellt.

> Wenn ich auf meinem Server, auf dem cron+exim erfolgreich laeuft, das
> logging andrehe, sehe ich folgendes

mit To: bekomme ich:
2005-06-18 10:43:01 cwd=/usr/home/idefix 6 args: /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
2005-06-18 10:43:12 1DjYur-0007Qx-17 <= root(at)fechner.net U=root P=local S=303 from <root(at)fechner.net> for idefix
2005-06-18 10:43:12 cwd=/var/spool/exim 4 args: /usr/local/sbin/exim -odi -Mc 1DjYur-0007Qx-17 2005-06-18 10:43:16 1DjYur-0007Qx-17 => idefix(at)fechner.net F=<root(at)fechner.net> P=<root(at)fechner.net> R=dnslookup T=remote_smtp S=314 H=mail.fechner.net [83.120.0.234]:25 X=TLSv1:DHE-RSA-AES256-SHA:256 CV=no DN="/C=DE/ST=Bayern/L=Munich/O=FM-Data / LostInSpace.de/OU=Networking/CN=michelle.lostinspace.de" C="250 2.0.0 j5I8hBtr021457 Message accepted for delivery" QT=15s DT=4s
2005-06-18 10:43:16 1DjYur-0007Qx-17 Completed QT=15s

Ohne To bekomme ich:
2005-06-18 10:43:33 cwd=/usr/home/idefix 6 args: /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
2005-06-18 10:43:37 cwd=/var/spool/exim 8 args: /usr/local/sbin/exim -odi -t -oem -oi -f <> -E1DjYvN-0007R0-8D
2005-06-18 10:43:37 1DjYvR-0007R1-TL <= <> R=1DjYvN-0007R0-8D U=mailnull P=local S=731 T="Mail failure - no recipient addresses" from <> for root(at)fechner.net
2005-06-18 10:43:37 cwd=/var/spool/exim 4 args: /usr/local/sbin/exim -odi -Mc 1DjYvR-0007R1-TL
2005-06-18 10:43:41 1DjYvR-0007R1-TL => root(at)fechner.net F=<> P=<> R=dnslookup T=remote_smtp S=754 H=mail.fechner.net [83.120.0.234]:25 X=TLSv1:DHE-RSA-AES256-SHA:256 CV=no DN="/C=DE/ST=Bayern/L=Munich/O=FM-Data / LostInSpace.de/OU=Networking/CN=michelle.lostinspace.de" C="250 2.0.0 j5I8haH3021469 Message accepted for delivery" QT=4s DT=4s
2005-06-18 10:43:41 1DjYvR-0007R1-TL Completed QT=4s

> Hast Du schon mal ohne MAILTO probiert? In dem Fall geht die Mail ja an
> root und da doch sowieso ein alias root -> idefix(at)fechner.net existiert,
> sollte die mail an der gewuenschten Stelle ankommen. Das ist auch so
> ziemlich der einzige relevante Unterschied zwischen Deiner und meiner
> Konfguration, wenn ich es richtig ueberblicke.

hm, das habe ich auch grad getestet, genau das gleiche.

Meiner Meinung nach muss das ein Bug im cron sein, der komischerweise nur
bei mir aufzutreten zu scheint, was ich schon sehr komisch finde. :(

-- 
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 message
Received on Sat 18 Jun 2005 - 10:53:10 CEST

search this site