On Sat, Dec 23, 2000 at 09:27:52PM +0000, Anonymous user wrote:
> Has anybody got a more elegant way of doing this?

What would you consider "elegant" ?

> 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?

The whole direcvtory and any subdir has to be owned by user "alias".
(That's the user under who's permissions the mail gets delivered).

> 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?

Yes, the script gets the whole message on stdin.
It doesn't have to outout anything, you can however control further
delivery by exit codes.
See the  qmail-command  man page for more information.

        \Maex

-- 
SpaceNet AG               |   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