[Mimedefang] newbie prerequisite install questions

Bill Cole mdlist-20140424 at billmail.scconsult.com
Mon Nov 21 14:13:09 EST 2016


On 21 Nov 2016, at 13:04, Michael Fox wrote:

> Thanks Mickey.
>
> That doesn't appear to be a "module", but rather an archive of 
> multiple modules, right?
> (I'm new to CPAN, too).

MailTools is a Distribution: a collection of related modules maintained 
as one project because they are interdependent. I cannot explain why the 
Download page shows it as MailTools-1. I don't expect that MD actually 
wants an ancient version 1.x, and I've seen no sign of trouble with the 
current version.

The Download page probably should say Distributions rather than Modules, 
since all of those are Distributions.

> So, is the instruction to download, unpack and install this archive, 
> using sudo?

You can find a Distribution's author/distribution-version ID in an 
interactive CPAN shell with 'i /<distribution-name>/' e.g.:

	cpan[1]> i /MailTools/
	Distribution id = M/MA/MARKOV/MailTools-2.18.tar.gz
	    CPAN_USERID  MARKOV (Mark Overmeer <mark at overmeer.net>)
	    CONTAINSMODS Mail::Address Mail::Cap Mail::Field 
Mail::Field::AddrList Mail::Field::Date Mail::Field::Generic 
Mail::Filter Mail::Header Mail::Internet Mail::Mailer 
Mail::Mailer::qmail Mail::Mailer::rfc822 Mail::Mailer::sendmail 
Mail::Mailer::smtp Mail::Mailer::smtp::pipe Mail::Mailer::smtps 
Mail::Mailer::smtps::pipe Mail::Mailer::testfile 
Mail::Mailer::testfile::pipe Mail::Send Mail::Util

And then (if the CPAN shell was started as root) install that with:

	cpan[2]> install MARKOV/MailTools-2.18.tar.gz

> And, for my other question, should I install the other modules listed 
> on the Download page using
> (sudo) CPAN?

Yes. *ALL* of those are Distribution names, which is why they don't use 
the :: module delimiter. You should be able to get them all using CPAN.



More information about the MIMEDefang mailing list