[ingo] procmail: vacation

Volker Then vt at then.net
Thu Mar 3 08:13:52 PST 2005


Hi,

I'm running Horde 3.0.2, Ingo 1.0.1 and IMP 4.0.1 quite successfully on
a server machine with courier imap, Maildir and procmail. But there
seems to be a minor problem with the vacation script for procmail
generated by Ingo.

As long as a normal system user (unix users as defined in /etc/passwd)
is addressed everything works fine, the vacation message is generated
and sent out. The problem is with the LDAP users:

The LDAP users don't have system uids and gids, the whole user structure
takes place in /home/clients/, like for example:
/home/clients/clientname/clientuser-1/Maildir and
/home/clients/clientname/clientuser-2/Maildir

Everything in that /home/clients folder is owned by the unix user and
group named "clients".

The clientusers are all defined in the ldap server. Postfix and
everything else works fine with that. Normal procmail scripts like
filtering and forwards are all well interpreted, but the vacation script
only generates the lock file in Maildir/, but no vacation message is
sent back. I put VERBOSE=on but do not recognize anything unusal, see
the attached procmaillog.

I would appreciate any suggestions.

Thanks.

Volker


The logfile(I replaced my email address with vt at mydomain):

procmail: Executing "ls -lcn --time-style=+%s 'vacation.vt at mydomain' |
awk '{ print $6 + (86400) }'"
procmail: Assigning "FILEDATE="
procmail: Executing "date,+%s"
procmail: Assigning "DATE=1109865146"
procmail: Executing "test $FILEDATE -le $DATE && rm 'vacation.vt at mydomain'"
procmail: Assigning "DUMMY="
procmail: Match on "^To:.*vt at mydomain"
procmail: Match on ! "^X-Loop: vt at mydomain"
procmail: Match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To:
Multiple recipients of
|(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
    ][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Locking "vacation.lock"
procmail: Executing "formail,-rD,8192,vacation.vt at mydomain"
procmail: Non-zero exitcode (1) from "formail"
procmail: Assigning "LASTFOLDER=formail -rD 8192 vacation.vt at mydomain"
procmail: Unlocking "vacation.lock"
procmail: Executing " (formail -rI"Precedence: junk" \
       -A"X-Loop: vt at mydomain" \
       -i"Subject: Autoresponder VT" ; \
       echo "I will be out of office from March, 2 til March 4."; echo
""; echo "" \
      ) | $SENDMAIL -oi -t"
procmail: Assigning "LASTFOLDER= (formail -rI"Precedence: junk" \
       -A"X-Loop: vt at mydomain" \
       -i"Subject: Autoresponder VT" ; \
       echo "I will be out of office from March, 2 til March 4."; echo
""; echo "" \
      ) | $SENDMAIL -oi -t"
procmail: Assigning
"LASTFOLDER=/home/clients/mydomain/vt/Maildir/new/1109865146.4318_1.mydomain"
procmail: Notified comsat:
"high502 at 0:/home/clients/mydomain/vt/Maildir/new/1109865146.4318_1.mydomain"
>From xxxxxxxx  Thu Mar  3 16:52:26 2005
 Subject: fgfdgdfs
  Folder: /home/clients/mydomain/vt/Maildir/new/1109865146.4318_1.     1713









More information about the ingo mailing list