再现理想 发表于 2015-1-16 12:01:35

来看看:LINUX下Mail服务器设置

网络操作命令:ifconfig、ip、ping、netstat、telnet、ftp、route、rloginrcp、finger、mail、nslookup
跟着互联网的飞速开展,电子邮件已成为人们生存中必不成少的通讯工具。架设邮件体系绝对来讲对照的贫苦些,在网上有良多的相干材料能够查阅。真的很感激这么多热于贡献的网友,使这个收集加倍的壮大。一向以来都想架设本人的MAIL服务器,因为工夫和前提的干系不曾如愿,比及有空了二心放到这下面的时分,又碰到了林林总总的成绩,在我永不保持信心下,我架设的邮件服务器终究乐成。固然了,功效另有太多不完美的中央,我会在今后的工夫加以填补,使其加倍的壮大。此次实验感到颇多,进修是一个永无尽头的历程,
永久不要停止在一个中央固执不前,碰到成绩必定要办理它,在碰到成绩息争决成绩的过程当中找到人生兴趣。以下我把本人的安装历程写出来,不求给宽大网友指导迷津,只求本人可以三省吾身。信任本人,一天发展一点,一天堆集一点。
安装ucspi-tcp用来复杂的创建客户机-服务器tcp背景程序
#tarzxvfucspi-tcp0.88.tar.gz
#cducspi-tcp-0.88
#make
#makesetupcheck
./install
./instcheck
安装daemontools
DDDDDD是inetd和winetd的取代品,用它来监听qmail-send,qmail-smtpd,qmail-pop3d
#mkdir-p/package
#chmod1755/package/
#cd/package/
#tarzxvfdaemontools-0.76.tar.gz
#cdadmin/daemontools-0.76/
#patch-p1</package/daemontools-0.76.errno.patch
patchingfilesrc/error.h
#package/install
Addingsvscanboottoinittab...
initshouldstartsvscannow.
测试以下:
#sleep5
#psax|grepsvscan
31570?S0:00/bin/sh/command/svscanboot
31572?S0:00svscan/service
31580pts/1S0:00grepsvscan
安装qmailDDD本文的配角,天下上利用最广的邮件体系之一
#tarzxvfqmail-1.03.tar.gz
#cdqmail-1.03
#patch-p1<../qmail-1.03.errno.patch
patchingfilecdb_seek.c
patchingfiledns.c
patchingfileerror.3
patchingfileerror.h
#mkdir/var/qmail
#groupaddnofiles
#useradd-gnofiles-d/var/qmail/aliasalias
#useradd-gnofiles-d/var/qmailqmaild
#useradd-gn
12345678910...下一页>>


尽我能力帮助他人,在帮助他人的同时你会深刻巩固知识。

再现理想 发表于 2015-1-16 13:02:32

来看看:LINUX下Mail服务器设置

系统安全相关命令:passwd、su、umask、chgrp、chmod、chown、chattr、sudo、pswho
ofiles-d/var/qmailqmaill</P>#useradd-gnofiles-d/var/qmailqmailp
#groupaddqmail
#useradd-gqmail-d/var/qmailqmailq
#useradd-gqmail-d/var/qmailqmailr
#useradd-gqmail-d/var/qmailqmails
#make
#makesetupcheck
#./config-fastmail.china-yr.com
Yourfullyqualifiedhostnameismail.china-yr.com.
Puttingmail.china-yr.comintocontrol/me...
Puttingchina-yr.comintocontrol/defaultdomain...
Puttingchina-yr.comintocontrol/plusdomain...
Puttingmail.china-yr.comintocontrol/locals...
Puttingmail.china-yr.comintocontrol/rcpthosts...
NowqmailwillrefusetoacceptSMTPmessagesexcepttomail.china-yr.com.
Makesuretochangercpthostsifyouaddhoststolocalsorvirtualdomains!
#cd~alias;touch.qmail-postmaster.qmail-mailer-daemon.qmail-root
#chmod644~alias/.qmail*
在ftp://ftp.pipeline.com.au/pipeint/sources/linux/WebMail/qmailctl.txt
下载qmailctl.txt而且上传到指定目次
#cpqmailctl.txt/etc/init.d/qmail
#mkdir-p/var/qmail/supervise/qmail-send/log
#mkdir-p/var/qmail/supervise/qmail-smtpd/log
#mkdir-p/var/qmail/supervise/qmail-pop3d/log
#vi/var/qmail/supervise/qmail-send/run
#!/bin/sh
execenv-PATH="/var/qmail/bin:$PATH"qmail-start./Maildir/
#vi/var/qmail/supervise/qmail-send/log/run
#!/bin/sh
exec/usr/local/bin/setuidgidqmaill/usr/local/bin/multilogt\
s10000000n30/var/log/qmail/send
#vi/var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id-uqmaild`
NOFILESGID=`id-gqmaild`
exec/usr/local/bin/softlimit-m2000000\
/usr/local/bin/tcpserver\
-H-lhostname.yourdomain.com\
-v-x/etc/tcp.smtp.cdb\
-c
上一页12345678910...下一页>>


