procmail
[Top] [All Lists]

Fwd: bouncing email (spits out the .forward file)

2002-07-22 23:33:51
What do we have set up incorrectly below
to get the .forward included accidentally as
part of the spam-bounced email?

Any ideas for our user?
John


Date: Sat, 20 Jul 2002 12:17:13 -0700 (PDT)
From: Raja Kanagala <kanagala>
To: Cadence_process_mail_users
Subject: bouncing email


I am set up to bounce spammers in the following way:

~/.forward says:

"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #kanagala"


~/.procmailrc says:

PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
DEFAULT=/var/mail/kanagala
HOME=/hm/kanagala/
MYTO    = "(To|Cc|Resent-?(To|Cc)):"
#----------------------------------------------------------------------------
PMDIR=$HOME/Mail/rc
#----------------------------------------------------------------------------
INCLUDERC=$PMDIR/rc.spammers

:0:
$DEFAULT


My $HOME/Mail/rc/rc.spammers has

FGREP=/usr/xpg4/bin/fgrep
FGREP_OPTIONS="-i -s -f"
BANFILE=$PMDIR/banned
:0hb
* !^X-Loop: kanagala(_at_)cadence\(_dot_)com
* ? formail -ISubject: | $FGREP $FGREP_OPTIONS $BANFILE
      {
              EXITCODE=67
              :0:
                      $HOME/Folders/bulk-mail
      }



Now I set up the list of users whom I want to bounce:
hotmail.com


To test..I sent an email from my hotmail accound and sure enough
it bounced

However, if you see the message, it tells me that the user is using
procmail to bounce the email.
Is there a more hidden way of doing it.

Raja

--- From my hotmail account---


The original message was received at Sat, 20 Jul 2002 12:11:21 -0700 (PDT)
from mailgate2.Cadence.COM [158.140.2.31]

  ----- The following addresses had permanent fatal errors -----
"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #kanagala"
   (expanded from: <kanagala(_at_)mailhub(_dot_)cadence(_dot_)com>)

  ----- Transcript of session follows -----
550 5.1.1 "|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 
#kanagala"...
User unknown


Reporting-MTA: dns; mailhub.Cadence.COM
Received-From-MTA: DNS; mailgate2.Cadence.COM
Arrival-Date: Sat, 20 Jul 2002 12:11:21 -0700 (PDT)

Final-Recipient: RFC822; kanagala(_at_)mailhub(_dot_)cadence(_dot_)com
X-Actual-Recipient: rfc822; |IFS=' ' && exec /usr/local/bin/procmail -f- || 
exit
75 #kanagala(_at_)mailhub(_dot_)Cadence(_dot_)COM
Action: failed
Status: 5.1.1
Last-Attempt-Date: Sat, 20 Jul 2002 12:11:22 -0700 (PDT)



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