Milter-greylist version 4.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    milter-greylist  most recent diff


    version 4.0

      View the most recent changes for the milter-greylist port at: milter-greylist.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for milter-greylist.
      The raw portfile for milter-greylist 4.0 is located here:
      http://milter-greylist.darwinports.com/dports/mail/milter-greylist/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/milter-greylist


      The milter-greylist Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0

      Name: milter-greylist
      Version: 4.0
      Category: mail
      Maintainers: geeklair.net:dluke
      Platform: darwin
      Description: milter-greylist standalone greylist milter
      Long Description: milter-greylist is a stand-alone milter written in C that implements the greylist filtering method

      Homepage: http://hcpnet.free.fr/milter-greylist/
      Master Sites: ftp://ftp.espci.fr/pub/milter-greylist/

      extract.suffix .tgz

      Checksums: md5 2834933b27298d30630eea621cbfdcf5 sha1 e94c8c8a7ed5cf27550eb69f660c7d75c60f6ac1 rmd160 e84329491ea06044549aafbf65bf8adf4c01956b

      depends_lib port:libmilter

      configure.args --mandir=${prefix}/share --with-user=milter-greylist --with-libmilter=${prefix}

      post-configure {
      reinplace "s|/etc/mail|${prefix}/etc/mail|g" ${worksrcpath}/Makefile ${worksrcpath}/conf.h
      reinplace "s|/var/milter-greylist|${prefix}/var/milter-greylist|g" ${worksrcpath}/greylist.conf
      }

      pre-configure {
      adduser milter-greylist
      addgroup milter-greylist users=milter-greylist
      }

      post-destroot {
      file rename ${destroot}${prefix}/etc/mail/greylist.conf ${destroot}${prefix}/etc/mail/greylist.conf.sample
      xinstall -o milter-greylist -g milter-greylist -d ${destroot}${prefix}/var/milter-greylist
      }

      destroot.keepdirs ${destroot}${prefix}/var/milter-greylist

      startupitem.create yes
      startupitem.name milter-greylist
      startupitem.executable ${prefix}/bin/milter-greylist -D -u milter-greylist:milter-greylist

      Variant: postfix description {build with postfix support} {
      depends_lib-append port:postfix
      configure.args-append --enable-postfix
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/milter-greylist
      % sudo port install milter-greylist
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching milter-greylist
      ---> Verifying checksum for milter-greylist
      ---> Extracting milter-greylist
      ---> Configuring milter-greylist
      ---> Building milter-greylist with target all
      ---> Staging milter-greylist into destroot
      ---> Installing milter-greylist
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using milter-greylist with these commands:
      %  man milter-greylist
      % apropos milter-greylist
      % which milter-greylist
      % locate milter-greylist

     Where to find more information:

    Darwin Ports



    Lightbox this page.