PMAIL 0.9(1) Linux PMAIL 0.9(1)
Linux Programmer's Manual Linux Programmer's Manual
07 March 1999
NAME
pmail - POP3 and SMTP mail transfer client
SYNOPSIS
pmail -d [ c | t | d | f | r ]
pmail -o
pmail [ -s subject ] [ -c cc-addr ] [ -b bcc-addr ]
[ -h smtp.server ] to-addr [ ... ]
pmail -t
pmail [ --help ] [ --version ] [ -v ] [ -f filebox ]
[ -h host ] [ -l "..." ]
DESCRIPTION
Pmail is a small mail transfer client. Pmail supports multidrop POP3
accounts, preprocesses remote mails before retrieval, forwards off-
line mails via SMTP server, opts for external pipe like PGP. Though
pmail doesn't propose the function of reading or writing, it combines
easily with tools like mail(1) or other MUA's and text editors. The
structure of the mailboxes for either downloaded mails or ready-to-
sends is the standard UNIX mail/mailx format.
POP3 CLIENT
-d, --do
Specifies an action. Up to now there are 5 choices:
c - Check mail. List its number and size.
t - Give a detailed information, include mailheader and part of
mailbody. Server ought to support the TOP command. See
topnumber/topstyle options in the .pmailrc.
d - Download mails and remove them from server.
f - Fetch mails but leave them in server.
r - Remove the specified mails from server. To use this function,
user ought to give a list by -l, --list argument.
SEND MAILS IN CACHE MODE
-o Send mails which are stored in the outgoing mailbox. Each letter
contains a standard header structure equal to mail/mailx(1).
From your@address Sat Nov 14 00:39:14
- 1 - Formatted: November 4, 2025
PMAIL 0.9(1) Linux PMAIL 0.9(1)
Linux Programmer's Manual Linux Programmer's Manual
07 March 1999
From: your@address
To: dest@address
CC or BCC fields are also available:
Cc: address1, address2
Bcc: address1, address2
In some cases we want to ignore the external pipe or signature
for the specified letter in the outgoing mailbox. The Status
fields can help do this. There are two options: pure to ignore
the external pipe and the signature. nopipe to ignore the
external pipe.
Status: pure
And any style personal header are welcome:
My_personal_header: separating mark is colon
SEND MAILS IN IMMEDIATELY MODE
-s subject
Offer the subject of letter.
-c cc_addr
Give a list of Carbon-Copy address.
-b bcc_addr
Give a list of BCC address.
In this mode, pmail sounds like the classical mail(1) command. It
sends a letter read from stdin, or read from keyboard.
For examples:
pmail -h localhost user1 user2 <
APPEND A TEMPLATE MAILHEADER
-t, --template
Append a template of mailheader into the outgoing mailbox, or
stdout if no outgoing mailbox is sounded.
OTHER OPTIONS
-v, --verbose
Verbose mode. Pmail will display all of the conversations with
remote host.
- 2 - Formatted: November 4, 2025
PMAIL 0.9(1) Linux PMAIL 0.9(1)
Linux Programmer's Manual Linux Programmer's Manual
07 March 1999
-f filebox
Specifies an alternative mail box instead of that specified in
the .pmailrc.
-h, --host host
Specifies an alternative host instead of that specified in the
.pmailrc.
-l, --list ...
Give a list of mail numbers for processing when pmail act as a
POP3 client.
--help, --version
FILES
~/.pmailrc User initialization file.
BUGS
English is not my native language. If you don't understand something
in this manpage ... I'm sorry.
SEE ALSO
mailx(1)
AUTHOR
"Xu, Ming" <xuming@bigfoot.com>
American English editing by Rick Hohensee
- 3 - Formatted: November 4, 2025