Page 1 of 1

Procmail

Posted: Sat Nov 27, 2010 6:33 pm
by wasanzy
Hi,

I have in my /home/vpopmail/domains/domain/.qmai-default

| preline procmail -m -p -t /etc/procmailrc
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


Which the first line is passing the mails to procmail and the second is delivering the mails directly to the recipients.

Now my problem is, I want procmail to takecare of the delivery. But when I remove the second line, and put this in procmail:
DEFAULT= | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

The mails are not being deliver any more, and I don't kow where they been kept.

For example, if I have a rule in procmail like this:
:0H
* ^To.*postmaster@dot.com.gh
/dev/null

which said to delete any message to postmaster@dot.com.gh, I can see the mails are still being delivered.

How can I achive my goal please any one to help?

Regards

Emmanuel

Posted: Mon Nov 29, 2010 2:52 am
by lambda
are you sure you can use a pipe for DEFAULT? i thought you could only use a mailbox or maildir.