amavis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Working with amavis content filter server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmavisdRelease

func AmavisdRelease(id, alt_recipients string) error

Working with amavisd-release

func GetAmavisdConf

func GetAmavisdConf(filepath string) map[string]string

Get amavisd configuration parameters as map

func GetMessageHeaders

func GetMessageHeaders(id, dirPath string) (map[string]string, error)

Get headers from message file

func GetMessageList

func GetMessageList(dirPath string) ([]os.FileInfo, error)

Get file list from quarantine folder

func OsService

func OsService(action string) error

Working with amavisd service via systemd

func RestoreConf

func RestoreConf(conf_path string) error

Restore conf file content

func UpdateConf

func UpdateConf(currentParams, inputParams map[string]string, configs_path string) error

Update amavis configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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