Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 support for greylist and blackhole #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

foscarini
Copy link

Hello Sean

I have made a lot of changes in tumgreyspf, mainly to support IPv6 in the greylisting and blackhole checks.

I also updated tumgrey-stat and tumgrey-clean, to deal with the IPv6 files and directories, and to cleanup all the expired files, doesn't matter if the greylist check is IP only, or IP + recipient.

I know that the changes are extensive, and I probably changes one or two things that I shouldn't, but I am deploying an new IPv6 mail MX, and I want to continue using tumgreyspf.

The code was tested in Ubuntu 15.10, with python 2.7.10 installed via APT.

new data directory for ipv4 clients
Add new configuration to define the network mask used to allow mail on networks for ipv4 and ipv6.
Deprecate ignoreLastByte option, superseded by ipv4NetworkMask
Fix wrong blackholeDir
data/client_address/ directories are separated by IP protocol version, and the subdirectories.

ignoreLastByte option was superseded by ipv4NetworkMask and ipv6NetworkMask

cleanup and stat scripts refactored, to deal with the new subdirectory strucuture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant