To run Exim in simulated SMTP mode, for debugging or configuration testing, use the “-bh” flag:
exim -bh 11.22.33.44
The IP address is the address you are simulating the connection from.
If you need Exim to do callouts, use the “-bhc” flag:
exim -bhc 11.22.33.44
The Exim port on FreeBSD does not have a menu-driven configuration system accessible by running make config, although it does have a plethora of options described in /usr/ports/mail/exim/options. If using portupgrade, you can pass these options with the -m flag; for example:
# portupgrade -m “WITH_CONTENT_SCAN=yes WITH_SASLAUTHD=yes WITH_DOMAINKEYS=yes” exim