Recent posts

#41
NicTool / Re: NicTool 2.28 TRIAL?
Last post by rainer_d - January 06, 2015, 04:31:23 PM
Thanks a lot, Matt.

Happy New Year!
#42
NicTool / Re: NicTool 2.28 TRIAL?
Last post by matt - January 06, 2015, 11:54:13 AM
-TRIAL just means it's a version that I was testing and then didn't remember to turn off the trial flag before publishing. It will not expire and it's just fine.
#43
NicTool / Re: NicTool broken after Ubunt...
Last post by matt - January 06, 2015, 11:53:35 AM
mod_perl is not yet Apache 2.4 compatible but there's a beta version out. You'll have to figure out how to get mod_perl (IIRC, the new version is 2.0.9) installed in Ubuntu. Or roll back the upgrade.
#44
NicTool / NicTool broken after Ubuntu up...
Last post by pertoft - January 06, 2015, 03:00:44 AM
Hi all,

Just did a distribution upgrade on our Ubuntu server to 14.04 LTS which is running NicTool.

This upgrade impled apache was updated to 2.4.7 and perl to version  5.18.2.

I have done a fresh install of Nictool 2.30 and still cant get it to work.

When I open the browser to access nictool, im presented with a "500 Internal Server Error".
In the Apache2 error log i get:
[Tue Jan 06 10:39:38.076332 2015] [perl:error] [pid 12702] [client 172.18.11.132:18808] failed to resolve handler `ModPerl::Registry': Can't locate ModPerl/Registry.pm:   Permission denied at (eval 141) line 2.\n


Any suggestion on what to do?

Apache configuration for Nictool client:

PerlRequire /usr/local/nictool/client/lib/nictoolclient.conf

<VirtualHost *:80>
    # force a https connection
    ServerName amnesio.iux.sonofon.dk
    Redirect / https://amnesio.iux.sonofon.dk/
</VirtualHost>

<VirtualHost *:443>
    ServerName amnesio.iux.sonofon.dk
    Alias /images/ "/usr/local/nictool/client/htdocs/images/"
    DocumentRoot /usr/local/nictool/client/htdocs
    DirectoryIndex index.cgi
    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl/apache.crt
    SSLCertificateKeyFile /etc/apache2/ssl/apache.key

    <Files "*.cgi">
       SetHandler perl-script
       PerlResponseHandler ModPerl::Registry
       PerlOptions +ParseHeaders
       Options +ExecCGI
    </Files>

    <Directory "/usr/local/nictool/client/htdocs">
        AllowOverride None
        #Order allow,deny
        #Allow from all
        Require all granted
    </Directory>
</VirtualHost>


Apache conf for Nictool Server:

<IfDefine !MODPERL2>
   PerlFreshRestart On
</IfDefine>
PerlTaintCheck Off

Listen 8082

PerlRequire /usr/local/nictool/server/lib/nictoolserver.conf

<VirtualHost *:8082>
    KeepAlive Off
    <Location />
        SetHandler perl-script
        PerlResponseHandler NicToolServer
    </Location>
    <Location /soap>
        SetHandler perl-script
        PerlResponseHandler Apache::SOAP
        PerlSetVar dispatch_to "/usr/local/nictool/server, NicToolServer::SOAP"
    </Location>
</VirtualHost>


#45
NicTool / Re: NicTool 2.28 TRIAL?
Last post by pertoft - January 06, 2015, 01:57:21 AM
Hi Matt,

Why is it called TRIAL? Does the version expire?

Thanks,
Per
#46
NicTool / Re: NicTool 2.28 TRIAL?
Last post by matt - January 05, 2015, 03:06:25 PM
I fixed the problem that was causing the uploaded version of NicTool 2.30 from showing up in the downloads section. It should show up in your downloads section now.
#47
Installation Issues / Re: MT6 - Haraka cannot find s...
Last post by MDay - January 05, 2015, 11:39:25 AM
Thanks for the info matt.

I'll have a look into setting it up as you suggest.

I appreciate what you say about maturity and stability, it was just the low version numbers and it failing to install that made me suspicious.

I heartily agree with the philosophy of jails as you describe and the beauty of being able to switch components in and out.

I'll let you how it goes.
#48
NicTool / Re: NicTool 2.28 TRIAL?
Last post by rainer_d - December 15, 2014, 03:02:01 PM
And what about version 2.30?
;-)

Would be nice if you could make a release before the holidays.

#49
Installation Issues / Re: MT6 - Haraka cannot find s...
Last post by matt - December 10, 2014, 12:50:53 PM
> Isn't all this a bit bleeding edge for a production mail server?

Another tidbit. I spent a year working on Qpsmtpd, which I liked because of it's flexible architecture, maturity, and code stability. I eventually gave up on my quest to mature it into a "drop in" replacement for qmail-smtpd, as it likely would have taken another year or two. I was running QP on a few mail servers during that time and looking hard for better solutions. Switching to Haraka is what inspired the new MT6 "every-service-in-a-jail" architecture. Now the SMTP daemon is pluggable. Don't like Haraka?  Spin up another jail, run something else in it like QP, or ASSP, or whatever. You'll have to do a little integration work but the SA and Clam scanners are shared and everything else is cleanly separated.

The fact that I can run QP and Haraka in two jails, switching traffic back and forth between them with a firewall rule is, at least to me, a killer feature. (when something better comes along, switching is easier.)
#50
Installation Issues / Re: MT6 - Haraka cannot find s...
Last post by matt - December 10, 2014, 12:40:51 PM
I got the 'toaster' branch of Haraka updated (yesterday). I haven't had time to do a fresh build but it's running it on my server now. That should solve this issue for new installs.

For you, this should solve it:
    cd /usr/local/lib/node_modules/Haraka && npm install serve-static

> Isn't all this a bit bleeding edge for a production mail server? node's 0.10.33

Node is actually quite stable, and it's being used in many, many, many production environments. Bleeding edge and stability aren't functions of the version numbers, they're functions of the code quality and maturity of the project.

Haraka is actually quite stable as well, but it's not nearly as mature as other MTAs (sendmail, qmail, postfix, QPsmtpd).  But it's also much faster and better at filtering. Pick the features that matter most to you and rock on.