Charles Werbick wrote:
> 
> Geoff,
>         I doubt the problem is with the user/group if your just trying to use the
> sendmail wrapper. I've used it as non-priveledged users with no problems
> with the permissions at 0755.
> 
> Log in as nobody and try:
> 
>         echo to:postmaster | /var/qmail/bin/qmail-inject -A postmaster
> 
> If it works, you should get the message. Hope this helps.
> 
> Regards,
> Charles Werbick
> The Wirehouse
[snip]

Thanks for the reply, but the result is the same...qmail-inject: fatal:
read error. Just tried with a 'normal' user..same problem. Only seems to
work as root. Permissions seem OK...

/var/qmail
   4 drwxr-sr-x   2 alias    qmail        4096 Mar 23 14:24 alias
   4 drwxr-xr-x   2 root     qmail        4096 Feb 23 23:26 bin
   4 drwxr-xr-x   2 root     qmail        4096 Feb 23 23:26 boot
   4 drwxr-xr-x   2 root     qmail        4096 Apr 25 15:02 control
   4 drwxr-xr-x   2 root     qmail        4096 Feb 23 23:28
defaultdelivery
   4 drwxr-xr-x   2 root     qmail        4096 Feb 23 23:26 doc
   4 drwxr-xr-x   6 root     qmail        4096 Feb 23 23:26 man
   4 drwxr-x---  11 qmailq   qmail        4096 Feb 23 23:26 queue
   4 -rwxr-xr-x   1 root     root          204 Feb 23 23:25 rc
   4 drwxr-xr-x   2 root     qmail        4096 Feb 23 23:25 users

/var/qmail/control
   4 drwxr-xr-x   2 root     qmail        4096 Apr 25 15:02 .
   4 drwxr-xr-x  11 root     qmail        4096 Feb 23 23:28 ..
   4 -rw-r--r--   1 root     root           12 Feb 23 23:26
defaultdomain
   4 -rw-r--r--   1 root     root           87 Mar 20 17:37 locals
   4 -rw-r--r--   1 root     root           19 Feb 23 23:26 me
   4 -rw-r--r--   1 root     root           12 Feb 23 23:26 plusdomain
   4 -rw-r--r--   1 root     root           88 Mar  7 14:59 rcpthosts
   4 -rw-rw-r--   1 root     root           26 Mar  7 14:58
virtualdomains

