2011-03-30 13:49:47 +00:00
|
|
|
.TH POP3 8
|
|
|
|
.SH NAME
|
|
|
|
pop3, imap4d \- Internet mail servers
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.PP
|
|
|
|
.B upas/pop3
|
|
|
|
[
|
|
|
|
.B -d
|
|
|
|
.I debugfile
|
|
|
|
][
|
|
|
|
.B -a
|
|
|
|
.I mailbox
|
|
|
|
][
|
|
|
|
.B -r
|
|
|
|
.I peeraddr
|
|
|
|
][
|
|
|
|
.B -t
|
|
|
|
.I tlscertfile
|
|
|
|
][
|
|
|
|
.B -p
|
|
|
|
]
|
|
|
|
.PP
|
2017-03-12 16:15:03 +00:00
|
|
|
.B upas/imap4d
|
2011-03-30 13:49:47 +00:00
|
|
|
.RB [ -acpv ]
|
|
|
|
.RB [ -d
|
|
|
|
.IR smtpdomain ]
|
|
|
|
.RB [ -s
|
|
|
|
.IR servername ]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
These programs support remote access to mail across the Internet.
|
|
|
|
All expect the network connection to be standard input, output, and error.
|
|
|
|
They are normally started from scripts in
|
|
|
|
.B /rc/bin/service
|
|
|
|
(see
|
|
|
|
.IR listen (8)).
|
|
|
|
.PP
|
|
|
|
.I Pop3
|
|
|
|
provides access to a user's mailboxes via the POP3 protocol.
|
|
|
|
The options are:
|
|
|
|
.TP 4
|
|
|
|
.B -d
|
|
|
|
create
|
|
|
|
.I debugfile
|
|
|
|
and write debugging output to it
|
|
|
|
.TP
|
|
|
|
.B -a
|
2014-04-26 11:22:15 +00:00
|
|
|
causes pop3 to assume that it already authenticated
|
2011-03-30 13:49:47 +00:00
|
|
|
and to read
|
|
|
|
.I mailbox
|
|
|
|
immediately
|
|
|
|
.TP
|
|
|
|
.B -r
|
|
|
|
causes
|
|
|
|
.I pop3
|
|
|
|
to create the file
|
|
|
|
.B /mail/ratify/trusted/\fIpeeraddr\fP#32
|
|
|
|
to allow subsequent SMTP sessions from that
|
|
|
|
address. See
|
|
|
|
.IR ratfs (4)
|
|
|
|
for details.
|
|
|
|
.TP
|
|
|
|
.B -t
|
|
|
|
get the local TLS certificate from the file
|
|
|
|
.IR tlscertfile .
|
|
|
|
.TP
|
|
|
|
.B -p
|
|
|
|
allow passwords in the clear for authenticating the connection
|
|
|
|
.PP
|
|
|
|
.I Imap4d
|
|
|
|
provides access to a user's mailboxes via the IMAP4rev1 protocol.
|
|
|
|
Only files rooted in
|
|
|
|
.BI /mail/box/ username /
|
|
|
|
are accessible.
|
|
|
|
The list of subscribed mailboxes is contained in
|
|
|
|
.BI /mail/box/ username /imap.subscribed ,
|
|
|
|
and initially contains only
|
|
|
|
.BR INBOX ,
|
|
|
|
IMAP's name for the user's mailbox.
|
|
|
|
A shadow file,
|
|
|
|
.IB mailbox .imp ,
|
|
|
|
is created for each mailbox examined.
|
|
|
|
.PP
|
|
|
|
.IR Imap4d 's
|
|
|
|
options are:
|
|
|
|
.TP 4
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -a
|
2011-03-30 13:49:47 +00:00
|
|
|
Assume the user is already authenticated.
|
|
|
|
By default, the user must authenticate using
|
|
|
|
CRAM-MD5 or
|
|
|
|
.IR securenet (8)
|
|
|
|
challenge/response authentication.
|
|
|
|
.TP
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -c
|
2011-03-30 13:49:47 +00:00
|
|
|
Allow plan 9 challenge response authentication.
|
|
|
|
.TP
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -p
|
2011-03-30 13:49:47 +00:00
|
|
|
Allow login authentication. This option
|
|
|
|
should only be enabled for servers using
|
|
|
|
an encrypted connection, such as SSL,
|
|
|
|
and when enabled, all non-encrypted connections should be disallowed.
|
|
|
|
.I Imap4d
|
|
|
|
does not enforce this policy.
|
|
|
|
.TP
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -v
|
2011-03-30 13:49:47 +00:00
|
|
|
Turn on verbose output to the debug file.
|
|
|
|
.TP
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -s
|
2011-03-30 13:49:47 +00:00
|
|
|
The server's name.
|
|
|
|
If none is provided,
|
|
|
|
.B cs
|
|
|
|
(see
|
|
|
|
.IR ndb (8))
|
|
|
|
is queried or
|
|
|
|
.B /env/sysname
|
|
|
|
is used.
|
|
|
|
.TP
|
2020-11-08 17:34:39 +00:00
|
|
|
.B -d
|
2011-03-30 13:49:47 +00:00
|
|
|
The local mail domain.
|
|
|
|
Defaults to the server
|
|
|
|
.B /env/site
|
|
|
|
in the mail server's domain.
|
|
|
|
.PP
|
|
|
|
For both
|
|
|
|
.I imap4d
|
|
|
|
and
|
|
|
|
.IR pop3 ,
|
|
|
|
the password used to authenticate the connection is the APOP
|
|
|
|
secret held by
|
|
|
|
.IR keyfs (4)
|
|
|
|
running on the authentication server.
|
|
|
|
.SH FILES
|
|
|
|
.TF /mail/box/username/imap.subscrib
|
|
|
|
.TP
|
|
|
|
.B /sys/log/imap4d
|
|
|
|
debugging output
|
|
|
|
.TP
|
|
|
|
.BI /mail/box/ username / mailbox
|
|
|
|
.TP
|
|
|
|
.BI /mail/box/ username / mailbox .imp
|
|
|
|
.TP
|
|
|
|
.BI /mail/box/ username /imap.subscribed
|
|
|
|
.SH SOURCE
|
|
|
|
.B /sys/src/cmd/upas/pop3
|
|
|
|
.br
|
2017-03-12 16:15:03 +00:00
|
|
|
.B /sys/src/cmd/upas/imap4d
|
2011-03-30 13:49:47 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.IR aliasmail (8),
|
|
|
|
.IR faces (1),
|
|
|
|
.IR filter (1),
|
|
|
|
.IR mail (1),
|
|
|
|
.IR marshal (1),
|
|
|
|
.IR mlmgr (1),
|
|
|
|
.IR nedmail (1),
|
|
|
|
.IR qer (8),
|
|
|
|
.IR rewrite (6),
|
|
|
|
.IR send (8),
|
|
|
|
.IR upasfs (4)
|
|
|
|
.SH BUGS
|
|
|
|
Usually messages flagged for deletion with
|
|
|
|
.B DELE
|
|
|
|
are not actually deleted until the client sends a
|
|
|
|
.B QUIT
|
|
|
|
command to end the conversation.
|
|
|
|
.I Pop3
|
|
|
|
implements a non-standard command
|
|
|
|
.B SYNC
|
|
|
|
that deletes messages flagged for deletion
|
|
|
|
without ending the conversation.
|