为什么我使用一个命令的时候,系统告诉我找不到该目录,我要如何限制使用者的权限等问题,这些问题其实都不是很难的。

再现理想 发表于 2015-1-16 13:03:53

来看看:LINUX下Mail服务器设置

虽然Linux桌面应用发展很快,但是命令在Linux中依然有很强的生命力。Linux是一个命令行组成的操作系统,精髓在命令行。
20-R-u"$QMAILDUID"-g"$NOFILESGID"0smtp\</P>/var/qmail/bin/qmail-smtpdhostname.yourdomain.com\
/var/lib/vpopmail/bin/vchkpw/bin/true2>&1
#vi/var/qmail/supervise/qmail-smtpd/log/run
#!/bin/sh
exec/usr/local/bin/setuidgidqmaill/usr/local/bin/multilogts10000000\
n30/var/log/qmail/smtpd
#vi/var/qmail/supervise/qmail-pop3d/run
/usr/local/bin/tcpserver\
-H-lexample.com\
-v-x/etc/tcp.pop3.cdb-c30-R0pop3\
/var/qmail/bin/qmail-popupexample.com\
/var/lib/vpopmail/bin/vchkpw/var/qmail/bin/qmail-pop3dMaildir2>&1
#vi/var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec/usr/local/bin/setuidgidqmaill/usr/local/bin/multilogts10000000\
n30/var/log/qmail/pop3d
#chmod755/var/qmail/supervise/qmail-send/run
#chmod755/var/qmail/supervise/qmail-send/log/run
#chmod755/var/qmail/supervise/qmail-smtpd/run
#chmod755/var/qmail/supervise/qmail-smtpd/log/run
#chmod755/var/qmail/supervise/qmail-pop3d/run
#chmod755/var/qmail/supervise/qmail-pop3d/log/run
#mkdir/var/log/qmail
#mkdir/var/log/qmail/smtpd
#mkdir/var/log/qmail/send
#mkdir/var/log/qmail/pop3d
#chown-Rqmaill/var/log/qmail
#ln-s/var/qmail/supervise/qmail-send/service/
#ln-s/var/qmail/supervise/qmail-smtpd//service/
#ln-s/var/qmail/supervise/qmail-pop3d//service/
#vi/var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id-uqmaild`
NOFILESGID=`id-gqmaild`
exec/usr/local/bin/softlimit-m2000000\
/usr/local/bin/tcpserver\
-H-lmail.china-yr.com\
-v-x/etc/tcp.smtp.cdb\
-c20-R-u"$QMAILDUID"-g"$NOFILESGID"0smtp\
/var/qmail/bin/qmail-smtpdmail.china-yr.com
上一页12345678910...下一页>>


linux系统的文件布置,etc/,opt/目录的内容等;

再现理想 发表于 2015-1-16 13:05:01

来看看:LINUX下Mail服务器设置

