Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSMTPD SPF filter

OpenSMTPD filter to enforce the Sender Policy Framework.

Build

Go >= 1.22 is required.

git clone https://netsend.nl/opensmtpd-filter-spf.git
cd opensmtpd-filter-spf
go build

Install

Execute the following as the superuser.

install -m555 -gbin filter-spf /usr/local/libexec/smtpd/
useradd -d /var/empty -s /sbin/nologin _spf

Define the filter and add it to your listen directives.

smtpd.conf:

filter "spf" proc-exec "filter-spf" user _spf
listen on egress filter { spf }

About

Mirror only. OpenSMTPD SPF filter.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages