Index of /coding/autoresponder

Icon  Name                     Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] installer/ 2021-01-14 13:28 - [   ] 2008-10-02 15:35 18K [   ] 2012-04-03 14:53 18K [   ] 2016-06-15 13:17 20K [   ] 2020-10-12 15:30 20K [   ] 2021-01-14 13:36 16K [   ] 2021-01-14 13:37 26K [   ] autoresponder-0.5.sql 2021-01-14 13:27 780 [   ] 2021-01-14 13:37 26K
Autoresponder - Enhanced autoresponder for Parallels Confixx 3.0.0 and above

Enhanced autoresponder is an one-by-one replacment for autoresponder shipped
with Parallels Confixx. Beside the fact that Confixx autoresponder is badly
coded, it's not storing recipients who have already received an email. This
can cause and actually caused mail loops several times.
Enhanced autoresponder is using a database table for storing this recipients.
After a recipient has been added all additional incoming mails from the same
recipient will be dropped for a period of time. This period is 1 day per default
and can be changed in the configuration section of the script.
Additional enhanced autoresponder checks headers and mail addresses for common
strings, such as mailing-lists, spam, other autoresponders, etc. And of course
it's RFC5230 (Sieve Email Filtering: Vacation Extension) compliant.

perl (already required by Confixx)
MailTools (already required by Confixx)

Automatic installer (
  sh ./ /path/to/confixx_main.conf
  sh ./ -- [-y] [-d] [-nb] /path/to/confixx_main.conf

  -y,  --yes        enter yes to all questions
  -nb, --nobackup   don't do any backups
  -d,  --debug      enable debug messages

Manual installation:
* Download the autoresponder + the corresponding sql-file
* Update your confixx database using the sql-file
* Replace the configuration placeholders at the top of the script
* Replace the old autoresponder

Sendmail is not passing the envelope sender (also known as the value of header
"Return-Path") to the executable. Although it won't be a fatal error, the header
should be checked to detect bounces more easily.
In order to let sendmail pass the header, you need to modify your sendmail config
( and add the char "P" to the field "F" in line "prog".
e.g from:
  Mprog,   P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, ....
  Mprog,   P=/usr/sbin/smrsh, F=lsDFMoqeu9P, S=EnvFromL/HdrFromL, ....
"P" should already be defined as "HP?Return-Path: <$g>" (in too).
Don't forget to restart sendmail afterwards.

Configuration can be modified/viewed at the top of the script.
All configuration options have comments to explain their use.

====================== Confixx autoresponder

Usage: <ident> [ -l logfile ] [ -d debuglevel ] [ -v ]

  -i number, --ident=number             The autoresponders ident number.
  -l logfile, --log=logfile             Path to logfile. Default is stderr
  -d debuglevel, --debug=debuglevel     Specify debug level. Default is 0=off
  -v, --version                         Print version number and exit.
  -h, --help                            Print help message.

2020-01-14 (0.5)
* add support for start/end time
2017-05-04 (0.4)
* only mime encode email address phrases
2016-06-15 (0.3)
* convert emailtext BLOB column to TEXT
2012-04-03 (0.2)
* send all messages in UTF-8
  since the underlying database is still latin and the body
  a blob we just convert the data
* use MIME::Lite to generate the mime object
2008-10-02 (0.1 BETA)