spamassassin

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

http://svn.apache.org/repos/asf/spamassassin/trunk/spamd/PROTOCOL

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSpamEmail

func CheckSpamEmail(config *config.Config, email []byte) (string, error)

Types

type Spamassassin

type Spamassassin struct {
	RawEmail []byte
	// contains filtered or unexported fields
}

type SpamassassinHeader

type SpamassassinHeader struct {
	Pts         string
	RuleName    string
	Description string
}

type SpamassassinResponse

type SpamassassinResponse struct {
	ResponseCode    int
	ResponseMessage string
	Score           float64
	Spam            bool
	Threshold       float64
	Details         []SpamassassinHeader
}

Jump to

Keyboard shortcuts

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