On Sat, Feb 25, 2023 at 03:54:05PM +1100, James Brown wrote: > % make -f Makefile.init makefiles CCARGS="-DUSE_TLS -DUSE_SASL_AUTH \ > -DDEF_SERVER_SASL_TYPE=\\\\"dovecot\\\\" \
Those should be 3-backslashes not 4. > -DDEF_COMMAND_DIR=\\\"/usr/local/sbin\\\" \ > -DDEF_CONFIG_DIR=\\\"/usr/local/etc/postfix\\\" \ > -DDEF_DAEMON_DIR=\\\"/usr/local/libexec/postfix\\\" \ > -DHAS_PCRE -I/opt/homebrew/include \ > -DHAS_SSL -I/opt/homebrew/Cellar/openssl@3/3.0.8/include/ \ > -DHAS_MYSQL -I/opt/homebrew/Cellar/mysql/8.0.32/include/mysql/ " \ > AUXLIBS_MYSQL='-I/opt/homebrew/Cellar/mysql/8.0.32/include/mysql > -lmysqlclient -lz -lm' \ > AUXLIBS='-L/usr/local/lib -lpcre -L/opt/homebrew/opt/openssl@3/lib > -L/opt/homebrew/lib -lssl -lcrypto' sendmail_path=/usr/local/sbin/sendmail > newaliases_path=/usr/local/bin/newaliases mailq_path=/usr/local/bin/mailq You have made the masochist choice (double quotes and multiple layers of escaping). I tried to discourage this... You'll probably get it working, but it will still remain a bad idea. Because I run a custom dev version of OpenSSL, my build script is: OSSLPATH=/usr/local/siteexec OSSLINC="-I${OSSLPATH}/include " OSSLLIB="-L${OSSLPATH}/lib " OSSLSHLIB="-Wl,-rpath,${OSSLPATH}/lib " make -f Makefile.init dynamicmaps=yes shared=yes pie=yes \ 'CCARGS=-DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_EAI -DUSE_SASL_AUTH '"$OSSLINC"'-I/usr/local/include -DHAS_PCRE=2 -DUSE_CYRUS_SASL -I/usr/local/include/sasl -DUSE_TLS -I/usr/local/include/db5 -DHAS_CDB -DHAS_LMDB' \ "AUXLIBS=${OSSLLIB}${OSSLSHLIB}"'-L/usr/local/lib -lsasl2 -lpam -lcrypt -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lssl -lcrypto -L/usr/local/lib/db5 -ldb-5.3' \ 'AUXLIBS_CDB=-L/usr/local/lib -Wl,-R,/usr/local/lib -lcdb' \ 'AUXLIBS_PCRE=-L/usr/local/lib -Wl,-R/usr/local/lib -lpcre2-8' \ 'AUXLIBS_LMDB=-L/usr/local/lib -Wl,-R/usr/local/lib -llmdb' \ command_directory=/usr/local/sbin \ config_directory=/usr/local/etc/postfix \ daemon_directory=/usr/local/libexec/postfix \ data_directory=/var/db/postfix \ mailq_path=/usr/local/bin/mailq \ newaliases_path=/usr/local/bin/newaliases \ queue_directory=/var/spool/postfix \ sendmail_path=/usr/local/sbin/sendmail \ shlib_directory=/usr/local/lib/postfix-MAIL_VERSION \ html_directory=/usr/local/share/doc/postfix \ manpage_directory=/usr/local/man \ readme_directory=/usr/local/share/doc/postfix \ makefiles The "long lines" for each of CCARGS and AUXLIBS are not a problem. -- Viktor.