Commit 4a55ee02 4a55ee028689051ac891662daf50d7b104d5ec2f by Wojciech Polak

Moved to config/

1 parent 88d65886
1 # This is an example configuration file for GNU comsatd utility.
2 # To use, run comsatd -c <path>/comsat.conf
3
4 ## General settings
5 # Dump on screen at most 5 lines of the message body
6 max-lines 5
7 # Honour per-user .biffrc files
8 allow-biffrc yes
9
10 ## Security settings
11 # Allow no more than 10 requests in 10 seconds, then register overflow.
12 max-requests 10
13 request-control-interval 10
14 # Sleep for 5 seconds when the first overflow occurs.
15 overflow-delay-time 5
16 # If two overflows happen within a 15 seconds interval, double the
17 # sleep time.
18 overflow-control-interval 15
19 ## Access Control Lists
20 acl allow 127.0.0.1
21 acl deny any
1 # A sample per-user biff configuration file. It should be stored
2 # in user home directory and named .biffrc. It must be owned by
3 # the user and have permissions 0600
4 # Each line specifies an action to be taken upon arrival of
5 # a message. A backslash can be used to escape the newlines.
6 # Actions could be:
7 # beep -- Produce audible signal
8 # echo STRING -- Output STRING to the user's tty
9 # exec PROG ARGS... -- Execute given program
10 #
11
12 # This is the default action
13 echo "Mail to \a$u@$h\a\n---\n\
14 From: $H{from}\n\
15 Subject: $H{Subject}\n\
16 ---\n\
17 $B(,5)\n\
18 ---\n"
19
20 # For users of X windows system: produce a bell and open an xmessage window
21 beep
22 exec /usr/X11R6/bin/xmessage -display :0.0 -timeout 10 "Mail to $u@$h \n---\n\
23 From: $H{from}\n\
24 Subject: $H{Subject}\n\
25 ---\n\
26 $B(,5)\n\
27 ---\n"
1 auth required pam_unix_auth.so
2 account required pam_unix_acct.so
1 auth required pam_unix_auth.so
2 account required pam_unix_acct.so
1 ## This is a sample mailutils configuration file
2 ## Upon startup, a mailutils program scans this file for a line that
3 ## begins either with a program name or with word `mailutils'. When
4 ## found, the rest of the line following the first word is split up
5 ## at whitespace characters and resulting words are added to the
6 ## program arguments _before_ the command line options.
7 :mailutils --maildir /var/spool/mail
8 :auth --sql-host sql.sample.net --sql-db Passwd \
9 --sql-port 3306 --sql-user mailutils \
10 --sql-passwd guessme \
11 --sql-getpwnam 'select user_name,password,uid,10000,"/dev/null","/dev/null" from pass where user_name="%u" and service="EMAIL"' \
12 --sql-getpwuid 'select user_name,password,uid,10000,"/dev/null","/dev/null" from pass where uid=%u and service="EMAIL"'
13 imap4d --daemon=20 --timeout=1800
14 mail.local --source %h/.filter.scm