Re: ABV.BG автоматичен отговор

From: c0ldbyte (c0ldbyte_at_myrealbox.com)
Date: 04/20/05

  • Next message: Eric Anderson: "Re: sshd dieing? after applying FreeBSD-SA-03:12.openssh"
    Date: Wed, 20 Apr 2005 09:13:27 -0400 (EDT)
    To: neuro@mail.fci.fsu.edu
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Wed, 20 Apr 2005 neuro@mail.fci.fsu.edu wrote:

    > i'm not sure i understnad that language ?
    > if you tell me which one it is I could use googles convertor
    >
    > --neuro
    >
    > On Wed, 20 Apr 2005 freebsd-hackers@freebsd.org wrote:
    >
    >> blagodarq za izpratenoto ot Vas pismo nai skoro shte vi otgovorq!!
    >>

    This guy/gal we will call "The so-called idiot" has subscribed to the
    mailing list and turned his autoreply for his webmail on. So every
    time there is a posting to a certain list his email address autogens
    a response and sends it back out to the original sender of the mail.
    This is in turn something that mailing list software should protect
    against otherwise we could have a nice flood of webmail autoreply
    DoS's. I have added a procmail recipe to my $HOME/.procmailrc to
    delete these emailings along with other unwanted stuff from idiots
    like this one allready just to solve the problem until someone
    comes up with a great idea to add a "repeat mailing filter" (hint)
    to the mailing lists. Following is a procmailrc example for removing
    email from hosts that you dont want.

    # ---- Begin $HOME/.procmailrc ----

    SHELL=/bin/sh
    PATH=/bin:/usr/bin:/usr/local/bin
    MAILDIR=$HOME/mail
    DEFAULT=/var/mail/$LOGNAME
    LOGFILE=$HOME/log/procmail.log # Comment this out for no logs
    MAIL_ALLOW=$HOME/.procmail/mail.allow # List of allowed host patterns
    MAIL_DENY=$HOME/.procmail/mail.deny # List of denied host patterns

    :0:
    * ? formail -x"From" -x"From:" -x"Sender:" \
         -x"Reply-To:" -x"Return-Path:" -x"Received:" \
         | egrep -is -f $MAIL_DENY
    DROPBOX

    :0:
    * ? formail -x"From" -x"From:" -x"Sender:" \
         -x"Reply-To:" -x"Return-Path:" -x"Received:" \
         | egrep -is -f $MAIL_ALLOW
    ${DEFAULT}

    # ---- End of $HOME/.procmailrc ----

    Now just setup a couple of things. Make sure you have procmail
    installed. Create the $HOME/.procmailrc with the contents above.
    mkdir $HOME/log for log files. mkdir $HOME/.procmail for keeping
    the mail.allow and mail.deny filter files. Make sure to at least
    touch $HOME/.procmail/mail.allow & $HOME/.procmail/mail.deny.
    All done and set, you can start adding your host patterns to
    mail.deny or mail.allow in the form of any of the following.
    user@host.net, user@host, host.net, .host.net, @host.net,
    hostname.host.net. I would reccomend adding just single words
    to the deny file just for the reason of it will match if the
    word shows up anywhere in the fields that it greps and return
    true and ultimately dumping your mail to a DROPBOX. You can
    also change the DROPBOX part to a absolute path like "/dev/null"
    as well.

    Now just add the following to your $HOME/.forward file
    and youll have some easy filters setup for your control.

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

    ^^^ including the double quotes ^^^

    Best of luck.
             --c0ldbyte

    - --
    ( When in doubt, use brute force. -- Ken Thompson 1998 )
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)
    Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F
    Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F

    iD8DBQFCZlV6smFQuvffl58RAsThAJ96zhD7mB9b+39MWEGjXtgcMNdBewCcC7rm
    iFxaMo+CsMM0SbYr1pIP8qE=
    =ZeOL
    -----END PGP SIGNATURE-----
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Eric Anderson: "Re: sshd dieing? after applying FreeBSD-SA-03:12.openssh"

    Relevant Pages

    • Re: Problem exporting Address Book (Export grayed out)
      ... Cablevision Optimum Online, and that message is not there. ... Optimum Online bulk email filter that they use before I even get my ... make screen printouts of all her ... mailing lists and then make that registry change, ...
      (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
    • Re: Mail filtering with Exchange
      ... disables the filter - but as soon as he disables the filter his ISP detects ... automatically forwards it to the users at your domain, your server sees the ... >> company to send out mailing lists to clients in order to reduce the ... >> The problem is that the external company is "spoofing" the From: ...
      (microsoft.public.backoffice.smallbiz2000)
    • [kde] Kmail. Filtering on inbox after bogofilter has run
      ... I have Bogofilter set up on Kmail to filter out spam. ... for mailing lists that run before Bogofilter does it's stuff. ...
      (KDE)
    • Re: how do you protect from spammers in Debian lists?
      ... >> So I think it's very easy for anybody to automatically extract ... > and I have a procmail-based filter on my mail server, ... > filters out all mails not coming over one of the mailing lists. ...
      (Debian-User)
    • Re: Procmail filtering
      ... > to individual mailboxes on my FC4 machine. ... > procmail rather my then my mail client to filter my e mail. ... > # Put mail from mailing lists into mailboxs ...
      (Fedora)