Skip to main content

vulkro-sf org mail

Checks the live org's org-wide email addresses and Email Services addresses.

vulkro-sf org mail --target-org <alias>
vulkro-sf org mail -o <alias> --format json
FindingSeverityMeaning
SF-MAIL-001MediumAny profile can send as an org-wide address, so any user can impersonate that sender.
SF-MAIL-002MediumAn Email Services address uses a non-Salesforce domain, so mail to it flows into an Apex handler.

It reads email settings only. No mail is read or sent. A custom domain in SF-MAIL-002 is often legitimate: review it.

See also: org audit-trail, org report.

Command reference​

Generated from vulkro-sf org mail --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Audit OrgWideEmailAddress and EmailServicesAddress (SF-MAIL-001/-002)

vulkro-sf org mail [OPTIONS] --target-org <TARGET_ORG>

Options​

FlagDescription
-t, --target-org <TARGET_ORG>
-f, --format <FORMAT>[default: table]. Default: table.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help.
Full vulkro-sf org mail --help
Audit OrgWideEmailAddress and EmailServicesAddress (SF-MAIL-001/-002)

Usage: vulkro-sf org mail [OPTIONS] --target-org <TARGET_ORG>

Options:
-t, --target-org <TARGET_ORG>
-f, --format <FORMAT> [default: table]
-v, --verbose... Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)
-q, --quiet Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help Print help