Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

haraka/haraka-plugin-rcpt-postgresql

Repository files navigation

Build Status Code Climate

NPM

haraka-plugin-rcpt-postgresql

Validates the rcpt_to addresses (recipient addresses) by connecting to a PostgreSQL database.

Install

cd /my/haraka/config/dir
npm install haraka-plugin-rcpt-postgresql

Enable

Add the following line to the config/plugins file.

rcpt-postgresql

Config

The rcpt-postgresql.json file has the following structure (defaults shown). Also note that this file will need to be created, if not present, in the config directory.

{
 "user": "thihara",
 "database": "haraka",
 "password": "",
 "host": "127.0.0.1",
 "port": 5432,
 "max": 20,
 "idleTimeoutMillis": 30000,
 "sqlQuery": "SELECT EXISTS(SELECT 1 FROM valid_emails WHERE email_id=1ドル) AS \"exists\""
}

About

Haraka plugin that validates recipients against a PostgreSQL database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

AltStyle によって変換されたページ (->オリジナル) /