Anyone using exim?

I have found that exim in the blfs 10.1 book is incomplete.

I have been using the exim build from blfs-9.0 and it is much different than 10.1,

exim-4.92 vs exim-4.94.  the only thing that has changed in the newer version is TLS is now required to build the package.

The log files are not in /var./log and the logrotate script is missing

The pid file is also not in /run and is not called exim.pid


Here is my configuration from the rpm spec file that makes it work

Prep="%setup -q -n %{name}-%{version}
%setup -q -T -D -a 1 -n %{name}-%{version}

cp src/EDITME Local/Makefile
printf 'USE_GDBM=yes\nDBMLIB=-lgdbm\n' >> Local/Makefile
sed  's,^EXIM_USER.*$,EXIM_USER=exim,' -i Local/Makefile
sed  's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' -i Local/Makefile
sed  's,^CONF.*$,CONFIGURE_FILE=/etc/mail/exim.conf,' -i Local/Makefile
sed  's,^EXIM_MONITOR,#EXIM_MONITOR,' -i Local/Makefile
sed 's,^# LOG_FILE_PATH=/var/log/exim_%slog,LOG_FILE_PATH=/var/log/exim_%s.log,' -i Local/Makefile sed 's,^# PID_FILE_PATH=/var/lock/exim.pid,PID_FILE_PATH=/run/exim.pid,' -i Local/Makefile
sed 's,^# DISABLE_DKIM=yes, DISABLE_DKIM=yes,' -i Local/Makefile

#    Other
#    sed '/# SUPPORT_MAILDIR/s,^#,,' -i Local/Makefile
#    sed '/# AUTH_PLAINTEXT/s,^#,,' -i Local/Makefile    plain text authentication #    sed '/# AUTH_DOVECOT/s,^#,,' -i Local/Makefile     dovecot text authentication
#    sed '/# HAVE_IPV6/s,^#,,' -i Local/Makefile         ipv6 support

echo 'EDITME Parameters'
cat Local/Makefile
echo ''
"

Build='%{make_build}'


I made the sed separate so I can "turn on" of "turn off" support more easily



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to