On Sat, 2021-04-03 at 12:09 -0400, Scott Andrews via blfs-support wrote:
> 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
> 

I agree the exim page needs some love. I found myself struggling to make a
working configuration. I found also that google is not very helpful, because
most of the users are with debian, and debian has a lot of helpers for exim,
which are not available in upstream exim...

I agree the parameters you propose should be added. Also we should recommend a
few AUTH mechanisms (at least the PLAIN one). My ISP wants authentication, and I
guess a lot of others too.

We could propose a sample configuration for sending through an ISP: I guess this
is what most people would need.

Thoughts?

Pierre



-- 
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