On Sep 27, 2007, at 6:16 PM, Tren Blackburn wrote:
However as soon as I append another pipe like so:

cat .qmail-default

|/home/vpopmail/etc/qmail-pipe |/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

(I'm working offline, so apologies if an answer has already shown up on the list).

If qmail-pipe doesn't alter the contents of the message, then you wan this:

cat .qmail-default
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

With that setup, qmail-pipe's exit code will tell qmail-local to defer delivery if necessary.

If it does alter the contents, then you want to make sure you're not passing any output to vdelivermail. I'm not an expert on pipes, but you may have to break the pipeline somehow for the qmail-pipe exit code to get through to qmail-local. Otherwise, it really doesn't matter how qmail-pipe exits, the message will continue to flow through the pipeline.

Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/

Reply via email to