diff options
Diffstat (limited to 'docs/smbdotconf/misc/messagecommand.xml')
-rw-r--r-- | docs/smbdotconf/misc/messagecommand.xml | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/smbdotconf/misc/messagecommand.xml b/docs/smbdotconf/misc/messagecommand.xml index 117600cf1d..91df58ab5d 100644 --- a/docs/smbdotconf/misc/messagecommand.xml +++ b/docs/smbdotconf/misc/messagecommand.xml @@ -11,9 +11,10 @@ deliver the message somehow. How this is to be done is up to your imagination.</para> - <para>An example is:</para> - - <para><command moreinfo="none">message command = csh -c 'xedit %s;rm %s' &</command> + <para>An example is: +<programlisting> +<command moreinfo="none">message command = csh -c 'xedit %s;rm %s' &</command> +</programlisting> </para> <para>This delivers the message using <command moreinfo="none">xedit</command>, then @@ -52,10 +53,12 @@ takes your fancy. Please let us know of any really interesting ideas you have.</para> - <para>Here's a way of sending the messages as mail to root:</para> - - <para><command moreinfo="none">message command = /bin/mail -s 'message from %f on - %m' root < %s; rm %s</command></para> + <para> + Here's a way of sending the messages as mail to root: +<programlisting> +<command moreinfo="none">message command = /bin/mail -s 'message from %f on %m' root < %s; rm %s</command> +</programlisting> + </para> <para>If you don't have a message command then the message won't be delivered and Samba will tell the sender there was @@ -63,9 +66,13 @@ and carries on regardless, saying that the message was delivered. </para> - <para>If you want to silently delete it then try:</para> - - <para><command moreinfo="none">message command = rm %s</command></para> + <para> + If you want to silently delete it then try: +<programlisting> +<command moreinfo="none">message command = rm %s</command> +</programlisting> + </para> + </description> <value type="default"></value> <value type="example">csh -c 'xedit %s; rm %s' &</value> |