[maildropl] Strange error with mail from cron daemon
Brought to you by:
mrsam
From: <mai...@d-...> - 2004-11-17 09:32:34
|
hi, i am using maildrop with postfix virtual mailboxes and mysql. it works great but i have one problem left. mail from cron jobs to root cause this error: --------------------------------------------------------------------------------------------- This is the Postfix 2.x TLS (amavisd/clamav/spamassassin) program at host mail1.d-g-c.de. I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix 2.x TLS (amavisd/clamav/spamassassin) program <spl...@d-...> (expanded from <root>): temporary failure. Command output: maildrop: Changing to /home/postfix/ Message start at 0 bytes, envelope sender=spl...@d-... Tokenized logfile Tokenized string: "$HOME$DEFAULT/maildroprc.log" Tokenized ; Tokenized ; Tokenized string: `test -e $HOME$DEFAULT` Tokenized ; Tokenized if Tokenized ( Tokenized string: "$RETURNCODE" Tokenized != Tokenized string: "0" Tokenized ) Tokenized ; Tokenized { Tokenized ; Tokenized string: `/usr/bin/maildirmake $HOME$DEFAULT` Tokenized ; Tokenized string: `/usr/bin/maildirmake -f Junkmail $HOME$DEFAULT` Tokenized ; Tokenized string: `cp /home/postfix/.mailfilter $HOME$DEFAULT` Tokenized ; Tokenized string: `cp /home/postfix/maildirfilterconfig $HOME$DEFAULT` Tokenized ; Tokenized } Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized include Tokenized string: "$HOME$DEFAULT.mailfilter" Tokenized ; Tokenized eof /etc/courier/maildroprc(1): Opening logfile /home/postfix/spl...@d-...//maildroprc.log maildrop: Filtering through `test -e $HOME$DEFAULT` /etc/courier/maildroprc(4): Evaluating IF condition. /etc/courier/maildroprc(4): Operation on: 0 and 0 - not equal, result is 0 /etc/courier/maildroprc(4): IF evaluated, result=0 /etc/courier/maildroprc(16): Opening include file /home/postfix/spl...@d-.../.mailfilter Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized string: "FROM" Tokenized = Tokenized string: 'spl...@d-...' Tokenized ; Tokenized import Tokenized string: "SENDER" Tokenized ; Tokenized if Tokenized ( Tokenized string: "$SENDER" Tokenized eq Tokenized string: "" Tokenized ) Tokenized ; Tokenized { Tokenized ; Tokenized string: "SENDER" Tokenized = Tokenized string: "$FROM" Tokenized ; Tokenized } Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized ; Tokenized if Tokenized ( Tokenized ( Tokenized regexp: /^X-Spam-Flag: *YES/ Tokenized ) Tokenized ) Tokenized ; Tokenized { Tokenized ; Tokenized to Tokenized string: "$HOME/$DEFAULT/.Junkmail/." Tokenized ; Tokenized } Tokenized ; Tokenized ; Tokenized to Tokenized string: "$HOME/$DEFAULT" Tokenized ; Tokenized eof /home/postfix/spl...@d-.../.mailfilter(5): FROM="spl...@d-..." /home/postfix/spl...@d-.../.mailfilter(6): import "SENDER" /home/postfix/spl...@d-.../.mailfilter(7): Evaluating IF condition. /home/postfix/spl...@d-.../.mailfilter(7): Operation on: and - string equal, result is 1 /home/postfix/spl...@d-.../.mailfilter(7): IF evaluated, result=1 /home/postfix/spl...@d-.../.mailfilter(9): SENDER="spl...@d-..." /home/postfix/spl...@d-.../.mailfilter(21): Evaluating IF condition. Start node: 0 Node 17: final Node 16: 'S' transition to 17 Node 15: 'E' transition to 16 Node 14: 'Y' transition to 15 Node 13: null transition to 12 transition to 14 Node 12: ' ' transition to 13 Node 11: ':' transition to 13 Node 10: 'g' transition to 11 Node 9: 'a' transition to 10 Node 8: 'l' transition to 9 Node 7: 'F' transition to 8 Node 6: '-' transition to 7 Node 5: 'm' transition to 6 Node 4: 'a' transition to 5 Node 3: 'p' transition to 4 Node 2: 'S' transition to 3 Node 1: '-' transition to 2 Node 0: 'X' transition to 1 Matching /^X-Spam-Flag: *YES/ against Return-Path: <ro...@d-...> *** MATCH START *** Matching character: R Failed - out of states. Not matched. Matching /^X-Spam-Flag: *YES/ against Received: by mail1.d-g-c.de (Postfix 2.x TLS (amavisd/clamav/spamassassin), from userid 0) id 456E01872D; Tue, 16 Nov 2004 09:10:06 +0100 (CET) *** MATCH START *** Matching character: R Failed - out of states. Not matched. Matching /^X-Spam-Flag: *YES/ against From: ro...@d-... (Cron Daemon) *** MATCH START *** Matching character: F Failed - out of states. Not matched. Matching /^X-Spam-Flag: *YES/ against To: ro...@d-... *** MATCH START *** Matching character: T Failed - out of states. Not matched. maildrop: Timeout quota exceeded. ----------------------------------------------------------------------------- mail to root is "aliased" to spl...@d-.... sending an email from the linux shell as user root to ro...@d-... or root ("mail -s TEST root") works fine. only automatic mails from cronjobs cause this behaviour... any idea whats going wrong? thx for any help greetings florian engelmann |