#Unicks' TextDrive and Postini hack DEFAULT=$HOME/Maildir/ MAILDIR=$DEFAULT LOGFILE=$HOME/logs/procmail_log_`date "+%Y.%m.%d"` # check for this header, if it is externally received from postini # it'll always be user@machine.textdrive.com :0: * ^X-Original-To:.*@mydomain.com\> $DEFAULT/ # check for the postini Received: from header, if it isn't there then send the message to "non-postini-spam" # uncomment if we are using system 5, 6, 7, 8, 20 - 64.18.0.0 - 64.18.15.255 #:0: #* ! Received:\ from\ psmtp\.com.*(64\.18\.([0-9]|1[0-5])\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))) #$DEFAULT/.SPAM.maybe-spam/ # uncomment if we are using system 20, 200, 201 ie. 207.126.144.0 - 207.126.159.255 :0: * ! Received:\ from\ psmtp\.com.*(207\.126\.(1(4[4-9]|5[0-9]))\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))) $DEFAULT/.SPAM.maybe-spam/ IN.