procmail
[Top] [All Lists]

How to make logical and?

2004-09-27 07:28:37
Hello all,

I don't understand a situation. I need to make a logical and. The situation:

- user1, user2 and user3 can send mail to anybody.
- anybody can send mail to user1, user2 and user3 only.

My procmail:

:0
* ! From:*.user1
* ! From:*.user2
* ! From:*.user3
* ! To:*.user1
* ! To:*.user2
* ! To:*.user3
{ :0 fw
   |(formail -r -i "From:suport(_at_)mynet(_dot_)com" -A "X-Loop: suport";\
   cat /etc/adm/deny.msg)|sendmail -oi -t

   :0
   /dev/null
}

However, user5 cannot send mail to user2. Why?

Thanks!

Eriberto

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>