@@ -42,6 +42,14 @@ Then run the CLI:
4242python scripts/trustymail [options] example.com
4343```
4444
45+ ### Using Docker (optional)
46+
47+ ``` bash
48+ ./run [opts]
49+ ```
50+
51+ ` opts ` are the same arguments that would get passed to ` trustymail ` .
52+
4553### Usage and examples ###
4654
4755``` bash
@@ -61,38 +69,38 @@ output will always be written to disk, defaulting to `results.csv`.
6169 -h --help Show this message.
6270 -o --output=OUTFILE Name of output file. (Default results)
6371 -t --timeout=TIMEOUT The DNS lookup timeout in seconds. (Default is 5.)
64- --smtp-timeout=TIMEOUT The SMTP connection timeout in seconds. (Default
72+ --smtp-timeout=TIMEOUT The SMTP connection timeout in seconds. (Default
6573 is 5.)
66- --smtp-localhost=HOSTNAME The hostname to use when connecting to SMTP
74+ --smtp-localhost=HOSTNAME The hostname to use when connecting to SMTP
6775 servers. (Default is the FQDN of the host from
6876 which trustymail is being run.)
69- --smtp-ports=PORTS A comma-delimited list of ports at which to look
77+ --smtp-ports=PORTS A comma-delimited list of ports at which to look
7078 for SMTP servers. (Default is ' 25,465,587' .)
71- --no-smtp-cache Do not cache SMTP results during the run. This
72- may results in slower scans due to testing the
79+ --no-smtp-cache Do not cache SMTP results during the run. This
80+ may results in slower scans due to testing the
7381 same mail servers multiple times.
7482 --mx Only check mx records
75- --starttls Only check mx records and STARTTLS support.
83+ --starttls Only check mx records and STARTTLS support.
7684 (Implies --mx.)
7785 --spf Only check spf records
7886 --dmarc Only check dmarc records
7987 --debug Output should include error messages.
80- --dns=HOSTNAMES A comma-delimited list of DNS servers to query
81- against. For example, if you want to use
82- Google' s DNS then you would use the
83- value --dns-hostnames=' 8.8.8.8,8.8.4.4' . By
84- default the DNS configuration of the host OS
85- (/etc/resolv.conf) is used. Note that
86- the host' s DNS configuration is not used at all
88+ --dns=HOSTNAMES A comma-delimited list of DNS servers to query
89+ against. For example, if you want to use
90+ Google' s DNS then you would use the
91+ value --dns-hostnames=' 8.8.8.8,8.8.4.4' . By
92+ default the DNS configuration of the host OS
93+ (/etc/resolv.conf) is used. Note that
94+ the host' s DNS configuration is not used at all
8795 if this option is used.
8896 --psl-filename=FILENAME The name of the file where the public suffix list
8997 (PSL) cache will be saved. If set to the name of
9098 an existing file then that file will be used as
9199 the PSL. If not present then the PSL cache will
92100 be saved to a file in the current directory called
93101 public_suffix_list.dat.
94- --psl-read-only If present, then the public suffix list (PSL)
95- cache will be read but never overwritten. This
102+ --psl-read-only If present, then the public suffix list (PSL)
103+ cache will be read but never overwritten. This
96104 is useful when running in AWS Lambda, for
97105 instance, where the local filesystem is read-only.
98106` ` `
@@ -160,7 +168,7 @@ The following values are returned in `results.csv`:
160168* ` DMARC Aggregate Report URIs` - A list of the DMARC aggregate report
161169 URIs specified by the domain.
162170* ` DMARC Forensic Report URIs` - A list of the DMARC forensic report
163- URIs specified by the domain.
171+ URIs specified by the domain.
164172* ` DMARC Has Aggregate Report URI` - A boolean value that indicates if
165173 ` DMARC Results` included ` rua` URIs that tell recipients where to
166174 send DMARC aggregate reports.
0 commit comments