Ispconfig and spam

Discussion in 'Installation/Configuration' started by Eleanor, Nov 8, 2006.

  1. Eleanor

    Eleanor New Member

    is it possible to bounce spam????

    now its only renaming the spam.

    i want to bounce it?
     
  2. Hans

    Hans Moderator ISPConfig Developer

    spamfilter

    Yes you can,

    Within ISPConfig, goto the user & email tab of your website.
    Then click on the Spam & antivirus tab.

    Activate spamfilter for that mailbox and click on discard.
    Now spam will be blocked for that mailbox.
     
  3. Eleanor

    Eleanor New Member

    oke that is working

    but i get stil al lot of spam

    can i use a automatic blacklist to disable the last spam??
     
  4. planet_fox

    planet_fox Member HowtoForge Supporter

  5. falko

    falko Super Moderator ISPConfig Developer

  6. Eleanor

    Eleanor New Member

    there is olso a rating system from 1 to 9

    how is that working before i use somthing else or a name then i can goolge

    and that postgrey is that auto updating or use spam serverlist??

    can you help me
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The ratings are spamassasin ratings. Postgrey is a greylisting daemon, greylisting is neither server list based nor does it need any automatic updates. Greylisting denies incoming emails for some minutes and most spam senders wont retry to send the email.
     
  8. Eleanor

    Eleanor New Member

    oke but how can i use it 1= lot of spam and 9 = nothing or??

    what can i use to disable spam??

    sorry for my english
     
  9. falko

    falko Super Moderator ISPConfig Developer

    If you use 1, it means that a lot of emails will be tagged as spam, probably you will also have false positives (emails that aren't spam get tagged as spam). 9 means that only the worst spam messages will be tagged as spam, but a lot of spam will get through.
    I think you should use a value of 4 or 5, I have good experiences with that.
     
  10. Eleanor

    Eleanor New Member

    ok i will try that thanks
     
  11. Eleanor

    Eleanor New Member

    i get still al lot of spam what can i do

    can sombody advice me??
     
  12. denmaus

    denmaus New Member

    Open Relay


    may be - check if your server do not run as open relay.
    :confused:
     
  13. edge

    edge Active Member Moderator

    I do not know if you are allready using smtpd_recipient_restrictions

    If not, add the following to your postfix main.cf, and do a
    Code:
    postfix restart
    The main.cf file should be located in
    Code:
    /etc/postfix
    (note: before adding the blacklists, make sure you read, and agree to their policy!)

    Code:
    smtpd_recipient_restrictions =
                reject_invalid_hostname,
                reject_unknown_recipient_domain,
                reject_unauth_pipelining,
                permit_mynetworks,
                permit_sasl_authenticated,
                reject_unauth_destination,
                reject_rbl_client multi.uribl.com,
                reject_rbl_client dsn.rfc-ignorant.org,
                reject_rbl_client dul.dnsbl.sorbs.net,
                reject_rbl_client list.dsbl.org,
                reject_rbl_client sbl-xbl.spamhaus.org,
                reject_rbl_client bl.spamcop.net,
    #            reject_rbl_client dnsbl.sorbs.net,
    #            reject_rbl_client opm.blitzed.org,
    #            reject_rbl_client blackholes.easynet.nl,
                reject_rbl_client cbl.abuseat.org,
                reject_rbl_client ix.dnsbl.manitu.net,
                permit
    
    The smtpd_recipient_restrictions, will do a verification agains some databases, and some other "spam used" rules.
     
    Last edited: Jan 17, 2007
  14. Eleanor

    Eleanor New Member

    oke i fill this in the main.cf

    i will wait to see wat happened

    but can i put the spam filter for al my users to the same level in 1 time and wat is default is that 5?
     
  15. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    Wow, that's a long list. Please check the policies of these blacklists do meet your requirements. I see a couple that could lead to false positives. Of course, as the server owner, you decide what the criteria you use to filter, but my humble advise is to check the main web pages of these blacklists and make sure you agree with THEIR policy. Then add them to postfix.
     
  16. edge

    edge Active Member Moderator

    martinfst you are correct about the "their policy", and I should have mentioned this in the my post!

    The list is long, and I'm using this on one of my test servers that is getting a lot of spam!

    Before I started to use that "list", I did check with the sites, and as far as I can see I'm okay.

    However, as you see a couple that could lead to false positives, you got me checking each one again, but I did not find any problems.

    Could you please let me know what you think the "problem" blacklists could be?

    Thank you
     
  17. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    are the ones I have question marks for. sorbs.net is intensively/regularly discussed about it's policies on Postfix/Spamassassin/Exim mailings lists, IIRC. But again, the usefulness and FP rate are entirely related to your own environment. But I think it's good to be aware of the policies of blacklists providers, so you know what you add on your server. If your fine with that, it's oke for me. :)
     
  18. Eleanor

    Eleanor New Member

    yes i mis now a lot of mail i change it to this:

    smtpd_recipient_restrictions =
    reject_invalid_hostname,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination,
    # reject_rbl_client multi.uribl.com,
    reject_rbl_client dsn.rfc-ignorant.org,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl-xbl.spamhaus.org,
    reject_rbl_client bl.spamcop.net,
    # reject_rbl_client dnsbl.sorbs.net,
    # reject_rbl_client opm.blitzed.org,
    # reject_rbl_client blackholes.easynet.nl,
    reject_rbl_client cbl.abuseat.org,
    # reject_rbl_client ix.dnsbl.manitu.net,
    permit

    is that better?????

    i mis the topic mail from this site to :-(
     
  19. martinfst

    martinfst ISPConfig Developer ISPConfig Developer

    I don't think you can comment the postfix configuration like you did. The whole smtpd_recipient_restrictions = line is one configuration line. You can check with
    Code:
    postconf -n
    if everything is as expected. Also please check the /var/log/mail.* files (maillog) for any errors after you restart postfix.

    I'd advice to remove the # lines completely from your config.
     
  20. Eleanor

    Eleanor New Member


    i did not have a error but i change it for sure
     

Share This Page