Recent posts

#61
NicTool / Re: Question about nsd export
Last post by rainer_d - October 05, 2014, 04:31:19 PM
In the mean time, I used the knot export.
Can't be bothered with getting all the BIND options right, all the time...and then figuring out which defaults have changed since the last major release...again...

NSD4 uses a different format in the configuration file to configure zones.
It's not BIND-style anymore.

I used this:
https://github.com/msimerson/NicTool/wiki/Export-to-tinydns
to create an export for knot and my rsync seems to have compression enabled since recently, so I edited the Makefile to that effect.
Also, it creates a supervise directory which rsync can't work on while working as user "nictool", so I excluded that, too, in the Makefile.

But apart from that, it seems to be working and is (IMO) reasonably straightforward even for my co-workers who haven't been exposed to it for ten years ;-)

BTW: Time::TAI64 is the only thing that does not exist as a FreeBSD port.


Thanks for maintaining and updating the software over all this time.
#62
Installation Issues / Re: MT6 - Haraka
Last post by matt - September 07, 2014, 06:48:52 PM
Glad you figured it out. I've haven't seen that issue yet, but I'll watch for it next time I do a test build.
#63
Installation Issues / Re: MT6 - Haraka
Last post by AHeck - September 07, 2014, 01:50:43 AM
Fixed, thanks to Yakulu on irc.freenode.net#haraka.  Just needed to mkdir /usr/local/haraka/queue.

[23:58] <Yakulu> aheck, you may modify the server.js file and log the error
[23:58] <Yakulu> line 117, with for example a console.log(err);
[23:59] <Yakulu> if I read correctly outbound.js, it may be a problem with your queue directory, unreadable from node
[23:59] <Yakulu> have to go, good luck
[00:13] <aheck> Thank you so much!  I'll try that immediately.
[00:20] <aheck> Perfect, that did the trick.  No queue directory was exactly the problem...not sure why "haraka -i" didn't create it as part of the config but creating it has moved me onto the next error.
#64
Installation Issues / MT6 - Haraka
Last post by AHeck - September 07, 2014, 12:33:15 AM
Following the steps at https://www.tnpi.net/wiki/MT6_SMTP

Haraka won't start - it throws a crit error in /var/log/messages:
smtp haraka[19316]: [CRIT] [-] [core] [server] Scanning queue failed. Shutting down.

Tried debug level logging but it hasn't exposed any additional errors.  Google-fu has failed me - I get only the github source file [server.js] that contains this message.  Any ideas?

Haraka startup dump follows:
[root@smtp /usr/local]# service haraka start
loglevel: LOGINFO
Starting up Haraka version 2.5.1-toaster
[INFO] [-] [core] Loading plugins
[INFO] [-] [core] Loading plugin: process_title
[INFO] [-] [core] Loading plugin: log.syslog
[INFO] [-] [core] Loading plugin: connect.p0f
[INFO] [-] [core] Loading plugin: connect.geoip
[INFO] [-] [core] loaded 6791 Public Suffixes
[INFO] [-] [core] loaded TLD files: 1=442 2=4542 3=283
[INFO] [-] [core] Loading plugin: connect.asn
[INFO] [-] [core] Loading plugin: connect.fcrdns
[INFO] [-] [core] Loading plugin: dnsbl
[INFO] [-] [core] Loading plugin: connect.p0f
[INFO] [-] [core] Loading plugin: helo.checks
[INFO] [-] [core] Loading plugin: tls
[INFO] [-] [tls] loading tls.ini
[INFO] [-] [tls] loading tls_key.pem
[INFO] [-] [tls] loading tls_cert.pem
[INFO] [-] [core] Loading plugin: auth/auth_vpopmaild
[INFO] [-] [auth/auth_vpopmaild] loading auth_vpopmaild.ini
[INFO] [-] [core] Loading plugin: max_unrecognized_commands
[INFO] [-] [core] Loading plugin: mail_from.is_resolvable
[INFO] [-] [core] Loading plugin: spf
[INFO] [-] [core] Loading plugin: rcpt_to.qmail_deliverable
[INFO] [-] [core] Loading plugin: bounce
[INFO] [-] [core] Loading plugin: data.headers
[INFO] [-] [core] Loading plugin: data.uribl
[INFO] [-] [core] Loading plugin: attachment
[INFO] [-] [core] Loading plugin: clamd
[INFO] [-] [clamd] Loading excludes file
[INFO] [-] [core] Loading plugin: spamassassin
[INFO] [-] [spamassassin] loading spamassassin.ini
[INFO] [-] [core] Loading plugin: data.dmarc
[INFO] [-] [core] Loading plugin: dkim_sign
[INFO] [-] [core] Loading plugin: karma
[INFO] [-] [karma] loading karma.ini
[INFO] [-] [core] Loading plugin: queue/smtp_forward
[INFO] [-] [core] Loading plugin: watch/server
#65
NicTool / Re: Sanity errors
Last post by matt - September 03, 2014, 12:05:28 PM
Yes, after making changes to Sanity.pm, you need to do a 'make install' and restart Apache.
#66
NicTool / Sanity errors
Last post by vtsingaras - September 03, 2014, 05:23:30 AM
I'm trying to use AXFR import from MyDNS to Nictool but I get 300 - Sanity error : invalid character(s) in record name -- _
These are for A records for MS Active Directory.  There are other records that get imported just fine with "_". I have tried removing the underscore from Sanity.pm from nictool-server but the server still throws the same error. Must I do again make install ?
#67
NicTool / Re: SOAP unknown tags
Last post by matt - August 13, 2014, 07:12:13 PM
#68
NicTool / Re: XML login
Last post by matt - August 13, 2014, 07:08:55 PM
Sorry, there is no WSDL. On the roadmap is plans to supplement the SOAP interface with JSON. That would solve the problem for most purposes.
#69
NicTool / Re: Question about nsd export
Last post by matt - August 13, 2014, 07:06:17 PM
I'm assuming you are using the latest version of NicTool, and your Makefile looks like the one shown here:

https://github.com/msimerson/NicTool/blob/master/server/lib/NicToolServer/Export/NSD.pm

Beyond that, I can't help much. I had NSD 3 running for a time, and now I'm using Knot on that server (main reason: dog food the Knot exports). Perhaps when I have time to spend on NicTool again, I'll switch another server to NSD 4 and improve the process and docs.

Or you can do it for me, and submit a PR. :-)
#70
NicTool / SOAP unknown tags
Last post by velgames - July 31, 2014, 07:13:28 AM
Hi, i have a strange problem.
When i connecting to NicTool and try login by this :

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <login xmlns="http://192.168.1.43:8082/SOAP">
         <struct>
            <username>root</username><password>1234</password>
         </struct>
      </login>
   </soap:Body>
</soap:Envelope>

I get error "unknown tag encountered soap:Envelope" .
I tried replace it to SOAP-ENV:Envelope, changed upper or lower cases and other. But all time get same error. HELP ME PLEEEEEASEEEEE :'( :'( :'( :'(