A mail formatter.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Damien Goutte-Gattat b0cb062a32 Merge branch 'develop' 1 ano atrás
lib Update the sbuffer module. 1 ano atrás
m4 Add replacement function for asprintf 9 anos atrás
man Fix typo in manual page. 1 ano atrás
src Exit upon failure to open attachment. 1 ano atrás
.gitignore Initial commit 9 anos atrás
AUTHORS Prepare point release. 2 anos atrás
COPYING Initial commit 9 anos atrás
Makefile.am Prepare next release. 2 anos atrás
NEWS Prepare 0.2.1 release. 1 ano atrás
README.md Prepare 0.2.0 release. 1 ano atrás
configure.ac Prepare 0.2.1 release. 1 ano atrás


fmail - Incenp.org’s mail formatter


Fmail is a mail formatter. It reads a draft message on its standard input and writes to its standard output a suitably formatted message ready to be sent to a mail submission agent.

The name “fmail” stands for something like “Formatting MAIL”.

The main feature of Fmail is its ability to add attachments to the input message and to sign and/or encrypt the whole message (including attachments) using PGP/MIME.

The signing feature makes Fmail usable as a “signing filter”, taking a complete (but unsigned) mail on its standard input and emitting a PGP/MIME-signed message on its standard output (ready to be sent to a mail submission agent such as /usr/sbin/sendmail).


Fmail depends on the following libraries:

  • libgpgme, to sign and encrypt messages.

  • libmagic, to guess file type and encoding of attachments.

I expect Fmail to compile cleanly (and behave correctly) on most POSIX systems, although I have only tested it on my GNU/Linux box. Should you find a portability issue on your system, please let me know.

Run the provided configure script to prepare the sources for build; run configure --help to know the available configuration parameters. Then run make to effectively build the program, and make install to install it on your system.


Fmail is distributed under the terms of the GNU General Public License, version 3 or higher. The full text of the license is included in the COPYING file of the source distribution.

Homepage and repository

The project is located at https://incenp.org/dvlpt/fmail.html. The latest source code is available at https://git.incenp.org/damien/fmail.