Re: .zip,.exe attachments and spam assassin

From: Roger Grosswiler (roger_at_gwch.net)
Date: 11/23/05

  • Next message: Ian Brown: "WIne an Internet Explorer on FC4 - please help"
    Date: Wed, 23 Nov 2005 08:49:40 +0100 (CET)
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    
    

    > From: "Roger Grosswiler" <roger@gwch.net>
    >
    >>> On Tue, 2005-11-22 at 13:38 +0100, Roger Grosswiler wrote:
    >>>> > I've gotten a ton of viruses today - there seems to be a worm lose
    >>>> > again.
    >>>> >
    >>>> > I've come to the realization that I have never ever received a zip
    >>>> > attachment from someone not in my address book that I actually
    >>>> wanted,
    >>>> > so I would like to set a spam assassin rule to mark mail with a .zip
    >>>> > or .exe with a high spam score (my address book is white listed)
    >>>> >
    >>>> > Anyone know how to do this off hand?
    >>>> >
    >>>> > Another possibility would be a procmail rule - I use procmail to
    >>>> filter
    >>>> > my mail - but since spamassassin already knows about my whitelist,
    >>>> I'd
    >>>> > rather do it in spamassassin.
    >>>> >
    >>
    >>>> i did this in postfix:
    >>>>
    >>>> i added in /etc/postfix/ a file called mime_headers_check with this
    >>>> content:
    >>>
    >>> That wouldn't really work for me for two reasons -
    >>>
    >>> 1) I don't want to reject them, the fm header is usually forged - so
    >>> rejecting just sends them to someone else who more than likely did not
    >>> send it to me.
    >>>
    >>> 2) My postfix is only allowed to talk on my lan - I use fetchmail to
    >>> pop
    >>> my accounts (which processes them with spamassassin), procmail to
    >>> filter
    >>> them into my mailboxes (which is then served via imap to my clients).
    >>> postfix is used for some stuff, but only on the lan - it can't send to
    >>> outside world. To get to outside world, I use my mail account providers
    >>> smtp server.
    >>>
    >>> I'm sure there is a spamassassin way to give a high score based upon
    >>> attachment extensions - I'll see if I can find it.
    >
    >> 2 things:
    >> 1)
    >> in my opinion, procmail listens to mta such as sendmail or postfix.
    >> Using
    >> fetchmail in my opinion delivers to mtas like the same. so, an incoming
    >> e-mail should also pass by your postfix-server? or am i wrong here?
    >
    > This is not necessarily true, Roger. I have my .procmailrc and
    > .fetchmailrc templates configured to deliver directly to the
    > /mail/<user> mbox file without passing through any sendmail at
    > all. I can leave the smtp facility turned off completely and still
    >
    >
    so, i see, i never am out of the learning process...thanks for information
    :-)

    Rog

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ian Brown: "WIne an Internet Explorer on FC4 - please help"

    Relevant Pages

    • Re: The Unix Philosophy (was Re: POP3 mail fetcher that supports unreliable connections?)
      ... If the sysadmin knows you're using fetchmail and they're good, ... they're making an MTA change. ... Fetchmail does work, and if the system is left alone, won't break. ... You're again blaming someone else for your configuration error again. ...
      (Debian-User)
    • Re: POP3 mail fetcher that supports unreliable connections?
      ... If a non-privileged user wants to use fetchmail and the MTA is ... > the local delivery. ... > special support of the local delivery configuration. ...
      (Debian-User)
    • Re: fetchmail, when does one loose email?
      ... Exim passes it on to icourier so everyone on the local network has their ... mail on an imap server. ... moaning about fetchmail, so i was starting to think about an alternative. ... only loose mail when the MTA it passes it's mail to is wrongly configured... ...
      (Debian-User)
    • Re: MTA help
      ... > I'm in the process of learning MTA admin. ... > a way to make exim4 work with courier's maildir format, ... fetchmail shouldn't be forwarding email; ... account will have to be created on the mail server for each user. ...
      (Debian-User)
    • Fetchmail & Exim Anti-relay security?
      ... outgoing messages, and Fetchmail 5.9.11 to ... ports for the MTA and the internal POP3 server used to distribute the ... HOWEVER, some of the spam email I recieve has forged headers, and they ... How do I prevent the forged headers from overriding the local delivery ...
      (comp.os.linux.security)