[Slackbuilds-users] Problems With Postfix: post-install line 504 and SASL type

Rich Shepard rshepard at appl-ecosys.com
Sun Feb 15 15:55:14 UTC 2015

On Sun, 15 Feb 2015, Mario Preksavec wrote:

> Care to share those errors?


   1. Installed and running: postfix-2.11.3.

   2. Stopped postfix.

   3. Built -3.0.0 with



# Build with dovecot sasl by default, cyrus/dovecot are supported
case "$SASL" in
      dovecot) SASLARGS="-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
               SASLLIBS="" ;;
        cyrus) SASLARGS="-I/usr/include/sasl -DUSE_CYRUS_SASL"
               SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;;
            *) SASLARGS=""
               SASLLIBS="" ;;

   4. upgradepkg /tmp/postfix-3.0.0-i486-1_SBo.tgz

   5. See this diplayed in v.t.:

Executing install script for postfix-3.0.0-i486-1_SBo.tgz.
postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf
compatibility_level=2" and "postfix reload"
/usr/libexec/postfix/post-install: line 539: test: too many arguments
chown: cannot access '/usr/doc/postfix-2.11.3/README_FILES': No such file or
/ directory
Package postfix-3.0.0-i486-1_SBo.tgz installed.

Package postfix-2.11.3-i486-1_SBo upgraded with new package

   6. Added quotes to "$path" to /usr/libexec/postfix/post-install, line 539

   7. /etc/rc.d/rc.postfix start:

Feb 15 07:16:55 salmo postfix/postsuper[19107]: fatal: scan_dir_push: open
directory defer: Permission denied
Feb 15 07:16:56 salmo postfix/postfix-script[19110]: fatal: Postfix
integrity check failed!

   8. Edited postfix.SlackBuild changing SASL to cyrus.

   9. Re-built -3.0.0; same errors as in #5 above; editied post-install;
 	starting postfix resulted in same errors as in #7 above.

  10. Changed version back to -2.11.3 using SASL=${SALS:-cyrus}; re-ran
 	postfix.Slackbuild. (using SASL=${SASL:-dovecot) fails with same
 	errors as above.

  11. 'upgradepkg /tmp/postfix-2.11.3-i486-1_SBo.tgz' now shows the
 	post-install error on line 504 rather than on line 539. Fixed that.

  12. '/etc/rc.d/rc.postfix start' returns postfix to working condition.

   The issues:

   1. Version 3.0.0 will not build and install here regardless of SASL

   2. Version 2.11.3 will not run with SASL=dovecot, only with SASL=cyrus.

   Please let me know what other information I can provide as I want to
resolve these issues and be running postfix-3.0.0 with Dovecot.



More information about the SlackBuilds-users mailing list