|
|||||||||
Monday the 23rd of November, 2009 |
|||||||||
postgrey most recent diffversion 1.32
Scroll down toward the bottom of the page to get installation instructions for postgrey. The raw portfile for postgrey 1.32 is located here: http://postgrey.darwinports.com/dports/mail/postgrey/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/postgrey The postgrey Portfile 51273 2009-05-22 03:50:32Z macsforever2000 PortSystem 1.0 Name: postgrey Version: 1.32 Category: mail Maintainers: sky.fr:cbellot Description: Postfix policy server implementing greylisting Long Description: When a request for delivery of a mail is received by Postfix via SMTP, the triplet CLIENT_IP / SENDER / RECIPIENT is built. If it is the first time that this triplet is seen, or if the triplet was first seen, less than 5 minutes ago, then the mail gets rejected with a temporary error. Hopefully spammers or viruses will not try again later, as it is however required per RFC. Platform: darwin Homepage: http://postgrey.schweikert.ch/ Master Sites: ${homepage}pub ${homepage}pub/old Checksums: md5 524a4e165bf997996f3bccade394712f build.target depends_lib-append port:p5-io-multiplex depends_lib-append port:p5-net-server depends_lib-append port:p5-berkeleydb startupitem.create yes startupitem.start "${prefix}/share/postgrey/postgrey.sh start" startupitem.stop "${prefix}/share/postgrey/postgrey.sh stop" configure { system "echo all: > ${worksrcpath}/Makefile" reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" ${worksrcpath}/postgrey ${worksrcpath}/contrib/postgreyreport reinplace "s|/etc/postfix|${prefix}/etc/postgrey|g" ${worksrcpath}/postgrey ${worksrcpath}/postgrey_whitelist_clients ${worksrcpath}/postgrey_whitelist_recipients ${worksrcpath}/contrib/postgreyreport reinplace "s|/etc/main.cf|postfix's main.cf|g" ${worksrcpath}/postgrey reinplace "s|/var/spool/postfix/postgrey|${prefix}/var/spool/postgrey|g" ${worksrcpath}/postgrey ${worksrcpath}/contrib/postgreyreport } destroot { adduser postgrey realname=Postgrey\ Server addgroup postgrey file mkdir ${destroot}${prefix}/etc/postgrey file mkdir ${destroot}${prefix}/share/postgrey file mkdir ${destroot}${prefix}/share/doc/postgrey file mkdir ${destroot}${prefix}/share/man/man1 file mkdir ${destroot}${prefix}/share/man/man8 xinstall -d -o postgrey -g postgrey -m 750 ${destroot}${prefix}/var/spool/postgrey xinstall -d -o postgrey -g postgrey -m 750 ${destroot}${prefix}/var/run/postgrey destroot.keepdirs ${destroot}${prefix}/var/spool/postgrey ${destroot}${prefix}/var/run/postgrey ${destroot}${prefix}/etc/postgrey system "pod2man --section=8 ${worksrcpath}/postgrey > ${destroot}${prefix}/share/man/man8/postgrey.8" system "pod2man --section=1 ${worksrcpath}/contrib/postgreyreport > ${destroot}${prefix}/share/man/man1/postgreyreport.1" xinstall -m 755 -c ${worksrcpath}/contrib/postgreyreport ${destroot}${prefix}/bin/postgreyreport xinstall -m 644 -c ${worksrcpath}/README ${worksrcpath}/README.exim ${worksrcpath}/Changes ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/postgrey xinstall -m 644 -c ${portpath}/files/postgrey.conf ${destroot}${prefix}/etc/postgrey/postgrey.conf.sample xinstall -m 755 -c ${portpath}/files/postgrey.sh ${destroot}${prefix}/share/postgrey reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/share/postgrey/postgrey.sh xinstall -m 4755 -o postgrey -g postgrey -c ${worksrcpath}/postgrey ${destroot}${prefix}/sbin/postgrey xinstall -m 644 -c ${worksrcpath}/postgrey_whitelist_clients ${destroot}${prefix}/etc/postgrey xinstall -m 644 -c ${worksrcpath}/postgrey_whitelist_recipients ${destroot}${prefix}/etc/postgrey/postgrey_whitelist_recipients.default } post-install { ui_msg "\n Postgrey will be running with following default parameters: user : postgrey group : postgrey tcp binding : localhost tcp port : 60000 You will find configuration in ${prefix}/etc/postgrey postgrey.conf : launch options postgrey_whitelist_clients : default clients whitelist postgrey_whitelist_clients.local : customisable clients whitelist postgrey_whitelist_recipients : customisable recipients whitelist postgrey_whitelist_recipients.default : default recipients whitelist (unused) If you are using postfix, you should add to your main.cf a line: check_policy_service inet:127.0.0.1:60000 in the smtpd_recipient_restrictions configuration (after reject_unauth_destination and other rules) and reload postfix daemon. \n" } 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/postgreyYou 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: 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 postgrey with these commands: % man postgrey Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




