Hi everyone.
This problem is pulling my hair out, and I've run out of ideas.
I run a postfix mail server. For normal mail, the flow is as follows:
internet -> postfix -> virtual_transport -> dspam -> maildrop -> maildir
This is okay, and it works great.
The problem is this:
When dspam catches a spam, it quarantines it. You can log into the
WebUI and deliver a quarantined message, which delivers via maildrop,
with a command similar to:
/cat file | maildrop -d us...@domain.tld
/This fails with the error:/
maildrop: signal 0x06/
dspam runs as user:group dspam:dspam. From the webui, I am using
suexec, which runs as dspam:dspam.
maildrop seems to run as whatever user is calling it, so in either case,
it is dspam which maildrop is running as.
If I:
/su dspam
cat file | maildrop -d us...@domain.tld/
I still get the same error (maildrop: signal 0x06)
What I do not understand is why things work when in the postfix-flow,
but not when being called from the webui or manually from the command line.
Any ideas?
Thank you!