Skip to content

Add authentication switches to traffic-gen #419

@tommairs

Description

@tommairs

The traffic-gen utility is a very helpful tool for volume testing, but it is lacking the ability to test with smtp_auth.

It would be handy to add the ability to provide a username and password to the command string.
Borrowing from other popular tools, it could look something like this:
/opt/kumomta/sbin/traffic-gen --target <your.sink.server>:25 --auth plain -au <USERNAME> -ap <PASSWORD>

We currently only support AUTH PLAIN, so the --auth switch is not really necessary at this time, but could be made default in the case we add other formats in the future.
The -au (--auth-username) and -ap (--auth-password) could potentially be used also for basic HTTP auth using the --http switch that already exists.

When documenting, you will need to note that --starttls will also be needed when using this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Research

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions