procmail
[Top] [All Lists]

confused.. rules..

2002-03-17 16:50:30
Hi,

Here is my scenario: i have a @domain.com 

1) All e-mail from @domain.com saved in /mail/OUT.domain
2) All incoming mail to @domain.com saved in /mail/IN.domain
3) All incoming mail to user(_at_)domain(_dot_)com saved in /mail/IN.user, 
however, it should not
go to /mail/IN.domain as well.

Now, imagine i send an email from @domain.com to @domain.com and naturally the 
OUTGOING copy 
of mail should be saved in /mail/OUT.domain and incoming in /mail/IN.domain.. 
and that is 
what I an failing to do.

If i do the following rule, it will match in the body of message both FROM and 
TO domain.com 
and save it /mail/OUT.domain without going to the second rule with only matches 
TO. How do i 
make it work?

:O w
* ^FROM.*domain.com

Thank you in advance!
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • confused.. rules.., Vlad <=