Jonathan Herbert wrote:
>
> Hi gang,
>
> I've been fighting with this one for a while now, i'm not sure what the
> exact problem is.
>
> The system is running openbsd 2.6, with the generic kernel.
>
> As far as i can tell, qmail is running alright, but vpopmail is doing
> something weird.
>
> For instance, when i add a virtual domain:
>
> host# ./vadddomain test
> Please enter password for postmaster:
> enter password again:
> ps: illegal option -- f
> usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user]
> [-M core] [-N system] [-W swap]
> ps [-L]
> host#
>
> Something tells me this is not the correct behavior =)
>
> My best guess is that the vadddomain command never finishes setting up all
> of the necessary files, or makes all of the required changes to
> /var/qmail/users/assign, and /var/qmail/control/{rcpthosts,locals}.
>
> I'm interested in seeing this work, it's been a while since i've used qmail
> with inter7's excellent vchkpw. I can't wait to see some of the new features
> in action!
>
> Thanks,
>
> Jonathan
Check the config.h file for #define PS_COMMAND
It looks like it might not be setting the ps command options correctly
for openBSD. If this is the case, it will have setup everything correcly
and failed on HUPing qmail-send. qmail-send needs to be HUP'd when a
new virtual domain gets added since the control/rcpthosts and
control/virtualdomains
have the new domain added.
I suspect your PS_COMMAND is set to "ps -ef". It should probably be
set to ps ax or ps -ax
Ken Jones