Commit 4a55ee02 4a55ee028689051ac891662daf50d7b104d5ec2f by Wojciech Polak

Moved to config/

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