Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Oct 2, 2024
1 parent 2c0670a commit 0c6030b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This handcrafted artisinal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=msimerson">38</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/2158203?v=4"><br><a href="https://github.com/luto">luto</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=luto">8</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/1674289?v=4"><br><a href="https://github.com/Dexus">Dexus</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=Dexus">2</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/15035337?v=4"><br><a href="https://github.com/gtech99">gtech99</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=gtech99">1</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/83369329?v=4"><br><a href="https://github.com/polarismail">polarismail</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=polarismail">1</a>)|
| :---: | :---: | :---: | :---: | :---: |
| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=msimerson">38</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/2158203?v=4"><br><a href="https://github.com/luto">luto</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=luto">8</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/1674289?v=4"><br><a href="https://github.com/Dexus">Dexus</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=Dexus">2</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/15035337?v=4"><br><a href="https://github.com/gtech99">gtech99</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=gtech99">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/83369329?v=4"><br><a href="https://github.com/polarismail">polarismail</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=polarismail">1</a>) |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

<sub>this file is maintained by [.release](https://github.com/msimerson/.release)</sub>
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ To check access results from other plugins, use the standard _results_
methods.

```js
const ar = connection.results.get('access');
const ar = connection.results.get('access')
if (ar.pass.length > 2) {
// they passed the connection and helo checks
// they passed the connection and helo checks
}

const ar = connection.transaction.results.get('access');
const ar = connection.transaction.results.get('access')
if (ar.pass.length > 2) {
// they passed the mail and rcpt checks
// they passed the mail and rcpt checks
}
```

Expand Down Expand Up @@ -134,25 +134,24 @@ rcpt=That recipient is not allowed
The connect ACLs are evaluated against the IP address **and** the rDNS
hostname (if any) of the remote.

* connect.rdns_access.whitelist (pass)
* connect.rdns_access.whitelist_regex (pass)
* connect.rdns_access.blacklist (block)
* connect.rdns_access.blacklist_regex (block)
- connect.rdns_access.whitelist (pass)
- connect.rdns_access.whitelist_regex (pass)
- connect.rdns_access.blacklist (block)
- connect.rdns_access.blacklist_regex (block)

### MAIL FROM

* mail_from.access.whitelist (pass)
* mail_from.access.whitelist_regex (pass)
* mail_from.access.blacklist (block)
* mail_from.access.blacklist_regex (block)
- mail_from.access.whitelist (pass)
- mail_from.access.whitelist_regex (pass)
- mail_from.access.blacklist (block)
- mail_from.access.blacklist_regex (block)

### RCPT TO

* rcpt_to.access.whitelist (pass)
* rcpt_to.access.whitelist_regex (pass)
* rcpt_to.access.blacklist (block)
* rcpt_to.access.blacklist_regex (block)

- rcpt_to.access.whitelist (pass)
- rcpt_to.access.whitelist_regex (pass)
- rcpt_to.access.blacklist (block)
- rcpt_to.access.blacklist_regex (block)

## NOTES

Expand Down

0 comments on commit 0c6030b

Please sign in to comment.