On Tue, Nov 15, 2022 at 11:59:30AM -0500, Viktor Dukhovni wrote:

> > I'm wondering how others would do this. Is there a similar tool to
> > check smtp auth like 'smtp-source' for stress testing? Or everyone has
> > to come up with their own solution?
> 
> You could try https://www.google.com/search?q=swaks

You could also just try "Postfix".  Configure a custom "smtp" transport
for testing SASL, which has a "preview" SASL password map.  Map a test
user to that transport and send an email probe:

    $ sendmail -f your-login@here.example -bv test-user@there.example

    transport:
        test-user@there.example     sasl-test

    master.cf:
        sasl-test unix ... smtp
            -o smtp_sasl_...

That way your test will actually match what you'll later configure for
"production".

-- 
    Viktor.

Reply via email to