Clamsmtp version 1.6 - How to Download and Install on Mac OS X
Wednesday the 8th of September, 2010

    clamsmtp  most recent diff


    version 1.6

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


      The clamsmtp Portfile 30236 2007-10-22 23:15:10Z jmpp macports.org $

      PortSystem 1.0

      Name: clamsmtp
      Version: 1.6
      Category: mail security
      Platform: darwin
      Maintainers: nomaintainer
      Description: SMTP filter checking for viruses using the ClamAV anti-virus
      Long Description: ClamSMTP is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software. It accepts SMTP connections and forwards the SMTP commands and responses to another SMTP server. The 'DATA' email body is intercepted and scanned before forwarding.

      Homepage: http://memberwebs.com/nielsen/software/${name}/
      Master Sites: ${homepage}
      Checksums: md5 19fed666c77bb26039c5412c2559249d

      depends_run bin:clamd:clamav

      configure.args --mandir=${prefix}/share/man

      build.args CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/ ${destroot}${prefix}/var/run/
      xinstall -m 644 ${worksrcpath}/doc/clamsmtpd.conf ${destroot}${prefix}/etc/clamsmtpd.conf.sample
      xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${destroot}${prefix}/share/doc/${name}
      }
      destroot.keepdirs ${destroot}${prefix}/var/run

      set pidfile ${prefix}/var/run/clamsmtpd.pid
      startupitem.create yes
      startupitem.name ClamSMTP
      startupitem.start "if \[ -r ${prefix}/etc/clamsmtpd.conf \]; then
      ${prefix}/sbin/clamsmtpd -p ${pidfile}
      fi"
      startupitem.stop "if \[ -r ${pidfile} \]; then
      kill \$(cat ${pidfile})
      fi"


    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/clamsmtp
      % sudo port install clamsmtp
      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 clamsmtp
      ---> Verifying checksum for clamsmtp
      ---> Extracting clamsmtp
      ---> Configuring clamsmtp
      ---> Building clamsmtp with target all
      ---> Staging clamsmtp into destroot
      ---> Installing clamsmtp
    - 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 clamsmtp with these commands:
      %  man clamsmtp
      % apropos clamsmtp
      % which clamsmtp
      % locate clamsmtp

     Where to find more information:

    Darwin Ports



    Lightbox this page.