Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
369a3860
Commit
369a3860
authored
Jul 15, 2008
by
tbrehm
Browse files
- Improved Installation instructions
- Better Autoresponder script - Fixed error in language file.
parent
4cde42f2
Changes
5
Hide whitespace changes
Inline
Side-by-side
INSTALL_DEBIAN.txt
View file @
369a3860
...
...
@@ -95,7 +95,7 @@ apt-get install vlogger webalizer
7) Install ISPConfig 3
There are two possile scenarios, but not both:
7.1) Install the latest
alpha
7.1) Install the latest
released version
7.2) Install directly from SVN
apt-get install php5-cli
...
...
@@ -103,8 +103,8 @@ apt-get install php5-cli
7.1) Installation of beta 3 from tar.gz
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.
5
-beta.tar.gz
tar xvfz ISPConfig-3.0.0.
5
-beta.tar.gz
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.
6
-beta.tar.gz
tar xvfz ISPConfig-3.0.0.
6
-beta.tar.gz
cd ispconfig3_install/install/
7.2) Installation from SVN
...
...
interface/web/mail/mail_user_filter_edit.php
View file @
369a3860
...
...
@@ -119,7 +119,7 @@ if ( ".'$RETURNCODE'." != 0 )
{
`maildirmake -f "
.
$this
->
dataRecord
[
"target"
]
.
' $DEFAULT'
.
"`
`chmod -R 0700 "
.
'$DEFAULT/'
.
$this
->
dataRecord
[
"target"
]
.
"`
`echo INBOX."
.
$this
->
dataRecord
[
"target"
]
.
" >> "
.
'$
MAILDIR
'
.
"/courierimapsubscribed`
`echo INBOX."
.
$this
->
dataRecord
[
"target"
]
.
" >> "
.
'$
DEFAULT
'
.
"/courierimapsubscribed`
}
"
;
}
...
...
interface/web/mail/templates/mail_user_autoresponder_edit.htm
View file @
369a3860
...
...
@@ -13,8 +13,8 @@
</tr>
<tr>
<td>
</td>
<td><input
name=
"btn_save"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','mail/mail_
autorespond
er_edit.php');"
><div
class=
"buttonEnding"
></div>
<input
name=
"btn_cancel"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
onClick=
"loadContent('mail/mail_
autorespond
er_list.php');"
><div
class=
"buttonEnding"
></div>
<td><input
name=
"btn_save"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_save_txt'}"
onClick=
"submitForm('pageForm','mail/mail_
us
er_edit.php');"
><div
class=
"buttonEnding"
></div>
<input
name=
"btn_cancel"
type=
"button"
class=
"button"
value=
"{tmpl_var name='btn_cancel_txt'}"
onClick=
"loadContent('mail/mail_
us
er_list.php');"
><div
class=
"buttonEnding"
></div>
</td>
</tr>
</table>
...
...
interface/web/sites/lib/lang/en_web_domain.lng
View file @
369a3860
...
...
@@ -23,7 +23,7 @@ $wb["system_group_txt"] = 'Linux Group';
$wb
[
"ip_address_txt"
]
=
'IP-Address'
;
$wb
[
"vhost_type_txt"
]
=
'VHost Type'
;
$wb
[
"hd_quota_txt"
]
=
'Harddisk Quota'
;
$wb
[
"traffic_quota_txt"
]
=
'Traffic Qu
a
ota'
;
$wb
[
"traffic_quota_txt"
]
=
'Traffic Quota'
;
$wb
[
"cgi_txt"
]
=
'CGI'
;
$wb
[
"ssi_txt"
]
=
'SSI'
;
$wb
[
"ssl_txt"
]
=
'SSL'
;
...
...
server/conf/autoresponder.master
View file @
369a3860
# cc $DEFAULT
xfilter "reformail -r -t -I 'From: $LOGNAME'"
/^To:.*/
getaddr{$MATCH}=~ /^.*/;
MATCH=tolower${MATCH}
flock "{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lock" {
`fgrep -iqx "$MATCH" {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst 2>/dev/null || { \
echo "$MATCH" >> {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst ; \
exit 1 ; \
} `
}
if ( $RETURNCODE == 0 )
exit
cc "| (cat - ; echo ''; cat {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg) | $SENDMAIL -t"
\ No newline at end of file
`test -f {vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
if ($RETURNCODE==1)
{
{
if (!/^List-Unsubscribe:.*/:h )
{
if (!/^X-Spam-Flag: YES/:h )
{
RESPOND="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.msg"
RESPONDDB="{vmail_mailbox_base}/mailfilters/$HOST/$USER/.vacation.lst"
# The following must be one contiguous line
cc "| mailbot -t $RESPOND -d $RESPONDDB -D 1 \
-A 'From: $RECIPIENT' -s 'Auto Response: from $RECIPIENT' \
/usr/sbin/sendmail -t -f ''"
}
}
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment