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

    Changing SPAMD to Listen on an IP Address vs an Adapter

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 1.3k 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

      So currently Spamd writes the following to the rules.debug file:

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

      [replace nve0 with your friendly local ethernet adapter]
      Is there a way to change it to just listen on an IP such as:

      rdr pass on 192.206.x.x proto tcp from <blacklist>to port smtp -> 127.0.0.1 port spamd ???

      I love spamd but I'd like to only have e-mail coming in on one IP passed through it…

      Thanks!

      Chris</blacklist></spamd-white></spamd-white></spamd></blacklist></spamd-white></spamd></blacklist></whitelist>

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