给你装的系统里为ubuntu12.04,它已经封装的很臃肿了,但是考虑到你没有很多时间投入其中,所以给你装了它,但是怎么用它提高开发效率,需要你在学习的过程中不断总结;
\</P>#vi/var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
exec/usr/local/bin/softlimit-m3000000\
/usr/local/bin/tcpserver\
-H-lmail.china-yr.com\
-v-x/etc/tcp.pop3.cdb-c30-R0pop3\
/var/qmail/bin/qmail-popupmail.china-yr.com\
/var/lib/vpopmail/bin/vchkpw/var/qmail/bin/qmail-pop3dMaildir2>&1
#cd/etc/init.d/
#chmod+xqmail
#/etc/init.d/qmailstart
Startingqmail
#groupadd-g89vchkpw
#useradd-gvchkpw-u89-d/home/vpopmailvpopmail
#mkdir-p/home/vpopmail/etc
#echo"china-yr.com">/home/vpopmail/etc/defaultdomain
#echo127.0.0.1:allow,RELAYCLIENT="">/home/vpopmail/etc/tcp.smtp
#cd/home/vpopmail/etc;tcprulestcp.smtp.cdbtcp.smtp.tmp<tcp.smtp
#echo"localhost|0|vpopmail|123456|vpopmail">/home/vpopmail/etc/vpopmail.mysql
#chmod640/home/vpopmail/etc/vpopmail.mysql
#chown-Rvpopmail.vchkpw/home/vpopmail/etc
安装VPOPMAIL
---一个以qmail为基本的假造域办理包,其同意在一个IP地点增加多个假造域
#./configure--enable-auth-module=mysql--enable-auth-logging=n--enable-mysql-logging=n--enable-logging=e--enable-valias=y--enable-pssswd=n--enable-roaming-users=y--enable-incdir=/usr/
local/mysql/include--enable-libdir=/usr/local/mysql/lib
Currentsettings
---------------------------------------
vpopmaildirectory=/home/vpopmail
uid=89
gid=89
roamingusers=ON--enable-roaming-users
tcpserverfile=/home/vpopmail/etc/tcp.smtp
open_smtpfile=/home/vpopmail/etc/open-smtp
rebuildtcpserverfile=ON--enable-rebuild-tcpserver-file(default)
passwordlearning=OFF--disable-learn-passwords(default)
md5passwords=ON--enable-md5-passwords(default)
filelocking=ON--enable-file-locking(default)
vdelivermailfsync=OFF--disable-file-sync(default)
makeseekable=ON
上一页12345678910...下一页>>


文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln

再现理想 发表于 2015-1-16 13:07:03

来看看:LINUX下Mail服务器设置

如果你学不好的话,你在linux中开发的机会就很少,或者说几乎没有,它的优势就消失了,然后随着时间的流逝,你就会全部忘记她;
--enable-make-seekable(default)</P>clearpasswd=ON--enable-clear-passwd(default)
userdirhashing=ON--enable-users-big-dir(default)
addressextensions=OFF--disable-qmail-ext(default)
ipalias=OFF--disable-ip-alias-domains(default)
domainquotas=OFF--disable-domainquotas(default)
authmodule=mysql--enable-auth-module=mysql
mysqlreplication=OFF--disable-mysql-replication(default)
mysqllogging=OFF--disable-mysql-logging(default)
mysqllimits=OFF--disable-mysql-limits(default)
MySQLvalias=ON--enable-valias
authinc=-I/usr/local/mysql/include
authlib=-L/usr/local/mysql/lib-lmysqlclient-lz
systempasswords=OFF--disable-passwd(default)
popsyslog=showonlyfailedattempts
--enable-logging=e(default)
authlogging=OFF--disable-auth-logging
alldomainsinoneSQLtable=--enable-many-domains(default)
#make
呈现毛病:以下…..
vauth.c:Infunction`vwrite_dir_control:
vauth.c:1101:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`vcreate_dir_control:
vauth.c:1117:warning:formatargumentisnotapointer(arg3)
vauth.c:1138:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`vdel_dir_control:
vauth.c:1155:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`valias_select:
vauth.c:1263:warning:formatargumentisnotapointer(arg3)
vauth.c:1267:warning:assignmentmakespointerfromintegerwithoutacast
vauth.c:Infunction`valias_select_next:
vauth.c:1274:error:subscriptedvalueisneitherarraynorpointer
vauth.c:Infunction`valias_insert:
vauth.c:1294:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`valias_remove:
vauth.c:1314:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`valias_delete:
vauth.c:1334:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`valias_delete_domain:
vauth.c:1354:warni
上一页12345678910...下一页>>


系统安全相关命令:passwd、su、umask、chgrp、chmod、chown、chattr、sudo、pswho

再现理想 发表于 2015-1-16 13:07:41

来看看:LINUX下Mail服务器设置

只要了解了Linux的基础之后,应该就可以很轻易的解决掉这方面的问题。而有些朋友们常常一接触Linux就是希望构架网站,根本没有想到要先了解一下Linux的基础。这是相当困难的。
ng:formatargumentisnotapointer(arg3)</P>vauth.c:Infunction`vcreate_valias_table:
vauth.c:1368:warning:formatargumentisnotapointer(arg3)
vauth.c:Infunction`valias_select_all:
vauth.c:1386:warning:formatargumentisnotapointer(arg3)
vauth.c:1390:warning:assignmentmakespointerfromintegerwithoutacast
vauth.c:Infunction`valias_select_all_next:
vauth.c:1397:error:subscriptedvalueisneitherarraynorpointer
vauth.c:1398:error:subscriptedvalueisneitherarraynorpointer
make:***Error1
make:Leavingdirectory`/home/mail/vpopmail-5.4.0
make:***Error1
make:Leavingdirectory`/home/mail/vpopmail-5.4.0
make:***Error2
办理计划:以下….
由于是从头编译,以是必定要用命令makeclean把天生的文件删除然后再从头编译就能够了
#
vpopmaildirectory=/home/vpopmail
uid=89
gid=89
roamingusers=ON--enable-roaming-users
tcpserverfile=/home/vpopmail/etc/tcp.smtp
open_smtpfile=/home/vpopmail/etc/open-smtp
rebuildtcpserverfile=ON--enable-rebuild-tcpserver-file(default)
passwordlearning=OFF--disable-learn-passwords(default)
md5passwords=ON--enable-md5-passwords(default)
filelocking=ON--enable-file-locking(default)
vdelivermailfsync=OFF--disable-file-sync(default)
makeseekable=ON--enable-make-seekable(default)
clearpasswd=ON--enable-clear-passwd(default)
userdirhashing=ON--enable-users-big-dir(default)
addressextensions=OFF--disable-qmail-ext(default)
ipalias=OFF--disable-ip-alias-domains(default)
domainquotas=OFF--disable-domainquotas(default)
authmodule=mysql--enable-auth-module=mysql
mysqlreplication=OFF--disable-mysql-replication(default)
mysqllogging=OFF--disable-mysql-logging(default)
mysqllimits=OFF--disable-mysql-limits(default)
MySQLvalias=ON--enable-valias
authinc=-I/usr/local/mysql/include/mysql
authlib=-L/usr/local/mysql/l
上一页12345678910...下一页>>


