[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Permissions



I'm running ZMailer 2.99.50s17 and I run into a problem.
I want to create a "secure" channel, a channel which will work
with UID > 0.  Sounds pretty simple, just enter to the channel
configuartion in scheduler.conf line like this:

test/*		maxring=1
		user=lora
		group=zmailer
		# (...)

Great, but instead of delivery I get this in log/scheduler:

cheduler: scheduler daemon (2.99.50-s17 #1: Thu May 13 18:52:48 CEST 1999)
        pid 26858 started at Sun, 16 May 1999 12:13:33 +0200

Synchronous startup completed, messages: 0 (0 skipped) recipients: 0
***********************************************************************
19990516121353 DBGdiag: # sm:26878: Cannot open control file "H/1445139-26859" from "/var/spool/postoffice/transport" for "test/-" as uid 509! (Permission denied)
Resyncing file "H/1445139-26859" (ino=1445139) (of=1 ho='-') .. resynced!
19990516121353 DBGdiag: # sm:26878: Cannot open control file "H/1445139-26859" from "/var/spool/postoffice/transport" for "test/-" as uid 509! (Permission denied)
Resyncing file "H/1445139-26859" (ino=1445139) (of=1 ho='-') .. resynced!
19990516121353 DBGdiag: # sm:26878: Cannot open control file "H/1445139-26859" from "/var/spool/postoffice/transport" for "test/-" as uid 509! (Permission denied)
Resyncing file "H/1445139-26859" (ino=1445139) (of=1 ho='-') .. resynced!

[root@atlantis postoffice]# ls -l `find -type f ! -name ".*"`
-rw-r-----   1 qnex     root         1025 May 16 11:58 ./queue/H/1445139-26699
-r--rw----   1 qnex     root          895 May 16 11:58 ./transport/H/1445139-26699

Permissions are fine, so long as the GID of file is set by me
(this would be daemon or zmailer).  I don't want this "secure"
channel to work wirh root's GID, so this is not a solution.

And the question is: what did I miss, where can I set ownership of
files created by ZMailer?

    Regards,
      Dawid Kuroczko
-- 
        .------------------.                            .----------.
        | *Dawid Kuroczko* `---------------------------=' _Kraków_ |
        | EMACS = Exceptionally Mediocre Autocratic Control System |
        `----------------------------------------------------------'