Hi,

I managed to get the above combination working - in a way. An email for a
cyrus user is accepted, gets through procmail and is delievered to
a user's inbox with Cyrus. So far so good. The problem is that sendmail
generates a "status=deferred" reply and behaves as if the mail wasn't
delivered at all.

I *guess* this is an issue of EXITCODEs. Maybe procmail or cyrus don't
return the standard ("0" ???) exitcode to sendmail?

Any help greatly appreciated
Jan

Config files digest:
sendmail.cf
...
Mcyrus,         P=/usr/bin/procmail, F=lsDFMnqA@/:|SmXz,
                S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
                A=procmail -p /usr/local/procmail/procmail.common CYUSER=$u
...


/usr/local/procmail/procmail.common
...
PATH=/usr/bin:/usr/local/bin:/usr/cyrus/bin:/usr/local/procmail/bin
SHELL=/bin/sh
DELIVERMAIL=/usr/cyrus/bin/deliver
###
LOGFILE=/var/log/procmail
VERBOSE=ON

:0w:$CYUSER.lock
|$DELIVERMAIL -e -a $CYUSER -m user.$CYUSER
...

Reply via email to