Mailing List Archive

.qmail permissions with majordomo
Hello all,

I'm trying to get majordomo running with qmail, and I'm getting this error
in the qmail logs:

Mar 20 02:40:18 nickel qmail: 858940818.497614 starting delivery 227: msg
184448 to local streamworks-outgoing@nickel.xingtech.com
Mar 20 02:40:18 nickel qmail: 858940818.575560 delivery 227: deferral:
Permission_error_trying_to_open_.qmail_file._(#4.3.0)/

Any ideas what the permissions should be?


Here are the permissions of my .qmail files:

drwxr-xr-x 3 alias qmail 1024 Mar 20 11:50 .
drwxrwxr-x 4 root root 1024 Mar 18 12:05 ..
-rw-rw-r-- 1 alias nofiles 41 Mar 18 11:43 .qmail-default
-rw-rw-r-- 1 alias nofiles 32 Mar 18 09:46 .qmail-mailer-daemon
-rw-rw-r-- 1 alias nofiles 222 Mar 20 08:03 .qmail-majordomo
-rw-rw-r-- 1 alias nofiles 19 Mar 19 11:09 .qmail-majordomo-owner
-rw-rw-r-- 1 alias nofiles 19 Mar 18 10:04 .qmail-owner-streamworks
-rw-rw-r-- 1 alias nofiles 19 Mar 18 11:18 .qmail-owner-streamworks-digest
-rw-rw-r-- 1 alias nofiles 32 Mar 18 09:46 .qmail-postmaster
-rw-rw-r-- 1 alias nofiles 26 Mar 18 09:47 .qmail-root
-rw-rw-r-- 1 alias nofiles 130 Mar 20 11:45 .qmail-streamworks
-rw-rw-r-- 1 alias nofiles 19 Mar 18 11:18 .qmail-streamworks-approval
lrwxrwxrwx 1 alias nofiles 43 Mar 19 09:41 .qmail-streamworks-outgoing -> /usr/local/majordomo-mail/lists/streamworks
-rw-rw-r-- 1 alias nofiles 83 Mar 19 09:45 .qmail-streamworks-request

and /usr/local/majordomo-mail/lists/streamworks has the permissions:
-rw-rw-r-- 1 majordom majordom 42 Mar 20 07:21 streamworks

Thanks,
-db

--
Dean Baender (dean@xingtech.com) WWW : http://www.xingtech.com
Xing Technology Corp. Phone: 805.473.0145
Creators of StreamWorks, Live and On Demand Fax : 805.473.0147
Audio and Video over LAN's and WAN's ICBM : 35.16.58 N 120.39.31 W
Re: .qmail permissions with majordomo [ In reply to ]
[ dean@xingtech.com <dean@xingtech.com> 1997-3 -21 11:38 -0800 ]
|---
| Hello all,
|
| I'm trying to get majordomo running with qmail, and I'm getting this
| error in the qmail logs:
|
| Mar 20 02:40:18 nickel qmail: 858940818.497614 starting delivery 227:
| msg 184448 to local streamworks-outgoing@nickel.xingtech.com
| Mar 20 02:40:18 nickel qmail: 858940818.575560 delivery 227: deferral:
| Permission_error_trying_to_open_.qmail_file._(#4.3.0)/
|
| Any ideas what the permissions should be?
|
| Here are the permissions of my .qmail files:
|
| drwxr-xr-x 3 alias qmail 1024 Mar 20 11:50 .
| drwxrwxr-x 4 root root 1024 Mar 18 12:05 ..
| -rw-rw-r-- 1 alias nofiles 41 Mar 18 11:43 .qmail-default
[...]

They should not be group writable.
chmod 644 .qmail* should solve your problem nicely.

(Is this a candidate for the MFAQ?)

- Harald
Re: .qmail permissions with majordomo [ In reply to ]
On Fri, 21 Mar 1997 dean@xingtech.com wrote:

> Hello all,
>
> I'm trying to get majordomo running with qmail, and I'm getting this error
> in the qmail logs:
>
> Mar 20 02:40:18 nickel qmail: 858940818.497614 starting delivery 227: msg
> 184448 to local streamworks-outgoing@nickel.xingtech.com
> Mar 20 02:40:18 nickel qmail: 858940818.575560 delivery 227: deferral:
> Permission_error_trying_to_open_.qmail_file._(#4.3.0)/
>
> Any ideas what the permissions should be?
>
1.) Set the directory permission of /usr/local/majordomo-mail/lists to
drwxrwx--x

>
> Here are the permissions of my .qmail files:
>
> -rw-rw-r-- 1 alias nofiles 83 Mar 19 09:45 .qmail-streamworks
-request
>
> and /usr/local/majordomo-mail/lists/streamworks has the permissions:
> -rw-rw-r-- 1 majordom majordom 42 Mar 20 07:21 streamworks

2.) the permissions on a listfile containing the names of the list
recipients should be; -rwxr--r--

>
> Thanks,
> -db
>
> --
> Dean Baender (dean@xingtech.com)

3.) and most importantly imo,
Pick up by ftp Chael Hall's fantastic majordomo scripts for qmail.
They are masterpieces of clarity for new users and will save you
endless hours of banging your head. At least they did for me. :)
They're available by ftp from ftp.chaos.taylored.com in /pub/development
in a file called mj+qmail-current.tar.gz or mj+qmail-1.02.tar.gz last I
looked. or by http://www.chaos.taylored.com/pub/development

Harley Silver
Re: .qmail permissions with majordomo [ In reply to ]
On Fri, 21 Mar 1997 dean@xingtech.com wrote:

> Hello all,
>
> I'm trying to get majordomo running with qmail, and I'm getting this error
> in the qmail logs:
>
> Mar 20 02:40:18 nickel qmail: 858940818.497614 starting delivery 227: msg
> 184448 to local streamworks-outgoing@nickel.xingtech.com
> Mar 20 02:40:18 nickel qmail: 858940818.575560 delivery 227: deferral:
> Permission_error_trying_to_open_.qmail_file._(#4.3.0)/
>
> Here are the permissions of my .qmail files:
>
> lrwxrwxrwx 1 alias nofiles 43 Mar 19 09:41
> .qmail-streamworks-outgoing -> /usr/local/majordomo-mail/lists/streamworks
>
> and /usr/local/majordomo-mail/lists/streamworks has the permissions:
> -rw-rw-r-- 1 majordom majordom 42 Mar 20 07:21 streamworks

Make sure the perms on /usr/local/majordomo-mail and
/usr/local/majordomo-mail/lists are a+rx, otherwise qmail won't even be
able to access the directory the file is in, otherwise the perms are fine.
(Expect they need to be chmod g-w'd)

-Dustin Marquess