Yu, Mingli
2016-09-05 06:03:42 UTC
Hi,
There is a question about the ftpmail of the package proftpd.
***@super_micro-1:~# rpm -qf /usr/bin/ftpmail
proftpd-1.3.5a-r0.0.corei7_64
In my environment, the ftpmail fails to run as it lacks the dependency
on Mail/Sendmail.pm which is not shipped by default and
also not maintained more than 10 years as
http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm.
***@super_micro-1:~# ftpmail -h
Can't locate Mail/Sendmail.pm in @INC (you may need to install the
Mail::Sendmail module) (@INC contains: /etc/perl
/usr/lib64/perl/site_perl/5.22.1/ /usr/lib64/perl/site_perl/5.22.1
/usr/lib64/perl/vendor_perl/5.22.1/ /usr/lib64/perl/vendor_perl/5.22.1
/usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1 /usr/local/lib/site_perl
/usr/lib64/perl/5.22.1 .) at /usr/bin/ftpmail line 26.
BEGIN failed--compilation aborted at /usr/bin/ftpmail line 26.
How do we plan to support the ftpmail? Add the dependency module as
self-contained in proftpd package or just remove the ftpmail script as I
noticed that other distribution such as fedora, ubuntu, centos not ship
the script ftpmail by default.
And reference the repo https://github.com/proftpd/proftpd.git, the
ftpmail is added as a perl script
to send email notification when upload proftpd log as
below commit:
commit 8d602d4bf01ef0c6464c7a16dbbe570a0322dc17
Author: castaglia <castaglia>
Date: Thu Mar 6 03:06:14 2008 +0000
Added ftpmail, a Perl script which reads a TransferLog FIFO and
sends automatic email notifications for uploads.
Thanks,
Grace
There is a question about the ftpmail of the package proftpd.
***@super_micro-1:~# rpm -qf /usr/bin/ftpmail
proftpd-1.3.5a-r0.0.corei7_64
In my environment, the ftpmail fails to run as it lacks the dependency
on Mail/Sendmail.pm which is not shipped by default and
also not maintained more than 10 years as
http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm.
***@super_micro-1:~# ftpmail -h
Can't locate Mail/Sendmail.pm in @INC (you may need to install the
Mail::Sendmail module) (@INC contains: /etc/perl
/usr/lib64/perl/site_perl/5.22.1/ /usr/lib64/perl/site_perl/5.22.1
/usr/lib64/perl/vendor_perl/5.22.1/ /usr/lib64/perl/vendor_perl/5.22.1
/usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1 /usr/local/lib/site_perl
/usr/lib64/perl/5.22.1 .) at /usr/bin/ftpmail line 26.
BEGIN failed--compilation aborted at /usr/bin/ftpmail line 26.
How do we plan to support the ftpmail? Add the dependency module as
self-contained in proftpd package or just remove the ftpmail script as I
noticed that other distribution such as fedora, ubuntu, centos not ship
the script ftpmail by default.
And reference the repo https://github.com/proftpd/proftpd.git, the
ftpmail is added as a perl script
to send email notification when upload proftpd log as
below commit:
commit 8d602d4bf01ef0c6464c7a16dbbe570a0322dc17
Author: castaglia <castaglia>
Date: Thu Mar 6 03:06:14 2008 +0000
Added ftpmail, a Perl script which reads a TransferLog FIFO and
sends automatic email notifications for uploads.
Thanks,
Grace