OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: maildrop?

From: Jonathan Nichols (jnicholspbp.net)
Date: Tue Apr 01 2003 - 11:40:13 CST


> http://www-dt.e-technik.uni-dortmund.de/~ma/postfix/HOWTO-maildrop.html
>
Cool.. hadn't seen that one before.
>
> > maildrop unix - n n - - pipe
> > flags=R user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
> >
> > ^^^ That is what I found to add to master.cf so far.
> > Where does it get ${recipient} from, though?
>
> man pipe.
>

whoops.. I forgot to mention that I have everything in mysql. I'm using
Gentoo on this machine, and it created a /etc/maildropmysql.cf file
already.

If I'm understanding this right, postfix will use the mailbox_command =
/usr/bin/maildrop command to take email, pass it to maildrop. Maildrop
will then check mysql for whatever information it needs to gather and will
then look for a $HOME/.mailfilter file and will process everything
accordingly.
Sound about right?