Hello
I would like to create the following:
One user-jos recieved only mail from domain ,domain1, domain2
All the other mail has to forward to second(_at_)user(_dot_)com
Here's the procmailrc
SHELL=/bin/sh
LOGFILE=$MAILDIR/.procmail-log
:0 H:
*^From:.*(domain.com|domain2.com|domain3.com)
/var/spool/mail/user-jos
:0c:
! second(_at_)user(_dot_)com
procmail-log shows
procmail: Couldn't determine implicit lockfile from "/usr/sbin/sendmail"
From myname(_at_)yahoo(_dot_)com Wed Dec 3 12:23:45 2003
Subject: test-mail
Folder: /usr/sbin/sendmail -oi second(_at_)user(_dot_)com
705
procmail: Couldn't determine implicit lockfile from "/usr/sbin/sendmail"
From myname(_at_)yahoo(_dot_)com Wed Dec 3 12:34:26 2003
Subject: test mail
Folder: /var/spool/mail/user-jos
781
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail