On Sun, 15 Dec 2024, Andreas Barth via Exim-users wrote:
> Hi,
>
> I'd like to have some kind of regression tests for my exim config (at
> least the different delivery actions), so that I make sure to not
> break working configurations.
>
> I.e. I want to have some tests defined like "mail to a@b should be
> delivered to lmtp to c@d" (or whatever else makes sense). (It's not
> about the more complicated parts like greylisting, but just for the
> configuration w/o moving parts.)
sudo exim -C /path/to/new.config -bt a@b
Two other options, though both are likely overkill and may
take some effort:
https://www.jetmore.org/john/code/swaks/
Swiss Army Knife for SMTP
The exim source includes a test suite in exim/test which automates doing
this for multiple configs. There will be parts of that you *could*
cannibalize, but definitely a sledgehammer.
--
Andrew C. Aitchison Kendal, UK
andrew@???
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/