Changeset 181
- Timestamp:
- 09/09/07 14:51:41 (16 months ago)
- Location:
- trunk/system_scripts
- Files:
-
- 2 modified
-
create_mailfilters.pl (modified) (2 diffs)
-
mail_config.default.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system_scripts/create_mailfilters.pl
r178 r181 86 86 if ($b_sth->rows == 1) { 87 87 my @row_b = $b_sth->fetchrow_array; 88 if ($row_b[0] == 1) {88 if ($row_b[0] eq "1") { 89 89 my $b_s_sth=$dbh->prepare("SELECT value FROM spamassassin WHERE preference='rewrite_header subject' AND username=?"); 90 90 $b_s_sth->execute($email); … … 133 133 if ($eo_sth->rows==1) { 134 134 my @row_eo=$eo_sth->fetchrow_array; 135 my $sql=sprintf("UPDATE email_options SET options=%s WHERE email=% dAND conf=%s",135 my $sql=sprintf("UPDATE email_options SET options=%s WHERE email=%s AND conf=%s", 136 136 $dbh->quote($value), 137 137 $dbh->quote($uid), -
trunk/system_scripts/mail_config.default.conf
r162 r181 49 49 sa_wb_listing = /usr/local/cpves/sa_wb_listing.pl 50 50 51 #path to spamc52 spamassassin = /usr/bin/spamc53 54 51 #Autowhitelist local domains 55 52 whitelist_local_domains = 1
