zt2542471631的邮件是多少

outlook2007邮件中预览PDF(zt)
http://helpdesk./659
症状:用户说outlook2007突然没了预览PDF的功能,之前是正常的。如图:提示说
This file cannot be previewed because there are no previewers
installed for it.
原因:插件丢失
解决方法:MS竟然没有这个功能的简单插件,Adobe也没有,不知是何原因。MS关于不同格式的preview有个讨论:链接:
不过安装很麻烦,需要.net环境的支持。
而最简单的方法,还是使用Foxi的pdf预览插件,安装后就立刻可以了。
下载地址:
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。邮件系统相关服务的配置-zt - 不断的前进ING。。。 - 51Testing软件测试网 51Testing软件测试网-中国软件测试人的精神家园
邮件系统相关服务的配置-zt
& 17:05:54
/ 个人分类:
原文地址:1.mysql2.apache3.php4.cyrus-sasl5.postfix6.postfixadmin7.courier-authlib8.courier-imap9.courier-maildrop10.测试11.webmail11.1.squirrelmail12.clamav13.amavisd-new14.spamassassin15.附:启动脚本本文用到的软件 5.0.15网站:下载APACHE 2.0.55网站:http://www.apache.org下载PHP 4.4.1网站:http://www.php.net下载Cyrus-SASL 2.1.21网站:http://asg.web.cmu.edu/sasl下载Postfix 2.2.5网站:http://www.postfix.org下载PostfixAdmin 2.1.0网站:下载Courier-authlib 0.57网站:http://www.courier-mta.org/authlib下载Courier-IMAP 4.0.6网站:http://www.courier-mta.org/imap下载Courier-maildrop 2.0.1网站:http://www.courier-mta.org/maildrop下载SquirrelMail 1.4.5网站:http://www.squirrelmail.org下载Extmail 0.20网站:http://www.extmail.org下载clamav 0.87网站:http://www.clamav.net下载amavisd-new 2.3.3网站:http://www.ijs.si/software/amavisd下载Spamassassin 3.1.0网站:http://spamassassin.apache.org下载我 以前那篇文章中密码加密有问题(密码一加密,smtp认证就通不过),所以下定决心更新一下。这次sasl密码验证机制改为authdaemond(感谢 网友606),并把部分单独列出来。很多人问起我的安装环境,我安装linux的时候,只选了开发工具,的都没选,还有,这些软件包安装的时候都 没有依赖性问题,有的话,我也提出来了。1.安装 mysql 5.0.15# wget /get/Downloads/MySQL-5.../# tar zxvf mysql-5.0.15.tar.gz# cd cd mysql-5.0.15# groupadd mysql# useradd -g mysql mysql# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \./configure --prefix=/usr/local/mysql \--enable-assembler --with-mysqld-ldflags=-all-static --with-charset=gbk# make# make install# cp support-files/f /f设置自启动# cp support-files/mysql.server /etc/rc.d/init.d/mysqld# chmod 755 /etc/rc.d/init.d/mysqld# chkconfig --add mysqld安装完以后要初始化# cd /usr/local/mysql# /usr/local/mysql/bin/mysql_install_db --user=mysql# chown -R root .# chown -R mysql var# chgrp -R mysql .好了,至此mysql安装完毕,你可以这样起动你的mysql服务# service mysqld start为了能让系统找到mysql,请运行如下命令# PATH=$PATH:/usr/local/mysql/bin# export PATH# echo "/usr/local/mysql/lib/mysql" && /etc/ld.so.conf# ldconfigGo to top.2.安装 apache 2.0.55# wget /httpd/httpd-2.0.55.tar.bz2# tar jxvf httpd-2.0.55.tar.bz2# cd httpd-2.0.55# ./configure --prefix=/usr/local/apache# make# make install设置自启动# cp support/apachectl /etc/init.d/httpd修改/etc/init.d/httpd# vi /etc/init.d/httpd(前面几行改成如下样子)#!/bin/sh## Startup script. for the Apache
Server# chkconfig: - 85 15# description: Apache is a World Wide Web server. It is used to serve \# HTML files and CGI.# processname: httpd# pidfile: /usr/local/apache/log/httpd.pid# config: /usr/local/apache/conf/httpd.conf# chkconfig --add httpd# chmod 755 /etc/init.d/httpd# chkconfig httpd on创建网页根目录# mkdir /var/www修改apache配置文件# vi /usr/local/apache/conf/httpd.conf//存放网页的目录,原来为DocumentRoot "",改成:DocumentRoot "/var/www"//这句应该和DocumentRoot 的目录保持一致,原来为&Directory ""&,改成:&Directory "/var/www"&//Indexes:当在目录中找不到DirectoryIndex列表中指定的文件就生成当前目录的文件列表//FollowSymlinks:允许符号链接跟随,访问不在本目录下的文件Options Indexes FollowSymLinks//禁止读取.htaccess配置文件的内容AllowOverride None//指定先执行Allow(允许)访问规则,再执行Deny(拒绝)访问规则Order allow,deny//设置Allow(允许)访问规则,允许所有连接Allow from all&/Directory&启动服务# service httpd startGo to top.3.安装php 4.4.1# wget http://cn.php.net/get/php-4.4.1.tar.bz2/fr...rom/this/mirror# tar jxvf php-4.4.1.tar.bz2# cd php-4.4.1# ./configure \--prefix=/usr/local/php \--with-mysql=/usr/local/mysql \--with-apxs2=/usr/local/apache/bin/apxs# make# make install# cp php.ini-dist /usr/local/php/lib/php.ini# vi /usr/local/php/lib/php.ini;default_charset = "iso-8859-1"在这行下面加一行default_charset = "gbk"# vi /usr/local/apache/conf/httpd.conf找到#AddType application/x-tar .tgz 这行,在下面加两行AddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps找到下面一行在后面加上index.php,这表示网站的默认页也能够为index.phpDirectoryIndex index.html index.html.var index.php注意:改变了http.conf后,要重启apache服务Go to top.4.安装 cyrus-sasl 2.1.21先关闭as4默认安装的sasl# mv /usr/lib/sasl /usr/lib/sasl.OFF# mv /usr/lib/sasl2 /usr/lib/sasl2.OFF编译安装cyrus-sasl2.1.21# wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/c...l-2.1.21.tar.gz# tar zxvf cyrus-sasl-2.1.21.tar.gz# cd cyrus-sasl-2.1.21# ./configure \--disable-anon -enable-plain --enable-login \--enable-sql --with-mysql=/usr/local/mysql \--with-mysql-includes=/usr/local/mysql/include/mysql \--with-mysql-libs=/usr/local/mysql/lib/mysql \--with-authdaemond# make# make install更新lib库# echo "/usr/local/lib" && /etc/ld.so.conf# ldconfig重要# ln -s /usr/local/lib/sasl2 /usr/lib/sasl2Go to top.5.安装postfix 2.2.5如果你的系统上原来有sendmail,先将其停止并将其文件改名# /etc/init.d/sendmail stop# chkconfig --level 0123456 sendmail off# mv /usr/bin/newaliases /usr/bin/newaliases.orig# mv /usr/bin/mailq /usr/bin/mailq.orig# mv /usr/sbin/sendmail /usr/sbin/sendmail.orig开始安装# groupadd -g 12345 postfix# useradd -u 12345 -g 12345 -c postfix -d/dev/null -s/sbin/nologin postfix# groupadd -g 54321 postdrop# wget 99.com/postfix/official/p...ix-2.2.5.tar.gz# tar zxvf postfix-2.2.5.tar.gz# cd postfix-2.2.5(Building Postfix with SASL authentication and mysql support)# make -f Makefile.init makefiles \'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl' \'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'# make install注意:本例中Mysql安装在/usr/lcoal/mysql,sasl2安装在/usr/lib/sasl2。如果安装路径不同,请自行修改编译时CCARGS和AUXLIBS选项。在执行make install的时候可能会得到如下的提示:/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12" not found这是因为mysql不是安装在默认目录中的,所以需要告诉postfix应该到哪里去找libmysqlclient.so.12,使用ldconfig就可以达到这个目的# echo /usr/local/mysql/lib/mysql && /etc/ld.so.conf# ldconfigGo to top.6.安装postfixadmin 2.1.0建立apache和maildrop的用户和组# groupadd vmail -g 1001# useradd vmail -u 1001 -g 1001 -s/sbin/nologin -d/dev/null# vi /usr/local/apache/conf/httpd.conf把User nobodyGroup #-1改为User vmailGroup vmail# wget http://high5.net/postfixadmin/download.php...admin-2.1.0.tgz# tar -zxvf postfixadmin-2.1.0.tgz# mv postfixadmin-2.1.0 /var/www/postfixadmin更改权限,假定运行apache的用户和组为vmail# chown -R vmail:vmail /var/www/postfixadmin# cd /var/www/postfixadmin# chmod 640 *.php *.css# cd /var/www/postfixadmin/admin/# chmod 640 *.php .ht*# cd /var/www/postfixadmin/images/# chmod *.png# cd /var/www/postfixadmin/languages/# chmod 640 *.lang# cd /var/www/postfixadmin/templates/# chmod 640 *.tpl# cd /var/www/postfixadmin/users/# chmod 640 *.php建立mysql表# cd /var/www/postfixadmin# mysql -u root & DATABASE_MYSQL.TXT# cp config.inc.php.sample config.inc.php# vi config.inc.php本例中的配置如下:$CONF['default_language'] = 'cn';$CONF['database_type'] = 'mysql';$CONF['database_host'] = 'localhost';$CONF['database_user'] = 'postfixadmin';$CONF['database_password'] = 'postfixadmin';$CONF['database_name'] = 'postfix';$CONF['encrypt'] = 'md5crypt';$CONF['domain_path'] = 'YES';$CONF['domain_in_mailbox'] = 'NO';$CONF['quota'] = 'YES';$CONF['quota_multiplier'] = '1024000';邮箱的存储格式使用domain.ltd/username的形式,所以设置:$CONF['domain_path'] = 'YES';$CONF['domain_in_mailbox'] = 'NO';然 后打开浏览器,进入postfixadmin的欢迎界面,点击网页上的setup,看看检查是否通过,记得要删除setup.php文件。然后进入 /postfixadmin/admin/index.php,就可以新建域名、管理员以及邮箱了。Go to top.# vi /etc/postfix/main.cf#=====================BASE=========================myhostname = mydomain = .commyorigin = $mydomainmydestination = $myhostname localhost localhost.$mydomainmynetworks = 127.0.0.0/8inet_interfaces = all#=====================Vritual Mailbox settings=========================virtual_mailbox_base = /var/mailboxvirtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cfvirtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cfvirtual_alias_domains =virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cfvirtual_uid_maps = static:1001virtual_gid_maps = static:1001virtual_transport = maildropmaildrop_destination_recipient_limit = 1maildrop_destination_concurrency_limit = 1#====================QUOTA========================message_size_limit = virtual_mailbox_limit = virtual_create_maildirsize = yesvirtual_mailbox_extended = yesvirtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cfvirtual_mailbox_limit_override = yesvirtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.virtual_overquota_bounce = yes#====================SASL========================broken_sasl_auth_clients = yessmtpd_recipient_restrictions =permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination,permitsmtpd_sasl_auth_enable = yessmtpd_sasl_local_domain = $myhostnamesmtpd_sasl_security_options = noanonymoussmtpd_sasl_application_name = smtpdsmtpd_banner=$myhostname ESMTP "Version not Available"Go to top.建立/var/mailbox并设置权限# mkdir /var/mailbox# chown -R vmail:vmail /var/mailbox# chmod -R ug+rwx,o-rwx /var/mailbox建立/etc/postfix/mysql文件夹和MySQL查询配置文件# mkdir /etc/postfix/mysql1、vi /etc/postfix/mysql/mysql_virtual_alias_maps.cfuser = postfixpassword = postfixhosts = localhostdbname = postfixtable = aliasselect_field = gotowhere_field = address2、vi /etc/postfix/mysql/mysql_virtual_domains_maps.cfuser = postfixpassword = postfixhosts = localhostdbname = postfixtable = domainselect_field = descriptionwhere_field = domain#additional_conditions = and backupmx = '0' and active = '1'3、vi /etc/postfix/mysql/mysql_virtual_mailbox_maps.cfuser = postfixpassword = postfixhosts = localhostdbname = postfixtable = mailboxselect_field = maildirwhere_field = username#additional_conditions = and active = '1'4、vi /etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cfuser = postfixpassword = postfixhosts = localhostdbname = postfixtable = mailboxselect_field = quotawhere_field = username#additional_conditions = and active = '1'Go to top.配置 /usr/local/lib/sasl2/smtpd.confsasl密码验证机制为authdaemond# vi /usr/local/lib/sasl2/smtpd.confpwcheck_methoduthdaemondlog_level:3srp_mda:md5password_formatryptmech_list:PLAIN LOGINauthdaemond_path: /usr/local/var/spool/authdaemon/socketGo to top.7.安装Courier-authlib 0.57新版本的imap不再包含authentication library,必须先安装 Courier authentication library# wget http://www.courier-mta.org/beta/courier-au...0051004.tar.bz2# tar jxvf courier-authlib-0.57..tar.bz2# cd courier-authlib-0.57.# ./configure \--with-redhat \--with-authmysql=yes \--with-mailuser=vmail --with-mailgroup=vmail \--with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql/# make# make install# make install-configure重要# chmod +x /usr/local/var/spool/authdaemon/# vi /usr/local/etc/authlib/authdaemonrcauthmodulelist="authmysql"# vi /usr/local/etc/authlib/authmysqlrcMYSQL_SERVER localhostMYSQL_SOCKET /tmp/mysql.sockMYSQL_DATABASE postfixMYSQL_USERNAME postfixMYSQL_PASSWORD postfixMYSQL_USER_TABLE mailboxMYSQL_LOGIN_FIELD usernameMYSQL_CRYPT_PWFIELD passwordMYSQL_UID_FIELD '1001'MYSQL_GID_FIELD '1001'MYSQL_HOME_FIELD '/var/mailbox/'MYSQL_MAILDIR_FIELD maildirMYSQL_NAME_FIELD nameMYSQL_QUOTA_FIELD concat(quota,'S')MYSQL_WHERE_CLAUSE active='1'DEFAULT_注意:确认在这个文件中不能用空格键(包括行尾),只能用tab键。确认只使用单引号,比如:'/var/mailbox/','UID','GID'(本文为'1001')localhost不能用单引号确认你的/etc/hosts文件中有localhost编译时如果支持Ipv6可能导致错误MYSQL_GID_FIELD 和MYSQL_UID_FIELD是maildrop的UID和GID,而不是MySQL的启动服务自启动:# cp courier-authlib.sysvinit /etc/rc.d/init.d/courier-authlib# chmod 755 /etc/rc.d/init.d/courier-authlib# chkconfig --level 0123456 courier-authlib on手动启动服务:# authdaemond startGo to top.8.安装Courier-imap 4.0.6# wget http://www.courier-mta.org/beta/imap/couri...0051004.tar.bz2# tar jxvf courier-imap-4.0.6..tar.bz2# cd courier-imap-4.0.6.# ./configure \--prefix=/usr/local/imap \--with-redhat \--disable-root-check \--enable-unicode=utf-8,iso-8859-1,gb2312,gbk,gb18030 \--with-trashquota \--with-dirsync# make# make install-strip (先install-strip,如果失败,再make install)# make install-configure# vi /usr/local/imap/etc/pop3dPOP3DSTART=YES# vi /usr/local/imap/etc/imapdIMAPDSTART=YES让imap自启动:# cp courier-imap.sysvinit /etc/rc.d/init.d/courier-imap# chmod 755 /etc/rc.d/init.d/courier-imap# chkconfig --level 0123456 courier-imap onGo to top.9.安装Courier-maildrop 2.0.1先装pcre# wget http://optusnet.dl.sourceforge.net/sourcef...cre-6.3.tar.bz2# tar jxvf pcre-6.3.tar.bz2# cd pcre-6.3# ./configure# make# make install# wget http://optusnet.dl.sourceforge.net/sourcef...p-2.0.1.tar.bz2# tar jxvf maildrop-2.0.1.tar.bz2# cd maildrop-2.0.1# ./configure \--prefix=/usr/local/maildrop \--enable-sendmail=/usr/sbin/sendmail \--enable-trusted-users='root vmail' \--enable-syslog=1 \--enable-maildirquota \--enable-maildrop-uid=1001 \--enable-maildrop-gid=1001 \--with-trashquota \--with-dirsync# make# make install# cp /usr/local/maildrop/bin/maildrop /usr/bin# chmod a+rx /usr/bin/maildrop运行maildrop -v应该有如下提示信息:maildrop 2.0.0 Copyright
Double Precision, Inc.GDBM extensions enabled.Courier Authentication Library extension enabled.Maildir quota extension enabled.This program is distributed under the terms of the GNU General PublicLicense. See COPYING for additional information.新建/etc/maildroprc文件# vi /etc/maildroprclogfile "/var/mailbox/maildrop.log"to "$HOME/$DEFAULT"# chmod a+r /etc/maildroprc配置Postfix# vi /etc/postfix/master.cfmaildrop unix - n n - - pipeflags=DRhu user=vmail:vmail argv=/usr/local/maildrop/bin/maildrop -w 90 -d ${recipient}由于maildrop没有建立及删除maildir的功能,因此由脚本实现(是否有什么安全隐患?)# vi /etc/sudoersvmail ALL = NOPASSWD: /usr/sbin/maildirmake.sh , /usr/sbin/maildirdel.sh新建/usr/sbin/maildirmake.sh文件# vi /usr/sbin/maildirmake.sh#!/bin/bashset -eif [ ! -d /var/mailbox/$1 ]thenmkdir /var/mailbox/$1fichown -R vmail:vmail /var/mailbox/$1cd "/var/mailbox/$1"/usr/local/imap/bin/maildirmake $2chown -R vmail:vmail /var/mailbox/$1/$2新建/usr/sbin/maildirdel.sh文件# vi /usr/sbin/maildirmake.sh#!/bin/bashrm -rf /var/mailbox/$1/$2# chmod 755 /usr/sbin/maildirmake.sh# chmod 755 /usr/sbin/maildirdel.sh更改postfixadmin目录及postfixadmin/admin目录下的create-mailbox.php文件在这两个文件的$tQuota = $CONF['maxquota'];行后加一行(postfixadmin/admin目录下的大概在200行,postfixadmin目录下的大概在?行):# vi /var/www/postfixadmin/admin/create-mailbox.php (vi /var/www/postfixadmin/create-mailbox.php)system("sudo /usr/sbin/maildirmake.sh $fDomain ".$_POST['fUsername']);更改postfixadmin目录及postfixadmin/admin目录下的delete.php文件在这两个文件的$result = db_query ("SELECT * FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'";行后加几行:# vi /var/www/postfixadmin/admin/delete.php (vi /var/www/postfixadmin/delete.php)$userarray=explode("@",$fDelete);$user=$userarray[0];$domain=$userarray[1];system("sudo /usr/sbin/maildirdel.sh $domain $user";10.测试启动所有服务# service httpd start# service mysqld start# postfix start# service courier-authlib start# service courier-imap start# netstat -ant | grep "LISTEN"tcp 0 0 0.0.0.0:.0.0:* LISTENtcp 0 0 0.0.0.0:25 0.0.0.0:* LISTENtcp 0 0 :::110 :::* LISTENtcp 0 0 :::143 :::* LISTENtcp 0 0 :::80 :::* LISTEN在postfixadmin中建立一测试帐户测试smtp# perl -MMIME:ase64 -e 'print encode_base64("test\@";'dGVzdEB0ZXN0LmNvbQ==# perl -MMIME:ase64 -e 'print encode_base64("test";'dGVzdA==# telnet localhost 25Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1).Escape character is '^]'.220
ESMTP "Version not Available"ehlo 250-250-PIPELINING250-SIZE 250-VRFY250-ETRN250-AUTH LOGIN PLAIN250-AUTH=LOGIN PLAIN250 8BITMIMEauth login334 VXNlcm5hbWU6dGVzdEB0ZXN0LmNvbQ==334 UGFzc3dvcmQ6dGVzdA==235 Authentication successful测试POP3和IMAP# telnet localhost 110+OK Hello thereuser +OK Password required.pass test+OK Logged in.quit+OK bye-bye测试maildrop# maildrop -V 9 -d maildrop: authlib: groupid=1001maildrop: authlib: userid=1001maildrop: authlib: logname=, home=/var/mailbox/, /test/maildrop: Changing to /var/mailbox/ctrl+c退出Go to top.11.webmail11.1.安装squirrelmail 1.4.5下载squirrelmail及中文包# wget http://keihanna.dl.sourceforge.net/sourcef...l-1.4.5.tar.bz2# wget http://optusnet.dl.sourceforge.net/sourcef...0050904.tar.bz2把squirreelmail解压到/var/www目录下。# tar jxvf squirrelmail-1.4.5.tar.bz2 -C /var/www/# mv /var/www/squirrelmail-1.4.5/ /var/www/squirrelmail解压中文包# tar jxvf zh_CN-1.4.5-.tar.bz2 -C /var/www/squirrelmail/在配置squirrelmail之前先下载三个插件:Quota Usage Version 1.3# wget http://www.squirrelmail.org/countdl.php?fi....3-1.2.7.tar.gzCompatibility Version 2.0.2# wget http://www.squirrelmail.org/countdl.php?fi...ty-2.0.2.tar.gzChange MySQL Password Version 3.2# wget http://www.squirrelmail.org/countdl.php?fi....2-1.2.8.tar.gz把这三个插件解压到squirrelmail的plugin目录下# tar zxvf quota_usage-1.3-1.2.7.tar.gz -C /var/www/squirrelmail/plugins/# tar zxvf compatibility-2.0.2.tar.gz -C /var/www/squirrelmail/plugins/# tar zxvf change_mysqlpass-3.2-1.2.8.tar.gz -C /var/www/squirrelmail/plugins/第一个插件是用来显示邮箱的使用情况的;第二个和第三个插件是用来修改密码的。如果不想装这些插件,请跳过。配置Quota Usage# cd /var/www/squirrelmail/plugins/quota_usage# cp config.php.sample config.php配置Change MySQL Password# cd /var/www/squirrelmail/plugins/change_mysqlpass# cp config.php.sample config.php# vi config.php更改如下几个变量:$mysql_database = 'postfix';$mysql_table = 'mailbox';$mysql_userid_field = 'username';$mysql_password_field ='password';$mysql_manager_id = 'postfix';$mysql_manager_pw = 'postfix';$mysql_unixcrypt = 0;$mysql_MD5crypt = 1;$use_ssl_for_password_change = 0;配置squirrelmail# cd /var/www/squirrelmail# ./configure进入10. Languages把1. Default Language : 的en_US改成zh_CN。进入8. Plugins,添加这三个插件# chown -R vmail:vmail /var/www/squirrelmail/data/# chmod -R 730 /var/www/squirrelmail/data/打开浏览器输入http://192.168.0.5/squirrelmail/,用登陆,你将会在屏幕的左上角看到邮箱的使用情况,你还会看到一条警告信息:Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /var/www/squirrelmail/plugins/change_mysqlpass/functions.php on line 129这是由于数据库结构不一致造成的,你只要把functions.php中的129行注释调即可(在行首加//)Go to top.12.安装clamav 0.87# wget http://optusnet.dl.sourceforge.net/sourcef...mav-0.87.tar.gz# tar zxvf clamav-0.87.tar.gz# cd clamav-0.87# groupadd clamav# useradd -g clamav -s/sbin/nologin -d/dev/null clamav# ./configure --prefix=/usr/local/clamav --with-dbdir=/usr/local/share/clamav --disable-zlib-vcheck# make# make check# make install编辑/usr/local/clamav/etc/clamd.conf# vi /usr/local/clamav/etc/clamd.conf#Verbose logging with syslogLogSyslogLogVerboseLogFacility LOG_MAILLogFile /var/log/clamav/clamd.log#Change pid file locationPidFile /var/run/clamav/clamd.pidDatabaseDirectory /usr/local/share/clamav#Set the clamav socketzt&Outlook&发送的电子邮件中附件,在&Notes&中显示为&c.dtf&或&attxxx.dat
通过 Outlook 发送的电子邮件中附件,在 Notes
中显示为 c.dtf 或者 attxxx.dat
(troubleshooting)
http://www-/support/docview.wss?uid=swg
从Microsoft& Outlook 98& 或 Outlook 2000& 发送带附件的邮件,在Lotus
Notes&上收到时,附件名显示为c.dtf
或者attxxx.dat。从Outlook发送的不带附件的邮件,Notes收到时,可以正常显示。
这个问题已经报告给质量工程部门,编号为:SPR# LMIL4ETR6P,已被确定为不属于软件问题。
根据技术文档 ,在
Domino 6.5.6, 7.0.2 以及 8.0 以上版本的 Domino 外来邮件网关服务器上启用以下
notes.ini参数之后,可以解析发自 Outlook 的 TNEF 格式的附件。
TNEFEnableConversion=1
什么是TNEF?
传输中性封装格式(TNEF)是微软专用的发送富文本格式邮件的一种封装方式。TNEF为微软公司的专利技术,在
Outlook,Outlook Express,和 Microsoft Exchange&等产品中得到应用。Notes
不能解译TNEF。
通过两种方法可以生成TNEF附件:
1. 将 Exchange 的 Internet 邮件连接器(IMC)配置为发送TNEF。Internet
邮件连接器(IMC)的默认选项设为用户,意味着在客户端可以选择是否使用 TNEF。IMC
的其他选项包括“总是”或“从不”。
2. 在地址簿上可以针对每个收件人设置是否发送“winmail.dat”(Exchange RTF 格式附件)。
Exchange服务器级别设置将覆盖个人地址簿的设置。还要注意,在地址簿上关于设置的选项用词在微软邮件客户端的不同版本中存在一些差异。
请检查从 Outlook 客户端发送邮件的用户设置,确保没有使用 Exchange
富文本格式发送。如果用户的地址在个人地址簿中,则取消选项“总是使用Microsoft Exchange
富文本格式发送到接收者”(个人姓名和地址簿 -&SMTP & 通用 选项卡)。
同时,检查从 Outlook 发送的电子邮件是否指定了多个接收者。如果其中一个邮件接收者是使用 Outlook
富文本格式的,而其他的接收者不是,那么使用富文本格式的邮件接收者将不能正确的接收邮件,而没有使用富文本格式的接收者可以正确的接收邮件。
更多信息,请参照微软 Technet 文档
如何确定某个附件确实是TNEF编码?
如果邮件在邮箱中以MIME的形式存储, 最简单的校验方式如下:
1. 在 Notes 客户端打开文档。
2. 从视图菜单, 选择 打开 -& 页面源,查看邮件的 MIME 内容。
3. 在 MIME 内容的 Body 查找附件相关部分。如果头信息包含类似 "Content-Transfer-Encoding:
base64" 或者 "Content-Type: application/ms-tnef",说明这个附件采用了 TNEF
Outlook 2002 的变化:
-- 将邮件格式改为纯文本,HTML,或者富文本。
-- 将所有的新邮件改为默认邮件格式。
* 从工具菜单中选择 选项 -& 邮件格式 ,在“编写邮件格式”列表中选择你想要的格式。
-- 将某个新邮件设为默认邮件格式。
* 从 Microsoft Outlook 主窗口中选择菜单 动作 -& 新邮件使用 列表中点击你想使用的格式。
-- 改变你收到的或者已经创建的邮件的格式
* 在邮件打开时,从格式菜单中选择你想使用的格式(纯文本,HTML,或者富文本)。
注意:如果你使用 Microsoft Word 作为邮件编辑器,请参照 Word 在线帮助。
-- 改变发送到特殊联系人的所有邮件的的格式。
* 在邮件箱里,双击此联系人的电子邮件地址打开联系人。在 Internet 格式列表中,
选择你想要发给这个接收者的邮件格式。先点问号,然后点 Internet 格式,以获取关于格式选项的帮助。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

我要回帖

更多关于 zt systems是什么公司 的文章

 

随机推荐