Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Is it possible to configure a squid server to block emails with certain words coming in, or would that configuration have to be done on a mail server?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    18

    Blocking on squid


    Is it possible to configure a squid server to block emails with certain words coming in, or would that configuration have to be done on a mail server?

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I don't think you can do that with Squid, but you can use SpamAssassin:


    http://au2.spamassassin.org/index.html

    Good luck!
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just Joined!
    Join Date
    Mar 2004
    Posts
    18
    DOES SQUID BLOCK POP and SMTP requests by default?

  4. #4
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I think you're confusing Squid and with your firewall. Squid is a proxy, it won't block anything, it just redirects http (and only http) requests to another port. It won't redirect pop or smtp, so you can be sure that's not your problem.

    If you're trying to check pop mail from another computer and you're getting an error, Squid is not your problem, it's probably your firewall. Try turning it off to be sure.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  5. #5
    Just Joined!
    Join Date
    Mar 2004
    Posts
    18
    Dont have a firewall set up.

    My e-mail works fine before specify the squid server as the proxy on a win2k workstation.

    I still got access to the net though.

  6. #6
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Is your squid server set up as a transparent? You're using the standard 25 110 ports for mail on win2k machine?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  7. #7
    Just Joined!
    Join Date
    Mar 2004
    Posts
    18
    not running transparent proxy

    yes to the second question

    do i need to run a transparent proxy for it to work properly?

  8. #8
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I had this same problem when I tried to use Squid, but it was a while ago and the details seem a little fuzzy now. If I remember right, it wasn't a squid problem at all, as squid only deals with http. It was an ICS problem.

    Are you sure your IP Tables are setup correctly?

    Are you using Mandrake? What's your setup? Is this for home (with just a couple of computers) or work (with many)? Even after I got Squid working, I found it easier to use a firewall (which you should be using anyway) and IP Tables rather then Squid. It's easier to setup both the server and all connected boxes that way.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  9. #9
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Whoops, forgot to mention that yes, I had to set up squid as transparent to get through e-mail through, although truthfully I have no idea why.

    What are you trying to do? I re-read our posts here and I'm a little confused. At first, it seems like you can get e-mail through to the win2k machine but that you want to block spam. Later, it seems like you can't get e-mail through at all. What exactly are you having problems with?

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  10. #10
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    as far as i understand, Squid is a HTTP/HTTPS proxy, which is idealy used for caching and controling access to external webpages. AFAIK squid has nothing to do with the SMTP or POP3 protocols.

    Jason

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •