I have been running qmail for a few days now and it works well.

I have a problem though... I need to keep a copy of all messages sent and
received. I followed the instructions in the faq, creating a .qmail-log
file in /var/qmail/alias with ./msg-log in it. 

This does the job as described, but I am now just accumulating one huge
file with attachments and all sorts in it.

Has anybody got a more elegant way of doing this?

I have been trying to work something out for myself, but there are a few
things that I can't find much about/don't understand in the documentation.

There is little info about the alias directory. Am I correct in assuming
that the alias files .qmail-xxxx work the same way as a .qmail file in ones
home directory?

Thinking this I tried to construct a Maildir for my messages by putting
./MaildirLog/ in .qmail-log and creating a maildir in the alias directory -
it didn't work (I got can chdir to directory messages in the log). I am now
wondering though if I should have created the Maildir owned by a particular
user - any info?

One more thing. Can I put the |script type construct in the .qmail-log file
to process the messages myself? If so, I am not sure how it works. Does
this mean that the routine you specify will get the whole message on STDIN?
Does the system expect any output or can you do anything you like with the
message in the script?

Any help appreciated. I am very impressed with qmail so far, although the
docs could be better I think (and yes, for once I did read everything I
could find before posting).

Thanks

Reply via email to