Koozali.org: home of the SME Server

Unjunkmgr

Offline bendeherdt

  • 2
  • +0/-0
Unjunkmgr
« 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
« Last Edit: October 01, 2008, 10:39:32 AM by bendeherdt »

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: Unjunkmgr
« Reply #1 on: January 17, 2009, 07:20:24 PM »
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

« Last Edit: January 17, 2009, 07:24:44 PM by Knuddi »

Offline bendeherdt

  • 2
  • +0/-0
Re: Unjunkmgr
« Reply #2 on: January 19, 2009, 12:48:48 PM »
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?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Unjunkmgr
« Reply #3 on: January 19, 2009, 01:36:34 PM »
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

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: Unjunkmgr
« Reply #4 on: April 02, 2009, 08:23:54 PM »
New release of sme-unjunkmgr now available where this is configurable.

http://forums.contribs.org/index.php/topic,43736.0.html