Haraka Node.js MTA Relay Integration

· 517 views · Pitbull Secure Gateway

Pitbull relay configuration on Node.js-based Haraka MTA using smtp_forward plugin and outbound hook guide.

Haraka is a high-performance MTA built on Node.js. Its plugin architecture makes relay configuration extremely flexible.

smtp_forward Plugin

In config/smtp_forward.ini:

host=relay.pitbull.com.tr
port=587
enable_tls=true
auth_type=login
auth_user=tenant@pitbull.com.tr
auth_pass=RELAY_TOKEN

Add smtp_forward to the config/plugins file.

Outbound Hook

Haraka's hook system lets you add custom logic on outbound traffic. Use hook_queue_outbound to route specific domains to relay.

Performance

Haraka's event-driven architecture can process thousands of messages per second. Combined with Pitbull relay, secure delivery is achieved in high-volume ESP and ISP environments.

Conclusion

Modern Node.js infrastructure + Pitbull relay delivers both speed and security together.