snipt

Ctrl+h for KB shortcuts

Text only

View Mail Queue

/var/qmail/bin/qmail-qstat
https://snipt.net/embed/a5c9b4496c503d4b56155b2873fe1817/
/raw/a5c9b4496c503d4b56155b2873fe1817/
a5c9b4496c503d4b56155b2873fe1817
text
Text only
1
2019-08-24T13:49:01
True
False
False
/api/public/snipt/2211/
view-mail-queue
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>/var/qmail/bin/qmail-qstat </span></pre></div> </td></tr></table>
(dv), mail, qmail

Text only

Restart Mail SubSystem

/usr/local/psa/admin/bin/mailmng -o ; /usr/local/psa/admin/bin/mailmng -p ; /etc/init.d/xinetd restart ; /etc/init.d/qmail restart 
https://snipt.net/embed/0e7c202e6667e9cdb5c14b804ef1fe53/
/raw/0e7c202e6667e9cdb5c14b804ef1fe53/
0e7c202e6667e9cdb5c14b804ef1fe53
text
Text only
1
2019-08-24T13:49:27
True
False
False
/api/public/snipt/2210/
restart-mail-subsystem
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>/usr/local/psa/admin/bin/mailmng -o ; /usr/local/psa/admin/bin/mailmng -p ; /etc/init.d/xinetd restart ; /etc/init.d/qmail restart </span></pre></div> </td></tr></table>
(dv), mail, qmail

Text only

The following command will show you what is in the mail queue:

/var/qmail/bin/qmail-qstat will
https://snipt.net/embed/4f90534e387d2319fa39c6c251f25832/
/raw/4f90534e387d2319fa39c6c251f25832/
4f90534e387d2319fa39c6c251f25832
text
Text only
1
2019-08-24T13:50:11
True
False
False
/api/public/snipt/2205/
the-following-command-will-show-you-what-is-in-the-mail-queue
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>/var/qmail/bin/qmail-qstat will </span></pre></div> </td></tr></table>
mail, qmail, queue

Text only

For a typical qmail installation with Plesk, you can monitor the logs with the following command:

tail -f /usr/local/psa/var/log/maillog
https://snipt.net/embed/d783deaa222dfbb18c8740b16d23a479/
/raw/d783deaa222dfbb18c8740b16d23a479/
d783deaa222dfbb18c8740b16d23a479
text
Text only
1
2019-08-21T00:06:52
True
False
False
/api/public/snipt/2203/
for-a-typical-qmail-installation-with-plesk-you-can-monitor-the-logs-with-the-following-command
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>tail -f /usr/local/psa/var/log/maillog </span></pre></div> </td></tr></table>
logs, mail, plesk, qmail

Text only

Show details about qmail setup

/var/qmail/bin/qmail-showctl
https://snipt.net/embed/7fd640987c326c1ba61174e35deb704d/
/raw/7fd640987c326c1ba61174e35deb704d/
7fd640987c326c1ba61174e35deb704d
text
Text only
1
2019-08-24T13:50:37
True
False
False
/api/public/snipt/2202/
show-details-about-qmail-setup
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>/var/qmail/bin/qmail-showctl </span></pre></div> </td></tr></table>
qmail