Hi,
What you are showing looks like a mailfilter for one person. I need it for a 
global setting. This .qmail file, is that what tells qmail use maildrop? And 
where is the location of the .qmail file for delivery to all users under any 
vdomain? 

The line you put in, |/var/qmail/bin/preline /usr/local/bin/maildrop 
.qmailfilter
is that the line (exacly as shown) as it is needed? The document 
../README.maildirfilter.html says that there must be a file called 
"maildirfilterconfig" which is goes on to say "The contents of this file 
should be as follows:
MAILDIRFILTER=pathtomailfilter
MAILDIR=pathtomaildir" 

That's where I am getting stuck. I had maildrop installed, and the filter 
button appeard, but did not perform the functions. 

Thanks for any help on this. 

Lanny
webmail writes: 

> Hi,
> i have configure the mail filters like this,but it can work correct! 
> 
> 1.
> /home/vpopmail/domains/suxian.net/simple/Maildir
> /home/vpopmail/domains/suxian.net/simple/.qmailfilter
> /home/vpopmail/domains/suxian.net/simple/.qmail 
> 
> 2.
> the .qmail :
> |/var/qmail/bin/preline /usr/local/bin/maildrop .qmailfilter 
> 
> 3.
> the .qmailfilter create by sqwebmail :
> #MFMAILDROP=1
> #
> # DO NOT EDIT THIS FILE.  This is an automatically generated filter. 
> 
> FROM='[EMAIL PROTECTED]'
> ##Op:islargerthan
> ##Header:
> ##Value:100
> ##Folder:.Trash
> ##Continue
> ##Name:qq
> if (($SIZE > 100))
> {
>    cc "./Maildir/.Trash/."
> } 
> 
> to "./Maildir/." 
> 
> 4.the error msg:
> @400000003b89a45829946ab4 new msg 20095
> @400000003b89a45829963f74 info msg 20095: bytes 62883 from <[EMAIL PROTECTED]> 
>qp 22918 uid 521
> @400000003b89a45829b6bfc4 starting delivery 3148: msg 20095 to local 
>[EMAIL PROTECTED]
> @400000003b89a45829b7d51c status: local 3/10 remote 0/20
> @400000003b89a4582ba3fd4c delivery 3146: success: 
>/usr/local/bin/maildrop:_Cannot_determine_my_username./did_0+0+1/
> @400000003b89a4582ba7413c status: local 2/10 remote 0/20
> @400000003b89a4582ba9dd34 end msg 20091 
> 
> 
> would you please give me some advice?
> thanks, 
> 
> Simple Lee 
> 
> 
> ----- Original Message ----- 
> From: "Andy Bradford" <[EMAIL PROTECTED]>
> To: "Lanny Baron" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, August 25, 2001 7:37 AM
> Subject: Re: using mailfilter  
> 
> 
>> Thus said "Lanny Baron" on Fri, 24 Aug 2001 16:16:53 GMT: 
>> 
>> > filtering  doesn't seem  to.  The mailfilter  says  you must  install 
>> > maildrop, which I have done.                                          
>> >
>> > What is the secret to get this working? 
>> 
>> Assuming you're using qmail, have  you changed the delivery instructions
>> in your .qmail file? If not, then no filtering will occur and qmail will
>> deliver  as per  the default  instructions into  your Maildir.  You need
>> something like 
>> 
>> | /var/qmail/bin/preline /usr/local/bin/maildrop 
>> 
>> in your  .qmail file (I'm not  certain if preline is  actually necessary
>> though; Sam could probably verify this).  If you aren't using qmail then
>> consult the documentation for that MTA. :-) 
>> 
>> Andy
>> -- 
>> GnuPG ID 0xA63888C9 (D2DA 68C9 BB2B 26B4 8204  2219 A43E F450 A638 88C9)
>> [-----------[system uptime]--------------------------------------------]
>>   5:37pm  up 45 days, 16:15,  6 users,  load average: 1.24, 1.55, 1.57 
>> 
>>  
>> 
 


 -------------------------------
Lanny Baron
http://www.freebsdsystems.com 

Reply via email to