On 01-Mar-11 23:25, PakOgah wrote:
Okay I found the answer by looking somebody else VHOME, so here's how I create email filter / rules on server using maildropI tried to create a .mailfilter rules based on slamp slamp example http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg15443.htmlwhich will deliver email with subject contain qmailtoaster to folder qmailtoaster and email with subject contain SPAM or BULK to folder Spam and other email goes to inbox but somehow the file didn't work. Can someone tell me what's wrong with it ? Thank b4 [root@svr-m1 ~]# cat /home/vpopmail/domains/pala.bo-tak.info/pakogah/.mailfilter if (/^Subject: *qmailtoaster*/) { exception { to $VHOME/Maildir/.qmailtoaster/ } } if (/^Subject: *SPAM*/ || /^Subject:.*BULK*/) { exception { to $VHOME/Maildir/.Spam/ } } to "$VHOME/Maildir" first make sure maildrop is installed on server. when you install
qmailtoaster, it’s there by default. then create .qmail file inside your VHOME, that look like this
after that create .mailfilter file and create your rule, in below example I just create a simple ones
|
- [qmailtoaster] .mailfilter rules PakOgah
- [qmailtoaster] Re: .mailfilter rules Pak Ogah