Autoresponder script bugfix
 
The auoresponder that came with my confixx installation was very buggy. This article shows some important information about the autoresponder in confixx (using the autoresponder.pl script in the background).

aliases / aliases.db
First, you have to check your mail.info (often in /var/log/) file for the error: "sendmail[7997]: alias database /etc/aliases.db out of date". This error can occur often in a productive environment with you not knowing of it.
To fix this, you can first try to manually rebuild /etc/aliases.db with this command:
/usr/bin/newaliases
Depending on the error of this command, you can fix that. My file had wrong permissions. Adjusting them helped (files in /etc):
-r--------  1 root   root     2469 Sep 18 11:49 aliases
-rw-rw-r--  1 root   mail     3072 Sep 18 11:49 aliases.db


autoresponder.pl
Now, the following error can occur when sending E-Mail to a user with autoresponder.
----- The following addresses had permanent fatal errors -----
"|/usr/bin/autoresponder.pl 90"
(reason: 126)

That means that your MTA has sent the mail to autoresponder, but wasn't able to execute it.
The permissions of /usr/bin/autoresponder.pl should look like this:
-rwxr-xr-x  1 mail   mail     5743 Sep 18 11:31 autoresponder.pl
I had to set them to 755 to make it work.
Remember that autoresponder.pl contains the root MySQL passwort. Setting this permission will probably make your system security weak, but I didn't find another way to fix this problem...

Also check your Confixx configuration file for the appropriate information:
/root/confixx/confixx_main.conf

Additional Information:
http://kb.swsoft.com/en/599 (Insecure $ENV while running setuid)
 
admin / Dec 09, 2006
   
 
 
Login: 
Pass: 
 
 
     
     
2004 - 2019 / lookass.ch
makememad@lookass.ch