文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln

再现理想 发表于 2015-1-16 13:09:43

来看看:LINUX下Mail服务器设置

要多google,因为我不可能,也不可以给你解答所有内容,我只能告诉你一些关键点,甚至我会故意隐瞒答案,因为在寻找答案的过程中。
<divclass="start">ib/mysql-lmysqlclient-lz</P>systempasswords=OFF--disable-passwd(default)
popsyslog=showonlyfailedattempts
--enable-logging=e(default)
authlogging=OFF--disable-auth-logging
alldomainsinoneSQLtable=--enable-many-domains(default)
#makeinstall-strip
#./vadddomainchina-yr.com
./vadddomain:errorwhileloadingsharedlibraries:libmysqlclient.so.15:cannotopensharedobjectfile:Nosuchfileordirectory
增添假造域的时分呈现如上成绩:
办理计划:#cp/usr/local/mysql/lib/mysql//usr/lib/-Rf
#echo"/usr/local/mysql/lib/mysql/">>/etc/ld.so.conf
#ldconfig-v|greplibmysqlclient
libmysqlclient.so.15->libmysqlclient.so.15.0.0
然后增添假造域的时分就能够乐成了:)
#./vadddomainchina-yr.com
Pleaseenterpasswordforpostmaster:
#./vadddomainchina-yr.com
Pleaseenterpasswordforpostmaster:
enterpasswordagain:
#./vadduserdht@china-yr.com
Pleaseenterpasswordfordht@china-yr.com:
enterpasswordagain:
安装courier-imap邮件体系的IMAP模块
#tarjxvfcourier-imap-4.0.6.tar.bz2
#cdcourier-imap-4.0.6
安装这个软件的时分解压设置必需用非ROOT用户的一般用户才行。比及编译的时分再切换为超等用户ROOT帐户。
$tarzxvfcourier-imap-4.0.6.tar.gz
$cdcourier-imap-4.0.6
$./configure--prefix=/usr/local/courier-imap
--with-authvchkpw--with-redhat
checkingforcourierauthconfig...no
configure:WARNING:===Courierauthenticationlibrarynotfound.
configure:WARNING:===Youneedtodownloadandinstall
configure:WARNING:===http://www.courier-mta.org/download.php#authlibfirst.
configure:WARNING:===Ifcourier-authlibisinstalledinanon-default
configure:WARNING:===directory,settheCOURIERAUTHCONFIGenvironment
configure:WARNING:===variabletothefullpathtothecourierauthconfig
<P>configure:WARNING:===binaryandrerunthisconfigurescript.

