On Thu, Mar 25, 2004 at 03:25:32PM -0800, Zachary Denison wrote:
> 
> Hi,
> 
> If I use deliveryProgramPath to, for example, call
> maildrop to delivery a message, how can I see what
> environment variables are passed.  For example, I need
> the userid and the mailmessagestore to be passed, is
> this done, or how can I find how to do this?
> 

deliveryProgramPath: env > /tmp/somefile
deliveryProgramPath: otherdelivery

Or wrap that into a simple shell script.
Following env vars are set by qmail-local (see also qmail-command(8)):
HOST, HOST2, HOST3, HOST4
HOME
USER
LOCAL
RECIPIENT
DTLINE
SENDER
RPLINE
UFLINE
EXT, EXT2, EXT3, EXT4
NEWSENDER

qmail-lspawn sets these -- but should not be used:
MAILDIRQUOTA
QMAILQUOTAWARNING
QMAILDOTMODE
QMAILMODE
QMAILREPLYTEXT
QMAILFORWARDS
QMAILDELIVERYPROGRAM
QLDAPGROUP


-- 
:wq Claudio

Reply via email to