Skip to content

Commit 369a386

Browse files
committed
- Improved Installation instructions
- Better Autoresponder script - Fixed error in language file.
1 parent 4cde42f commit 369a386

File tree

5 files changed

+26
-21
lines changed

5 files changed

+26
-21
lines changed

INSTALL_DEBIAN.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ apt-get install vlogger webalizer
9595
7) Install ISPConfig 3
9696

9797
There are two possile scenarios, but not both:
98-
7.1) Install the latest alpha
98+
7.1) Install the latest released version
9999
7.2) Install directly from SVN
100100

101101
apt-get install php5-cli
102102

103103
7.1) Installation of beta 3 from tar.gz
104104

105105
cd /tmp
106-
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.5-beta.tar.gz
107-
tar xvfz ISPConfig-3.0.0.5-beta.tar.gz
106+
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.6-beta.tar.gz
107+
tar xvfz ISPConfig-3.0.0.6-beta.tar.gz
108108
cd ispconfig3_install/install/
109109

110110
7.2) Installation from SVN

interface/web/mail/mail_user_filter_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function getRule() {
119119
{
120120
`maildirmake -f ".$this->dataRecord["target"].' $DEFAULT'."`
121121
`chmod -R 0700 ".'$DEFAULT/'.$this->dataRecord["target"]."`
122-
`echo INBOX.".$this->dataRecord["target"]." >> ".'$MAILDIR'."/courierimapsubscribed`
122+
`echo INBOX.".$this->dataRecord["target"]." >> ".'$DEFAULT'."/courierimapsubscribed`
123123
}
124124
";
125125
}

interface/web/mail/templates/mail_user_autoresponder_edit.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</tr>
1414
<tr>
1515
<td>&nbsp;</td>
16-
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_autoresponder_edit.php');"><div class="buttonEnding"></div>
17-
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_autoresponder_list.php');"><div class="buttonEnding"></div>
16+
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_user_edit.php');"><div class="buttonEnding"></div>
17+
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_user_list.php');"><div class="buttonEnding"></div>
1818
</td>
1919
</tr>
2020
</table>

interface/web/sites/lib/lang/en_web_domain.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $wb["system_group_txt"] = 'Linux Group';
2323
$wb["ip_address_txt"] = 'IP-Address';
2424
$wb["vhost_type_txt"] = 'VHost Type';
2525
$wb["hd_quota_txt"] = 'Harddisk Quota';
26-
$wb["traffic_quota_txt"] = 'Traffic Quaota';
26+
$wb["traffic_quota_txt"] = 'Traffic Quota';
2727
$wb["cgi_txt"] = 'CGI';
2828
$wb["ssi_txt"] = 'SSI';
2929
$wb["ssl_txt"] = 'SSL';

server/conf/autoresponder.master

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
# cc $DEFAULT
2-
xfilter "reformail -r -t -I 'From: $LOGNAME'"
3-
/^To:.*/
4-
getaddr{$MATCH}=~ /^.*/;
5-
MATCH=tolower${MATCH}
6-
flock "{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lock" {
7-
`fgrep -iqx "$MATCH" {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst 2>/dev/null || { \
8-
echo "$MATCH" >> {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst ; \
9-
exit 1 ; \
10-
} `
11-
}
12-
if ( $RETURNCODE == 0 )
13-
exit
14-
cc "| (cat - ; echo ''; cat {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg) | $SENDMAIL -t"
1+
`test -f {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
2+
if ($RETURNCODE==1)
3+
{
4+
{
5+
if (!/^List-Unsubscribe:.*/:h )
6+
{
7+
if (!/^X-Spam-Flag: YES/:h )
8+
{
9+
RESPOND="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg"
10+
RESPONDDB="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst"
11+
12+
# The following must be one contiguous line
13+
cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
14+
-A 'From: $RECIPIENT' -s 'Auto Response: from $RECIPIENT' \
15+
/usr/sbin/sendmail -t -f ''"
16+
}
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)