1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
|
.\"if n .pl +(135i-\n(.pu)
.de Id
.ds Rv \\$3
.ds Dt \\$4
..
.Id $Id: cucipop.8,v 1.5 1997/08/01 01:05:59 srb Exp $
.TH CUCIPOP 1 \*(Dt BuGless
.rn SH Sh
.de SH
.br
.ne 11
.Sh "\\$1"
..
.rn SS Ss
.de SS
.br
.ne 10
.Ss "\\$1"
..
.rn TP Tp
.de TP
.br
.ne 9
.Tp \\$1
..
.rn RS Rs
.de RS
.na
.nf
.Rs
..
.rn RE Re
.de RE
.Re
.fi
.ad
..
.de Sx
.PP
.ne \\$1
.RS
..
.de Ex
.RE
.PP
..
.na
.SH NAME
cucipop \- Cubic Circle POP3 daemon
.SH SYNOPSIS
.B /usr/sbin/cucipop
.RB [ \-qaYdPUSDAT ]
.RB [ "\-E \fIage\fP" ]
.RB [ "\-p \fIport\fP" ]
.br
.B /usr/sbin/cucipop
.B \-v
.ad
.SH DESCRIPTION
Cucipop is a mailbox server which is a fully compliant implementation of
Internet
.BR RFC1939 ,
Post Office Protocol Version 3. The program allows remote access to UNIX
mailboxes.
.PP
.B Cucipop
can be started standalone or from within
.BR inetd (8).
.SH OPTIONS
.TP 0.5i
.B \-v
Cucipop will print its version number, display its compile time
configuration and exit.
.TP
.B \-q
Quiet mode, do not log statistics of regular sessions to
.BR syslogd (8).
.TP
.B \-a
Audit mode, also log statistics of regular sessions accessing empty mailboxes.
.TP
.B \-Y
Assume traditional Berkeley mailbox format, ignoring any
.B Content-Length:
fields.
.TP
.B \-d
Force interactive debug mode, accept commands from the tty.
.TP
.B \-P
Disable the optional USER and PASS command.
.TP
.B \-U
Disable the optional UIDL command.
.TP
.B \-S
Sabotage the UIDL command. Cucipop will return different UIDL values for
every session, hence causing mailclients that attempt to leave mail on
the server to pick up the entire mailbox every time. Turning this option on
will violate
.BR RFC1939 .
.TP
.B \-D
Autodelete messages that have been retrieved. As soon as the QUIT command
has been received or the connection drops, cucipop will behave as if those
messages which have been collected using the RETR command were also specified
to the DELE command.
Turning this option on will violate
.BR RFC1939 .
.TP
.I "\fB\-E\fP age"
Expire (in conjunction with the
.B \-S
or
.B \-D
options)
messages that are older than
.I age
only.
.I Age
is specified in seconds. You can increase the unit of measure by appending
an s, m, h, w, M or y.
.TP
.B \-A
Disable the optional APOP command.
.TP
.B \-T
Disable the optional TOP command.
.TP
.I "\fB\-p\fP port"
Bind to a different
.IR port .
.SH EXAMPLES
Typically
.I pop-3
service is defined in
.BR services (5)
as follows:
.Sx 1
pop-3 110/tcp
.Ex
In order to start cucipop from within
.BR inetd (8),
the following entry in
.BR inetd.conf (5)
would be suitable:
.Sx 1
pop-3 stream tcp nowait root /usr/sbin/cucipop cucipop -Y
.Ex
If your site gets many hits from popclients, it would be preferable
to start cucipop standalone as in:
.Sx 1
/usr/sbin/cucipop -Y
.Ex
Your typical BOFH setting would be:
.Sx 1
/usr/sbin/cucipop -YaSE 6w
.Ex
.SH FILES
.TP 2.3i
.B /etc/passwd
for the default authentication method
.TP
.B /var/spool/mail/$LOGNAME
system mailbox
.TP
.B /var/spool/mail/$LOGNAME.lock
lockfile for the system mailbox
.TP
.B _????`hostname`
temporary `unique' zero-length files created by cucipop
.SH "SEE ALSO"
.na
.nh
.BR RFC1939 ,
.BR RFC822 ,
.BR inetd (8),
.BR inetd.conf (5),
.BR services (5),
.BR procmail (1),
.BR mail (1),
.BR binmail (1),
.BR uucp (1),
.BR sendmail (8),
.BR biff (1),
.BR comsat (8),
.BR lockfile (1),
.BR formail (1),
.BR syslog.conf (5)
.hy
.ad
.SH BUGS
When two or more cucipop sessions are accessing the same mailbox
simultaneously,
and at least one of them tries to update the mailbox, mild mailbox corruption
might result and the other cucipop sessions will abort as soon as they
detect unaccounted mailbox changes.
The (unlikely) worst case scenario would result in some
messages not being deleted and/or gaining some trailing garbage. Due to the
ongoing consistency checks, existing messages or content is unlikely to
be lost.
.PP
If a local mailreader alters the mailbox content after cucipop has
started and before cucipop has ended, cucipop will panic and abort
the update as soon as it detects unaccounted mailbox changes.
.PP
If the local maildelivery program is appending to the mailbox while cucipop
is starting up, and the intervals between successive writes of the same mail
are larger
than 32 seconds, then cucipop will, mistakenly, show the last message
in the mailbox (which is currently being written by the maildelivery agent)
to be shorter than
it actually is. If the last message is marked for deletion in this
session, cucipop will notice the increased length shortly before actually
deleting the message and abort the update at that point.
.PP
The unique-id listing returned by the UIDL command is based on a hashvalue
calculated on-the-fly over the message content. The actual values depend
on the wordsize of the machine involved (defined as uidl_t in the source).
Also, since it is
just a hashvalue (constructed out of a true hash over the entire message
and the length of the message), there is a very slight chance that it
will produce a false positive.
.PP
A continued
.B Content-Length:
field is not handled correctly.
.PP
If the TOP command is being used, the statistics of transferred
octets will become mildly inaccurate (too high, depending on the
number of untransferred newlines).
.PP
Cucipop will never create a nonexisting mailbox.
.PP
An empty first argument after a POP command is ignored (thanks to some
silly popclients that violate the standard).
.PP
When running in standalone daemon mode, an idle cucipop deamon will always
leave at least one zombie process behind. In order to improve
performance, zombie processes are only collected when new clients
connect.
.PP
The Received field that is being tacked in front of a message misses the
trailing "; date-time" addendum to make it fully
.B RFC822
compliant.
.SH MISCELLANEOUS
Cucipop is NFS-resistant and eight-bit clean.
.PP
The format of the regular syslog statistics is as follows:
username originating-IP-address, retrieved messages (retrieved bytes),
messages left in mailbox (octets left in mailbox).
.SH NOTES
Calling up cucipop with the \-h or \-? options will cause
it to display a command-line help page.
.Sh SOURCE
Cucipop has graciously been made available by Cubic Circle and is
.Sx 1
Copyright (c) 1996, S.R. van den Berg, The Netherlands
.Ex
.\"is available at ftp.informatik.rwth-aachen.de as
.\".BR pub/packages/cucipop/cucipop.tar.gz .
.\".Sh MAILINGLIST
.\".RE
.\"If you would like to stay informed about new versions and official patches
.\"send a subscription request to
.\".RS
.\"cucipop-announce-request@cuci.nl
.\".RE
.\"(this is a readonly list).
.SH AUTHOR
Stephen R. van den Berg, Cubic Circle, The Netherlands
.RS
<srb@cuci.nl>
.\" @MY_ALT_MAIL_ADDR@
.RE
.\".if n .pl -(\n(.tu-1i)
|