Procmail

General discussion about Linux, Linux distribution, using Linux etc.
Post Reply
wasanzy
Cadet
Posts: 2
Joined: Mon Nov 15, 2010 1:40 pm

Procmail

Post 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
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

are you sure you can use a pipe for DEFAULT? i thought you could only use a mailbox or maildir.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Post Reply