On Sat, Aug 04, 2001 at 01:39:32AM +0200, Przemyslaw Wegrzyn wrote:
> 
> I tweaked maildrop a little, to make it read HOME and QMAILQUOTA from
> enviroment. It works great with qmail-ldap now :)

I had to modify maildrop to getenv $HOME also. Maildrop wasn't really
designed for closed-box configurations. I also modified qmail-lspawn to
export $HOME. Can we convince Mr. Sam to include this support in
maildrop in the future? Also to enable maildrop delivery for the whole
site using maildrop I have this as my argument for qmail-send:
  | if ! test -e ./Maildir;
        then /var/qmail/bin/maildirmake ./Maildir
  ;fi;
  if test -f .mailfilter; 
  then 
        /usr/bin/maildrop -d ldapmail;
  else
        /usr/bin/maildrop /etc/maildroprc-default;
  fi

Do you see anything wrong with this approach?

Reply via email to