GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MAIL::LISTDETECTOR (3)

.ds Aq ’

NAME

Mail::ListDetector - Perl extension for detecting mailing list messages

CONTENTS

SYNOPSIS



  use Mail::ListDetector;



DESCRIPTION

This module analyzes mail objects in any of the classes handled by Email::Abstract. It returns a Mail::ListDetector::List object representing the mailing list.

The RFC2369 mailing list detector is also capable of matching some Mailman and Ezmlm messages. It is deliberately checked last to allow the more specific Mailman and Ezmlm parsing to happen first, and more accurately identify the type of mailing list involved.

METHODS

    new

This method is the core of the module. Pass it a mail object, it will either return a Mail::ListDetector::List object that describes the mailing list that the message was posted to, or undef if it appears not to have been a mailing list post.

    register_plugin($plugin_name)

Registers a new plugin module that might recognise lists. Should be a subclass of Mail::ListDetector::Detector::Base, and provide the same interface as the other detector modules.

You can eval arbitrary perl code with this, so don’t do that if that’s not what you want.

EMAILS USED

This module includes a number of sample emails from various mailing lists. In all cases, mails are used with permission of the author, and must not be distributed separately from this archive. If you believe I may have accidentally used your email or content without permission, contact me, and if this turns out to be the case I will immediately remove it from the latest version of the archive.

BUGS

o A lot of the code applies fairly simple regular expressions to email address to extract information. This may fall over for really weird email addresses, but I’m hoping no-one will use those for names of mailing lists.
o The majordomo and smartlist recognisers don’t have much to go on, and therefore are probably not as reliable as the other detectors. This is liable to be hard to fix.
o Forwarding messages (for example using procmail) can sometimes break the Sender: header information needed to recognise some list types.

AUTHORS

o Michael Stevens - michael@etla.org.
o Andy Turner - turner@mikomi.org.
o Adam Lazur - adam@lazur.org.
o Peter Oliver - p.d.oliver@mavit.freeserve.co.uk
o Matthew Walker - matthew@walker.wattle.id.au
o Tatsuhiko Miyagawa - miyagawa@bulknews.net
o johnnnnnn - john@phaedrusdeinus.org
o Mik Firestone - mik@racerx.homedns.org
o Simon Cozens - simon@simon-cozens.org

SEE ALSO

perl(1). The Mail::Audit::List module, which is a convenient way of using Mail::Audit and Mail::ListDetector together.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAIL::LISTDETECTOR (3) 2011-02-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.