再现理想 发表于 2015-1-16 13:13:56

来看看:LINUX下Mail服务器设置

Linux的常用命令find,察看man文档,初学者一定会觉得太复杂而不原意用,但是你一旦学会就爱不释手。
>configure:WARNING:
configure:error:courierauthconfignotfound
呈现上述相干联毛病,
办理计划必需安装一个叫做authenticationlibrary的包.到http://www.courier-mta.org/download.php#authlib这个中央来下载..
安装:courier-authlib-0.58.tar.gz
注:在安装的时分会呈现上面如许的毛病,必定要先办理他们的联系关系性才可在持续安装
/bin/shauthmigrate
makeinstall-configure
checkingforcourier-config...no
checkingforexpect...no
configure:WARNING:-----------------------------------------------------
configure:WARNING:expectnotfound-willnotbeabletochangepasswds
configure:WARNING:inwebmail
configure:WARNING:-----------------------------------------------------
checkingforpasswd.../usr/bin/passwd
checkingwhether-lmisneededforfloor...yes
checkingforsocketin-lsocket...no
checkingforsocketin-lsocket...(cached)no
checkingforconnectin-lsocket...no
checkingforconnectin-lsocket...(cached)no
checkingforgdbm_openin-lgdbm...no
checkingforgdbm_open...no
checkingfordbopenin-ldb...no
checkingfordb_openin-ldb...no
checkingfordb_env_createin-ldb...no
checkingfordbopen...no
checkingfordb_open...no
checkingfordb_env_create...no
configure:error:Cannotfindeitherthegdbmorthedblibrary.
呈现上述毛病,办理计划是安装上面的软件在举行
#rpm-ihvgdbm-devel-1.8.0-25.i386.rpm
warning:gdbm-devel-1.8.0-25.i386.rpm:V3DSAsignature:NOKEY,keyID4f2a6fd2
Preparing...###########################################
1:gdbm-devel###########################################
#./configure--prefix=/usr/local/courier-auth--with-redhat--with-mysql-libs=/usr/local/mysql/lib/mysql/--with-mysql-includes=/usr/local/mysql/include/mysql/--with-gd=gdbm
#make
#makeinstall
#makeinstall-migrate
[root@mailcourier-authlib-0.
上一页12345678910...下一页>>


买一本命令参考手册是必要的,遇到不知道怎么用的命令可以随时查询,这要比查man文档快.特别适合英语不好。

再现理想 发表于 2015-1-16 13:16:21

来看看:LINUX下Mail服务器设置

如果你学不好的话,你在linux中开发的机会就很少,或者说几乎没有,它的优势就消失了,然后随着时间的流逝,你就会全部忘记她;
58]#makeinstall-configure</P>注重:安装以后必定要确保起动来了.否则还会呈现上述毛病.
办理计划以下:(以下是我在网上查到的一些材料,有成绩和谜底,人人能够做一下参考)
OnWed,Oct26,2005at08:21:39AM-0700,MikeBakerwrote:>IamtryingtoinstallCourier-Imapwiththe--with-redhattag.The
>installclipsalongfineuntilthis:
>checkingforcourierauthconfig...no>configure:WARNING:===Courierauthenticationlibrarynotfound.
>configure:WARNING:===Youneedtodownloadandinstall
>configure:WARNING:===
>http://www.courier-mta.org/download.php#authlibfirst.
>configure:WARNING:===Ifcourier-authlibisinstalledina
>non-default
>configure:WARNING:===directory,settheCOURIERAUTHCONFIG
>environment
>configure:WARNING:===variabletothefullpathtothe
>courierauthconfig
>configure:WARNING:===binaryandrerunthisconfigurescript.
>configure:WARNING:
>configure:error:courierauthconfignotfound
>WhatsweirdisIalreadyinstalledCourierAuthentication.Infact,
>whenIsuasroot,Icanruncourier-authstartanditstartsokay.
>Isuspectthatsomethingisinanon-defaultlocation.Noneofthe
>proceduresImworkingfromreferencecourierauthconfig.WheredoI
>findthis?Isitafileormaybeadirectoryname?
Theresnoscript"courier-authstart"inadefaultinstallation.WhatO/Sandpackagingsystemareyouusing?Whatversionofcourier-authlibdidyouinstall?
Notethatyoucantrunamoderncourier-imap(4.x)usingtheauthdaemonwhichcomesinaolderversionofcourier-imap(3.x).Youreallymustinstallcourier-authlibasaseparatepackage.
Ifyouarebuildingdirectlyfromsource,andyouhavearecentcourier-authlib(0.57preferably),thenthefollowingshouldhelp.
Ifyoustartauthdaemondusing
#/foo/sbin/authdaemondstart
thencourierauthconfigismostlikelyin
#/foo/bin/courierauthconfig
Otherwiselookforitusing:
#whichcourierauthconfig
#locatecourierauthconfig
#find/-typef-namecourierauthconfig
Onceyouknowwhatdirectoryitsin,makesurethatdirectoryisinthe$PATHbe
上一页12345678910...下一页>>


