EnglishFrenchSpanish

Ad


OnWorks favicon

ftpmail - Online in the Cloud

Run ftpmail in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ftpmail that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ftpmail - FIFO-based Perl script for sending email based on proftpd TransferLog

SYNOPSIS


ftpmail [ --help ] [ --fifo fifo-path ] [ --from email-address ] [ --log xferlog-file ] [
--recipient email-address ] [ --subject email-subject ] [ --smtp-server server-address ] [
--attach-file ] [ --auth smtp-auth-info-file ] [ --ignore-users regex-pattern ] [ --watch-
users regex-pattern ]

DESCRIPTION


ftpmail is a Perl script designed to read ProFTPD's TransferLog log entries, watching for
uploads, and to send an automatic email notification when uploads occur. To use ftpmail ,
you configure your proftpd daemon to write its TransferLog to a FIFO; the ftpmail program
is a FIFO reading program which then processes those log messages.

OPTIONS


--help Display a short usage description, including all available options.

--attach-file
If used, this will cause a copy of the uploaded file to be included, as an
attachment, in the generated email.

--auth smtp-auth-info-file
Configures the path to a file containing SMTP authentication information. The
configured file should look like this:
user username
password password

--fifo fifo-path
Indicates the path to the FIFO to which proftpd is writing its TransferLog.
That is, this is the path that you used for the TransferLog directive in your
proftpd.conf. This parameter is REQUIRED.

--from email-address
Specifies the email address to use in the From email header. This parameter
is REQUIRED.

--ignore-users regex-pattern
Specifies a Perl regular expression. If the uploading user name matches this
regular expression, then an email notification is NOT sent; otherwise, an
email is sent.

--log xferlog-path
Since this script reads the TransferLog using FIFOs, the actual TransferLog
file is not written by default. Use this option to write the normal
TransferLog file, in addition to watching for uploads.

--recipient email-address
Specifies an email address to which to send an email notification of the
upload. This option can be used multiple times to specify multiple
recipients. AT LEAST ONE recipient is REQUIRED.

--smtp-server server-address
Specifies the SMTP server to which to send the email. This parameter is
REQUIRED.

--subject subject
Specify a custom Subject email header for the email sent. The default Subject
is:
User '$user' uploaded file '$file' via FTP

--watch-users regex-pattern
Specifies a Perl regular expression. If the uploading user name matches this
regular expression, then an email notification is sent; otherwise, no email is
sent.

Use ftpmail online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    authpass
    authpass
    AuthPass is an open source password
    manager with support for the popular and
    proven Keepass (kdbx 3.x AND kdbx 4.x ...
    Download authpass
  • 2
    Zabbix
    Zabbix
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 3
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 4
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 5
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 6
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 7
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands

Ad