Hi all,

I have a user that looks like [1] and a piece of code that looks 
like [2]. If a mail is been sent to this account then the sender gets
_two_ autoreply mails, one is sent directly by qmail-reply and one by my
own program. Now can I tell qmail to use _only_ my program and not the
qmail-reply stuff? Or should I use qmail-clean and kill the "original"
qmail-reply message in the queue before sending the one I generate by
myself?

TIA,
Igor

[1]: ldif file
dn: <...>
mailMessageStore: <...>
mail: <...>
objectClass: top
objectClass: person
objectClass: qmailUser
uid: <...>
mailHost: <...>
cn: <...>
accountStatus: active
deliveryProgramPath: /usr/lib/qmail/test.py
mailReplyText: Cgl0ZXN0bWFpbAoJbWl0IPxtbOT2dGVu
qmailDotMode: ldapwithprog
deliveryMode: reply

[2] python program
import os, base64
# decode mailReplyText
os.environ['QMAILREPLYTEXT'] = \
            base64.decodestring(os.environ['QMAILREPLYTEXT'])
# trigger `qmail-reply`
os.system("qmail-reply")

Reply via email to