开发linux发行版的人都是通读过linux内核代码,对linux原理极其精通的人。

再现理想 发表于 2015-1-16 13:19:26

来看看:LINUX下Mail服务器设置

功能实在太强了,在配合exec参数或者通过管道重定向到xargs命令和grep命令,可以完成非常复杂的操作,如果同样的操作用图形界面的工具来完成,恐怕要多花十几陪的时间。
forerunning./configureinthecourier-imapsourcedirectory.In</P>theaboveexample:
$PATH=/foo/bin:$PATH
$exportPATH
$./configure...
Regards,
Brian.
#ln-s/usr/local/courier-auth/bin/courierauthconfig/usr/bin/courierauthconfig
#exportPATH
#ln-s/usr/local/courier-auth/bin/courierauthconfig/usr/bin/courierauthconfig
#exportPATH
#cp/usr/local/courier-auth/include/courierauth.h
/home/vpopmail/courier-imap-4.0.6/imap/
#cp/usr/local/courier-auth/include/courierauthde
bug.h/home/vpopmail/courier-imap-4.0.6/imap/
#cp/usr/local/courier-auth/include/courier_auth_config.h/home/vpopmail/courier-imap-4.0.6/imap/
#cp/usr/local/courier-auth/include/courierauthsasl.h/home/vpopmail/courier-imap-4.0.6/imap/
#cp/usr/local/courier-auth/include/courierauthsaslclient.h/home/vpopmail/courier-imap-4.0.6/imap/
#cp/usr/local/courier-auth/include/ltdl.h/home/vpopmail/courier-imap-4.0.6/imap/
$./configure--prefix=/usr/local/courier-imap--with-authvchkpw--with-redhat--with-authchangepwdir=/usr/local/courier-auth/libexec/courier-authlib/
$make
$makecheck
上面切换为ROOT用户
#makeinstall
#makeinstall-configure
上面修正/usr/local/courier-imap/etc/imapd文件
・改动MAXDAEMONS到40.
・改动MAXPERIP到100.
・改动TCPDOPTS为"-nodnslookup-noidentlookup-user=vpopmail-group=vchkpw".
・改动AUTHMODULES为"authvchkpw"利用vpopmail认证
・依据团体必要恣意改动IMAP_EMPTYTRASH=Trash:7,Sent:30
・改动IMAPDSTART为YES.
qmailadmin……..
安装autorespond主动复兴程序,能够很好的与qmailadmin共同利用
</p>上一页12345678910...下一页>>


网络操作命令:ifconfig、ip、ping、netstat、telnet、ftp、route、rloginrcp、finger、mail、nslookup

再现理想 发表于 2015-1-16 13:23:49

来看看:LINUX下Mail服务器设置

