ftpmail(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

ftpmail(1)

ftpmail(1)                  General Commands Manual                 ftpmail(1)

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 en‐
       tries, watching for uploads, and to send an automatic  email  notifica‐
       tion  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 authentica‐
                   tion 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 notifi‐
                   cation 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 addi‐
                   tion to watching for uploads.

       --recipient email-address
                   Specifies an email address to which to send an email  noti‐
                   fication  of  the upload.  This option can be used multiple
                   times to specify multiple recipients.  AT LEAST ONE recipi‐
                   ent 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 notifi‐
                   cation is sent; otherwise, no email is sent.

FILES
       /var/log/xferlog

AUTHORS
       ProFTPD  is  written and maintained by a number of people, full credits
       can be found on http://www.proftpd.org/credits.html


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       box; cbp-1 | cbp-1 l | l .  ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
       ity   service/network/ftp = Stability Uncommitted

SEE ALSO
       proftpd(8), xferlog(5)

       Full documentation on ProFTPD, including  configuration  and  FAQs,  is
       available at http://www.proftpd.org/

       For   help/support,   try   the  ProFTPD  mailing  lists,  detailed  on
       http://www.proftpd.org/lists.html

       Report bugs at http://bugs.proftpd.org/



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at:
       https://github.com/oracle/solaris-userland

       The original community source was downloaded from:
       ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.8c.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.proftpd.org/.

                                  March 2011                        ftpmail(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3