/usr/share/doc/proftpd-mod-msg/msg.conf is in proftpd-mod-msg 0.4.1-1.1build7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | #
# Proftpd sample configuration for mod_msg.
#
<IfModule mod_msg.c>
MessageEngine on
# MessageEngine
# Syntax: MessageEngine on|off
# Default: off
# Context: server config, <VirtualHost>, <Global>
# The MessageEngine directive enables or disables the module's runtime message queue.
# If it is set to off this module does no passing of messages. Use this directive to
# disable the module instead of commenting out all mod_msg directives.
MessageLog /var/log/proftpd/msg.log
# MessageLog
# Syntax: MessageLog path|"none"
# Default: None
# Context: server config Module: mod_msg
# The MessageLog directive is used to a specify a log file for mod_msg reporting and debugging.
# The path parameter must be the full path to the file to use for logging. Note that this path
# must not be to a world-writeable directory and, unless AllowLogSymlinks is explicitly set to
# on (generally a bad idea), the path must not be a symbolic link.
# If path is "none", no logging will be done at all.
MessageQueue /var/log/proftpd/msg.queue
# MessageQueue
# Syntax: MessageQueue path
# Default: None
# Context: server config Module: mod_msg
# The MessageQueue directive configures a path to a file that mod_msg will use when sending messages.
# This file itself is not used for storing messages; it is necessary for obtaining a unique key to use
# as the ID for the message queue.
# Control Actions
# msg
# Syntax: ftpdctl msg [class|host|user name]|[all] message
# Purpose: Send a message to a class, host, user, or all
# The msg control action can be used to send messages to connected clients. Any words that follow the
# given user or host name in the ftpdctl command will be sent to the connected session, and added to the
# response to the session's next FTP command. Note, however, that some command responses cannot be altered,
# such as EPSV, PASV, or STOU; mod_msg avoids these command responses. Note: some FTP clients may not display
# the text messages of FTP responses to the user; there is nothing that mod_msg can do when such clients are used.
# Examples:
# ftpdctl msg user dave Dave, you need to delete some files
# ftpdctl msg all This server will be going offline for maintenance soon
MessageControlsACLs msg allow user *
# MessageControlsACLs
# Syntax: MessageControlsACLs actions|"all" "allow"|"deny" "user"|"group" list
# Default: None
# Context: server config Module: mod_msg
# Example:
# # Allow all users to send messages to connected clients
# MessageControlsACLs msg allow user *
</IfModule>
|