/var/qmail/bin
  12 -rwxr-xr-x   1 root     qmail        9248 Feb 23 23:25 bouncesaying
  16 -rwxr-xr-x   1 root     qmail       15404 Feb 23 23:25 condredirect
   4 -rwxr-xr-x   1 root     root         2198 Feb 23 23:25 config
   4 -rwxr-xr-x   1 root     root         1087 Feb 23 23:25 config-fast
   4 -rwxr-xr-x   1 root     qmail         126 Feb 23 23:25 datemail
  12 -rwxr-xr-x   1 root     root        10728 Feb 23 23:25 dnsfq
  12 -rwxr-xr-x   1 root     root        10696 Feb 23 23:25 dnsip
  12 -rwxr-xr-x   1 root     root        10600 Feb 23 23:25 dnsptr
   4 -rwxr-xr-x   1 root     qmail         114 Feb 23 23:25 elq
  12 -rwxr-xr-x   1 root     qmail        9184 Feb 23 23:25 except
  16 -rwxr-xr-x   1 root     qmail       14380 Feb 23 23:25 forward
   8 -rwxr-xr-x   1 root     root         4424 Feb 23 23:25 hostname
  20 -rwxr-xr-x   1 root     root        17684 Feb 23 23:25 instcheck
   8 -rwxr-xr-x   1 root     root         7460 Feb 23 23:25 ipmeprint
  20 -rwxr-xr-x   1 root     qmail       19212 Feb 23 23:25 maildir2mbox
  12 -rwxr-xr-x   1 root     qmail        8860 Feb 23 23:25 maildirmake
  20 -rwxr-xr-x   1 root     qmail       17384 Feb 23 23:25 maildirwatch
   4 -rwxr-xr-x   1 root     qmail         179 Feb 23 23:25 mailsubj
   4 -rwxr-xr-x   1 root     qmail         115 Feb 23 23:25 pinq
  16 -rwxr-xr-x   1 root     qmail       13020 Feb 23 23:25 predate
  16 -rwxr-xr-x   1 root     qmail       13240 Feb 23 23:25 preline
   4 -rwxr-xr-x   1 root     qmail         115 Feb 23 23:25 qail
  12 -rwxr-xr-x   1 root     qmail       11908 Feb 23 23:25 qbiff
  12 -rwx--x--x   1 root     qmail       10260 Feb 23 23:25 qmail-clean
   8 -rwx--x--x   1 root     qmail        5792 Feb 23 23:25 qmail-getpw
  36 -rwxr-xr-x   1 root     qmail       34748 Feb 23 23:25 qmail-inject
  36 -rwx--x--x   1 root     qmail       33944 Feb 23 23:25 qmail-local
  20 -rwx------   1 root     qmail       17256 Feb 23 23:25 qmail-lspawn
  16 -rwx------   1 root     qmail       14352 Feb 23 23:25 qmail-newmrh
  12 -rwx------   1 root     qmail       11584 Feb 23 23:25 qmail-newu
  20 -rwxr-xr-x   1 root     qmail       18988 Feb 23 23:25 qmail-pop3d
  12 -rwx--x--x   1 root     qmail       11344 Feb 23 23:25 qmail-popup
  16 -rwx--x--x   1 root     qmail       15880 Feb 23 23:25 qmail-pw2u
  16 -rwxr-xr-x   1 root     qmail       13016 Feb 23 23:25 qmail-qmqpc
  16 -rwxr-xr-x   1 root     qmail       13888 Feb 23 23:25 qmail-qmqpd
  24 -rwxr-xr-x   1 root     qmail       21128 Feb 23 23:25 qmail-qmtpd
  16 -rwxr-xr-x   1 root     qmail       15348 Feb 23 23:25 qmail-qread
   4 -rwxr-xr-x   1 root     qmail         371 Feb 23 23:25 qmail-qstat
  16 -rws--x--x   1 qmailq   qmail       12708 Feb 23 23:25 qmail-queue
  28 -rwx--x--x   1 root     qmail       25096 Feb 23 23:25 qmail-remote
  16 -rwx--x--x   1 root     qmail       13444 Feb 23 23:25 qmail-rspawn
  40 -rwx--x--x   1 root     qmail       39492 Feb 23 23:25 qmail-send
  16 -rwxr-xr-x   1 root     qmail       15956 Feb 23 23:25
qmail-showctl
  28 -rwxr-xr-x   1 root     qmail       26108 Feb 23 23:25 qmail-smtpd
   8 -rwx------   1 root     qmail        5548 Feb 23 23:25 qmail-start
  12 -rwxr-xr-x   1 root     qmail        9248 Feb 23 23:25 qmail-tcpok
  12 -rwxr-xr-x   1 root     qmail       10356 Feb 23 23:25 qmail-tcpto
  24 -rwxr-xr-x   1 root     qmail       21724 Feb 23 23:25 qreceipt
  12 -rwxr-xr-x   1 root     qmail       11344 Feb 23 23:25 qsmhook
  12 -rwxr-xr-x   1 root     qmail        9588 Feb 23 23:25 sendmail
   8 -rwx--x--x   1 root     qmail        6544 Feb 23 23:25 splogger
  20 -rwxr-xr-x   1 root     qmail       17240 Feb 23 23:25 tcp-env

/var/qmail/queue is interesting, but I expect this is deliberate...

   4 drwx------   2 qmails   qmail        4096 Apr 10 14:56 bounce
   4 drwx------  25 qmails   qmail        4096 Feb 23 23:26 info
   4 drwx------   2 qmailq   qmail        4096 Apr 25 14:52 intd
   4 drwx------  25 qmails   qmail        4096 Feb 23 23:26 local
   4 drwxr-x---   2 qmailq   qmail        4096 Feb 23 23:26 lock
   4 drwxr-x---  25 qmailq   qmail        4096 Feb 23 23:26 mess
   4 drwx------   2 qmailq   qmail        4096 Apr 25 14:52 pid
   4 drwx------  25 qmails   qmail        4096 Feb 23 23:26 remote
   4 drwxr-x---   2 qmailq   qmail        4096 Apr 25 14:52 todo

Any other ideas?

Cheers
Geoff

Reply via email to