Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SPAMD in Blacklist Mode Broken?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      iced98lx
      last edited by

      I'd like to run SPAMD in blacklist mode instead of greylisting mode. I unchecked the greylist box, but the package doesn't change the the rules that are generated into  rules.debug.

      The rules in there look like this:

      spam table

      table <whitelist>persist
      table <blacklist>persist
      table <spamd>persist
      table <spamd-white>persist file "/var/db/whitelist.txt"
      rdr pass on nfe0 proto tcp from <blacklist>to port smtp -> 127.0.0.1 port spamd
      rdr pass on nfe0 proto tcp from <spamd>to port smtp -> 127.0.0.1 port spamd
      rdr pass on nfe0 proto tcp from ! <spamd-white>to port smtp -> 127.0.0.1 port sp
      amd
      rdr pass on nfe0 proto tcp from <spamd-white>to port smtp -> 192.168.1.200 port
      smtp

      but  the man page suggests they should like this:

      spam table

      table <blacklist>persist
      table <spamd-white>persist file "/var/db/whitelist.txt"
      rdr pass on nfe0 proto tcp from <blacklist>to port smtp -> 127.0.0.1 port spamd
      rdr pass on nfe0 proto tcp from ! <blacklist>to port smtp -> localserverip port
      smtp

      I can't seem to figure out what dictates what gets written there.. any help is much appreciated!</blacklist></blacklist></spamd-white></blacklist></spamd-white></spamd-white></spamd></blacklist></spamd-white></spamd></blacklist></whitelist>

      1 Reply Last reply Reply Quote 0
      • I
        iced98lx
        last edited by

        I should say that unchecking the box STOPS all e-mail from being delivered unless its' on the whitelist. (I'm assuming because the rules aren't re-written it's trying to send it to spamd internally, which isn't on)

        Changing the rules just gets them re-written on reboot obviously so that's no dice either..

        Chris

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.