File: asmailrc.sample

package info (click to toggle)
asmail 2.1-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,340 kB
  • sloc: ansic: 3,050; sh: 183; makefile: 93
file content (133 lines) | stat: -rw-r--r-- 4,046 bytes parent folder | download | duplicates (5)
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
# This section describes what happens on the screen
x11 {
	# issue a standard PC beep when mail arrives
	beep no
	# what to execute when asmail is clicked with mouse button
	on_mouse_left aterm -geometry 80x35 -bg wheat -fg black -vb -title "pine" -n "pine" -e bash -c pine &
	on_mouse_right echo "Right mouse button pressed" &
	on_mouse_middle echo "Middle mouse button pressed" &
	# what program executes when new mail arrives
	on_new_mail cat /usr/local/share/asmail/sounds/drip.au > /dev/audio &
	# use the shape extension
	shape yes
	# this section describes how the number of messages is presented
	# set 'each', 'total' and 'status' to 'no' to disable
	stat {
		# display a counter for each mailbox
		each yes
		# display a summary counter for all mailboxes
		total yes
		# show the state of the mailbox together with the counter
		status yes
		# show count of old messages
		old yes
		# show count of new messages
		new yes
		# delimiter between the old and new messages counters
		delimiter " "
		# offset from the top left corner
		x 5
		y 10
		# font to use
		font -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
		# color of the counters
		color black
	}
	# this section describes the animation we use instead of default
	animate {
		# animation refresh rate in 1/100 sec
		refresh 10
		# xpm picture files
		frame none
		#frame /usr/local/share/afterstep/desktop/icons/16bpp/ASBBlockTransparent.xpm
		nomail /usr/local/share/asmail/pixmaps/e-no.xpm
		old /usr/local/share/asmail/pixmaps/e0.xpm
		new /usr/local/share/asmail/pixmaps/e1.xpm
		new /usr/local/share/asmail/pixmaps/e2.xpm
		new /usr/local/share/asmail/pixmaps/e3.xpm
		new /usr/local/share/asmail/pixmaps/e4.xpm
		new /usr/local/share/asmail/pixmaps/e5.xpm
		new /usr/local/share/asmail/pixmaps/e6.xpm
		new /usr/local/share/asmail/pixmaps/e7.xpm
		new /usr/local/share/asmail/pixmaps/e8.xpm
		new /usr/local/share/asmail/pixmaps/e9.xpm
		new /usr/local/share/asmail/pixmaps/e10.xpm
		new /usr/local/share/asmail/pixmaps/e11.xpm
		new /usr/local/share/asmail/pixmaps/e12.xpm
		new /usr/local/share/asmail/pixmaps/e13.xpm
		new /usr/local/share/asmail/pixmaps/e14.xpm
		new /usr/local/share/asmail/pixmaps/e15.xpm
		new /usr/local/share/asmail/pixmaps/e16.xpm
		new /usr/local/share/asmail/pixmaps/e17.xpm
		new /usr/local/share/asmail/pixmaps/e18.xpm
		new /usr/local/share/asmail/pixmaps/e19.xpm
		new /usr/local/share/asmail/pixmaps/e20.xpm
		new /usr/local/share/asmail/pixmaps/e21.xpm
		new /usr/local/share/asmail/pixmaps/e22.xpm
		new /usr/local/share/asmail/pixmaps/e23.xpm
		new /usr/local/share/asmail/pixmaps/e24.xpm
		new /usr/local/share/asmail/pixmaps/e25.xpm
		new /usr/local/share/asmail/pixmaps/e26.xpm
		new /usr/local/share/asmail/pixmaps/e27.xpm
		new /usr/local/share/asmail/pixmaps/e28.xpm
		new /usr/local/share/asmail/pixmaps/e29.xpm
		new /usr/local/share/asmail/pixmaps/e30.xpm
	}
}

# Each 'mailbox' section describes one mailbox to watch
mailbox {
	# regular UNIX mailbox file
	type mbox
	file /var/spool/mail/albert
	update 5
	# count 'unread' messages as new as well as those 'unseen'
	unread-is-new no
}

mailbox {
	# the Maildir style mailbox
	type maildir
	file /home/albert/MailDir
	update 5
}

#mailbox {
#        # mH mailbox directory
#        type mh
#        file /home/catchen/mail/mhDir
#        update 5
#        unread-is-new yes
#        use-mh-sequences yes
#}

#mailbox {
#	# a mailbox on a POP3 server
#	type pop3
#	# allowed types of authorisation
#	# plain = regular POP3 with password in plain
#	# md5 = using the MD5 authentication of APOP server
#	auth plain md5
#	server localhost
#	user albert
#	password yourpassword
#	# how often to query the server in seconds
#	update 120
#	# timeout for the server replies in seconds
#	timeout 30
#}

#mailbox {
#	# a mailbox on the IMAP server
#	type imap
#	server example.org
#	user albert 
#	password yourpassword
#	# how often to query the server in seconds
#	update 60
#	# timeout for the server replies in seconds
#	timeout 30
#	ssl yes
#	trustedCaDir /etc/openssl/certs/myCa/
#}