File: prayer-accountd.cf

package info (click to toggle)
prayer 1.3.3-dfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,388 kB
  • ctags: 3,280
  • sloc: ansic: 42,985; makefile: 805; sh: 451; perl: 166
file content (59 lines) | stat: -rw-r--r-- 1,866 bytes parent folder | download | duplicates (6)
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
# $Cambridge: hermes/src/prayer/files/etc/prayer-accountd.cf,v 1.2 2008/09/16 09:59:56 dpc22 Exp $
#
# Prayer - a Webmail Interface
#
# Copyright (c) University of Cambridge 2000 - 2002
# See the file NOTICE for conditions of use and distribution.
#
# Default accountd.cf file suitable for RedHat Linux only.
# See distribution for some sample files for FreeBSD and Solaris

accountd_port = 145

authtype = pam

msforward_name      = ".MSforward"
forward_name        = ".forward"
aliases_name        = "vacation.aliases"
filter_restricted   = FALSE

# While debugging
child_timeout       = 0

# Password changing - Linux defaults. (Warning: Strange race condition with
# Linux passwd program. Following only works some of the time...
pwd_cmdline         = "/usr/bin/passwd"
pwd_script =                           \
  readline                             \
  readline                             \
  expect   "(current) UNIX password: " \
  sendline "$old"                      \
  expect   "New password: "            \
  sendline "$new"                      \
  expect "Retype new password: "       \
  sendline "$new"                      \
  expect "passwd: all authentication tokens updated successfully."

# Fullname checking
checkfull_cmdline = "/bin/echo Script still needs to be written"
checkfull_script  = "result"

# Fullname changing
full_cmdline = "/usr/bin/chfn -f ${newname}"
full_script =            \
  readline               \
  expect "Password: "    \
  sendline "$password"   \
  expect "Finger information changed."

# Quota check
quota_cmdline       = "fquota -v"
quota_hermes        = FALSE

# SSL configuration, if required
#use_ssl             = T
#ssl_cert_file       = "/usr/local/prayer/certs/prayer.pem"
#ssl_dh_file         = "/usr/local/prayer/certs/prayer.pem"
#ssl_rsakey_lifespan = 10m
#egd_socket          = "/var/prngd/urandom"