qmail + vpopmail with procmail
The only problem I am still having is how to tell qmail and vpopmail to use procmail for mail fitering.
I have my /etc/procmailrc like this:
DEFAULT="/home/vpopmail/bin/vdelivermail"
and my /home/vpopmail/domain/mydomain.com
in .qmail-default:
|preline -m -t procmail /etc/procmailrc
| /home/vpopmail/bin/vdelivermail ' ' bounce-no-mailbox
When I send mails from remote to user, the mails never gets delivered but bounces back saying there is no mailbox by that name. But when I remove the | preline -m -t procmail /etc/procmailrc, the mails get delivered.
Please help me out. What do I need to do for the procmail to support my virtual domains?
|