5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Problems running maildrop
FromSent OnAttachments
M. BobkiewiczJun 14, 2006 3:51 am 
Devin RubiaJun 14, 2006 6:38 am 
Jay LeeJun 14, 2006 6:47 am 
Devin RubiaJun 14, 2006 7:16 am 
M. BobkiewiczJun 15, 2006 12:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Problems running maildropActions...
From:M. Bobkiewicz (mdli@reproheinatz.de)
Date:Jun 14, 2006 3:51:22 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I?m trying to setup an vacation message on a postfix/courier imap Maildir server. On the internet I found the following script:

$DEFAULT xfilter "reformail -r -t" /^To:.*/ getaddr($MATCH) =~ /^.*/;

MATCH=tolower($MATCH) flock "vacation.lock" { `fgrep -iqx "$MATCH" vacation.lst 2>/dev/null || { \ echo "$MATCH" >>vacation.lst ; \ exit 1 ; \ } ` } if ( $RETURNCODE == 0 ) exit to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL"

When I activate the script in a user directory, the vacation.lock file appears, the sender is added to the vacation.lst (the list is growing when there came in several mails from several locations) but the mail itself disappears and also there no response is send back to the sender. Nothing in the maillogs, when I remove the .mailfilter file the mail is delivered to the user as expected. Anything wrong with the script?

Best regards,

Mike Bobkiewicz