Excuse me, but I have tried your solution but it don't works!
My files are
~massimo/.qmail
./Maildir/
|/var/qmail/bin/condredirect iauc `822field Subject | grep -q IAUC`
~alias/.qmail-iauc
[EMAIL PROTECTED]
The messages in /var/log/qmail/current are
new msg 104056
info
Massimo Quintini writes:
Excuse me, but I have tried your solution but it don't works!
|/var/qmail/bin/condredirect iauc `822field Subject | grep -q IAUC`
Doh! Yes, of course that won't work. condredirect wants a program to
run, not a string. Try it this way:
On Thu, May 31, 2001 at 10:10:56AM -0400, Russell Nelson wrote:
Massimo Quintini writes:
Excuse me, but I have tried your solution but it don't works!
|/var/qmail/bin/condredirect iauc `822field Subject | grep -q IAUC`
Doh! Yes, of course that won't work. condredirect wants
Dear Russell
Fantastic.it works !
Thanks...thanks..and thanks again
Massimo QUINTINI
Russell Nelson wrote:
Massimo Quintini writes:
Excuse me, but I have tried your solution but it don't works!
|/var/qmail/bin/condredirect iauc `822field Subject | grep -q
I must forward msgs from 1 sender to groups of users AFTER EXAMINING
SUBJECT TEXT
example:
the rcpt of msg is user1
IF subject contains the char string xxx THEN the msg must be forwarded
to users user2, user3, user4
IF subject contains the char string yyy THEN the msg must be forwarded
to
Hello,
Just a wild idea - maybe you can use procmail to filter your messages.
I know that procmail has the best match do features.
Also try qmail.org for any user contributed utilities.
- Lucas
On Wed, 30 May 2001 15:38:14 +0200
Massimo Quintini wrote:
MQI must forward msgs from 1 sender to
Massimo Quintini writes:
I must forward msgs from 1 sender to groups of users AFTER EXAMINING
SUBJECT TEXT
example:
the rcpt of msg is user1
IF subject contains the char string xxx THEN the msg must be forwarded
to users user2, user3, user4
IF subject contains the char string
Russ' solution would certainly work, but this is exactly the sort
of thing that procmail is intended for. A procmailrc to do this
would look like this:
:0 c
* Subject:.*xxx
! user2 user3 user4
:0 c
* Subject:.*yyy
! user5 user6 user7
(Recent versions of procmail play better with qmail, in