Class RubyQmail::BounceHandler
In: lib/bounce.rb
Parent: Object

Bounce Handler for Qmail Bounce messages. There are typically two types of bounces

  • Remote Bounces - When email is accepted by the remote email server, then it cannot be delivered, it

sends the message with its own error message to the Return-Path or sender address (not necessarily the same one in the From: header—although some non-RFC-compliant servers still will do this). For this processing, it is useful to enable VERP (RubyQmail does this). VERP (Variable Envelope Return Path) in Qmail appends the recipient‘s email address to each unique delivery, replacing the @ by the = symbol (returnpath-recipient=recipdomain@example.com).

  • Undeliverable Bounces - An email is sent back to the reuturn path with a formatted report off all undeliverable

addresses (where the remote server could not be reached or accept delivery) and the error message generated by Qmail or returned by the Remote server during the SMTP session.

Methods

new   parse  

Public Class methods

Public Instance methods

Parses a Qmail bounce message as IO object, then calls block with |address, message| for each bounced address

[Validate]