On 2021/03/19 09:31, Renaud Allard wrote: > Hello, > > Here is a quick patch to add dmarc functionality to exim.
committed with a tweak, > > # If PID_FILE_PATH is not defined, Exim writes a file in its spool directory > # using the name "exim-daemon.pid". > +@@ -1494,3 +1494,12 @@ EXIM_TMPDIR="/tmp" > + # CFLAGS += -DMEASURE_TIMING > + > + # End of EDITME for Exim 4. > ++EXIM_MONITOR=eximon.bin > ++ LOOKUP_MYSQL=yes > ++ BIN_DIRECTORY=/usr/local/bin > ++ CONFIGURE_FILE=/etc/exim/configure > ++ LOOKUP_INCLUDE=-I/usr/local/include/mysql > ++ LOOKUP_LIBS=-L/usr/local/lib/mysql -lmysqlclient > ++ EXTRALIBS_EXIM=-L/usr/local/lib -liconv > ++ CFLAGS+=-O2 -pipe -g > ++ INCLUDE=-I/usr/local/include this part shouldn't be in the patch, I removed it and adjusted the port Makefile so that it prefixes it with a comment warning of the issue.