Sending this again in hopes of new eyes seeing it. Specifically, how can I diagnose/test why qmail-local can't execute qmail-queue (on a system (OS X) that doesn't have strace)?

I expect dtrace could delve into it for me but I haven't found a d-script to that.



Good morning,

On 5/1/08 at 10:30 AM -0700, Rick Widmer <[EMAIL PROTECTED]> wrote:

I installed on OS X (Leopard) so I had to deviate a bit to get
things to compile. And vpopmail couldn't go in /home due to
something about that being a network automount path (I didn't
explore that; just changed to /usr/local instead).

How? Hopefully you changed the home directory of the vpopmail user in /etc/passwd before you compiled vpopmail. Just moving stuff around may not work because vpopmail compiles in a number of things like this.

Yes, the home directory for vpopmail user was set before I began compiling. Output from configure shows the correct directories.

I don't believe .qmail-admin involves vdelivermail at all. When the message is submitted to qmail-local for processing, qmail-local finds the forward and attempts to run qmail-queue to re-queue the message. Vdelivermail will not be called because qmail-local found a .qmail file that matched in the domain directory.


What we know...

qmail-smtpd can execute qmail-queue  (qq)

qmail-inject can not execute qmail-queue

qmail-local can not execute qmail-queue

Yep., that's pretty much the conclusion I've come to. But I can't find anything to indicate why qmail-local can't execute qmail-queue. What can I do to diagnose/test this further?

I though about calling qmail-local manually, but I'm having trouble finding an example for that. The man page says the message needs to be seekable and I'm not sure how to set that up.

What are the permissions in /var/qmail/bin?

# ls -la /var/qmail/bin/
total 2696
drwxr-xr-x   2 root    qmail    1870 Jan  5 12:53 .
drwxr-xr-x  16 root    qmail     646 Jan  5 12:31 ..
-rwxr-xr-x   1 root    qmail   17596 Jan  5 11:33 bouncesaying
-rwxr-xr-x   1 root    qmail   22780 Jan  5 11:33 condredirect
-rwxr-xr-x   1 root    qmail     126 Jan  5 11:33 datemail
-rwxr-xr-x   1 root    qmail     114 Jan  5 11:33 elq
-rwxr-xr-x   1 root    qmail   17596 Jan  5 11:33 except
-rwxr-xr-x   1 root    qmail   22676 Jan  5 11:33 forward
-rwxr-xr-x   1 root    qmail   27524 Jan  5 11:33 maildir2mbox
-rwxr-xr-x   1 root    qmail   13440 Jan  5 11:33 maildirmake
-rwxr-xr-x   1 root    qmail   27468 Jan  5 11:33 maildirwatch
-rwxr-xr-x   1 root    qmail     179 Jan  5 11:33 mailsubj
-rwxr-xr-x   1 root    qmail     115 Jan  5 11:33 pinq
-rwxr-xr-x   1 root    qmail   18416 Jan  5 11:33 predate
-rwxr-xr-x   1 root    qmail   22736 Jan  5 11:33 preline
-rwxr-xr-x   1 root    qmail     115 Jan  5 11:33 qail
-rwxr-xr-x   1 root    qmail   18800 Jan  5 11:33 qbiff
-rwxr-xr-x   1 root    qmail   22438 Jan  5 13:01 qmHandle
-rwx--x--x   1 root    qmail   18568 Jan  5 11:33 qmail-clean
-rws--x--x   1 qmailq  qmail   43024 Jan  5 11:33 qmail-dk
-rwx--x--x   1 root    qmail   13536 Jan  5 11:33 qmail-getpw
-rwxr-xr-x   1 root    qmail   51000 Jan  5 11:33 qmail-inject
-rwx--x--x   1 root    qmail   55372 Jan  5 11:33 qmail-local
-rwx------   1 root    qmail   23884 Jan  5 11:33 qmail-lspawn
-rwx------   1 root    qmail   22820 Jan  5 11:33 qmail-newmrh
-rwx------   1 root    qmail   19028 Jan  5 11:33 qmail-newst
-rwx------   1 root    qmail   18832 Jan  5 11:33 qmail-newu
-rwxr-xr-x   1 root    qmail   37452 Jan  5 11:33 qmail-pop3d
-rwx--x--x   1 root    qmail   19356 Jan  5 11:33 qmail-popup
-rwx--x--x   1 root    qmail   23816 Jan  5 11:33 qmail-pw2u
-rwxr-xr-x   1 root    qmail   23624 Jan  5 11:33 qmail-qmqpc
-rwxr-xr-x   1 root    qmail   23096 Jan  5 11:33 qmail-qmqpd
-rwxr-xr-x   1 root    qmail   32448 Jan  5 11:33 qmail-qmtpd
-rwxr-xr-x   1 root    qmail   23080 Jan  5 11:33 qmail-qread
-rwxr-xr-x   1 root    qmail     371 Jan  5 11:33 qmail-qstat
-rws--x--x   1 qmailq  qmail   19664 Jan  5 11:33 qmail-queue
-rwx--x--x   1 root    qmail   51892 Jan  5 11:33 qmail-remote
-rwx--x--x   1 root    qmail   19372 Jan  5 11:33 qmail-rspawn
-rwx--x--x   1 root    qmail   56520 Jan  5 11:33 qmail-send
-rwxr-xr-x   1 root    qmail   27356 Jan  5 11:33 qmail-showctl
-rwxr-xr-x   1 root    qmail  184996 Jan  5 11:33 qmail-smtpd
-rwx------   1 root    qmail    9316 Jan  5 11:33 qmail-start
-rwxr-xr-x   1 root    qmail   17692 Jan  5 11:33 qmail-tcpok
-rwxr-xr-x   1 root    qmail   18032 Jan  5 11:33 qmail-tcpto
-rwxr-xr-x   1 root    qmail    3636 Jan  4 02:04 qmailctl
-rwxr-xr-x   1 root    qmail   32116 Jan  5 11:33 qreceipt
-rwxr-xr-x   1 root    qmail   19044 Jan  5 11:33 qsmhook
-rwxr-xr-x   1 root    qmail   27760 Jan  5 09:31 queue-fix
-rwxr-xr-x   1 root    qmail   26286 Jan  5 09:37 queue_repair.py
-rwxr-xr-x   1 root    qmail   18236 Jan  5 11:33 sendmail
-rwx--x--x   1 root    qmail   13812 Jan  5 11:33 splogger
-rwxr-xr-x   1 root    qmail   28060 Jan  5 11:33 tcp-env
-rwxr-xr-x   1 root    qmail     831 Jan  5 11:33 update_tmprsadh
-rwxr-xr-x   1 root    qmail    2613 Jan  4 02:37 vpopmailctl


If you haven't looked at the qmail Big Picture, it might be helpful...

http://www.nrg4u.com/

Thanks, had been looking for something like that and best I found were the PIC docs.


Charlie

--
   Charlie Garrison  <[EMAIL PROTECTED]>
   PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



!DSPAM:478618bf310543737731242!

Reply via email to