系统安全相关命令:passwd、su、umask、chgrp、chmod、chown、chattr、sudo、pswho
#tarzxvfautorespond-2.02.tar.gz
#cdautorespond-2.0.2
#ls
autorespond.chelp_messageMakefileqmail-autoREADME
#patch-p1<../autorespond-2.0.4-2.0.5.patch
patchingfileautorespond.c
Hunk#1succeededat622(offset1line).
Hunk#3succeededat695(offset1line).
#make
gcc-Wall-oautorespondautorespond.c
#makeinstall
gcc-Wall-oautorespondautorespond.c
Installing...
cpautorespond/usr/local/bin/autorespond
chownroot/usr/local/bin/autorespond
chgrproot/usr/local/bin/autorespond
安装ezmlm一个疾速,壮大的邮件列表程序,能够经由过程qmailadmin对其举行设置
#tarzxvfezmlm-0.53.tar.gz
#tarzxvfezmlm-idx-0.42.tar.gz
#cp-rfezmlm-idx-0.42/*ezmlm-0.53/
#cdezmlm-0.53
#patch<idx.patch
#chmodu+xmakelang
#make
#makeman
#makech_GB
#makesetup
安装qmailadmin经由过程WEB办理vpopmail域的极好工具
#tarzxvfqmailadmin-1.2.3.tar.gz
#cdqmailadmin-1.2.3
#./configure--enable-cgibindir=/usr/local/apache2/cgi-bin/--with-htmllibdir=/var/www/html/--enable-imagedir=/var/www/html/--enable-vpopmaildir=/home/vpopmail
上面为输入信息…..
---------------------------------------
cgi-bindir=/usr/local/apache2/cgi-bin/
htmldir=/var/www/html
imagedir=/var/www/html/
imageURL=/images/qmailadmin
templatedir=/usr/local/share/qmailadmin
qmaildir=/var/qmail
vpopmaildir=/home/vpopmail
autoresponddir=/usr/local/bin
ezmlmdir=/usr/local/bin/ezmlm
ezmlmidx=yes
&nbs
<<上一页1112下一页


由于在linux中,用户权限很大,做任何事情都很自由,所以,你往往需要知道你做的每一步在干什么。

再现理想 发表于 2015-1-16 13:27:55

来看看:LINUX下Mail服务器设置

开发linux发行版的人都是通读过linux内核代码,对linux原理极其精通的人。
p;mysqlforezmlm=yes</P>help=no
modifyquota=no
domainautofill=no
modifyspamcheck=no
#make
#makeinstall-strip
#cd/usr/local/share/qmailadmin/lang/
#ls
bgdadeenesfifrhuitjanlnoplpt-brrusksvtrzh-cn
#mvenen.bak
#cpzh-cnen
安装Wmail
#tarzxvfwmail-1.00rc1.20030724.tar.gz
#cdwmail-1.00rc1.20030724
#./install
默许安装到/home/wmail目次下。你也能够经由过程修正wmail的原代码目次中的install文件来修正安装的目次和定制编译参数
设置Wmail
修正/home/wmail/html/zh-cn的index.html和invalid.html相干项为以下内容:<inputtype="hidden"name="down"value="localhost.com">
修正Apache
编纂apache的httpd.conf文件,在最初到场以下内容:
NameVirtualHost*:80
<VirtualHost*:80>
SetEnvSQWEBMAIL_TEMPLATEDIR/home/wmail/html
ScriptAlias"/cgi-bin/""/home/wmail/www/cgi-bin/"
<Directory"/home/wmail/www">
AllowOverrideAll
Options+Includes
</Directory>
ServerAdminpostmaster@localhost.com
DocumentRoot/home/wmail/www
ServerNamemail.localhost.com
</VirtualHost>
</p><<上一页1112


系统做了些什么,这需要时间去掌握,(背命令不是一件好的学习方法,相信我你一定会在你背完之前全部忘光),尽量掌握常用命令;

老尸 发表于 2015-1-18 16:49:16

随着Linux应用的扩展,出现了不少Linux社区。有一些非常优秀的社区往往是Linux高手的舞台,如果在探讨高级技巧的论坛张贴非常初级的问题经常会没有结果。

小魔女 发表于 2015-1-27 12:56:02

为什么要学Linux呢?每个人都有不同的看法,下面我说说自己的感想吧。?

若相依 发表于 2015-2-5 13:47:14

我学习Linux的心得体会 ,希望对大家的学习有所帮助,由于水平有限,本文难免有所欠缺,望请指正。

若天明 发表于 2015-2-12 02:56:59

熟悉并掌握安装Linux,安装是学习的前提。目前较常见的安装方法有二种:

分手快乐 发表于 2015-3-2 22:17:14

我感觉linux的学习,学习编程~!~!就去学习C语言编程!!

admin 发表于 2015-3-11 08:33:30

工具书对于学习者而言是相当重要的。一本错误观念的工具书却会让新手整个误入歧途。目前国内关于Linux的书籍有很多不过精品的不多。

变相怪杰 发表于 2015-3-25 18:40:57

这种补充有助于他人在邮件列表/新闻组/论坛中搜索对你有过帮助的完整解决方案,这可能对他们也很有用。
页: [1]
查看完整版本: 来看看:LINUX下Mail服务器设置