
31st December 2005, 15:47
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Default Mail scan settings for new users
Hello,
I think life would be easier for us (web admins) if ISPConfig by default activated virus and spam filters for each new created user. If a user does not want his / her email scanned, then they can log in and disable it. I assume this can be done using forms designer, but there was no documentation of it in the manuals.
|

31st December 2005, 18:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
You could change the table definition for the table isp_isp_user from
Code:
CREATE TABLE `isp_isp_user` (
`doc_id` bigint(20) NOT NULL auto_increment,
`doctype_id` bigint(20) NOT NULL default '1014',
`user_username` varchar(32) default NULL,
`user_passwort` varchar(20) default NULL,
`user_speicher` varchar(10) default NULL,
`user_admin` char(1) default NULL,
`user_shell` char(1) default NULL,
`user_emailalias` text,
`user_name` varchar(255) default NULL,
`status` char(1) default NULL,
`user_autoresponder` char(1) default NULL,
`user_autoresponder_text` text,
`user_mailquota` varchar(10) default NULL,
`user_catchallemail` char(1) default '0',
`user_mailscan` char(1) default NULL,
`user_emailweiterleitung_local_copy` smallint(6) default NULL,
`user_email` varchar(255) default NULL,
`user_emailweiterleitung` text,
`user_spamfilter` char(1) default NULL,
`spam_strategy` varchar(255) NOT NULL default 'accept',
`spam_hits` varchar(255) default '5.0',
`spam_rewrite_subject` char(1) NOT NULL default '1',
`spam_subject_tag` varchar(255) NOT NULL default '***SPAM*** ',
`antivirus` char(1) NOT NULL default '0',
`user_lang` char(2) NOT NULL default '',
PRIMARY KEY (`doc_id`),
KEY `doctype_id` (`doctype_id`)
) TYPE=MyISAM;
to
Code:
CREATE TABLE `isp_isp_user` (
`doc_id` bigint(20) NOT NULL auto_increment,
`doctype_id` bigint(20) NOT NULL default '1014',
`user_username` varchar(32) default NULL,
`user_passwort` varchar(20) default NULL,
`user_speicher` varchar(10) default NULL,
`user_admin` char(1) default NULL,
`user_shell` char(1) default NULL,
`user_emailalias` text,
`user_name` varchar(255) default NULL,
`status` char(1) default NULL,
`user_autoresponder` char(1) default NULL,
`user_autoresponder_text` text,
`user_mailquota` varchar(10) default NULL,
`user_catchallemail` char(1) default '0',
`user_mailscan` char(1) default NULL,
`user_emailweiterleitung_local_copy` smallint(6) default NULL,
`user_email` varchar(255) default NULL,
`user_emailweiterleitung` text,
`user_spamfilter` char(1) default '1',
`spam_strategy` varchar(255) NOT NULL default 'accept',
`spam_hits` varchar(255) default '5.0',
`spam_rewrite_subject` char(1) NOT NULL default '1',
`spam_subject_tag` varchar(255) NOT NULL default '***SPAM*** ',
`antivirus` char(1) NOT NULL default '1',
`user_lang` char(2) NOT NULL default '',
PRIMARY KEY (`doc_id`),
KEY `doctype_id` (`doctype_id`)
) TYPE=MyISAM;
|

25th October 2007, 15:19
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Where will it’s be best to edit the default value in web gui or in ispconfig database table isp_isp_user
I have change the value for spam, virus and user_speicher in table isp_isp_user.
Spam and virus is working but the user_speicer is still -1 and if I log in isp_isp_user form there is no change.
|

26th October 2007, 12:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
You will ahve to change the default values in the database and the form editor.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 23:22.
|
Recent comments
23 hours 30 min ago
23 hours 35 min ago
1 day 4 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
2 days 16 min ago
2 days 4 hours ago
2 days 5 hours ago