File: asmailrc.simple

package info (click to toggle)
asmail 2.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,024 kB
  • ctags: 301
  • sloc: ansic: 3,045; sh: 183; makefile: 88
file content (41 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (8)
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
# This section describes what happens on the screen
x11 {
	# what to execute when asmail is clicked with mouse button
	on_mouse_left xterm -geometry 80x35 -bg wheat -fg black -vb -title "e-Mail" -n "e-Mail" -e bash -c mutt &
	# 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 no
		# 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 53
		# font to use
		font -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
		# color of the counters
		color black
	}
}

# 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
}