
# This is a demo startup file. The formal name should be '.pmailrc' in 
# the home directory with 600 permissions. You can put the POP3 account,
# id and password, here; but for the security reasons, please avoid it.
# Version 0.7
##  slight editing by Rick Hohensee


# Option 'default' specifies the default action, if no actions were 
# asserted in the command line options.
#
# There are 5 default actions are available:
#
#	pop3, means pmail acts as a pop3 client. See pop3host item.
#	sbox, means pmail should send the mails in the outgoing mailbox.
#	templ, means pmail should append a template in the outgoing mailbox.
#	help, print help to screen.
#	version, print version information to screen.
#
# These options may be used in combination, for instance:
#
#	default pop3,sbox
#
#   means pmail should download mails, and secondly send mails in the 
#   outgoing mailbox.
#
default pop3,sbox

# If 'verbose' is uncommented, pmail will display the detail conversation
# with server.
#
#verbose


# In some cases, i.e. spam or mailbomb avoidance, we may observe the mailhead,
# or part of body, before downloading the full letter. POP3 protocol offered
# an opportunity to do so (with server support). See the description 
# of the TOP command in RFC1725.
#
# 'topnumber' specifies the line of mail body to observe. 
# 'topstyle' specifies the operation on the mail head, 3 ways availible: 
#
#   'simple'    - list the From Address only. 
#   'complex'   - display the full head.
#   'smart'     - pmail will analysis the head. (under construct)
#
topnumber 2
topstyle smart


# Both SMTP and POP3 protocols need timeout mechanism assistance, right?
# By the second, 0 means unlimit it.
#
timeout 90


# 'pop3host' lists availible POP3 servers. Pmail will, according to
# this list converse with servers one by one. Servers was limited to 32.
# See MAXHOSTS in the defs.h
#
# Each line has this format:
#	
#   host.name.com:operation:mailbox:id:passwd
#					
#   host.name.com  the domain name of POP3 host
#   operation      what pmail should do. 4 options availible:
#                    'd' download and remove mails from host.(default)
#                    'f' download mails but reserve them in the host.
#                    'c' check mails status only
#                    't' check mails using TOP command.
#   mailbox        specifies a mailbox for saving letter. Default is ~/mbox.
#   id & passwd    user's account in that POP3 host.
#                  if you leave passwd as '*', it's means pmail will 
#                  request a password at login. 
# Such as:
# 
# 	pop3host pop3.host.com:d:~/mbox:user:		(no passwd request in the host)
# 	pop3host pop3.host.com:d:~/mbox:user:*		(request passwd while login)
# 	pop3host pop3.host.com:d:~/mbox:user:\**	(the passwd happen to be "**")
# 	pop3host pop3.host.com:d:~/mbox:user:\\&*^  (the passwd is "\&*^")
#pop3host localhost:d:::*
pop3host your.mail.host.com:f:~/Mail/fetched:your.login.name:*


# specifies the max size of downloading mail
sizelimit 500k
 

# specify the default SMTP server
#
smtp localhost


# specify the default outgoing mailbox.
#
outbox ~/Mail/outbox


# specified the default mailbox for backup of sent mails
#
bakbox ~/Mail/sent


# How pmail should deal with those sent mails in the outbox?
# There are three choices:
#
#   backup, move them from outbox into bakbox.
#   delete, remove them from outbox without backup.
#   hold, or comment this option, do nothing with them.
#
dealsent backup


# Your individual information and default reply address
#
sender yourname@localhost


# a signature file, like other email program.
#
# CAUTIOUS: DON'T START A LINE WITH "From " OR  ".\n" IN YOUR SIGNATURE
# FILE, OTHERWITH YOUR MAIL MAY BE DECLINED!!
#
#signature ~/.signature


# external pipe. pmail should transfer each mail's body, include the 
# signature, into this pipe line before posting them. I usually use it
# in converting Chinese into quotatable or uuencoded character, or to 
# armour message with pgp
#
#pipeto mmencode -b
#pipeto mmencode -q
#pipeto gb2hz
#pipeto pgp -fast
#pipeto mmencode -b | pgp -fast


# expand the head, it is used to optimize the mail's head for pecular
# purposes. You can add anything here. Another optimizing
# key is to write the special mailhead in the outgoing mail box for
# each letter. They are effectively the same.
#
#header Content-Transfer-Encoding: quoted-printable
#header Content-Transfer-Encoding: base64
#header Content-Transfer-Encoding: 7bit
#header Content-Transfer-Encoding: 8bit
#header Content-Type: text/html; charset=gb2312
#header Content-Type: text/plain; charset=ISO-8859-1
#header Content-Type: text
#header Content-Type: text/plain; charset="hz-gb-2312"
#header Content-Type: text/plain; charset=us-ascii
#header X-Mailer: Mozilla 3.0Gold (Faked :-)
#header MIME-Version: 1.0
#header Organization: What on earth do you like?
#header Reply-To: /dev/null
#header Apparently-To: xuming@bigfoot.com
#header Errors-To: /dev/null
#header X-Priority: 999!


# 'logfile' specifies a log. be wary of its access mode.
# 'loglimit' explained the limitation of this log file. The denomina-
#   tion is Kilobytes.
#
#logfile ~/Mail/.eventlog
#logfile /var/log/pmail
#loglimit 40

