On Sat, Jan 22, 2000 at 05:37:29PM +0900, Kristina wrote:
> Is there a way I can get qmail-local to deliver to /var/spool/mail/username
> file??
>
> I know you can get the mbox format by using /bin/mail but I want
> mbox format delivery with qmail-local!
qmail-local runs with the permissions of the user it is delivering to,
and in general, ordinary users of a system do not have permission to
write into /var/spool/mail, unless their mbox format file already
exists, and is writable by the user. Normally, it would be present, but
some programs remove it; if you can guarantee that all your users' mbox
files will exist in /var/spool/mail, you could try:
qmail-start '/var/spool/mail/$USER' ....
--
See complete headers for more info