From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Thu 06 Jul 2000 - 13:02:48 IST
> > > #!/bin/sh
> > >
> > > # message arrives on stdin. Save to spool dir
> > /var/spool/luser-mail and
> > > # deal with it (or maybe have cron job to deal with it)
> > But mail arrives to this file (/var/spool/mail/luser-user) default. So I
> > don't need to save it to this location. Or should I save it ?
> > That's the problem to me. The mails constantly arrives and
> > the only possibility to tell the difference between them is watching the
> > delimeter ( the "." mark in my case). But how could I save it
> individually
> > ? Or did I misunderstand the things ?
>
> Yes, you did. Normally mail for luser-user will be delivered
> to his mbox at /var/spool/mail/luser-user. What I suggested
> is to alias luser-user to "|luser-script". With sendmail, this
> will run the script separately for _each_ message. This script
> then saves the message to separate files in /var/spool/luser-user/.
^
should be /var/spool/luser-mail --------------------+
> Please read the dir names carefully.
And I should type the dir names carefully...
Later,
Kenn
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:48 GMT