File: autorespond

package info (click to toggle)
kopanocore 8.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,400 kB
  • sloc: cpp: 175,422; python: 24,623; perl: 7,319; php: 6,056; sh: 2,172; makefile: 1,294; xml: 45; ansic: 1
file content (34 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download
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
# -*- Mode: sh -*-
###########################################
# Autoresponder settings
###########################################

# Autorespond if the recipient is in the Cc field
AUTORESPOND_CC=0

# Autorespond if the recipient is in the Bcc field
AUTORESPOND_BCC=0

# Autorespond if the recipient is not in any of To, Cc or Bcc
# (i.e. received the message through a distribution list)
AUTORESPOND_NORECIP=0

# Only send reply to same e-mail address once per 24 hours
TIMELIMIT=$((24*60*60))

BASE_PATH=/var/lib/kopano/autorespond

# File which contains where vacation message was sent
SENDDB=$BASE_PATH/vacation-$USER.db

# Tempfile containing message that will be sent
SENDDBTMP=$BASE_PATH/vacation-$USER-$$.tmp

# Customize your actual mail command, normally sendmail
# Input to this command is the message to send
SENDMAILCMD=/usr/sbin/sendmail

# Additional parameters for the $SENDMAILCMD
# The last parameter added to the $SENDMAILCMD is $FROM,
# so take that into account for the $SENDMAILPARAMS
SENDMAILPARAMS="-t -f"