Patch to include SMTP server name to SpamD package
-
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:
-
Install the package SpamD, obviously :)
-
Connect to pfSense through SSH shell.
-
Base pfSense doesn't include the patch utility, so let's add it: pkg_add -r patch
-
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 -
Apply the patches:
gpatch < spamd.inc-patch
gpatch < spamd_settings.xml-patch -
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.
-
-
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.
-
Yeah! I really missed that out, pardon me :-\
-
Yeah! I really missed that out, pardon me :-\
No worries, another reason for me to move to 1.2.1
-
Are you using the developer release? I'm on 1.2.1 rc3 and after installing patch the command gpatch is not found…
-
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.