spamassassin

package
v0.0.0-...-48d6722 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: GPL-3.0-or-later

Index

Constants

View Source
const SpamAssassinTimeout = 20 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type SpamAssassin

type SpamAssassin struct {
	// contains filtered or unexported fields
}

func NewSpamassassin

func NewSpamassassin(host string) (*SpamAssassin, error)

func (*SpamAssassin) Check

func (sa *SpamAssassin) Check(rawMail []byte) *domain.SpamResult

func (*SpamAssassin) Learn

func (sa *SpamAssassin) Learn(learnType domain.LearnType, rawMail []byte) error

Jump to

Keyboard shortcuts

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