Re: How to create message (filter) rule?

2001-04-18 Thread Tim Hunter

vpopmail does not user maildrop for delivery, so it never sees the
.mailfilter.
Perhaps if we complain loudly enough someone will think of a way to make
vpopmail use maildrop rules or something similar.

Also sqwebmail only creates the rules to deliver to a relative directory,
since vpopmail users home is ~vpopmail the delivery will never work.
It would need a absolute path.

- Original Message -
From: "Le Van Chi" [EMAIL PROTECTED]
To: "Johan Almqvist" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 12:45 AM
Subject: Re: How to create message (filter) rule?


 Dear Johan Almqvist,

 Thank you for your guide.
 However I still cannot get mail filters worked. My configuration include
 qmail (/var/qmail), vpopmail (/home/vpopmail), sqwebmail, maildrop
 (/usr/local/bin/maildrop)

 my /var/qmail/rc :
 exec env - PATH="/var/qmail/bin:$PATH" \
 qmail-start '|dot-forward .forward | /usr/local/bin/maildrop ./Maildir/'

 my /usr/local/share/sqwebmail/maildirfilterconfig :
 MAILDIRFILTER=../.mailfilter
 MAILDIR=./Maildir

 When I try to create a mail filter in sqwebmail, the filter rule is
created
 successfully. I can see sqwebmail creating a .mailfilter file in
 /home/vpopmail/domains/fsps.com/a1/.

 The only thing is that when I sent an email to test the rule, It does not
 seem to have any effect.

 Do I miss any configuration step?

 Thanks,



 - Original Message -
 From: "Johan Almqvist" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 17, 2001 7:03 PM
 Subject: Re: How to create message (filter) rule?

 * Le Van Chi [EMAIL PROTECTED] [010417 05:42]:
  Dear All,
  I am using vpopmail + courier-imap server and sqwebmail.
  I wonder if I can create filter rules for incoming messages.
  Thanks in advance,

 RTFM. This is described in great detail in the sqwebmail docs. The
 relevant file in the source tree is maildir/README.maildirfilter.html

 If you have problems, be sure to check the logs...

 -Johan
 --
 Johan Almqvist
 http://www.almqvist.net/johan/qmail/







Re: How to create message (filter) rule?

2001-04-18 Thread Johan Almqvist

* Tim Hunter [EMAIL PROTECTED] [010418 08:56]:
 vpopmail does not user maildrop for delivery, so it never sees the
 .mailfilter.
 Perhaps if we complain loudly enough someone will think of a way to make
 vpopmail use maildrop rules or something similar.

I went around this problem by creating a .qmail-username file containing
| maildrop ./user/Maildir/.mailfilter

That's a crude hack but it works...

 Also sqwebmail only creates the rules to deliver to a relative directory,
 since vpopmail users home is ~vpopmail the delivery will never work.
 It would need a absolute path.

Nah, works.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: How to create message (filter) rule?

2001-04-18 Thread Le Van Chi

Thank very much for your help.

I hate to bother you again but if I put 

| maildrop ./chi.lv/Maildir/.mailfilter

in /home/vpopmail/domains/fsps.com/.qmail-chi:lv  

it does not work too . I received following message:

deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./


Is there any stupid thing I have made?



- Original Message - 
From: "Johan Almqvist" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 3:01 PM
Subject: Re: How to create message (filter) rule?
* Tim Hunter [EMAIL PROTECTED] [010418 08:56]:
 vpopmail does not user maildrop for delivery, so it never sees the
 .mailfilter.
 Perhaps if we complain loudly enough someone will think of a way to make
 vpopmail use maildrop rules or something similar.

I went around this problem by creating a .qmail-username file containing
| maildrop ./user/Maildir/.mailfilter

That's a crude hack but it works...

 Also sqwebmail only creates the rules to deliver to a relative directory,
 since vpopmail users home is ~vpopmail the delivery will never work.
 It would need a absolute path.

Nah, works.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/







RE: How to create message (filter) rule?

2001-04-18 Thread Tim Hunter

Like I said it needs an absolute path.
edit your .mailfilter file and change the reference from
"./Maildir/.lists.vchkpw/."
to "/home/vpopmail/domains/indochinanet.com/chi.lv/Maildir/.lists.vchkpw/."

-Original Message-
From: Le Van Chi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 5:52 AM
To: [EMAIL PROTECTED]
Subject: Re: How to create message (filter) rule?


Thank very much for your help.

I hate to bother you again but if I put

| maildrop ./chi.lv/Maildir/.mailfilter

in /home/vpopmail/domains/fsps.com/.qmail-chi:lv

it does not work too . I received following message:

deferral: /usr/local/bin/maildrop:_Unable_to_open_mailbox./


Is there any stupid thing I have made?



- Original Message -
From: "Johan Almqvist" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 3:01 PM
Subject: Re: How to create message (filter) rule?
* Tim Hunter [EMAIL PROTECTED] [010418 08:56]:
 vpopmail does not user maildrop for delivery, so it never sees the
 .mailfilter.
 Perhaps if we complain loudly enough someone will think of a way to make
 vpopmail use maildrop rules or something similar.

I went around this problem by creating a .qmail-username file containing
| maildrop ./user/Maildir/.mailfilter

That's a crude hack but it works...

 Also sqwebmail only creates the rules to deliver to a relative directory,
 since vpopmail users home is ~vpopmail the delivery will never work.
 It would need a absolute path.

Nah, works.

-Johan
--
Johan Almqvist
http://www.almqvist.net/johan/qmail/








Re: How to create message (filter) rule?

2001-04-17 Thread Johan Almqvist

* Le Van Chi [EMAIL PROTECTED] [010417 05:42]:
 Dear All,
 I am using vpopmail + courier-imap server and sqwebmail.
 I wonder if I can create filter rules for incoming messages.
 Thanks in advance,

RTFM. This is described in great detail in the sqwebmail docs. The
relevant file in the source tree is maildir/README.maildirfilter.html

If you have problems, be sure to check the logs...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: How to create message (filter) rule?

2001-04-17 Thread Le Van Chi

Dear Johan Almqvist,

Thank you for your guide.
However I still cannot get mail filters worked. My configuration include
qmail (/var/qmail), vpopmail (/home/vpopmail), sqwebmail, maildrop
(/usr/local/bin/maildrop)

my /var/qmail/rc :
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward | /usr/local/bin/maildrop ./Maildir/'

my /usr/local/share/sqwebmail/maildirfilterconfig :
MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir

When I try to create a mail filter in sqwebmail, the filter rule is created
successfully. I can see sqwebmail creating a .mailfilter file in
/home/vpopmail/domains/fsps.com/a1/.

The only thing is that when I sent an email to test the rule, It does not
seem to have any effect.

Do I miss any configuration step?

Thanks,



- Original Message -
From: "Johan Almqvist" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 7:03 PM
Subject: Re: How to create message (filter) rule?

* Le Van Chi [EMAIL PROTECTED] [010417 05:42]:
 Dear All,
 I am using vpopmail + courier-imap server and sqwebmail.
 I wonder if I can create filter rules for incoming messages.
 Thanks in advance,

RTFM. This is described in great detail in the sqwebmail docs. The
relevant file in the source tree is maildir/README.maildirfilter.html

If you have problems, be sure to check the logs...

-Johan
--
Johan Almqvist
http://www.almqvist.net/johan/qmail/





How to create message (filter) rule?

2001-04-16 Thread Le Van Chi



Dear All,

I am using vpopmail + courier-imap server and 
sqwebmail.

I wonder if I can createfilter rules for 
incoming messages.

Thanks in advance,