procmail
[Top] [All Lists]

problems with recipe to reduce/stop spam

2008-01-18 10:58:54
I am trying cut down on spam by using the recipe by
Nic Wolff found at:

http://angel.net/~nic/spam-x/procmailrc.txt


It seems straight forward enough but something's not
working right.

I send an e-mail from yahoo to mydomain.com. My yahoo
account does receive the auto respond asking to
verify, however my domain mailbox still gets the
message without the verification email being replied
to. 

Below is what I see in .procmail_log:

For posting purposes, I replaced my actual domain with
"mydomain.com"
My mailbox in "mydomain.com" is "majik"
My external e-mail was replaced with
"external(_at_)yahoo(_dot_)com"
...this of course is to prevent spam.


procmail: Assigning "LASTFOLDER=/home/majik/.save_all"
procmail: Opening "/home/majik/.save_all"
procmail: Acquiring kernel-lock
procmail: No match on "^Subject: List senders"
procmail: No match on "^Subject: Accept \/.*"
procmail: No match on "^Subject: Deny \/.*"
procmail: Extraneous filter-flag ignored
procmail: Executing "$FORMAIL -rzxTo:|$TR / _"
procmail: Assigning "FROM="
procmail: Match on "(.)"
procmail: No match on
"(root(_at_)(_dot_)*angel(_dot_)net|domainA|domainB|domainC)"
procmail: No match on "MAILER-DAEMON"
procmail: Match on "(.)"
procmail: No match on
"(angel.net|domain1.com|domain2.com)$"
procmail: No match on "(.)"
procmail: Executing
"/bin/grep,-i,^external(_at_)yahoo(_dot_)com,/home/majik/.deny-list"
procmail: Non-zero exitcode (1) from "/bin/grep"
procmail: No match on "/bin/grep -i
^external(_at_)yahoo(_dot_)com /home/majik/.deny-list"
procmail: No match on
"^Subject:(_dot_)*Verify(_dot_)*for(_dot_)*majik(_at_)mydomain(_dot_)com"
procmail: Match on ! "^X-Loop: majik(_at_)mydomain(_dot_)com"
procmail: Executing
"/bin/grep,-i,^external(_at_)yahoo(_dot_)com,/home/majik/.accept-list"
procmail: Non-zero exitcode (1) from "/bin/grep"
procmail: Match on ! "/bin/grep -i ^external(_at_)yahoo(_dot_)com
/home/majik/.accept-list"
procmail: Executing " test ! -e $PENDING_DIR/$FROM"
procmail: Match on " test ! -e $PENDING_DIR/$FROM"
procmail: Executing " ( $FORMAIL -rt -I"To: $FROM"
-A"X-Loop: $MY_EMAIL" -I"Subject: Verify $FROM for
$MY_EMAIL"; echo "$AUTOREPLY"; echo; echo "$MY_NAME" )
| $SENDMAIL -t"
procmail: Assigning "LASTFOLDER= ( $FORMAIL -rt -I"To:
$FROM" -A"X-Loop: $MY_EMAIL" -I"Subject: Verify $FROM
for $MY_EMAIL"; echo "$AUTOREPLY"; echo; echo
"$MY_NAME" ) | $SENDMAIL -t"
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG.kn_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 18:59:24 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG,kn_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 18:59:32 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG+kn_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 18:59:40 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG%kn_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 18:59:48 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG.Eo_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 18:59:56 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG,Eo_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 19:00:04 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG+Eo_jHB.mail.mydomain.com"
procmail: [24981] Thu Jan 17 19:00:12 2008
procmail: Locking
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/_VGG%Eo_jHB.mail.mydomain.com"
procmail: Lock failure on
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com(_dot_)lock"
procmail: Assigning
"LASTFOLDER=/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com"
procmail: Opening
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com"
procmail: Error while writing to
"/home/virtual/site1/fst/home/majik/pending_messages/external(_at_)yahoo(_dot_)com"
procmail: Locking "/var/spool/mail/majik.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/majik"
procmail: Opening "/var/spool/mail/majik"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/majik.lock"
procmail: Notified comsat:
"majik(_at_)12340:/var/spool/mail/majik"
From external(_at_)yahoo(_dot_)com  Thu Jan 17 18:59:10 2008
 Subject: testing 123...
  Folder: /var/spool/mail/majik                       
                       2087


Toward the end, it is trying to write to the path:
/home/virtual/site1/fst/home/majik/pending_messages/

but it reports an error. It tries a few more times
then (as you see in the last few lines) delivers to
the mailbox anyway. 

Searching "man procmail" does mention this error. It
states 
"Nonexistent  subdirectory,  no write permission, pipe
died or disk full."

This path does exist, it does have write permissions,
I don't see where in the recipe a pipe is not working,
and the disk is not full.

Below are my current permissions:
drwx-----x    6 22000    admin1       4096 Jan 17
18:59 ./
drwxr-x--x    6 admin1   admin1       4096 Sep 13 
2004 ../
-rw-rw-rw-    1 root     root           26 Jan 17
18:28 .accept-list
-rw-rw-rw-    1 root     root           33 Jan 17
11:06 .deny-list
drwx------    2 22000    admin1       4096 Jan 17
16:11 mail/
-rw-r--r--    1 22000    admin1         43 Jan 17
10:17 .mailboxlist
drw-rw-rw-    2 root     root         4096 Jan 17
15:46 pending_messages/
-rw-------    1 22000    admin1       9738 Jan 17
19:05 .procmail_log
-rw-r--r--    1 22000    admin1       3783 Jan 17
18:33 .procmailrc
-rw-------    1 22000    admin1     193178 Jan 17
19:04 .save_all



Can anybody help me figure out what's going on?

Thanks



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

____________________________________________________________
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>