packages icon

Pmail 0.9 3/7/1999
------------------

Pmail is a mail transfer client based on the protocols of POP3 and SMTP.
As a POP3 client, pmail surports for the multidrop accounters, previews
the remote mails for the purpose of processing (download, remove, list) 
specified mails. As a SMTP client, pmail forwards the mails were written 
off-line. It also can irrigates the mailbody into an external pipeline
such as PGP, mmencode and so on before delivers them. 

Pmail is not a MUA. But it can be integrated with tools such as mailx,
elm or text editor because either retrieval or forwarding mails, pmail
adopts FromSPACE the standard UNIX mail/mailx format.


Installation
------------

Extract the package then

make
make install

or copy the attached ELF binary into the destination path directly.


Configuration
-------------

There is a file named "pmailrc" in this package. Copy it to user's home
directory and rename it to ".pmailrc", then edit this file. In this file
some option ought to specify:

pop3host    - specifies the default POP3 server.
smtp        - specifies a default SMTP server.
outbox		- the mailbox for outgoing mails by SMTP client action.
sender      - user's information and the default reply address.

Read that file for other options information. I think the RC file should
be self-explaination.


Copyright
---------

See the file "COPYRIGHT" inside this package.


Examples
--------

pmail

The "default" item is set to "pop3,sbox" as default action. Though pmail
will connect to the POP3 server specified by the "pop3host" item, download
the mails (or other action specified by user), then connect to the SMTP
server specified by the "smtp" item, send the mails stored in the outgoing
mailbox specified by "outbox" option.

pmail -dd -h pop3.noname.com -f localbox

Retrieval mails from the server of pop3.noname.com and save them in the file
of localbox, then remove them from server.

pmail -o -h smtp.noname.com -f outbox

Forward mails stored in the file of outbox via the SMTP server smtp.noname.com

pmail -h smtp.noname.com  xuming@bigfoot.com

Write a letter to <xuming@bigfoot.com> then deliver it immediately via the 
server of smtp.noname.com.