Uncategorized

Next up – block via fwd

I’ve just created a nice little plugin which blocks mail (via FROM address) based on mails I forward to a certain address (which I’m not telling you what it is!).

It takes advantage of one of the nice features of Haraka – that config files are automatically reloaded when they change (if you don’t want this to happen, load your config in exports.register() into the transaction object or a plugin-global variable). So by simply appending to the relevant config file it auto-updates the blocklist configuration and is used immediately without a restart.

I’m hoping this will help deal with my foreign spam problem. Most of it seems to come from the same addresses over and over.

Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s