# Scratch that itch: M-x mailq

DevFeed: [Scratch that itch: M-x mailq](<https://devfeed.tech/articles/scratch-that-itch-m-x-mailq-34390.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2010/09/scratch-that-itch-m-x-mailq/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2010-09-23T07:30:00Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [command](<https://devfeed.tech/tags/command.md>), [email](<https://devfeed.tech/tags/email.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [queue](<https://devfeed.tech/tags/queue.md>), [shell](<https://devfeed.tech/tags/shell.md>), [smtp](<https://devfeed.tech/tags/smtp.md>), [systems](<https://devfeed.tech/tags/systems.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

The article introduces M-x mailq, an Emacs command for viewing and flushing the Postfix mail queue. It addresses mail queued during unavailable relay tunnels and describes inspecting or selectively managing queued messages.

## Source excerpt

Nowadays, most people would think that email is something simple, you just setup your preferred client (that's called a MUA) with some information such as the smtp host you want it to talk to (that's call a MTA and this one is your relayhost). Then there's all the receiving mails part, and that's smtp again on the server side. Then there's how to get those mail, read them, flag them, manage them, and that's better served by IMAP. Let's talk about sending mails in smtp for this entry.