Blacklist and Whitelist details?

2009-01-22
2013-04-11
  • Hi folks,  I am and have been using Amavis on a fedora mail server for years and the software works very, very well.  I really appreciate the many people who put so much effort and talent into great software packages such as Amavis; as it keeps my hobby alive and well !!!

    I have a small concern that I have not been able to find or verify the details of using the whitelist and blacklist files and am looking for some samples or confirmation of my set up.  here is what I have:

    I am using amavisd-new-2.5.2-3.fc10.noarch on a fedora 10 server with postfix, clamav, ect etc

    So in the file /etc/amavisd/amavisd.conf , I have the follow set:

    $MYHOME = '/var/spool/amavisd';   # a convenient default for other settings, -H
    # added in settings RC
    @whitelist_sender_maps = read_hash("$MYHOME/whitelist.txt");
    @blacklist_sender_maps = read_hash("$MYHOME/blacklist.txt");

    Next I have these files created in /var/spool/amavisd :

    -rw-r--r-- 1 amavis amavis    68 2009-01-22 08:16 blacklist.txt
    -rw-r--r-- 1 amavis amavis    53 2008-12-12 10:10 whitelist.txt

    #  cat blacklist.txt

    .bigthq.com
    .myyearbook.com
    .mail.reunion.com
    .blackdartsystems.com

    #  cat whitelist.txt

    msgctr@rit.edu
    .kohls.com

    I'm not 100% convinced it's working and I don't know how to forge a SPAM email so I am hoping someone with more knowledge or experience could guide me.

    Thanks,
    -Stephen