file(1) : N/A : NOT INSTALLED (required by Maia Mailguard)

I’ve found my maia-mailguard not working, I run configtest to find out :

mail# /var/amavisd/maia/scripts/


This script checks for the presence of applications and Perl modules
required by amavisd-maia, SpamAssassin, and Maia Mailguard’s maintenance
scripts.  Version numbers are also checked, and if a newer version of
a component is recommended, you should consider upgrading to at least
the minimum recommended version.

If you have already configured your Maia Mailguard database, the script
will also test the connection to that database.

Remember also to run the configtest.php script on your web server to
perform similar tests of your web, PHP, and PEAR environment.

Application/Module      Version   Status
Perl                 :    5.8.8 : OK
file(1)              :      N/A : NOT INSTALLED (required by Maia Mailguard)

Googling around and get little clue about what file(1) is .

from :

get more info file-4.24.tar.gz (28 Mar 19:21, 567196 Bytes)
Determine file type (via magic file)


Looking p5 equivalent ports.

mail# whereis p5-File-Type
p5-File-Type: /usr/ports/devel/p5-File-Type

I decide to give this port a try :

mail# cd /usr/ports/devel/p5-File-Type && make install

Application/Module      Version   Status
Perl                 :    5.8.8 : OK
file(1)              :      N/A : NOT INSTALLED (required by Maia Mailguard)


Try another hint :

mail# wget
          => `file-4.24.tar.gz’
Connecting to||:21… connected.
Logging in as anonymous … Logged in!
==> SYST … done.    ==> PWD … done.
==> TYPE I … done.  ==> CWD /pub/file … done.
==> SIZE file-4.24.tar.gz … 567196
==> PASV … done.    ==> RETR file-4.24.tar.gz … done.
Length: 567196 (554K)

567,196     99.3K/s   in 6.0s

2008-04-02 08:42:46 (91.8 KB/s) – `file-4.24.tar.gz’ saved [567196]

mail# tar xvzf file-4.24.tar.gz

mail# cd file-4.24

mail# ./configure
mail# make
mail# make check
mail# make install

Try again :

mail# whereis p5-File-MMagic
p5-File-MMagic: /usr/ports/devel/p5-File-MMagic
mail# cd /usr/ports/devel/p5-File-MMagic && make install

Still not work too 🙁

try to find out if file installed.

mail# file -v
magic file from /usr/share/misc/magic

I got one but maia-mailguard don’t recognized it.

Will investigate it later, must go home now .

in Unix | 445 Words

portupgrade don’t work

ftp# csup -g -L2 ports-supfile

ftp# cd /usr/ports/

ftp# make fetchindex

ftp# portversion -v | grep ‘<‘

/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill’: MOVED file format error (PortsDB::MOVEDError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new’
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup’
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in `init_pkgtools_global’
        from /usr/local/sbin/portversion:175:in `main’
        from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize’
        from /usr/local/sbin/portversion:80:in `new’
        from /usr/local/sbin/portversion:80:in `main’
        from /usr/local/sbin/portversion:364

anyone ever face it?

in Unix | 255 Words

PCBSD 1.5 is out, get faster in 64 bit

From PCBSD press release :

iXsystems Announces Release of PC-BSD Version 1.5, Edison Edition

Release features AMD 64-bit as well as 32-bit processor support


iXsystems announced today the release of PC-BSD Edison Edition. PC-BSD is a fully functional open source desktop operating system based on FreeBSD 6.3-STABLE. FreeBSD is one of the most used UNIX-like operating systems in the world and is widely renowned as the most stable and secure server operating system. PC-BSD has a Push-Button Installer (PBI) wizard developed exclusively for PC-BSD that lets users download and install a wide range of available applications in a self-extracting and self-installing format.


Due to its quick and easy installation and ease of use, PC-BSD is becoming increasingly popular not only for individual desktop users but also for large-scale implementation projects. A school in Poulx, France recently deployed PC-BSD in 13 classrooms with 300 students with resounding success. PC-BSD was brought in to replace the “dominant OS” (hint: it wasn’t Linux!) According to Marie Walrafen, whose firm was charged to lead the rollout in the schools, “Installing PC-BSD was…our only offer. We said we could only offer support and training on PC-BSD because we simply believe FreeBSD to be the best system available and PC-BSD a perfect tool for all basic needs and especially fit for the use of a school. Secure, reliable and easy.”


Highlights of the Edison Edition include availability of an AMD 64-bit version for faster performance on hardware currently running 64-bit intel or athlon processors. Other new built-in features include Xorg 7.3, KDE 3.5.8, a new system updater tool, improvements to the PBI Removal and WiFi tools, BSSID support and improved SSID support, a new sound detection program, and a new PBI icon preview library.


The availability of 64-bit processor support translates into faster performance for those users currently running 64-bit athlon or intel x86_64 systems”, says Kris Moore, Director of PC-BSD Software Development. “This support, coupled with the other new features found in this release, ensures that PC-BSD Edison Edition will be the most advanced desktop operating system of its time.”

Download Links :

  1. Release notes
  2. Changelog
in Unix | 365 Words

Upgrade Dovecot 1.0.10 to 1.0.13

Recent ports update give old ports that need to update.


After upgrade to 1.0.13

mail# pkg_info | grep dovecot
dovecot-1.0.13      Secure and compact IMAP and POP3 servers

I see confirmation from dovecot :

Warning: mail_extra_groups setting was often used insecurely so it is now deprecated,

use mail_access_groups or mail_privileged_group instead

Maybe I’m wrong, try restart dovecot service.

mail# /usr/local/etc/rc.d/dovecot restart

Stopping dovecot.
Waiting for PIDS: 42620.
Starting dovecot.

Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead

still same message, after read the conf . I decide to find the keywords in conf.

mail# ee /usr/local/etc/dovecot.conf

change the line:

# Grant access to these extra groups for mail processes. Typical use would be
# to give "mail" group write access to /var/mail to be able to create dotlocks.
#mail_extra_groups =
mail_extra_groups = mail

into :

mail_access_groups = mail

trying restart service :

mail# /usr/local/etc/rc.d/dovecot restart

Stopping dovecot.
Waiting for PIDS: 43112.
Starting dovecot.

Great, time to find out what is that mean 🙂

in Unix | 200 Words

FreeBSD 7 update with csup

FreeBSD 7 released in perfect time, as my backup server need to upgrade I’m eager to choose FreeBSD 7.0RC2, then update to FreeBSD 7 RC3 and now in progress to change for RELENG_7 tag using csup. Yes, I use csup not cvsup.

Another plan with FreeBSD 7.0 is try ZFS filesystem. already se zfs.ko in the lists 🙂

Very good improvement and thank you for great work guys.

I love FreeBSD.

in Unix | 69 Words