<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_query</id>
	<title>Mailutils query - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_query"/>
	<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_query&amp;action=history"/>
	<updated>2026-07-10T13:19:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_query&amp;diff=414&amp;oldid=prev</id>
		<title>Gray: moved Mailutils quiery to Mailutils query</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_query&amp;diff=414&amp;oldid=prev"/>
		<updated>2015-07-11T11:14:50Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/Mailutils_quiery&quot; class=&quot;mw-redirect&quot; title=&quot;Mailutils quiery&quot;&gt;Mailutils quiery&lt;/a&gt; to &lt;a href=&quot;/wiki/Mailutils_query&quot; title=&quot;Mailutils query&quot;&gt;Mailutils query&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:14, 11 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_query&amp;diff=399&amp;oldid=prev</id>
		<title>Gray: Created page with &quot;The &lt;tt&gt;mailutils query&lt;/tt&gt; command queries values from GNU Mailutils configuration files.  It takes one or more configuration paths as its arg...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_query&amp;diff=399&amp;oldid=prev"/>
		<updated>2015-07-11T10:55:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;tt&amp;gt;&lt;a href=&quot;/wiki/Mu&quot; class=&quot;mw-redirect&quot; title=&quot;Mu&quot;&gt;mailutils&lt;/a&gt; query&amp;lt;/tt&amp;gt; command queries values from GNU Mailutils configuration files.  It takes one or more &lt;a href=&quot;/wiki/Configuration_Pathname&quot; title=&quot;Configuration Pathname&quot;&gt;configuration paths&lt;/a&gt; as its arg...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;[[mu|mailutils]] query&amp;lt;/tt&amp;gt; command queries values from GNU Mailutils configuration files.  It takes one or more [[Configuration Pathname|configuration path]]s as its arguments.  On output, it displays the values it found, each value on a separate line.  If the requested value is a block statement it is displayed in full.  For example, if main configuration file contained:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
  logging {&lt;br /&gt;
    syslog yes;&lt;br /&gt;
    facility mail;&lt;br /&gt;
  };&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils query .logging.syslog&lt;br /&gt;
  syslog yes;&lt;br /&gt;
  $ mailutils query .logging.syslog .logging.facility&lt;br /&gt;
  syslog yes;&lt;br /&gt;
  facility mail;&lt;br /&gt;
  $ mailutils query .logging&lt;br /&gt;
  logging {&lt;br /&gt;
    syslog yes;&lt;br /&gt;
    facility mail;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Several command line options allow to modify output format.  The &amp;lt;tt&amp;gt;--value&amp;lt;/tt&amp;gt; option instructs the command to output only values:&lt;br /&gt;
  &lt;br /&gt;
  $ mailutils query --value .logging.syslog&lt;br /&gt;
  yes&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;--path&amp;lt;/tt&amp;gt; option instructs it to print full path names for each value:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils query --path .logging.syslog&lt;br /&gt;
  logging.syslog: yes&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;--program&amp;lt;/tt&amp;gt; option instructs &amp;lt;tt&amp;gt;mailutils&amp;lt;/tt&amp;gt; to behave as if it was called under another program name.  For example, the following command:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils query --program=pop3d .server.transcript&lt;br /&gt;
&lt;br /&gt;
will return the value of the &amp;lt;tt&amp;gt;server.transcript&amp;lt;/tt&amp;gt; statement for &amp;lt;tt&amp;gt;pop3d&amp;lt;/tt&amp;gt; utility.&lt;br /&gt;
&lt;br /&gt;
By default, &amp;lt;tt&amp;gt;mailutils query&amp;lt;/tt&amp;gt; operates on the main configuration file.  Another configuration file can be supplied using the &amp;lt;tt&amp;gt;--file&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;-f&amp;lt;/tt&amp;gt;) option:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils query --file /usr/local/etc/file.conf .pidfile&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mailutils (utility)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:utilities]]&lt;/div&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
</feed>