Sendmail 8.12.11 from FreeBSD 4.10-RELEASE ignores many config directives

Giorgos Keramidas keramida at
Tue Sep 7 14:35:35 PDT 2004

On 2004-09-07 13:20, Karl Swartz <karl at> wrote:
> I just upgraded from Sendmail 8.12.3 (from FreeBSD 4.6) to a brand new
> FreeBSD 4.10-RELEASE install including Sendmail 8.12.11.  I tweaked a
> few pathnames in my .mc file but otherwise tried to use the same one.
> Many things weren't working.  I've found workarounds for some, but they
> are hacks, and others simply don't work.  I don't really know if this
> is a sendmail problem or something weird about the FreeBSD port of it.
> What follows is a list of what's broken.
> FEATURE(dnsbl, `')
> FEATURE(dnsbl, `')

The dnsbl macro now takes 3 arguments IIRC (wrapping inserted by me to
avoid posting one huge line):

    % grep dnsbl /etc/mail/
    dnl FEATURE(dnsbl, `',
        `"550 Mail from " $&{client_addr} " rejected, \
        see" $&{client_addr}')

> define(`confCW_FILE', `-o /etc/mail/')
>    This has no effect, though I found that /etc/mail/local-host-names is
>    being consulted so that's a viable workaround.  I didn't try removing
>    the -o and I can't recall what that does, so perhaps that was the
>    problem.

Hmmm, this works perfectly here.  Are you sure there isn't something
else that is wrong, i.e. your /etc/mail/ being generated from
the wrong .mc file or something?

> FEATURE(relay_based_on_MX)
>    It appears that this is being ignored.

See above.  It's not normal for Sendmail to ``ignore'' all this stuff.

- Giorgos

More information about the freebsd-questions mailing list