Info2: << Package: postfix%type_pkg[-mysql] Version: 2.2.10 Revision: 11 Type: -mysql (boolean) Homepage: http://www.postfix.org/ Description: Mail transfer agent that's fast and secure DescDetail: << Postfix is Wietse Venema's mailer that started life as an alternative to the widely-used Sendmail program. Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail compatible enough to not upset existing users. Thus, the outside has a sendmail-ish flavor, but the inside is completely different. This package provides TLS encryption and SASL authentication. << DescUsage: << You need to do a few things to set Postfix up before you can use it: 1) Edit %p/etc/postfix/main.cf. In particular, edit myorigin, mydestination and mynetworks in that file. The file is well commented. More configuration options are documented in postconf(5). Information on setting up TLS encryption can be found in %p/share/doc/postfix/tls. 2) Edit the aliases in %p/etc/postfix/aliases so that mail to root, and your user, go to your real email address. Run 'sudo newaliases' to update the alias database file. 3) Run 'sudo mta-switch fink' to move the old sendmail from Apple's Postfix out of the way and place symlinks to Fink's Postfix in its place. You may need to do this after upgrades of Mac OS X from Apple. If you are running the system's Postfix, you must stop it before starting the Fink installed one or things could get very confused: 'sudo /usr/sbin/postfix stop'. 4) Run 'sudo daemonic enable postfix'. This will create a Postfix startup item, but it won't actually start Postfix. To do that, you can run 'sudo postfix start'. If you're upgrading from postfix 2.1.x, please read RELEASE_NOTES about configuration changes and adjust main.cf accordingly. The installation process will try to upgrade conf files automatically, but they should still be checked by hand. Removing postfix via Fink will automatically disable it and re-enable Apple's postfix. << DescPackaging: << Adds startup item via daemonic, and an mta-switch shell script. NetInfo support disabled since Apple has depreciated it and no longer supplies the necessary header files. Now uses system's OpenSSL (via system-openssl-dev) and removed from crypto tree. Yay! Original maintainer: Daniel Parks << License: OSI-Approved Maintainer: Daniel Johnson Depends: daemonic, db44-aes-shlibs | db44-shlibs, pcre-shlibs, cyrus-sasl2-shlibs, (%type_raw[-mysql] = -mysql) mysql14-shlibs BuildDepends: db44-aes | db44, pcre, cyrus-sasl2-dev, system-openssl-dev, (%type_raw[-mysql] = -mysql) mysql14-dev Conflicts: postfix-release, postfix, postfix-mysql Replaces: postfix-release, postfix, postfix-mysql, postfix-tls (<< %v-%r), postfix-mysql-tls (<< %v-%r), postfix-unified (<< %v-%r), postfix-mysql-unified (<< %v-%r) Recommends: cyrus-sasl2 Source: ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-%v.tar.gz Source-MD5: 440a4702182a79ac2f51e8974fb742c9 PatchScript: << sed 's|@FINKPREFIX@|%p|g ' <%a/%{ni}.patch | patch -p1 perl -pi.bak -e's,/(etc|var/spool)/postfix,%p/\1/postfix,g; s,/etc/aliases,%p/etc/postfix/aliases,g' man/man1/* man/man5/* man/man8/* conf/* html/*.html README_FILES/* << NoSetCPPFLAGS: true NoSetLDFLAGS: true CompileScript: << #!/bin/sh -ev if [ "%type_raw[-mysql]" == "-mysql" ]; then make makefiles CCARGS='-DDEF_COMMAND_DIR=\"%p/sbin\" \ -DDEF_CONFIG_DIR=\"%p/etc/postfix\" \ -DDEF_DAEMON_DIR=\"%p/lib/postfix\" \ -DDEF_MAILQ_PATH=\"%p/bin/mailq\" \ -DDEF_MANPAGE_DIR=\"%p/share/man\" \ -DDEF_NEWALIAS_PATH=\"%p/bin/newaliases\" \ -DDEF_README_DIR=\"%p/share/doc/%n/README_FILES\" \ -DDEF_HTML_DIR=\"%p/share/doc/%n/html\" \ -DDEF_QUEUE_DIR=\"%p/var/spool/postfix\" \ -DDEF_SENDMAIL_PATH=\"%p/sbin/sendmail\" \ -DUSE_TLS -DUSE_SASL_AUTH -DHAS_MYSQL \ -I. -I../../include -I%p/include/mysql -I%p/lib/system-openssl/include -I%p/include/db4 -I%p/include/sasl -I%p/include' \ AUXLIBS="-L%p/lib/system-openssl/lib -L%p/lib -lssl -lcrypto -ldb -lsasl2 -lmysqlclient" else make makefiles CCARGS='-DDEF_COMMAND_DIR=\"%p/sbin\" \ -DDEF_CONFIG_DIR=\"%p/etc/postfix\" \ -DDEF_DAEMON_DIR=\"%p/lib/postfix\" \ -DDEF_MAILQ_PATH=\"%p/bin/mailq\" \ -DDEF_MANPAGE_DIR=\"%p/share/man\" \ -DDEF_NEWALIAS_PATH=\"%p/bin/newaliases\" \ -DDEF_README_DIR=\"%p/share/doc/%n/README_FILES\" \ -DDEF_HTML_DIR=\"%p/share/doc/%n/html\" \ -DDEF_QUEUE_DIR=\"%p/var/spool/postfix\" \ -DDEF_SENDMAIL_PATH=\"%p/sbin/sendmail\" \ -DUSE_TLS -DUSE_SASL_AUTH \ -I. -I../../include -I%p/lib/system-openssl/include -I%p/include/db4 -I%p/include/sasl -I%p/include' \ AUXLIBS="-L%p/lib/system-openssl/lib -L%p/lib -lssl -lcrypto -ldb -lsasl2" fi make << InstallScript: << make non-interactive-package install_root="%d" install -m0755 mta-switch %i/sbin << DocFiles: AAAREADME COMPATIBILITY COPYRIGHT HISTORY IPv6-ChangeLog LICENSE RELEASE_NOTES* TLS_* US_PATENT_6321267 ConfFiles: << %p/etc/postfix/main.cf %p/etc/postfix/master.cf %p/etc/postfix/access %p/etc/postfix/aliases %p/etc/postfix/canonical %p/etc/postfix/generic %p/etc/postfix/header_checks %p/etc/postfix/relocated %p/etc/postfix/transport %p/etc/postfix/virtual << DaemonicName: postfix DaemonicFile: << Postfix Mail Transfer Agent Postfix %p/lib/postfix/master %p/etc/postfix/main.cf %p/var/spool/postfix/pid/master.pid << PreInstScript: << echo 'Stopping postfix in case you are upgrading from an old version.' { [ -x %p/sbin/postfix ] && %p/sbin/postfix stop ; } || true << PostInstScript: << %p/sbin/postconf -e "html_directory=%p/share/doc/%n/html" %p/sbin/postconf -e "readme_directory=%p/share/doc/%n/README_FILES" %p/sbin/postfix set-permissions upgrade-configuration << PreRmScript: << if [ $1 != "upgrade" ]; then daemonic remove postfix echo "Stopping postfix..." %p/sbin/postfix stop >& /dev/null || true yes 'n' | mta-switch apple fi << SplitOff: << Package: postfix%type_pkg[-mysql]-tls Description: Upgrade package for postfix%type_pkg[-mysql]-tls Depends: %N (= %v-%r) DocFiles: LICENSE << SplitOff2: << Package: postfix%type_pkg[-mysql]-unified Description: Upgrade package for postfix%type_pkg[-mysql]-unified Depends: %N (= %v-%r) DocFiles: LICENSE << <<