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

    Patch to include SMTP server name to SpamD package

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 2.2k 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.
    • C
      comrax
      last edited by

      Hello all.

      I had a thing with SpamD – it always used the firewall's configured host name as its SMTP host name.
      This didn't suit me, so I fiddled with the code and produced two patches to correct the situation.

      To apply the patch, go through the following steps:

      1. Install the package SpamD, obviously :)

      2. Connect to pfSense through SSH shell.

      3. Base pfSense doesn't include the patch utility, so let's add it: pkg_add -r patch

      4. Change directory to /usr/local/pkg, then download the two patches using fetch/wget from:
            http://www.comrax.com/spamd/spamd.inc-patch
            http://www.comrax.com/spamd/spamd_settings.xml-patch

      5. Apply the patches:
            gpatch < spamd.inc-patch
            gpatch < spamd_settings.xml-patch

      6. Go to webConfigurator, a new variable will be present just above the Identifier; update the settings and click Save.

      That's all. And of course, I take no responsibility at all if you f*cked it up! So be careful :)

      Enjoy.

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

        are you on 1.2.1 by chance? the 6.2 doesn't want to download patch.. (the URL isn't found) I tried downloading it out of the 6.3 branch but it didnt' like that either.

        1 Reply Last reply Reply Quote 0
        • C
          comrax
          last edited by

          Yeah! I really missed that out, pardon me :-\

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

            @comrax:

            Yeah! I really missed that out, pardon me :-\

            No worries, another reason for me to move to 1.2.1

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

              Are you using the developer release? I'm on 1.2.1 rc3 and after installing patch the command gpatch is not found…

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

                @iced98lx:

                Are you using the developer release? I'm on 1.2.1 rc3 and after installing patch the command gpatch is not found…

                Nix that- reboot and now i can use gpatch.

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