•  

    aahun aahun song download song

    Name: aahun aahun song download song
    Category: Download
    Published: ncacinfronun1973
    Language: English

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    http://propreficar1984.eklablog.com/adopt-an-era-of-treachery-download-a179199566

     


    Welche Alternativen gibt es zu "PostgreSQL"? Inhaltsverzeichnis. Je nach Einsatzzweck und gewünschter Funktion stellen nachfolgende Programme eine Alternative zu "PostgreSQL" dar: PostgreSQL ist ein objektrelationales Datenbankmanagementsystem. Es basiert auf der Sprache SQL und unterstützt alle Anforderungen des SQL-Standards. Seit Version 8.0 werden auch Windows-Betriebssysteme unterstützt. Die Software ist auf Englisch. Verwalten Sie Ihre Daten. Außerdem unterstützt PostgreSQL die Erstellung von Views auf die auch ein Schreibzugriff möglich ist. Trigger können in einer Vielzahl von Sprachen programmiert werden. Weiterhin besticht die Software durch ihre vielfältige Erweiterbarkeit durch selbstdefinierte Funktionen, Operatoren und Datentypen. Es besteht die Möglichkeit eine Reihe von Zusatzmodulen zu installieren. Das kann die Software. PostgreSQL entstammt einer Datenbankentwicklung der University of California und wird seit 1997 als Open-Source-Projekt weiterentwickelt. Heutzutage ist die Software als Freeware erhältlich. Es lassen sich objektrelationale Datenbanken erstellen und verwalten. Objektrationale Datenbanken unterscheiden sich von klassischen relationalen Datenbanken unter anderem dadurch, dass die einzelnen Elemente der Tabellen nicht atomar sein müssen, sondern ihrerseits wieder Objekte sein können. PostgreSQL. Das Datenbankmanagementsystem arbeitet mit der Sprache SQL und ist konform zum ANSI-SQL 92 Standard. Einige Features des 2008-Standards werden ebenfalls bereits unterstützt. Zu den wichtigsten Funktionen gehören das vollständige Transaktionskonzept, das es ermöglicht mehrere Anfragen in einer Transaktion zu bündeln, sowie die Sicherstellung der referentiellen Integrität mithilfe von Constraints und der Verwendung von Fremdschlüsseln.

     

     

    http://rticchardesea1981.eklablog.com/slayer-2-vst-free-download-a178393594

    your comment
  •  

    a4tech pk 810g driver download zelda

    Name: a4tech pk 810g driver download zelda
    Category: Download
    Published: esplaninag1987
    Language: English

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    http://mebbalepyt1972.eklablog.com/8201bl-download-gratis-a178581550

     


    %define with_mysql 1. See http://www.redhat.com/support/docs/faqs/RH-postfix-FAQ/book1.html, a slightly outdated FAQ, which covers the steps involved in installing and configuring postfix. # No more postfix packages left so prepare to finish package removal. # _In theory_ there is no chroot environment now, so there is no need to # clean it out. # However it may be prudent later to add back a call to # /etc/postfix/postfix-chroot.sh disable # just to make sure, but won't do this yet. (If you think I should let # me know). if [ "$1" = 0 ]; then ? ?service postfix stop >/dev/null 2>&1 ? ?chkconfig --del postfix. ?I'm trying to build a postfix rpm that has mysql support included. I've found the line where I need to define mysql support but it seems that I am being tripped up by some build dependencies: # Apply the alternatives scripts ONLY if installing (not upgrading) to # ensure a link exists from % /sendmail to # % (and other files). # # If performing an upgrade this MUST be done in the trigger scripts. # (old postfix packages, pre-alternatives have a /usr/sbin/sendmail and this # gets removed _AFTER_ the %post stage when the old package is removed) %define newaliases_path % /newaliases.postfix %define mailq_path % /mailq.postfix %define rmail_path % /rmail.postfix %define sendmail_path % /sendmail.postfix # Don't use % as it gives the wrong directory on x86_64 servers %define usrlib_sendmail /usr/lib/sendmail.postfix. %attr(0644, root, root) % /postfix/README.rpm %attr(0644, root, root) % /postfix/postfix.spec.cf. # Optional patches # FIXME: There is also a 64-bit patch (not included) for 2.5.4 Patch4: http://vda.sourceforge.net/VDA/postfix-% -vda-ng.patch.gz. # If set to 1 if official version, 0 if snapshot %define official 1 %define V_postfix 2.9.1 %define rel 1.rhel5 %if % %define V_tarball % %define ftp_dir official %else %define V_release_date RC2 %define V_tarball % -% %define ftp_dir experimental %endif # rpm does not accept '-' in version strings so replace them with a '.' # - (only affects snapshots) %define V_package %(echo % | sed 's/-/./g') %if % Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif. # export values to child processes export POSTFIX_MYSQL POSTFIX_MYSQL_PATHS POSTFIX_MYSQL_REDHAT \\ ?POSTFIX_LDAP POSTFIX_PCRE POSTFIX_PGSQL \\ ?POSTFIX_SASL POSTFIX_TLS POSTFIX_VDA \\ ?POSTFIX_SMTPD_MULTILINE_GREETING POSTFIX_DB \\ ?POSTFIX_INCLUDE_DB POSTFIX_SPF \\ ?POSTFIX_CDB POSTFIX_ALT_PRIO POSTFIX_DOVECOT. %files %defattr(-, root, root) %verify(not md5 size mtime) %config %dir % /postfix %attr(0644, root, root) % /postfix/LICENSE %attr(0644, root, root) % /postfix/TLS_LICENSE %attr(0444, root, root) %config % /postfix/makedefs.out %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/main.cf %attr(0644, root, root) % /postfix/main.cf.default %attr(0644, root, root) % /postfix/bounce.cf.default %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/master.cf %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/access %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/aliases %attr(0644, root, root) %verify(not md5 size mtime) %ghost % /postfix/aliases.db %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/canonical %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/generic %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/header_checks %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/relocated %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/transport %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/virtual. # Install the smtpd.conf file for SASL support. %if % mkdir -p $ % install -m 644 %SOURCE100 $ % /smtpd.conf mkdir -p $RPM_BUILD_ROOT% /pam.d install -m 644 %SOURCE101 $ % /pam.d/smtp.postfix mkdir -p $RPM_BUILD_ROOT% /sysconfig install -m 644 %SOURCE102 $ % /sysconfig/saslauthd.postfix %endif. # Add smtps to services if not found if ! grep -q ^smtps % /services then cat >% /services smtps ? ? ? ? ? 465/tcp ? ? ? ? ? ? ? ? # SMTP over SSL (TLS) EOF fi. The chroot behaviour of my packages has changed over time. Current packages will NOT turn on the chroot environment in Postfix. Older versions did the opposite. If you upgrade from an older version of my package the chroot behaviour will NOT be changed. (Check % /postfix/master.cf for details.) # install postfix into build root make non-interactive-package \ install_root=$ \ config_directory=% /postfix \ daemon_directory=% /postfix \ command_directory=% \ queue_directory=% /spool/postfix \ sendmail_path=% \ newaliases_path=% \ mailq_path=% \ mail_owner=postfix \ setg >html_directory=% \ manpage_directory=% \ readme_directory=% || exit 1. # alternatives priority can now be changed in one place. # - this used to be 30 but RH seems to have defined other higher values # ? and some users need another value. # ? Don't change this unless you really think you need to. %define with_alt_prio ? ? 30. # To be compatible with later versions of RH sendmail/postfix packages # make /usr/lib/sendmail.postfix point to /usr/sbin/sendmail.postfix. # The alternatives then point /usr/lib/sendmail to /usr/lib/sendmail.postfix. # This *is* all a bit silly . # RPM compresses man pages automatically. Edit postfix-files to avoid # confusing post-install. ed $ % /postfix/postfix-files $ % /SEE_ALSO % /% -% may contain other documentation files. EOF. # Sources >= 100 are config files Source100: postfix-sasl.conf Source101: postfix-pam.conf Source102: postfix-saslauthd.conf. and this is the line in the spec that seems to pertain to the error: # rpm-workaround: # # We can NOT use % /% -% for installing the docs # from the 'install' section as RPM kindly removes this directory after # we have installed files to it. (standard part of 'doc' processing!) # #define docdir % /% -% %define docdir % /% -% -documentation %define readme_dir % /README_FILES %define html_dir % /html %define examples_dir % /examples. Postfix documentation should be available in the directory % /. # check custom MYSQL path values are sensible to avoid problems # with people mixing include and lib directories if [ "% " != 0 ]; then ? ? ? ?exit_error() ? ? ? ? ? ? ? ?cat rmail.postfix ed conf/master.cf ?if pkg-config openssl; then ? ?CCARGS="$ -DUSE_TLS $(pkg-config --cflags openssl)" ? ?AUXLIBS="$ $(pkg-config --libs openssl)" ?else ? ?# ? ?# CHECK THIS - these lines may no longer be needed (required for external TLS patch) ? ?# ? ?[ "% " = 1 ] && LIBS=-ldl ? ?[ "% " = 2 ] && CCARGS="$ -I/usr/kerberos/include" ? ?CCARGS="$ -DUSE_TLS -I/usr/include/openssl" ? ?AUXLIBS="$ -lssl -lcrypto" ?fi %else # explicitly disable TLS otherwise will be built on machine if # openssl is available ? ? ? ?CCARGS="$ -DNO_TLS" %endif. The chroot behaviour of my packages has changed over time. Current packages will NOT turn on the chroot environment in Postfix. ?Older versions did the opposite. ?If you upgrade from an older version of my package the chroot behaviour will NOT be changed. (Check % /postfix/master.cf for details.) %attr(0644, root, root) % /postfix/README.rpm %attr(0644, root, root) % /postfix/postfix.spec.cf. %if % Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif. To use postfix with alternative options download the source package and rebuild the binary package following the instructions in the source package or on my web page. # Upgrade configuration as necessary % /postfix set-permissions upgrade-configuration \ ? ? ? ? ? setg > %define with_cdb 0 %define with_ldap 0 %define with_mysql 1 %define with_mysql_redhat 1 %define with_pcre 0 %define with_pgsql 0 %define with_sasl 0 %define with_spf 0 %define with_dovecot 0 %define with_tls 1 %define with_tlsfix 2 %define with_vda 1. %if % Requires: openldap >= 1.2.9 BuildRequires: openldap-devel >= 1.2.9 %endif. 3 responses Oldest Nested. What I'm wondering is if I comment out the lines that require MySQL-shared and MySQL-devel will I end up with a usable install of postfix with MySQL support? # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ ? ?--slave % /mailq mta-mailq % \ ? ?--slave % /newaliases mta-newaliases % \ ? ?--slave % /rmail mta-rmail % \ ? ?--slave /usr/lib/sendmail mta-sendmail % \ ? ?--slave % /man8/sendmail.8% ? mta-sendmailman % /man1/sendmail.postfix.1% \ ? ?--slave % /man1/mailq.1% ? ? ?mta-mailqman % /man1/mailq.postfix.1% \ ? ?--slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ ? ?--slave % /man5/aliases.5% ? ?mta-aliasesman % /man5/aliases.postfix.5% \ ? ?--initscript postfix. Provides: MTA smtpd smtpdaemon Provides: % /sendmail % /mailq % /newaliases % /rmail Provides: % /man1/newaliases.1.% % /man5/newaliases.5.% # If using sasl create % /sysconfig/saslauthd if necessary # - this file is provided in some (but not all) cyrus-sasl packages # ? - RHEL3 provides this file in cyrus-sasl >= 2.1.18-2 %if % [ -f % /sysconfig/saslauthd ] || ? ? ? ?grep -v "^# NOTE: " % /sysconfig/saslauthd.postfix > % /sysconfig/saslauthd ? ? ? ?chmod 644 % /sysconfig/saslauthd ? ? ? ?% "creating new % /sysconfig/saslauthd from local Postfix copy" > %endif. ? ? ? ? ? ? ? ?# Postfix - suggested configuration taken from SASL_README (2.3.2). ? ? ? ? ? ? ? ?#auth default ? ? ? ? ? ? ? ?# ?mechanisms = plain login ? ? ? ? ? ? ? ?# ?passdb pam ? ? ? ? ? ? ? ?# ?> ? ? ? ? ? ? ? ?# ?userdb passwd ? ? ? ? ? ? ? ?# ?> ? ? ? ? ? ? ? ?# ?socket listen ? ? ? ? ? ? ? ?# ? ?client ? ? ? ? ? ? ? ?# ? ? ?path = /var/spool/postfix/private/auth ? ? ? ? ? ? ? ?# ? ? ?mode = 0660 ? ? ? ? ? ? ? ?# ? ? ?user = postfix ? ? ? ? ? ? ? ?# ? ? ?group = postfix ? ? ? ? ? ? ? ?# ? ?> ? ? ? ? ? ? ? ?# ?> ? ? ? ? ? ? ? ?#> [root at beta SPECS]# rpmbuild -ba postfix.spec error: Failed build dependencies: MySQL-shared is needed by postfix-2.9.1-1.rhel5.x86_64 MySQL-devel is needed by postfix-2.9.1-1.rhel5.x86_64. # Include README.rpm explaining where the documentation can be found and # also pointing out how to get updated copies of my package cat $ % /postfix/README.rpm README.rpm ========== This package/specfile was built from postfix.spec.in. To see the build options used to build this package see the file % /postfix/postfix.spec.cf. /usr/bin/getent group postdrop >/dev/null || %whinge "Adding postdrop group to system" % /groupadd -r postdrop > %define initdir /etc/rc.d/init.d. # If removing sendmail and not using alternatives: replace with postfix equivalents %whinge "% -% triggerpostun -- sendmail: final number of sendmail packages=$2" [ $2 = 0 ] || exit 0. # alternatives priority can now be changed in one place. # - this used to be 30 but RH seems to have defined other higher values # and some users need another value. # Don't change this unless you really think you need to. %define with_alt_prio 30. ############################################################################## # List of changes made to this package. # # Although old entries from the changelog have been removed most of them # are available from my CVS repository of changes made to this file. # %dir %verify(not md5 size mtime) % /spool/postfix. # remove the rest of the queue directory structure queue_directory_remove () ? ?# remove the hashed directories ? ?depth=$(postconf -h hash_queue_depth) ? ?for dir in $(postconf -h hash_queue_names | sed -e 's/,/\n/g; s/ //g'); do ? ? ? ?queue_hash_depth_remove $dir $depth ? ?done. %dir ? ? ? ? ? ? ? ? ? ? ?%verify(not md5 size mtime) % /spool/postfix. %if % BuildRequires: libspf2-devel >= 1.2.5 Requires: libspf2 >= 1.2.5 %endif. # If removing sendmail and not using alternatives: replace with postfix equivalents %whinge "% -% triggerpostun -- sendmail: final number of sendmail packages=$2" [ $2 = 0 ] || exit 0. # generate postfix.spec.cf # - used to build a newer version of the rpm with the same parameters # ? as the current package. # - provides build instructions cat - % /postfix.spec.cf $ % /postfix/postfix.spec.cf # # This file contains the following information: # # - configuration options used to build the installed postfix rpm # ? - generated when the binary rpm was built # # - Postfix RPM build instructions # ? - for upgrading the installed rpm with the same options # ? - for building the rpm with other options # # 1. CONFIGURATION OPTIONS OF INSTALLED BINARY RPM # # Package built on: % (% ) ? ?# now remove the other directories ? ?for dir in corrupt hold maildrop pid private public saved; do ? ? ? ?queue_hash_depth_remove $dir 0 ? ?done > %if % Requires: postgresql-libs BuildRequires: postgresql-devel %endif. and this is the line in the spec that seems to pertain to the error: Here is the spec file that I am trying to use: %if % Requires: mysql BuildRequires: mysql, mysql-devel %endif. # Obligatory Patches Patch0: postfix-2.3.3-vda.patch Patch3: postfix-files.patch Patch5: postfix-makedefs.patch. The main Postfix web site is http://www.postfix.org. This package can be built on several Linux distributions and with several optional features. ?% /postfix/postfix.spec.cf contains the information used to build this version of the rpm. It can also be used to build a new rpm with the same options. [CentOS] build postfix rpm with mysql. # patch and version information %define V_vda 2.5.4 %define V_cdb 1.1.11-20021104 %define V_postfinger 1.30. export CCARGS AUXLIBS make -f Makefile.init makefiles unset CCARGS AUXLIBS # -Wno-comment needed due to large number of warnings on RHEL5 # suggestion by Eric Hoeve make DEBUG="% " OPT="$RPM_OPT_FLAGS -Wno-comment" # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ ? ?--slave % /mailq mta-mailq % \ ? ?--slave % /newaliases mta-newaliases % \ ? ?--slave % /rmail mta-rmail % \ ? ?--slave /usr/lib/sendmail mta-sendmail % \ ? ?--slave % /man8/sendmail.8% ? mta-sendmailman % /man1/sendmail.postfix.1% \ ? ?--slave % /man1/mailq.1% ? ? ?mta-mailqman % /man1/mailq.postfix.1% \ ? ?--slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ ? ?--slave % /man5/aliases.5% ? ?mta-aliasesman % /man5/aliases.postfix.5% \ ? ?--initscript postfix exit 0 ?# ensure the trigger exit status is 0. Thanks in advance, Tim. queue_hash_depth_remove () ? ?local dir=$1 ? ?local depth=$2 ? ?local new_depth ? ?local a ? ?[ -d "$dir" ] && ? ? ? ?if [ "$depth" -gt 0 ]; then ? ? ? ? ? ?new_depth=$(($depth - 1)) ? ? ? ? ? ?for a in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do ? ? ? ? ? ? ? ?test -d $dir/$a && queue_hash_depth_remove $dir/$a $new_depth ? ? ? ? ? ?done ? ? ? ?fi ? ? ? ?rm -f $dir/* ? ? ? ?rmdir $dir || %whinge "WARNING: preun - unable to remove directory % /spool/postfix/$dir" ? ?> > # For correct directory permissions check postfix-install script %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/active %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/bounce %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/corrupt %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/defer %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/deferred %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/flush %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/hold %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/incoming %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/private %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /spool/postfix/saved %dir %attr(0730, postfix, postdrop) %verify(not md5 size mtime) % /spool/postfix/maildrop %dir %attr(0710, postfix, postdrop) %verify(not md5 size mtime) % /spool/postfix/public %dir %attr(0755, root, root) ? ? ? ?%verify(not md5 size mtime) % /spool/postfix/pid %dir %attr(0700, postfix, root) ? ? %verify(not md5 size mtime) % /lib/postfix. # e.g.: /usr/mysql/include:/usr/mysql/lib # - The order is important and only 2 directories may # be given. # requires_db - used to add dbX dependencies in the package # smtpd_multiline_greeting - my patch to allow multiline banner # mps - man page suffix, .gz except Mandrake >= 8 which uses .bz2 # with_cdb - include CDB support by Michael Tokarev # # with_dovecot - include DOVECOT SASL authentication # with_ldap - include LDAP support # with_mysql - include support for www.mysql.com's MySQL rpms # with_mysql_redhat - include support for RedHat's MySQL rpms # with_pcre - include pcre support # with_pgsql - include Postgres database support # with_sasl - include Cyrus SASL/AUTH support (0 to disable sasl, # 1 for sasl v1, or 2 for sasl v2, sasl_library is # the sasl library to link against, distribution dependent) # with_spf - include libspf2 library support (EXPERIMENTAL) # - rpms for libspf can be found at http://www.sosdg.org/rpm/libspf/ # with_tls - include TLS support # with_tlsfix - include TLS fix # - needed for rh6.2, rh9 and rhel3 # with_vda - add virtual delivery agent patch # # Please send bugfixes and comments to the packager. # # distribution which the spec file was built from %define distribution rhel-5.0. ? ?% /alternatives --remove mta % And I was able to build the rpm and it looks good! # Include README.rpm explaining where the documentation can be found and # also pointing out how to get updated copies of my package cat $ % /postfix/README.rpm README.rpm ========== %if % %config(noreplace) % /smtpd.conf %config(noreplace) % /pam.d/smtp.postfix %config(noreplace) % /sysconfig/saslauthd.postfix %endif. %doc % /AAAREADME %doc % /COMPATIBILITY %doc % /COPYRIGHT %doc % /HISTORY %doc % /PORTING %doc % /RELEASE_NOTES %doc % /RELEASE_NOTES-1.0 %doc % /RELEASE_NOTES-1.1 %doc % /RELEASE_NOTES-2.0 %doc % /RELEASE_NOTES-2.1 %doc % /RELEASE_NOTES-2.2 %doc % /RELEASE_NOTES-2.3 %doc % /RELEASE_NOTES-2.4 %doc % /RELEASE_NOTES-2.5 %doc % /RELEASE_NOTES-2.6 %doc % /RELEASE_NOTES-2.7 %doc % /RELEASE_NOTES-2.8 %doc % /SEE_ALSO %doc % /TLS_ACKNOWLEDGEMENTS %doc % /TLS_CHANGES %doc % /TLS_LICENSE %doc % /US_PATENT_6321267. ? ?# userdel also deletes the user's group ? ?% /userdel postfix ? || %whinge "WARNING: failed to remove user postfix" ? ?% /groupdel postdrop || %whinge "WARNING: failed to remove group postdrop" # distribution which we are building Postfix on # - call my script once to speed up build process %define distro_info %(sh $(rpm --eval '% ')/postfix-get-distribution --distro-info) %define build_dist_full %(echo "%distro_info" | cut -d" " -f5) %define build_name %(echo "%distro_info" | cut -d" " -f1) %define build_major %(echo "%distro_info" | cut -d" " -f3) %define build_minor %(echo "%distro_info" | cut -d" " -f4) %define build_dist % -% .% %define mps %(test "% " = mandrake -a "% " -ge 8 && echo .bz2 || echo .gz) # Upgrade configuration as necessary % /postfix set-permissions upgrade-configuration \ setg > Name: postfix Group: System Environment/Daemons URL: http://www.postfix.org License: IBM Public License PreReq: chkconfig, initscripts, shadow-utils PreReq: /etc/init.d, /sbin/service, chkconfig >= 1.3 Epoch: 2. # If upgrading postfix some versions are pre-alternatives and use # /usr/sbin/sendmail. ?After uninstalling the old package this file will be # missing and we need to link to the new postfix sendmail binary. %whinge "% -% triggerpostun -- postfix: final number of Postfix packages=$2" [ $2 -gt 0 ] || exit 0. %if % Requires: openssl BuildRequires: openssl-devel %endif. # Add postfix user to the mail group. ?This is needed for people using cyrus, # linked by unix sockets (amongst other things). test -z "$( >mail)" && ? ?%whinge "Adding postfix user to mail group" ? ?% /usermod -G mail postfix > %if % Requires: openldap >= 1.2.9 BuildRequires: openldap-devel >= 1.2.9 %endif. chkconfig --add postfix. Well guys, I gave it a whirl by commenting out the following lines in the spec: # rename man pages which may conflict with sendmail's mv man/man1/mailq.1 man/man1/mailq.postfix.1 mv man/man1/newaliases.1 man/man1/newaliases.postfix.1 mv man/man1/sendmail.1 man/man1/sendmail.postfix.1 mv man/man5/aliases.5 man/man5/aliases.postfix.5. %define with_cdb ? ? ? ? ?0 %define with_ldap ? ? ? ? 0 %define with_mysql ? ? ? ?1 %define with_mysql_redhat 1 %define with_pcre ? ? ? ? 0 %define with_pgsql ? ? ? ?0 %define with_sasl ? ? ? ? 0 %define with_spf ? ? ? ? ?0 %define with_dovecot ? ? ?0 %define with_tls ? ? ? ? ?1 %define with_tlsfix ? ? ? 2 %define with_vda ? ? ? ? ?1. %attr(0755, root, root) %config % /postfix. # remove the rest of the queue directory structure queue_directory_remove () # remove the hashed directories depth=$(postconf -h hash_queue_depth) for dir in $(postconf -h hash_queue_names | sed -e 's/,/\n/g; s/ //g'); do queue_hash_depth_remove $dir $depth done. # Determine packaging requirements BuildRequires: /usr/bin/cc, gawk, sed, ed, patch, rpm >= 4 Requires: gawk, sed, ed. %define with_mysql ? ? ? ?1. # If using sasl create % /sysconfig/saslauthd if necessary # - this file is provided in some (but not all) cyrus-sasl packages # - RHEL3 provides this file in cyrus-sasl >= 2.1.18-2 %if % [ -f % /sysconfig/saslauthd ] || grep -v "^# NOTE: " % /sysconfig/saslauthd.postfix > % /sysconfig/saslauthd chmod 644 % /sysconfig/saslauthd % "creating new % /sysconfig/saslauthd from local Postfix copy" > %endif. %doc % /AAAREADME %doc % /COMPATIBILITY %doc % /COPYRIGHT %doc % /HISTORY %doc % /PORTING %doc % /RELEASE_NOTES %doc % /RELEASE_NOTES-1.0 %doc % /RELEASE_NOTES-1.1 %doc % /RELEASE_NOTES-2.0 %doc % /RELEASE_NOTES-2.1 %doc % /RELEASE_NOTES-2.2 %doc % /RELEASE_NOTES-2.3 %doc % /RELEASE_NOTES-2.4 %doc % /RELEASE_NOTES-2.5 %doc % /RELEASE_NOTES-2.6 %doc % /RELEASE_NOTES-2.7 %doc % /RELEASE_NOTES-2.8 %doc % /SEE_ALSO %doc % /TLS_ACKNOWLEDGEMENTS %doc % /TLS_CHANGES %doc % /TLS_LICENSE %doc % /US_PATENT_6321267. # If set to 1 if official version, 0 if snapshot %define official 1 %define V_postfix 2.9.1 %define rel 1.rhel5 %if % %define V_tarball % %define ftp_dir official %else %define V_release_date RC2 %define V_tarball % -% %define ftp_dir experimental %endif # rpm does not accept '-' in version strings so replace them with a '.' # - (only affects snapshots) %define V_package %(echo % | sed 's/-/./g') install -d -m755 $RPM_BUILD_ROOT/usr/lib ln -sf ../sbin/sendmail.postfix $RPM_BUILD_ROOT% chkconfig --add postfix. %description Postfix is a Mail Transport Agent (MTA), intended to be an alternative to the widely-used sendmail. This package includes optional support for LDAP, pcre, mysql, SMTP AUTH (SASL) and TLS. # RPM compresses man pages automatically. ?Edit postfix-files to avoid # confusing post-install. ed $ % /postfix/postfix-files $ % /SEE_ALSO % /% -% may contain other documentation files. EOF. %define mysql_paths 0 %define mysql_local %(test "% " != 0 && echo 1 || echo 0) %define mysql_include %(echo "% " | cut -d: -f1) %define mysql_lib %(echo "% " | cut -d: -f2) # determine PCRE library based on distribution name %define pcre_requires %(test % = mandrake && echo libpcre0. # create postfix user and group, and maildrop group if necessary. # Use perl rather than looking in /etc/passwd or /etc/group as this works # in a wider NIS or LDAP environment. ############################################################################## # List of changes made to this package. # # Although old entries from the changelog have been removed most of them # are available from my CVS repository of changes made to this file. # # Postfix compiled with Dovecot support only works with dovecot >= 1 # - however requiring the dovecot rpm to be installed when it may # ? not be used means that there will be NO explicit dependency # ? added to the rpm. %if % #Requires: dovecot >= 1 ? ? ? ? NOT REQUIRED / DO NOT ADD %endif. /usr/bin/getent group postfix >/dev/null || %whinge "Adding postfix group to system" % /groupadd -r postfix > # To be compatible with later versions of RH sendmail/postfix packages # make /usr/lib/sendmail.postfix point to /usr/sbin/sendmail.postfix. # The alternatives then point /usr/lib/sendmail to /usr/lib/sendmail.postfix. # This *is* all a bit silly . %define whinge /usr/bin/logger -p mail.info -t postfix/rpm %define die_cmd die() %if % Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif. # check custom MYSQL path values are sensible to avoid problems # with people mixing include and lib directories if [ "% " != 0 ]; then exit_error() cat rmail.postfix ed conf/master.cf if pkg-config openssl; then CCARGS="$ -DUSE_TLS $(pkg-config --cflags openssl)" AUXLIBS="$ $(pkg-config --libs openssl)" else # # CHECK THIS - these lines may no longer be needed (required for external TLS patch) # [ "% " = 1 ] && LIBS=-ldl [ "% " = 2 ] && CCARGS="$ -I/usr/kerberos/include" CCARGS="$ -DUSE_TLS -I/usr/include/openssl" AUXLIBS="$ -lssl -lcrypto" fi %else # explicitly disable TLS otherwise will be built on machine if # openssl is available CCARGS="$ -DNO_TLS" %endif. # determine SASL library based on distribution name %define sasl_library %(test % = mandrake && echo libsasl-devel || echo cyrus-sasl-devel) %define requires_db 4 %define requires_zlib 1 %define smtpd_multiline_greeting 1. The binary and source rpms I produce are currently available at http://postfix.WL0.org, ftp://ftp.WL0.org and the mirrors which can be found at the following URL: http://postfix.WL0.org/en/mirrors/ Postfix documentation should be available in the directory % /. This package/specfile was built from postfix.spec.in. To see the build options used to build this package see the file % /postfix/postfix.spec.cf. # export values to child processes export POSTFIX_MYSQL POSTFIX_MYSQL_PATHS POSTFIX_MYSQL_REDHAT \\ POSTFIX_LDAP POSTFIX_PCRE POSTFIX_PGSQL \\ POSTFIX_SASL POSTFIX_TLS POSTFIX_VDA \\ POSTFIX_SMTPD_MULTILINE_GREETING POSTFIX_DB \\ POSTFIX_INCLUDE_DB POSTFIX_SPF \\ POSTFIX_CDB POSTFIX_ALT_PRIO POSTFIX_DOVECOT. # rename man pages which may conflict with sendmail's mv man/man1/mailq.1 ? ? ?man/man1/mailq.postfix.1 mv man/man1/newaliases.1 man/man1/newaliases.postfix.1 mv man/man1/sendmail.1 ? man/man1/sendmail.postfix.1 mv man/man5/aliases.5 ? ?man/man5/aliases.postfix.5. # Determine packaging requirements BuildRequires: /usr/bin/cc, gawk, sed, ed, patch, rpm >= 4 Requires: gawk, sed, ed. # No more postfix packages left so prepare to finish package removal. # _In theory_ there is no chroot environment now, so there is no need to # clean it out. # However it may be prudent later to add back a call to # /etc/postfix/postfix-chroot.sh disable # just to make sure, but won't do this yet. (If you think I should let # me know). if [ "$1" = 0 ]; then service postfix stop >/dev/null 2>&1 chkconfig --del postfix. %if % Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif. * Sun Feb 19 2012 Simon J Mudd 2.9.1-1 ?- minor tweaks and upgrade to 2.9.1. /usr/bin/getent passwd postfix >/dev/null || ? ?%whinge "Adding postfix user to system" ? ?% /useradd -d % /spool/postfix -s /bin/true -g postfix -G mail -M -r postfix > # now remove the other directories for dir in corrupt hold maildrop pid private public saved; do queue_hash_depth_remove $dir 0 done > %if % Requires: postgresql-libs BuildRequires: postgresql-devel %endif. # remove the directory and depth levels of subdirectories. # generate postfix.spec.cf # - used to build a newer version of the rpm with the same parameters # as the current package. # - provides build instructions cat - % /postfix.spec.cf $ % /postfix/postfix.spec.cf # # This file contains the following information: # # - configuration options used to build the installed postfix rpm # - generated when the binary rpm was built # # - Postfix RPM build instructions # - for upgrading the installed rpm with the same options # - for building the rpm with other options # # 1. CONFIGURATION OPTIONS OF INSTALLED BINARY RPM # # Package built on: % (% ) # Add submission to services if not found, required for rh >% /services submission ? ? ?587/tcp ? ? ? ? msa ? ? # mail message submission submission ? ? ?587/udp ? ? ? ? msa ? ? # mail message submission EOF fi. # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ ? ?--slave % /mailq mta-mailq % \ ? ?--slave % /newaliases mta-newaliases % \ ? ?--slave % /rmail mta-rmail % \ ? ?--slave /usr/lib/sendmail mta-sendmail % \ ? ?--slave % /man8/sendmail.8% ? mta-sendmailman % /man1/sendmail.postfix.1% \ ? ?--slave % /man1/mailq.1% ? ? ?mta-mailqman % /man1/mailq.postfix.1% \ ? ?--slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ ? ?--slave % /man5/aliases.5% ? ?mta-aliasesman % /man5/aliases.postfix.5% \ ? ?--initscript postfix exit 0 ?# ensure the trigger exit status is 0. queue_hash_depth_remove () local dir=$1 local depth=$2 local new_depth local a [ -d "$dir" ] && if [ "$depth" -gt 0 ]; then new_depth=$(($depth - 1)) for a in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do test -d $dir/$a && queue_hash_depth_remove $dir/$a $new_depth done fi rm -f $dir/* rmdir $dir || %whinge "WARNING: preun - unable to remove directory % /spool/postfix/$dir" > > # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ --slave % /mailq mta-mailq % \ --slave % /newaliases mta-newaliases % \ --slave % /rmail mta-rmail % \ --slave /usr/lib/sendmail mta-sendmail % \ --slave % /man8/sendmail.8% mta-sendmailman % /man1/sendmail.postfix.1% \ --slave % /man1/mailq.1% mta-mailqman % /man1/mailq.postfix.1% \ --slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ --slave % /man5/aliases.5% mta-aliasesman % /man5/aliases.postfix.5% \ --initscript postfix. export CCARGS AUXLIBS make -f Makefile.init makefiles unset CCARGS AUXLIBS # -Wno-comment needed due to large number of warnings on RHEL5 # suggestion by Eric Hoeve make DEBUG="% " OPT="$RPM_OPT_FLAGS -Wno-comment" # SPF patch Patch8: ?http://www.linuxrulz.org/nkukard/postfix/postfix-2.3/postfix-2.3.2_libspf2-1.2.x-20060819.patch Patch99: ftp://ftp.wl0.org/SOURCES/postfix-2.8.3-multiline-greeting.patch. # distribution which we are building Postfix on # - call my script once to speed up build process %define distro_info ? ? %(sh $(rpm --eval '% ')/postfix-get-distribution --distro-info) %define build_dist_full %(echo "%distro_info" | cut -d" " -f5) %define build_name ? ? ?%(echo "%distro_info" | cut -d" " -f1) %define build_major ? ? %(echo "%distro_info" | cut -d" " -f3) %define build_minor ? ? %(echo "%distro_info" | cut -d" " -f4) %define build_dist ? ? ?% -% .% %define mps %(test "% " = mandrake -a "% " -ge 8 && echo .bz2 || echo .gz) * Sat Feb 11 2012 Simon J Mudd 2.9.0-1 - initial work on postfix-2.9.0 - pending issues on upgrade from 2.8.8 # chown: cannot access `/usr/share/doc/postfix-2.8.8-documentation/readme/MEMCACHE_README': No such file or directory. %description Postfix is a Mail Transport Agent (MTA), intended to be an alternative to the widely-used sendmail. ?This package includes optional support for LDAP, pcre, mysql, SMTP AUTH (SASL) and TLS. # support the conditional builds via rpm's --with debug %define debug % % # rpm-workaround: # # We can NOT use % /% -% for installing the docs # from the 'install' section as RPM kindly removes this directory after # we have installed files to it. (standard part of 'doc' processing!) # #define docdir % /% -% %define docdir % /% -% -documentation %define readme_dir ? % /README_FILES %define html_dir ? ? % /html %define examples_dir % /examples. # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ --slave % /mailq mta-mailq % \ --slave % /newaliases mta-newaliases % \ --slave % /rmail mta-rmail % \ --slave /usr/lib/sendmail mta-sendmail % \ --slave % /man8/sendmail.8% mta-sendmailman % /man1/sendmail.postfix.1% \ --slave % /man1/mailq.1% mta-mailqman % /man1/mailq.postfix.1% \ --slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ --slave % /man5/aliases.5% mta-aliasesman % /man5/aliases.postfix.5% \ --initscript postfix exit 0 # ensure the trigger exit status is 0. # userdel also deletes the user's group % /userdel postfix || %whinge "WARNING: failed to remove user postfix" % /groupdel postdrop || %whinge "WARNING: failed to remove group postdrop" # Add comments to the /etc/dovecot.conf configuration file if it exists # showing how to configure with Postfix if needed. ?If postfix is mentioned # in the dovecot configuration file then DO NOTHING. %attr(0755, root, root) %config % /postfix. * Sat Feb 11 2012 Simon J Mudd 2.8.8-1 - upgrade to postfix-2.8.8-1 - previous info removed from here and can be seen in the POSTFIX_2_8 branch. cd % /spool/postfix && queue_directory_remove fi. %define whinge /usr/bin/logger -p mail.info -t postfix/rpm %define die_cmd die() Tim Dunphy at Mar 24, 2012 at 11:27 pm ⇧ # If upgrading postfix some versions are pre-alternatives and use # /usr/sbin/sendmail. After uninstalling the old package this file will be # missing and we need to link to the new postfix sendmail binary. %whinge "% -% triggerpostun -- postfix: final number of Postfix packages=$2" [ $2 -gt 0 ] || exit 0. # Required by some TLS implementations (RHEL 3 and RH9) and also some MySQL # packages %if % AUXLIBS="$ -lz" %endif. Version: % Release: % Packager: Simon J Mudd Summary: Postfix Mail Transport Agent Vendor: Built on % (% ) Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/% /postfix-% .tar.gz Source1: make-postfix.rpm Source2: postfix-get-distribution Source3: postfix-etc-init.d-postfix Source4: postfix-chroot.sh Source5: postfix-aliases Source7: postfix.spec.in Source8: make-postfix.spec Source10: README-Postfix-SASL-RedHat.txt Source12: ftp://ftp.corpit.ru/pub/postfix/postfix-dict_cdb-% .tar.gz Source16: http://postfix.wl0.org/ftp/postfinger/postfinger-% # See changelog for explanation of mta-sendmailman entry. % /alternatives --install % /sendmail mta % % \ --slave % /mailq mta-mailq % \ --slave % /newaliases mta-newaliases % \ --slave % /rmail mta-rmail % \ --slave /usr/lib/sendmail mta-sendmail % \ --slave % /man8/sendmail.8% mta-sendmailman % /man1/sendmail.postfix.1% \ --slave % /man1/mailq.1% mta-mailqman % /man1/mailq.postfix.1% \ --slave % /man1/newaliases.1% mta-newaliasesman % /man1/newaliases.postfix.1% \ --slave % /man5/aliases.5% mta-aliasesman % /man5/aliases.postfix.5% \ --initscript postfix exit 0 # ensure the trigger exit status is 0. Search Discussions. What I'm wondering is if I comment out the lines that require MySQL-shared and MySQL-devel will I end up with a usable install of postfix with MySQL support? # Apply the alternatives scripts ONLY if installing (not upgrading) to # ensure a link exists from % /sendmail to # % (and other files). # # If performing an upgrade this MUST be done in the trigger scripts. # (old postfix packages, pre-alternatives have a /usr/sbin/sendmail and this # gets removed _AFTER_ the %post stage when the old package is removed) # For correct directory permissions check postfix-install script %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/active %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/bounce %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/corrupt %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/defer %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/deferred %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/flush %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/hold %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/incoming %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/private %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /spool/postfix/saved %dir %attr(0730, postfix, postdrop) %verify(not md5 size mtime) % /spool/postfix/maildrop %dir %attr(0710, postfix, postdrop) %verify(not md5 size mtime) % /spool/postfix/public %dir %attr(0755, root, root) %verify(not md5 size mtime) % /spool/postfix/pid %dir %attr(0700, postfix, root) %verify(not md5 size mtime) % /lib/postfix. /usr/bin/getent group postdrop >/dev/null || ? ?%whinge "Adding postdrop group to system" ? ?% /groupadd -r postdrop > # Obligatory Patches Patch0: postfix-2.3.3-vda.patch Patch3: postfix-files.patch Patch5: postfix-makedefs.patch. # Needed by some Mysql and some TLS packages %if % Requires: zlib BuildRequires: zlib-devel %endif. %if % %config(noreplace) % /smtpd.conf %config(noreplace) % /pam.d/smtp.postfix %config(noreplace) % /sysconfig/saslauthd.postfix %endif. %postun umask 022 if [ "$1" -ge 1 ]; then service postfix condrestart || : # don't use readlink as this is not available on rh73 mta=`[ -L /etc/alternatives/mta ] && ls -la /etc/alternatives/mta. # W A R N I N G -- DO NOT EDIT THIS FILE -- W A R N I N G # # postfix.spec # # This file was generated automatically from /home/sjmudd/RPM/SRC/postfix/postfix.spec.in. # If you want to build postfix with other options see make-postfix.spec in # the same directory for instructions. # -- # Note: For complete source info for building these rpms see: # https://github.com/sjmudd/postfix-rpm # # File used to generate the distribution-specific postfix.spec file. # If you need to make changes to postfix.spec, make them to postfix.spec.in # and regenerate the spec file. # # See make-postfix.spec in % for more information. # # This spec file was built on distribution: rhel-5.0 # # Information imported from postfix.spec.in: DO NOT CHANGE IT BY HAND # # mysql_paths - paths where locally installed MySQL resides (or 0) # - if using this option mysql_paths should be as # follows: I'm trying to build a postfix rpm that has mysql support included. I've found the line where I need to define mysql support but it seems that I am being tripped up by some build dependencies: %define mysql_paths 0 %define mysql_local %(test "% " != 0 && echo 1 || echo 0) %define mysql_include %(echo "% " | cut -d: -f1) %define mysql_lib %(echo "% " | cut -d: -f2) # determine PCRE library based on distribution name %define pcre_requires %(test % = mandrake && echo libpcre0. %attr(0755, root, root) %config % /postfix/postfix-script %attr(0755, root, root) ? ? ? ? % /postfix/postfix-wrapper %attr(0755, root, root) ? ? ? ? % /postfix/postmulti-script %attr(0755, root, root) %config % /postfix/post-install %attr(0644, root, root) ? ? ? ? % /postfix/postfix-files %attr(0644, root, root) ? ? ? ? % /postfix/main.cf %attr(0644, root, root) ? ? ? ? % /postfix/master.cf %attr(0755, root, root) ? ? ? ? % /postfix/dnsblog %attr(0755, root, root) ? ? ? ? % /postfix/postscreen %attr(0755, root, root) ? ? ? ? % /postfix/tlsproxy. To use postfix with alternative options download the source package and rebuild the binary package following the instructions in the source package or on my web page. # patch and version information %define V_vda ? ? ? ?2.5.4 %define V_cdb ? ? ? ?1.1.11-20021104 %define V_postfinger 1.30. # determine SASL library based on distribution name %define sasl_library %(test % = mandrake && echo libsasl-devel || echo cyrus-sasl-devel) %define requires_db 4 %define requires_zlib 1 %define smtpd_multiline_greeting 1. install -d -m755 $RPM_BUILD_ROOT/usr/lib ln -sf ../sbin/sendmail.postfix $RPM_BUILD_ROOT% Here is the spec file that I am trying to use: # Sources >= 100 are config files Source100: postfix-sasl.conf Source101: postfix-pam.conf Source102: postfix-saslauthd.conf. * Sun Feb 19 2012 Simon J Mudd 2.9.1-1 - minor tweaks and upgrade to 2.9.1. [root at beta x86_64]# ldd $(which postfix) | grep -i mysql libmysqlclient.so.18 => /usr/lib64/mysql/libmysqlclient.so.18 (0x00002ae575b3b000) # Add smtps to services if not found if ! grep -q ^smtps % /services then cat >% /services smtps 465/tcp # SMTP over SSL (TLS) EOF fi. /usr/bin/getent passwd postfix >/dev/null || %whinge "Adding postfix user to system" % /useradd -d % /spool/postfix -s /bin/true -g postfix -G mail -M -r postfix > %if % BuildRequires: libspf2-devel >= 1.2.5 Requires: libspf2 >= 1.2.5 %endif. Simon J Mudd, EOF. # check for a new install and see if a non package installed Postfix might # exist. Attempt to avoid overwriting the source config and provide a warning. if [ "$1" = 0 ]; then timenow=$(date +%Y%m%d-%H%M%) pretext="This is a new Postfix RPM installation" [ -f % /postfix ] && [ -n "$pretext" ] && %whinge "$pretext" && pretext= %whinge "Detected a possible previous non-RPM install in % /postfix." %whinge "- going to move it out of the way to % /postfix.$timenow." mv % /postfix % /postfix.$timenow > [ -d % /postfix ] && [ -n "$pretext" ] && %whinge "$pretext" && pretext= %whinge "Detected a possible previous non-RPM startup script % /postfix." %whinge "- going to move it out of the way to % /postfix.$timenow." mv % /postfix % /postfix.$timenow > fi. Simon J Mudd, EOF. ? ?cd % /spool/postfix && queue_directory_remove fi. This is the line I've enabled in the space file in order to include mysql support. %if % Requires: mysql BuildRequires: mysql, mysql-devel %endif. %attr(0755, root, root) % /postfix/postfix-chroot.sh. # Postfix compiled with Dovecot support only works with dovecot >= 1 # - however requiring the dovecot rpm to be installed when it may # not be used means that there will be NO explicit dependency # added to the rpm. %if % #Requires: dovecot >= 1 NOT REQUIRED / DO NOT ADD %endif. %attr(0755, root, root) %config % /postfix/postfix-script %attr(0755, root, root) % /postfix/postfix-wrapper %attr(0755, root, root) % /postfix/postmulti-script %attr(0755, root, root) %config % /postfix/post-install %attr(0644, root, root) % /postfix/postfix-files %attr(0644, root, root) % /postfix/main.cf %attr(0644, root, root) % /postfix/master.cf %attr(0755, root, root) % /postfix/dnsblog %attr(0755, root, root) % /postfix/postscreen %attr(0755, root, root) % /postfix/tlsproxy. ?[root at beta SPECS]# rpmbuild -ba postfix.spec error: Failed build dependencies: ? ? ? ?MySQL-shared is needed by postfix-2.9.1-1.rhel5.x86_64 ? ? ? ?MySQL-devel is needed by postfix-2.9.1-1.rhel5.x86_64. # support the conditional builds via rpm's --with debug %define debug % % # Install the smtpd.conf file for SASL support. %if % mkdir -p $ % install -m 644 %SOURCE100 $ % /smtpd.conf mkdir -p $RPM_BUILD_ROOT% /pam.d install -m 644 %SOURCE101 $ % /pam.d/smtp.postfix mkdir -p $RPM_BUILD_ROOT% /sysconfig install -m 644 %SOURCE102 $ % /sysconfig/saslauthd.postfix %endif. # other options used in the build (but not explicitly changeable by the user) are: # - debug=% % # - pcre_requires=% , # - requires_zlib=% , # - sasl_library=% # - tlsfix=% # # % /postfix/makedefs.out is also produced by the build and may be of # interest if you are building Postfix by hand. EOF. # other options used in the build (but not explicitly changeable by the user) are: # - debug=% % # - pcre_requires=% , # - requires_zlib=% , # - sasl_library=% # - tlsfix=% # # % /postfix/makedefs.out is also produced by the build and may be of # interest if you are building Postfix by hand. EOF. # Add submission to services if not found, required for rh >% /services submission 587/tcp msa # mail message submission submission 587/udp msa # mail message submission EOF fi. Newer versions of source and standard binary packages may be available from http://ftp.WL0.org or the mirrors listed at http://postfix.WL0.org. Look in the appropriate directory according to your distribution. I have provided a simple script postfix-chroot.sh which attempts to cover most situations and should enable you to disable or enable the chroot on your system with little effort. # remove the directory and depth levels of subdirectories. On Sat, Mar 24, 2012 at 10:32 PM, Tim Dunphy wrote: hello list, %if % Requires: openssl BuildRequires: openssl-devel %endif. # ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?e.g.: ? ?/usr/mysql/include:/usr/mysql/lib # ? ? ? ? ? ? ? ? ? ? ? ? ? ?- The order is important and only 2 directories may # ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?be given. # requires_db ? ? ? ? ? ? ?- used to add dbX dependencies in the package # smtpd_multiline_greeting - my patch to allow multiline banner # mps ? ? ? ? ? ? ? ? ? ? ?- man page suffix, .gz except Mandrake >= 8 which uses .bz2 # with_cdb ? ? ? ? ? ? ? ? - include CDB support by Michael Tokarev # ? ? ? ? ? ? ? ? ? ? ? ? ? ? # with_dovecot ? ? ? ? ? ? - include DOVECOT SASL authentication # with_ldap ? ? ? ? ? ? ? ?- include LDAP support # with_mysql ? ? ? ? ? ? ? - include support for www.mysql.com's MySQL rpms # with_mysql_redhat ? ? ? ?- include support for RedHat's MySQL rpms # with_pcre ? ? ? ? ? ? ? ?- include pcre support # with_pgsql ? ? ? ? ? ? ? - include Postgres database support # with_sasl ? ? ? ? ? ? ? ?- include Cyrus SASL/AUTH support (0 to disable sasl, # ? ? ? ? ? ? ? ? ? ? ? ? ? ?1 for sasl v1, or 2 for sasl v2, sasl_library is # ? ? ? ? ? ? ? ? ? ? ? ? ? ?the sasl library to link against, distribution dependent) # with_spf ? ? ? ? ? ? ? ? - include libspf2 library support (EXPERIMENTAL) # ? ? ? ? ? ? ? ? ? ? ? ? ? ?- rpms for libspf can be found at http://www.sosdg.org/rpm/libspf/ # with_tls ? ? ? ? ? ? ? ? - include TLS support # with_tlsfix ? ? ? ? ? ? ?- include TLS fix # ? ? ? ? ? ? ? ? ? ? ? ? ? ?- needed for rh6.2, rh9 and rhel3 # with_vda ? ? ? ? ? ? ? ? - add virtual delivery agent patch # # Please send bugfixes and comments to the packager. # # distribution which the spec file was built from %define distribution rhel-5.0. %verify(not md5 size mtime) %config %dir % /postfix %attr(0644, root, root) ? ? ? ? % /postfix/LICENSE %attr(0644, root, root) ? ? ? ? % /postfix/TLS_LICENSE %attr(0444, root, root) %config % /postfix/makedefs.out %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/main.cf %attr(0644, root, root) % /postfix/main.cf.default %attr(0644, root, root) % /postfix/bounce.cf.default %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/master.cf %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/access %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/aliases %attr(0644, root, root) %verify(not md5 size mtime) %ghost % /postfix/aliases.db %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/canonical %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/generic %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/header_checks %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/relocated %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/transport %attr(0644, root, root) %verify(not md5 size mtime) %config(noreplace) % /postfix/virtual. %files %defattr(-, root, root) DOVECOT_CONF=/etc/dovecot.conf if [ -f $DOVECOT_CONF ] && ! grep -q postfix $DOVECOT_CONF; then ? ? ? ?# Check if auth default is configured and add a COMMENTED SECTION ? ? ? ?# taken from the SASL_README file. ? ? ? ?if grep -q 'auth default' $DOVECOT_CONF; then ? ? ? ? ? ? ? ?ed $DOVECOT_CONF > $DOVECOT_CONF. %if % Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif. * Sat Feb 11 2012 Simon J Mudd 2.9.0-1 ?- initial work on postfix-2.9.0 ?- pending issues on upgrade from 2.8.8 ? ? ?# chown: cannot access `/usr/share/doc/postfix-2.8.8-documentation/readme/MEMCACHE_README': No such file or directory. %if % Requires: tinycdb BuildRequires: tinycdb %endif. * Sat Feb 11 2012 Simon J Mudd 2.8.8-1 ?- upgrade to postfix-2.8.8-1 ?- previous info removed from here and can be seen in the POSTFIX_2_8 branch. %if % Requires: tinycdb BuildRequires: tinycdb %endif. DOVECOT_CONF=/etc/dovecot.conf if [ -f $DOVECOT_CONF ] && ! grep -q postfix $DOVECOT_CONF; then # Check if auth default is configured and add a COMMENTED SECTION # taken from the SASL_README file. if grep -q 'auth default' $DOVECOT_CONF; then ed $DOVECOT_CONF > $DOVECOT_CONF. Version: % Release: % Packager: Simon J Mudd Summary: Postfix Mail Transport Agent Vendor: Built on % (% ) Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/% /postfix-% .tar.gz Source1: make-postfix.rpm Source2: postfix-get-distribution Source3: postfix-etc-init.d-postfix Source4: postfix-chroot.sh Source5: postfix-aliases Source7: postfix.spec.in Source8: make-postfix.spec Source10: README-Postfix-SASL-RedHat.txt Source12: ftp://ftp.corpit.ru/pub/postfix/postfix-dict_cdb-% .tar.gz Source16: http://postfix.wl0.org/ftp/postfinger/postfinger-% # check for a new install and see if a non package installed Postfix might # exist. ?Attempt to avoid overwriting the source config and provide a warning. if [ "$1" = 0 ]; then ? ?timenow=$(date +%Y%m%d-%H%M%) ? ?pretext="This is a new Postfix RPM installation" ? ?[ -f % /postfix ] && ? ? ? ?[ -n "$pretext" ] && %whinge "$pretext" && pretext= ? ? ? ?%whinge "Detected a possible previous non-RPM install in % /postfix." ? ? ? ?%whinge "- going to move it out of the way to % /postfix.$timenow." ? ? ? ?mv % /postfix % /postfix.$timenow ? ?> ? ?[ -d % /postfix ] && ? ? ? ?[ -n "$pretext" ] && %whinge "$pretext" && pretext= ? ? ? ?%whinge "Detected a possible previous non-RPM startup script % /postfix." ? ? ? ?%whinge "- going to move it out of the way to % /postfix.$timenow." ? ? ? ?mv % /postfix % /postfix.$timenow ? ?> fi. # Add postfix user to the mail group. This is needed for people using cyrus, # linked by unix sockets (amongst other things). test -z "$( >mail)" && %whinge "Adding postfix user to mail group" % /usermod -G mail postfix > Newer versions of source and standard binary packages may be available from http://ftp.WL0.org or the mirrors listed at http://postfix.WL0.org. ?Look in the appropriate directory according to your distribution. # create postfix user and group, and maildrop group if necessary. # Use perl rather than looking in /etc/passwd or /etc/group as this works # in a wider NIS or LDAP environment. # Required by some TLS implementations (RHEL 3 and RH9) and also some MySQL # packages %if % ?AUXLIBS="$ -lz" %endif. %define initdir /etc/rc.d/init.d. # Optional patches # FIXME: There is also a 64-bit patch (not included) for 2.5.4 Patch4: ?http://vda.sourceforge.net/VDA/postfix-% -vda-ng.patch.gz. Name: postfix Group: System Environment/Daemons URL: http://www.postfix.org License: IBM Public License PreReq: chkconfig, initscripts, shadow-utils PreReq: /etc/init.d, /sbin/service, chkconfig >= 1.3 Epoch: 2. # Postfix - suggested configuration taken from SASL_README (2.3.2). #auth default # mechanisms = plain login # passdb pam # > # userdb passwd # > # socket listen # client # path = /var/spool/postfix/private/auth # mode = 0660 # user = postfix # group = postfix # > # > #> Provides: MTA smtpd smtpdaemon Provides: % /sendmail % /mailq % /newaliases % /rmail Provides: % /man1/newaliases.1.% % /man5/newaliases.5.% The binary and source rpms I produce are currently available at ? ? ? ?http://postfix.WL0.org, ftp://ftp.WL0.org and the mirrors which can be found at the following URL: ? ? ? ?http://postfix.WL0.org/en/mirrors/ gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B. %attr(0755, root, root) % /postfix/postfix-chroot.sh. # Add comments to the /etc/dovecot.conf configuration file if it exists # showing how to configure with Postfix if needed. If postfix is mentioned # in the dovecot configuration file then DO NOTHING. # W A R N I N G -- DO NOT EDIT THIS FILE -- W A R N I N G # # postfix.spec # # This file was generated automatically from /home/sjmudd/RPM/SRC/postfix/postfix.spec.in. # If you want to build postfix with other options see make-postfix.spec in # the same directory for instructions. # -- # Note: For complete source info for building these rpms see: # ? ? ? ? ?https://github.com/sjmudd/postfix-rpm # # File used to generate the distribution-specific postfix.spec file. # If you need to make changes to postfix.spec, make them to postfix.spec.in # and regenerate the spec file. # # See make-postfix.spec in % for more information. # # This spec file was built on distribution: rhel-5.0 # # Information imported from postfix.spec.in: DO NOT CHANGE IT BY HAND # # mysql_paths ? ? ? ? ? ? ?- paths where locally installed MySQL resides (or 0) # ? ? ? ? ? ? ? ? ? ? ? ? ? ?- if using this option mysql_paths should be as # ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?follows: The main Postfix web site is http://www.postfix.org. This is the line I've enabled in the space file in order to include mysql support. # install postfix into build root make non-interactive-package \ ? ? ? install_root=$ \ ? ? ? config_directory=% /postfix \ ? ? ? daemon_directory=% /postfix \ ? ? ? command_directory=% \ ? ? ? queue_directory=% /spool/postfix \ ? ? ? sendmail_path=% \ ? ? ? newaliases_path=% \ ? ? ? mailq_path=% \ ? ? ? mail_owner=postfix \ ? ? ? setg >? ? ? html_directory=% \ ? ? ? manpage_directory=% \ ? ? ? readme_directory=% || exit 1. %postun umask 022 if [ "$1" -ge 1 ]; then ? ?service postfix condrestart || : ? ?# don't use readlink as this is not available on rh73 ? ?mta=`[ -L /etc/alternatives/mta ] && ls -la /etc/alternatives/mta. See http://www.redhat.com/support/docs/faqs/RH-postfix-FAQ/book1.html, a slightly outdated FAQ, which covers the steps involved in installing and configuring postfix. /usr/bin/getent group postfix >/dev/null || ? ?%whinge "Adding postfix group to system" ? ?% /groupadd -r postfix > % /alternatives --remove mta % # Needed by some Mysql and some TLS packages %if % Requires: zlib BuildRequires: zlib-devel %endif. This package can be built on several Linux distributions and with several optional features. % /postfix/postfix.spec.cf contains the information used to build this version of the rpm. It can also be used to build a new rpm with the same options. I have provided a simple script postfix-chroot.sh which attempts to cover most situations and should enable you to disable or enable the chroot on your system with little effort. %define newaliases_path % /newaliases.postfix %define mailq_path % /mailq.postfix %define rmail_path % /rmail.postfix %define sendmail_path % /sendmail.postfix # Don't use % as it gives the wrong directory on x86_64 servers %define usrlib_sendmail /usr/lib/sendmail.postfix.

     

     

    http://aqawevun.eklablog.com/download-icewind-dale-trilogy-the-crystal-shard-a179273698

    your comment
  •  

    abba free download wikipedia

    Name: abba free download wikipedia
    Category: Download
    Published: inafciadlog1987
    Language: English

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    http://reilamsaro.eklablog.com/aao-milo-chalo-mp3-song-download-320kbps-a179249852

     


    I need to create postfix 2.11.11 RPM so I can use it to upgrade my current postfix on multiple machines and I cannot find/don't know how to create a valid rpm. However creating a spec file from scratch is a bit too much for me and I'm not even certain if what I'm doing is correct or if it will break my current postfix installation if I attempt to upgrade it with my custom rpm. I need/want to upgrade postfix from 2.11.6 to 2.11.11 on CentOS 6.7 the current 2.11.6 version is installed as RPM, and I need to find / create postfix 2.11.11 rpm so that I can use it on multiple machines for the upgrade. How to create postfix rpm from source. I only found SRPM from SuSE for 2.11.11 and I tried to extract the SRPM and build it with the rpmbuild command but it fails with many errors so I guess its not possible to do it like that out of the box. I also tried to build my own RPM from the postfix source code available on their website:

     

     

    http://orogulckel.eklablog.com/845gvm-rz-driver-download-free-a179274588

    your comment
  •  

    abba mp3 free download 4x4

    Name: abba mp3 free download 4x4
    Category: Download
    Published: leftfalfeopleas1973
    Language: English

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    http://alumedprot1983.eklablog.com/download-driver-p4p800s-a178444544

     


    Un résumé de quelques options bien pratique de la commande phare de RedHat, Centos et Fedora : RPM. Vraiment si vous êtes bloqué avec un paquet, que vous n'arrivez pas a le désinstaller parce que vous avez supprimé des fichiers a la main avant de faire un rpm -e vous avez cette solution qui vire le paquet de la liste des paquets installé : Lister les fichiers contenu dans un rpm : Extraire un fichier d'un paquet rpm : Connaitre la date d'installation d'un paquet. Afficher les changes logs. Renvoie quel paquet rpm a installé un certain fichier : permet ainsi de déterminer le nom du paquet ayant installé tel programme ou telle librairie. Commentaires. Description du paquet installé. Liste de tous les paquets installés. Si un paquet fait sa maline et veut pas s'installer pour x ou y raison. Rechercher si le paquet truc est installé. rpm : RPM Package Manager. lundi, mai 3 2010 | 16:33. Recherche dans tous les paquets installés si gcc est présent. Connaître le contenu d’un rpm. mardi, janvier 6 2009 | 08:04. Lister les dépendances d'un paquet rpm : La recherche. Hello, Juste un merci pour cette page qui m'a vraiment aidé ce jour car la Man il est toujours aussi flou. Postfix rpm centos download. Installer ou mettre à jour un paquet. Affiche plus d'information ainsi que l'architecture d'un paquet, exemple avec libxml2. rpm -ivh nodeps force .rpm. Lister les fichiers d’un paquet rpm. Renvoie tous les fichiers installés par un paquet. Forcer la désinstallation d'un paquet : une autre bien utile, comment connaitre la date d'installation des rpm installés (vraiment utile pour tracer les dernières mises à jour) rpm -qa --last. Merci, je garde la page bien au chaud. Désinstaller un paquet. Connaître le paquet d’un fichier. Installer un paquet. Thank you for this tutorial "rpm" ! mardi, janvier 6 2009 | 12:06. jeudi, août 6 2009 | 11:33. Je l'ai rajouté. merci.

     

     

    http://quesopadis.eklablog.com/download-gta-sanandreas-snow-mod-a179293840

    your comment
  •  

    aaja nachle remix mp3 free download rap

    Name: aaja nachle remix mp3 free download rap
    Category: Downloads
    Published: toceplima1978
    Language: English

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    http://ylrioledust1975.eklablog.com/kx-3538l-download-a177900014

     


    Further steps to secure sever. Set permissions to allow root execution. Display Custom Queue script (see below for how to create) By default Postfix appends a little announcement to outgoing messages saying that this email is powered by Postfix. It's best to give hackers as little information as possible about your server, so you should remove the banner by finding the line for smtpd_banner in the configuration file and setting it to: View the log in realtime. Find/edit this section: Determine which MTA is currently in use. Execute by typing /root/mailq.pl. unknown_address_reject_code = 554 unknown_hostname_reject_code = 554 unknown_client_reject_code = 554. Secure postfix by customizing the configuration. Fix Google SSL support. Create file /root/mailq.pl. Checks to remove badly formed email. Remove all unsent mailer daemon notifications. To flush the queue (deliver all mail in it), use the following commands: Postfix MTA: postqueue -f. Set to only accept local emails for delivery. Postfix tricks and tips. Perform actions on the Queue. See more into about Qshape here. change inet_interfaces = all to ```inet_interfaces = localhost`` smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit. Can cause issues with Auth SMTP, so be weary! Display differed queue. Test Email sending from postfix. Create a little script for managing Queue. Add this stuff to block bad SMTP requests. Dump this into it: Check Postfix Queue. Switch Mail Transfer Agents in Plesk from Qmail to Postfix and back. Delete all messages in Queue. Secure postfix using fail2ban. m ) > closedir($dh) or die "closedir: $dir: $!\n"; return $c; > my $qdir = postconf -h queue_directory ; chomp($qdir); chdir($qdir) or die "$0: chdir: $qdir: $!\n"; printf "Incoming: %d\n", count("incoming"); printf "Active: %d\n", count("active"); printf "Deferred: %d\n", count("deferred"); printf "Bounced: %d\n", count("bounce"); printf "Hold: %d\n", count("hold"); printf "Corrupt: %d\n", count("corrupt"); Add Gmail to certificate. smtpd_banner = $myhostname ESMTP. Read a message in the Postfix Queue. Stop SMTP Service and let queue send out what's in it first, as the queue is destroyed when switching. Log Location. burakerdem / Postfix tricks and tips.md forked from facelordgists/Postfix tricks and tips.md. Display hold queue. Remove announcement details. smtpd_helo_required = yes strict_rfc821_envelopes = yes disable_vrfy_command = yes. #delete based on the from address: Display number of emails being sent to each domain and how long they have been in the active queue. Check for serious errors in the log. Resend messages in the queue. QMail MTA: ```kill -ALRM `pidof qmail-send````

     

     

    http://glisdogciro1971.eklablog.com/download-presentation-about-steve-jobs-a178213090

    your comment