Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: bendeherdt on October 01, 2008, 10:37:32 AM
-
Yesterday I've installed the Unjunkmgr contrib on our e-smith server. Installation went perfect and it works fine. Our users are receiving the "Summary of junk emails blocked" this morning but they can't unjunk their wanted e-mails. This is for the reason that our server is only reachable from our local network. Is there a solution in the report generator that our local address will be used instead our domainname?
http://jmcatering.be/unjunkmgr/spamchanger.pl?user=jmkeu&email=/home/e-smith/files/users/jmkeu/Maildir/.junkmail/new/1222438104.4032.jmeserver&subject=&from=dummy@dummy.be
--> can this be changed into
http://192.168.123.253/unjunkmgr/spamchanger.pl?user=jmkeu&email=/home/e-smith/files/users/jmkeu/Maildir/.junkmail/new/1222438104.4032.jmeserver&subject=&from=dummy@dummy.be
Tx in advance for the good intention to help me.
A very pleased user of SME 7.3, Benjamin De Herdt
-
A little late I saw this but I guess better late than never :P
There are no configuration options to alter this so you need to fix it in the code - not so hard.
open /usr/local/unjunkmgr/spamreminder.pl with your favorite editor ad go to line 49 where $root_url is defined. Change this from:
my $root_url = sprintf ("http://%s/unjunkmgr",$domain_name);
to
my $root_url = sprintf ("http://%s/unjunkmgr",'192.168.123.253');
or another suitable IP address.
Enjoy,
Jesper
-
Knuddi, Tx for the reply.
I also forgot to report I fixed the problem the way you described in the same week I posted the topic :smile: . In the future I will manage my topics the way it should be.
Tx again, Benjamin De Herdt
This post has been solved, how can I close this topic?
-
This post has been solved, how can I close this topic?
you can't "close a topic" :-)
if you wish, you can change topic's subject in "[solved] unjunkmgr"
Ciao
Stefano
-
New release of sme-unjunkmgr now available where this is configurable.
http://forums.contribs.org/index.php/topic,43736.0.html