On Tue, Apr 11, 2000 at 10:44:19AM +0800, ywshum wrote:
> I would like my qmail server to able to write messages received for the
> local recipients to a local database . It can or cannot be at the
> expense of local delivery to Maildir.
> 
> So how do i do it? Is that some configuration file for me to set so that
> it invokes an executable whenever a mail arrive etc.

Yes, it's called  .qmail  and usually lives in every $HOME of every
local user. Just put a line in there
     |/some/bin/uploadtodatabase
and the program "uploadtodatabase" will get the email with full headers
on stdin.

You did provide very little detail about "local recipients".
With the qmail-users mechanism e.g. you are able to control all
emails for local users in one directory via a  .qmail-default
file. Just put the same line in this file.

For more information have a look at
     $ man dot-qmail
     $ man qmail-command
     $ man qmail-users

        \Maex
-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.

Reply via email to