smtpacl

package
v1.17.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlacklistIP

func BlacklistIP(ctx context.Context, ip string) error

func BlacklistSender

func BlacklistSender(ctx context.Context, sender string) error

func BlacklistedIPs

func BlacklistedIPs(ctx context.Context) ([]string, error)

func BlacklistedSenders

func BlacklistedSenders(ctx context.Context) ([]string, error)

func IsIPBlacklisted

func IsIPBlacklisted(ctx context.Context, ip string) bool

func IsIPWhitelisted

func IsIPWhitelisted(ctx context.Context, ip string) bool

func IsSenderBlacklisted

func IsSenderBlacklisted(ctx context.Context, sender string) bool

func IsSenderWhitelisted

func IsSenderWhitelisted(ctx context.Context, sender string) bool

func UnBlacklistIP

func UnBlacklistIP(ctx context.Context, ip string) error

func UnBlacklistSender

func UnBlacklistSender(ctx context.Context, sender string) error

func UnWhitelistIP

func UnWhitelistIP(ctx context.Context, ip string) error

func UnWhitelistSender

func UnWhitelistSender(ctx context.Context, sender string) error

func WhitelistIP

func WhitelistIP(ctx context.Context, ip string) error

func WhitelistSender

func WhitelistSender(ctx context.Context, sender string) error

func WhitelistedIPs

func WhitelistedIPs(ctx context.Context) ([]string, error)

func WhitelistedSenders

func WhitelistedSenders(ctx context.Context) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL