Procmail

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

Procmail

Postby wasanzy » Sat Nov 27, 2010 6:33 pm

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:

Postby lambda » Mon Nov 29, 2010 2:52 am

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"?


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests