On Wed 1999-03-31 (20:04), [EMAIL PROTECTED] wrote:
> If I send an email to local [EMAIL PROTECTED], I get the following
> error:
>
> delivery xxx: Deferral:
> Unable_to_open_/var/spool/mail/jurriaan./_(#4.2.1)/
>
> in /root/.qmail:
>
> [EMAIL PROTECTED]
>
> in /home/jurriaan/.qmail:
>
> /var/spool/mail/jurriaan
>
> All other mail send from outside to jurriaan, sent from jurriaan to
> jurriaan goes well. Other local users can send to jurriaan as well.
> I've read and re-read man dot-qmail, and I don't see what's going wrong
> here. Permissions on both /root/.qmail and /home/jurriaan/.qmail are
> -rw-------, owned by root resp. jurriaan.
>
> middle.of.nowhere is listed in /var/qmail/control/locals, so no
> virtualdomain should interfere. I've even added a
> /home/jurriaan/.qmail-default and /home/jurriaan/.qmail-root, same
> permissions, same content as /home/jurriaan/.qmail. No luck.
>
> I'm not sure how the dot after /var/spool/mail/jurriaan comes into
> existence, I'm not sure if some qmail-subprogram (qmail-queue, right) is
> run as user root and cannot send email to jurriaan?
>
> Please give some hint as to what is going wrong here!
Qmail never delivers mail as root, so it won't look up a .qmail file in
root's home directory (since the usual process is to change to the uid of the
user before doing this). So, you have to create ~alias/.qmail-root
containing:
[EMAIL PROTECTED]
and you should get what you want.
- Keith
> Jurriaan
--
Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa
Email : [EMAIL PROTECTED]
WWW : http://www.rucus.ru.ac.za/~keith/
IRC : Panthras JAPH
"Any technology sufficiently advanced is indistinguishable from a perl script"
Standard disclaimer.
---