Problem with postgrey installation

i’ve tried to install postgrey via virtualmi, i go this log…
what have i to do to fix it? however under postgrey i see a buttun with: “enable postgrey” and try to configure it… will it work?

  Installing package(s) with command apt-get -y --force-yes -f install postgrey ..

  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following extra packages will be installed:
    libberkeleydb-perl libio-multiplex-perl libnet-cidr-perl libnet-server-perl
  Suggested packages:
    libio-socket-ssl-perl
  Recommended packages:
    libnet-rblclient-perl libparse-syslog-perl
  The following NEW packages will be installed:
    libberkeleydb-perl libio-multiplex-perl libnet-cidr-perl libnet-server-perl
    postgrey
  0 upgraded, 5 newly installed, 0 to remove and 10 not upgraded.
  Need to get 370kB of archives.
  After this operation, 1384kB of additional disk space will be used.
  Get:1 ftp://mir1.ovh.net hardy/main libberkeleydb-perl 0.32-0ubuntu1 [140kB]
  Get:2 ftp://mir1.ovh.net hardy/main libio-multiplex-perl 1.09-1 [22.6kB]
  Get:3 ftp://mir1.ovh.net hardy/main libnet-cidr-perl 0.11-2 [14.3kB]
  Get:4 ftp://mir1.ovh.net hardy/main libnet-server-perl 0.97-1ubuntu1 [141kB]
  Get:5 ftp://mir1.ovh.net hardy/universe postgrey 1.31-2 [52.0kB]
  Fetched 370kB in 0s (944kB/s)
  Selecting previously deselected package libberkeleydb-perl.
  (Reading database ... 70388 files and directories currently installed.)
  Unpacking libberkeleydb-perl (from .../libberkeleydb-perl_0.32-0ubuntu1_i386.deb) ...
  Selecting previously deselected package libio-multiplex-perl.
  Unpacking libio-multiplex-perl (from .../libio-multiplex-perl_1.09-1_all.deb) ...
  Selecting previously deselected package libnet-cidr-perl.
  Unpacking libnet-cidr-perl (from .../libnet-cidr-perl_0.11-2_all.deb) ...
  Selecting previously deselected package libnet-server-perl.
  Unpacking libnet-server-perl (from .../libnet-server-perl_0.97-1ubuntu1_all.deb) ...
  Selecting previously deselected package postgrey.
  Unpacking postgrey (from .../postgrey_1.31-2_all.deb) ...
  Setting up libberkeleydb-perl (0.32-0ubuntu1) ...
  Setting up libio-multiplex-perl (1.09-1) ...
  Setting up libnet-cidr-perl (0.11-2) ...
  Setting up libnet-server-perl (0.97-1ubuntu1) ...
  Setting up postgrey (1.31-2) ...
  Warning: The home dir /var/lib/postgrey you specified can't be accessed: No such file or directory
  Adding system user `postgrey' (UID 114) ...
  Adding new group `postgrey' (GID 120) ...
  Adding new user `postgrey' (UID 114) with group `postgrey' ...
  Not creating home directory `/var/lib/postgrey'.

  Creating config file /etc/postgrey/whitelist_clients with new version

  Creating config file /etc/postgrey/whitelist_recipients with new version

  Creating config file /etc/default/postgrey with new version
  Starting postfix greylisting daemon: postgrey.


  .. install complete.

… installation failed!

What version of Virtualmin are you using again?

And what happens if you try to manually launch it from the command lne:

/etc/init,d/postgrey start

There was a bug in older Virtualmin versions that you’d have to manually start Postgrey.
-Eric

i’ve 3.69 gpl. but now is working postgrey, even if there was that error.

For some reason that we do not understand, apt-get sometimes returns a false value, even when everything seems to have installed successfully. I don’t like it, but I don’t know what to do about it.