diff --git a/etc/mail/fetchmail/fetchmailrc.sample b/etc/mail/fetchmail/fetchmailrc.sample new file mode 100644 index 0000000..bf72d12 --- /dev/null +++ b/etc/mail/fetchmail/fetchmailrc.sample @@ -0,0 +1,30 @@ +# fetchmail +# +# Изменён: Сб 22 мар 2014 12:04:52 +# +# +SAMPLE +# + +#------------------------------------------------------------------------------- +#{{{ Общие настройки +#------------------------------------------------------------------------------- + +#POP3, аутентификация по паролям +defaults: proto POP3, auth password, + +#Приемщик почты +mda "procmail -d %T", + +#Принимать все сообщения с сервера +fetchall, + +#Через каждые 100 сообщений заново соединяться с сервером +expunge 100 + +#}}}---------------------------------------------------------------------------- +#{{{ Почтовые ящики +#------------------------------------------------------------------------------- + +poll pop.mail user 'user' pass 'password' is 'user' here + +#}}}---------------------------------------------------------------------------- diff --git a/etc/mail/procmail/procmailrc.sample b/etc/mail/procmail/procmailrc.sample new file mode 100644 index 0000000..8f42d3a --- /dev/null +++ b/etc/mail/procmail/procmailrc.sample @@ -0,0 +1,49 @@ +# PROCMAILRC +#------------------------------------------------------------------------------- +# +# Изменён: Сб 22 мар 2014 12:06:08 +# +#------------------------------------------------------------------------------- +# +SAMPLE +#------------------------------------------------------------------------------- +#{{{ Общие настройки +#------------------------------------------------------------------------------- + +MAILDIR= $HOME/.shellrc/var/mail +LOGFILE= $HOME/.shellrc/var/log/procmail +LOGABSTRACT= no +VERBOSE= off +DEFAULT= $MAILDIR/inbox +VERBOSE= no +SHELL= /bin/bash + +#}}}---------------------------------------------------------------------------- +#{{{ Сортировка писем +#------------------------------------------------------------------------------- + +:0 + * ^From:.*address.* + $MAILDIR/mailbox + +#}}}---------------------------------------------------------------------------- +#{{{ Письма, не попавшие ни в одну категорию, складываются в общие ящики +#------------------------------------------------------------------------------- + +:0 + * ^To: user@mail + $MAILDIR/user@mail + +#}}}---------------------------------------------------------------------------- +#{{{ Автоответ +#------------------------------------------------------------------------------- + +# Запрос IP-адреса. Результат отправляется на мобильный номер +:0 fw + * ^Subject: getip$ + { + LOG="[ `\date '+%d.%m.%Y %H:%M:%S'` ] >> IP REQUEST " + + :0 + | $HOME/.shellrc/bin/scripts/ip2sms + } + diff --git a/etc/media/mpdscribble/mpdscribble.conf.sample b/etc/media/mpdscribble/mpdscribble.conf.sample new file mode 100644 index 0000000..eb153f9 --- /dev/null +++ b/etc/media/mpdscribble/mpdscribble.conf.sample @@ -0,0 +1,17 @@ +# +SAMPLE + +[mpdscribble] +host = localhost +port = 6600 +log = .shellrc/var/log/mpdscribble.log +verbose = 2 +sleep = 1 +musicdir = /mnt/2TB/Музыка/ + +[last.fm] +# last.fm section, comment if you do not use last.fm +url = http://post.audioscrobbler.com/ +username = user +password = password +journal = .shellrc/var/log/lastfm.log + diff --git a/etc/media/scmpc/scmpc.conf.sample b/etc/media/scmpc/scmpc.conf.sample new file mode 100644 index 0000000..2ac10b2 --- /dev/null +++ b/etc/media/scmpc/scmpc.conf.sample @@ -0,0 +1,80 @@ +############################################################################## +# In general, string values should be contained in either 'single' or "double" +# quotes. You don't need to quote the value for log_level though, as this is +# not a string, but a set of specific choices. +# +# The only options that need to be set for scmpc to do anything useful are your +# audioscrobbler username and password in the audioscrobbler section. +# +# There is no need to uncomment any of these values unless you want to change +# the option, as the original value is the default. +############################################################################## + +# +# +SAMPLE +# + +# log_level +# +# Select the amount of logging you would like scmpc to do. Valid options are: +# none, error, info and debug +log_level = debug + +# log_file +# +# The file you would like scmpc to write the log to. +log_file = "~/.shellrc/var/log/scmpc.log" + +# pid_file +# +# The file in which scmpc will store its process id in order to check that it +# is only run once. (This file is only used when scmpc is run in daemon mode.) +pid_file = "~/.shellrc/var/scmpc/scmpc.pid" + +# cache_file +# +# The file in which scmpc will store the unsubmitted songs cache. +cache_file = "~/.shellrc/var/scmpc/scmpc.cache" + +# queue_length +# +# The maximum number of unsubmitted songs to hold in memory at once. You may +# need to lower this if you find scmpc using too much memory. +queue_length = 500 + +# cache_interval +# +# The interval _in minutes_ between saving the unsubmitted songs queue, in case +# of a power failure, or any other reason for the program exiting abnormally. +# Set to 0 to turn this off. +cache_interval = 10 + +# mpd section +# +# host: The hostname of the mpd server. Can be an IP address or UNIX domain +# socket as well. +# port: The port that mpd is listening on. +# timeout: The timeout in seconds for connecting to the server +# interval: The interval used to check if there is a new song (mpd < 0.14 only). +# password: Set this if you need a password to read information from the +# mpd server. +#mpd { + #host = "localhost" + #port = 6600 + #timeout = 5 + #interval = 10 + #password = +#} + +# audioscrobbler section +# +# username: Your Audioscrobbler username +# password: Your Audioscrobbler password +# password_hash: Your md5 hashed Audioscrobbler password +# password_hash will be preferred over password if it is set +audioscrobbler { + username = "user" + password = "password" + #password_hash = "" +} +