Add local path for sendmail libexec.
authorJustin C. Sherrill <justin@shiningsilence.com>
Wed, 4 Nov 2015 15:21:34 +0000 (10:21 -0500)
committerJustin C. Sherrill <justin@shiningsilence.com>
Wed, 4 Nov 2015 15:21:34 +0000 (10:21 -0500)
Since DragonFly ships with DMA, but there's still a dragonfly.mc, any
install of sendmail from ports will still use /etc/mail to generate a config.
This will generally work, but EBINDIR defaults to /usr/libexec.  That means
the .cf files will be built to find mail.local in /usr/libexec, instead of
in /usr/local/libexec, where the port locates them.  This will cause problems
for anything that delivers mail locally, like fetchmail.

etc/sendmail/dragonfly.mc

index 9344b70..b3457a8 100644 (file)
@@ -47,6 +47,8 @@ VERSIONID(`DragonFly: 10 MARCH 2015')
 OSTYPE(dragonfly)
 DOMAIN(generic)
 
+define(`confEBINDIR', `/usr/local/libexec')
+
 FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
 FEATURE(blacklist_recipients)
 FEATURE(local_lmtp)