[ingo] vacation and procmail problem
Markus Krause
krause at biochem.mpg.de
Wed Dec 6 04:01:03 PST 2006
Hi List!
We are migration all our filters, forwarding and vacation setting of
our users from ingo/webmail frontend filtering to procmail. filters
and forwarding have been successfully integrated into procmail, but
sending out vacation messages via procmail does not work!
our test account "test" has setup up a vacation reply via our new
horde installation which leads to the following entry in .procmailrc:
---- .procmailrc part
8: ##### Abwesenheit #####
9: :0
10: {
11: FILEDATE=`ls -lcn --time-style=+%s '.vacation.test' | awk '{
print $6 + (604800)
}'`
12: DATE=`date +%s`
13: DUMMY=`test $FILEDATE -le $DATE && rm '.vacation.test'`
14:
15: :0 Whc: vacation.lock
16: * $^To:(.*\<)?test
17: * !^X-Loop: test
18: * !^From.*noreply at there.com
19: | formail -rD 8192 .vacation.test
20: :0 ehc
21: | (formail -rI"Precedence: junk" \
22: -A"X-Loop: test" \
23: -i"Subject: out of office" ; \
24: echo "i am on vacation ..." \
25: ) | $SENDMAIL -oi -t
26:
27: }
----------- end of .procmailrc part
but no vacation message is sent to the sender. the procmail logfile contains:
---- procmail.log
procmail: Executing "ls -lcn --time-style=+%s '.vacation.test' | awk '{ print
$6 + (604800) }'"
procmail: Assigning "FILEDATE="
procmail: Executing "date,+%s"
procmail: Assigning "DATE=1165405830"
procmail: Executing "test $FILEDATE -le $DATE && rm '.vacation.test'"
procmail: Assigning "DUMMY="
procmail: Match on "^To:(.*\<)?test"
procmail: Match on ! "^X-Loop: test"
procmail: Match on ! "^From.*noreply at there.com"
procmail: Locking "vacation.lock"
procmail: Executing "formail,-rD,8192,.vacation.test"
procmail: Non-zero exitcode (1) from "formail"
procmail: Assigning "LASTFOLDER=formail -rD 8192 .vacation.test"
procmail: Unlocking "vacation.lock"
procmail: Executing " (formail -rI"Precedence: junk" \
-A"X-Loop: test" \
-i"Subject: out of office" ; \
echo "i am on vacation ..." \
) | $SENDMAIL -oi -t"
procmail: Assigning "LASTFOLDER= (formail -rI"Precedence: junk" \
-A"X-Loop: test" \
-i"Subject: out of office" ; \
echo "i am on vacation ..." \
) | $SENDMAIL -oi -t"
From krause at biochem.mpg.de Wed Dec 6 12:50:30 2006
Subject: testmail
Folder: (formail -rI"Precedence: junk" \ -A"X-Loop: test"
1407
procmail: Bypassed locking "/var/spool/mail/test.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/test"
procmail: Opening "/var/spool/mail/test"
procmail: Acquiring kernel-lock
procmail: [2208] Wed Dec 6 12:50:31 2006
procmail: Notified comsat: "rztest at 564:/var/spool/mail/test"
From krause at biochem.mpg.de Wed Dec 6 12:50:30 2006
Subject: testmail
Folder: /var/spool/mail/test 1912
----- end of procmail.log
procmail filtering works with all other settings (filtering, sorting
in directories, forwarding ...).
Does anybody has procmail with vacation messages working and can give
me any hints?
Thanks in advance for any help!
Regards
Markus
--
Markus Krause email: krause at biochem.mpg.de
Mogli-Soft: Support for Mac OS X, Webmail/Horde, LDAP, RADIUS
by order of the Computing Center of the Max-Planck-Institute of Biochemistry
Tel.: 089 - 89 40 85 99 Fax.: 089 - 89 40 85 98
----------------------------------------------------------------------
This message was sent using https://webmail2.biochem.mpg.de
If you encounter any problems please report to rz-linux at biochem.mpg.de
More information about the ingo
mailing list