RDF::Base::Email::Classifier - Analyzes and classifies emails
Based on Mail::DeliveryStatus::BounceParser
dsn std_reason mapping:
user_unknown => 5.1.0, 5.1.1 domain_error => 5.1.2 over_quota => 5.2.2 syntax_error => 5.5.2 denied => 5.7.1 address_changed => 5.1.6 delayed => ... unknown => X.0.0
other classifications
dsn ticket vacation bounce address_changed challenge_response ~ newsletter ~ spam ~ spam_response ~ transient ~
email status ------------ LÃST ljusgrön? + dsn seen
OK grön + dsn deliviered + ticket system + vacation
OKÃND grÃ¥
TEMPFEL gul + dsn transient
à TGÃRDAS blÃ¥ = manual revision + dsn unclassified + challenge_response
FEL / DEFFEL = email_address_error + dsn bounce + address_changed
Email::Classifier->new( $email_obj )
$email
should be an object compatible with Email::MIME 1.861
contact fields: {contact}{email_address}{node} {contact}{email_address}{changed_to}
A bounce means that the email didn't reach the destination
VERP = Variable envelope return path
Only if we think that it may be a bounce, but not in a standard format
A personal email can be auto-generated, but is probably sent from the address that is talked about in the email, as opposed to DSNs from a postmaster.