返回顶部
首页 > 资讯 > 操作系统 >RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析
  • 179
分享到

RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析

2023-06-13 05:06:19 179人浏览 泡泡鱼
摘要

小编给大家分享一下RedHatlinux AS3中APACHE+SendMail+OpenWEBMail整合的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧

小编给大家分享一下RedHatlinux AS3中APACHE+SendMail+OpenWEBMail整合的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

注:
1.      Openwebmail是一个webmail程序,不同与微软的owa及imail的web方式,它不包含服务器端服务(本例中邮件服务器为sendmail);因此在运行Openwebmail的机器上需要安装Apache和Sendmail.
2.      Openwebmail多数程序是由Perl语句编写的,所以必须安装Perl及Perl相关包
3.下载所需软件包:在RedHatLinux AS3中安装openwebmail需要以下软件包  
>>1.  perl-CGI-2.81-88.4.i386.rpm
Http://www.openwebmail.com/openwebmail/download/redhat/rpm/packages/rhel3/perl-CGI-2.81-88.4.i386.rpm
>>2.
perl-Compress-Zlib-1.21-RH9.i386.rpm
http://www.openwebmail.com/openwebmail/download/redhat/rpm/packages/rhel3/perl-Compress-Zlib-1.21-RH9.i386.rpm
>>3.
perl-Text-Iconv-1.2-RH80.i386.rpm
http://www.openwebmail.com/openwebmail/download/redhat/rpm/packages/rhel3/perl-Text-Iconv-1.2-RH80.i386.rpm
>>4.
perl-suidperl-5.8.0-88.i386.rpm
http://www.openwebmail.com/openwebmail/download/redhat/rpm/packages/rhel3/perl-suidperl-5.8.0-88.i386.rpm
>>5. 
openwebmail-2.41-20041126.i386.rpm
http://www.openwebmail.com/openwebmail/download/redhat/rpm/daily-build/openwebmail-2.41-20041126.i386.rpm
下面就开始安装配置:
Step 1:安装下载包
[root@AS3 software]#rpm –ivh
perl-CGI-2.81-88.4.i386.rpm
[root@AS3 software]#rpm –ivh
perl-Compress-Zlib-1.21-RH9.i386.rpm
[root@AS3 software]#rpm –ivh
perl-Text-Iconv-1.2-RH80.i386.rpm
[root@AS3 software]#rpm –ivh
perl-suidperl-5.8.0-88.i386.rpm
Step 2:初始化openwebmail
[root@AS3 software]#cd /var/www/cgi-bin/openwebmail
[root@AS3 openwebmail]# ls -l
total 1192
drwxr-xr-x    2 root     mail         4096 Nov 27 14:44 auth
drwxr-xr-x   12 root     mail         4096 Nov 27 21:17 etc
drwxr-xr-x    6 root     mail         4096 Nov 27 14:44 misc
drwxr-xr-x    2 root     mail         4096 Nov 27 14:44 modules
-rwsr-xr-x    1 root     mail       260341 Nov 26 12:16 openwebmail-abook.pl
-rwsr-xr-x    1 root     mail        23817 Nov 26 12:16 openwebmail-advsearch.pl
-rwsr-xr-x    1 root     mail       114322 Nov 26 12:16 openwebmail-cal.pl
-rwsr-xr-x    1 root     mail        23855 Nov 26 12:16 openwebmail-folder.pl
-rwsr-xr-x    1 root     mail        68418 Nov 26 12:16 openwebmail-main.pl
-rwsr-xr-x    1 root     mail        34984 Nov 26 12:16 openwebmail.pl
-rwsr-xr-x    1 root     mail       139830 Nov 26 12:16 openwebmail-prefs.pl
-rwsr-xr-x    1 root     mail        66851 Nov 26 12:16 openwebmail-read.pl
-rwsr-xr-x    1 root     mail       110724 Nov 26 12:16 openwebmail-send.pl
-rwsr-xr-x    1 root     mail        24813 Nov 26 12:16 openwebmail-spell.pl
-rwsr-xr-x    1 root     mail        52749 Nov 26 12:16 openwebmail-tool.pl
-rwsr-xr-x    1 root     mail        48796 Nov 26 12:16 openwebmail-vdomain.pl
-rwsr-xr-x    1 root     mail        18457 Nov 26 12:16 openwebmail-viewatt.pl
-rwsr-xr-x    1 root     mail       112975 Nov 26 12:16 openwebmail-webdisk.pl
-rwxr-xr-x    1 root     mail         4859 Aug 12 13:06 preload.pl
drwxr-xr-x    2 root     mail         4096 Nov 27 14:44 quota
drwxr-xr-x    2 root     mail         4096 Nov 27 14:44 shares
-rwxr-xr-x    1 root     mail         4117 Sep  4 15:04 userstat.pl
-rwxr-xr-x    1 root     mail        19305 Nov 16 22:42 vacation.pl
[root@AS3 openwebmail]#./openwebmail-tool.pl --init //这步骤很关键会出现如下的提示:change the following 3 options in openwebmail.conf              from                      dbm_ext           .db                       dbmopen_ext       none                       dbmopen_haslock   no        to                       dbm_ext           .db                       dbmopen_ext       %dbm_ext%                       dbmopen_haslock   no安回车键忽略提示,继续配置//进入openwebmail下面的etc目录进行相关配置,需要修改以下
1./var/www/cgi-bin/openwebmail /etc/openwebmail.conf
2./var/www/cgi-bin/openwebmail/etc/defaults/openwebmail.conf
3./var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf
修改后的文件为
>>1./var/www/cgi-bin/openwebmail/etc/openwebmail.conf[只需修改1处domainnames  supermaster.com //默认是auto],完整的内容如下:
#
# Open WebMail configuration file
#
# This file contains just the overrides from defaults/openwebmail.conf
# please make all changes to this file.
#
# This file sets options for all domains and all users.
# To set options on per domain basis, please put them in sites.conf/domainname
# To set options on per user basis, please put them in users.conf/username
#
releasedate                     20041126
domainnames                     supermaster.com //默认是auto
auth_module                     auth_unix.pl
mailspooldir                    /var/spool/mail
ow_cgidir                       /var/www/cgi-bin/openwebmail
ow_cgiurl                       /cgi-bin/openwebmail
ow_htmldir                      /var/www/data/openwebmail
ow_htmlurl                      /data/openwebmail
logfile                         /var/log/openwebmail.log
# To SysAdmin,
# Please install ClamAV RPM package from http://clamav.net/ in order to
# enable viruscheck with Open WebMail. Otherwise set it to no.
# See http://openwebmail.org/openwebma ... howto/virus/ClamAV/
# for a step-by-step instruction.
enable_viruscheck               yes
viruscheck_pipe                 /usr/bin/clamdscan --mbox --disable-summary --stdout -
viruscheck_source_allowed       all
enable_spamcheck                no
enable_learnspam                no
%name%
version %version%
%help_text%?
loGo_url                        %ow_htmlurl%/images/openwebmail.gif
logo_link                       http://openwebmail.org
help_url                        @@@HELP_URL@@@
help_text                       @@@HELP_TEXT@@@
spellcheck                      /usr/bin/aspell -a -S -w "-" -d @@@DICTIONARY@@@ -p @@@PDICNAME@@@
spellcheck_pdicname             .aspell.@@@DICTIONARY@@@.pws
spellcheck_dictionaries         english, american
auto_createrc                   yes
############################################
# Buttons :
# EditFroms | EditStationary | POP3Setup | ChangePassWord | History | Info
enable_editfrombook            yes
enable_stationery              yes
enable_pop3                    yes
enable_changepwd               yes
enable_history                 yes
enable_about                   yes
##############################################
# Personal InfORMation
default_language                en
default_timeoffset              auto
default_daylightsaving          auto
default_realname                auto
default_fromemails              auto
default_autoreplysubject        This is an autoreply...[Re: $SUBJECT]
Hello,
I will not be reading my mail for a while.
Your mail regarding '$SUBJECT' will be read when I return.
--
Open WebMail Project (http://openwebmail.org)

##############################################
# Display Preference
default_style                   Default
default_iconset         Cool3D.English
default_bgurl                   %ow_htmlurl%/images/backgrounds/Globe.gif
default_bgrepeat                yes
default_fontsize                10pt
default_dateformat              mm/dd/yyyy
default_hourformat              12
############################################
# Folder Browsing
default_ctrlposition_folderview   bottom
default_msgsperpage               20
default_fieldorder                date from subject size
default_sort                      date
default_useminisearchicon         yes
############################################
# Message Operation
default_confirmmsgmovecopy        no
default_defaultdestination        saved-messages
default_smartdestination          yes
default_viewnextaftermsgmovecopy  yes
default_autopop3                  yes
default_autopop3wait              0
default_bgfilterwait              10
default_moveoldmsgfrominbox       no
############################################
# Message Reading Options
default_ctrlposition_msgread      bottom
default_headers                   simple
default_usefixedfont              no
default_usesmileicon              no
default_showhtmlastext            yes
default_showimgaslink             yes
default_disablejs                 yes
default_disableembcode            yes
default_disableemblink            cgionly
default_sendreceipt               ask
############################################
# Message Replying Options
default_msgformat                 text
default_editcolumns               88
default_editrows                  28
default_sendbuttonposition        before
default_reparagraphorigmsg        yes
default_replywithorigmsg          at_beginning
default_backupsentmsg             yes
default_sendcharset               sameascomposing
############################################
# Virus Check
default_viruscheck_source         all
default_viruscheck_maxsize        10000
default_viruscheck_minbodysize    1
############################################
# Message Filtering Options
default_filter_repeatlimit          10
default_filter_badaddrformat        no
default_filter_fakedsmtp            no
default_filter_fakedfrom            no
default_filter_fakedexecontenttype  no
############################################
# AddressBook Options
default_abook_width                600
default_abook_height               max
default_abook_buttonposition       after
default_abook_defaultfilter        no
default_abook_defaultsearchtype    name
default_abook_addrperpage          24
default_abook_collapse             1
default_abook_sort                 fullname
default_abook_listviewfieldorder   fullname, email, note
############################################
# Calendar Options
default_calendar_defaultview        calmonth
default_calendar_holidaydef         auto
default_calendar_monthviewnumitems  5
default_calendar_weekstart          0
default_calendar_starthour          0600         
default_calendar_endhour            2300
default_calendar_interval           30
default_calendar_showemptyhours     yes
default_calendar_reminderdays       7
default_calendar_reminderforglobal  yes
############################################
# WebDisk Options
default_webdisk_dirnumitems        10
default_webdisk_confirmmovecopy    yes
default_webdisk_confirmdel         yes
default_webdisk_confirmcompress    yes
default_webdisk_fileeditcolumns    96
default_webdisk_fileeditrows       24
############################################
# Misc Options
default_uselightbar                yes
default_regexmatch                 yes
default_hideinternal               yes
default_newmailsound               NONE
default_newmailwindowtime          3
default_mailsentwindowtime         0
default_dictionary                 english
default_trashreserveddays          0
default_spamvirusreserveddays      3
default_refreshinterval            5
default_sessiontimeout             24
############################################
# Security Settings
webdisk_rootpath                  /webdisk
webdisk_lsmailfolder              no
webdisk_lshidden                  no
webdisk_lsunixspec                no
webdisk_lssymlink                 yes
webdisk_allow_symlinkout          yes
webdisk_symlinkout_display        @
enable_sshterm                    no
# ps: To completely disable the SSH terminal support, you have to remove
# the file data/openwebmail/applet/mindterm/mindtermfull.jar
############################################
# Quota System (limit in KB and threshold in %)
#            1 MB =     1,024 KB
#           10 MB =    10,240 KB
#          100 MB =   102,400 KB
# 1 GB = 1,024 MB = 1,048,576 KB
# uncomment following lines if you wish to enable Quota System for 10 Mb
#quota_module            quota_du.pl
#spool_limit             10240
#quota_limit             10240
#quota_threshold         0
#delmail_ifquotahit      no
#delfile_ifquotahit      no
>>2./var/www/cgi-bin/openwebmail/etc/defaults/openwebmail.conf [只需修改2处,把smtpserver和authpop3_server改为相应的IP],完整的内容如下:
#
# Open WebMail configuration file DEFAULT
#
# This is openwebmail.conf.default - a file full of useful variables that
# you can set for the openwebmail system. You should not edit this file!
# Put any overrides into openwebmail.conf instead. The openwebmail.conf
# should only contain values which override values set in this file.
# This eases the upgrade when defaults are changed or new features are added.
#
# Please refer to openwebmail.conf.help for description of each option
#
# ps: This file will be loaded only once if Open WebMail is running in
#     persistent mode. To force Open WebMail reread this file, please do
#
#     touch openwebmail*pl
#
name                           Open WebMail
version                        2.41
releasedate               20041126
##############################################################################
# host dependent configuration
##############################################################################
domainnames          auto
smtpserver                 192.168.0.111
smtpport            25
smtpauth           no
virtusertable               /etc/mail/virtusertable
auth_module             auth_unix.pl
auth_withdomain               no
auth_domain             auto
quota_module           none
mailspooldir                        /var/mail
use_hashedmailspools            no
use_syshomedir                         yes
create_syshomedir           no
use_homedirspools                   no
homedirspoolname          Mailbox
homedirfolderdirname               mail
homedirdotdirname          .openwebmail
use_syshomedir_for_dotdir     yes
deliver_use_GMT               no
##############################################################################
# openwebmail system configuration
##############################################################################
ow_cgidir          /usr/local/www/cgi-bin/openwebmail
ow_cgiurl          /cgi-bin/openwebmail
ow_htmldir                 /usr/local/www/data/openwebmail
ow_htmlurl                 /openwebmail
ow_etcdir          %ow_cgidir%/etc
ow_stylesdir              %ow_etcdir%/styles
ow_langdir                 %ow_etcdir%/lang
ow_templatesdir                %ow_etcdir%/templates
ow_holidaysdir                   %ow_etcdir%/holidays
ow_mapsdir              %ow_etcdir%/maps
ow_sitesconfdir                  %ow_etcdir%/sites.conf
ow_usersconfdir                %ow_etcdir%/users.conf
ow_usersdir              %ow_etcdir%/users
ow_sessionsdir                 %ow_etcdir%/sessions
start_url             %ow_cgiurl%/openwebmail.pl
ico_url                         %ow_htmlurl%/images/openwebmail.ico
logo_url             %ow_htmlurl%/images/openwebmail.gif
logo_link           http://openwebmail.org/
help_url             @@@HELP_URL@@@
help_text            @@@HELP_TEXT@@@
logfile                          /var/log/openwebmail.log
global_addressbook         %ow_etcdir%/address.book
global_filterbook       %ow_etcdir%/filter.book
global_calendarbook        %ow_etcdir%/calendar.book
g2b_map                    %ow_mapsdir%/g2b.map
b2g_map                    %ow_mapsdir%/b2g.map
lunar_map                 %ow_mapsdir%/lunar.map
header_pluginfile                        none
header_pluginfile_charset                 none
footer_pluginfile                           none
footer_pluginfile_charset           none
webmail_middle_pluginfile                none
webmail_middle_pluginfile_charset         none
spellcheck                  /usr/local/bin/ispell -a -S -w "-" -d @@@DICTIONARY@@@ -p @@@PDICNAME@@@
spellcheck_pdicname      .ispell_words
spellcheck_dictionaries   english, american
vacationinit                 %ow_cgidir%/vacation.pl -i
vacationpipe              %ow_cgidir%/vacation.pl -t60s

error_with_debuginfo        no
allowed_serverdomain     all
allowed_clientdomain      all
allowed_clientip        all
allowed_receiverdomain  all
allowed_autologinip          all
allowed_rootloginip none
case_insensitive_login    no
forced_ssl_login       no
stay_ssl_afterlogin   yes
enable_domainselectmenu no
domainselmenu_list         auto
enable_strictvirtuser          no
enable_changepwd yes
enable_strictpwd     yes
passwd_minlen                 6
session_multilogin  yes
session_checkcookie       yes
session_checksameip     no
session_count_display    yes
cache_userinfo                  yes
auto_createrc            no
domainnames_override   no
symboliclink_mbox  yes
enable_webmail                yes
enable_userfolders yes
enable_spellcheck   yes
enable_advsearch   yes
enable_addressbook       yes
enable_calendar                yes
enable_webdisk                yes
enable_sshterm                yes
enable_vdomain                no
enable_preference            yes
enable_history                    yes
enable_about                     yes
about_info_software                   yes
about_info_scriptfilename        no
about_info_protocol          yes
about_info_server              yes
about_info_client               yes
X-Mailer: %name% %version% %releasedate%
X-OriginatingIP: @@@CLIENTIP@@@ (@@@USERID@@@)
enable_loadfrombook                yes
enable_editfrombook                 yes
frombook_for_realname_only  no
enable_autoreply               yes
enable_setforward            yes
enable_strictforward                   no
enable_stationery              yes
enable_savedraft               yes
enable_backupsent          yes
enable_globalfilter             yes
enable_userfilter                yes
enable_smartfilter             yes
smartfilter_bypass_goodmessage  yes
log_filter_detail                   no
enable_viruscheck            no
viruscheck_pipe                          /usr/local/bin/clamdscan --disable-summary --stdout -
viruscheck_source_allowed     pop3
viruscheck_maxsize_allowed   50000
virus_destination               virus-mail
has_virusfolder_by_default       yes
enable_spamcheck          no
spamcheck_pipe                        /usr/local/bin/spamc -c -x -t60 -u @@@USERNAME@@@
spamcheck_source_allowed   pop3
spamcheck_maxsize_allowed 1000
spam_destination             spam-mail
has_spamfolder_by_default     yes
enable_learnspam  no
learnspam_pipe                /usr/local/bin/sa-learn --spam
learnham_pipe                   /usr/local/bin/sa-learn --ham
learnspam_destination    spam-mail
learnham_destination      INBOX
enable_pop3             yes
pop3_disallowed_servers        your_server, your_server.domain
pop3_delmail_by_default          yes
pop3_delmail_hidden      no
pop3_usessl_by_default no
authpop3_server                192.168.0.111
authpop3_port           110
authpop3_getmail    no
authpop3_delmail    yes
authpop3_usessl              no
loginerrordelay                   10
fetchpop3interval                15
calendar_email_notifyinterval   120
enable_strictfoldername  no
foldername_maxlen 32
maxbooksize             32
attlimit                50000
abook_maxsizeallbooks  100
abook_globaleditable       yes
abook_importlimit    250
abook_attlimit            25
webdisk_rootpath     /
webdisk_readonly    no
webdisk_uploadlimit         50000
webdisk_lsmailfolder       yes
webdisk_lshidden    yes
webdisk_lsunixspec         yes
webdisk_lssymlink  yes
webdisk_allow_symlinkcreate yes
webdisk_allow_symlinkout       yes
webdisk_symlinkout_display   path
webdisk_allow_thumbnail        yes
webdisk_allow_untar        yes
webdisk_allow_unzip       yes
webdisk_allow_unrar       yes
webdisk_allow_unarj        yes
webdisk_allow_unlzh       yes
spool_limit                 0
quota_limit                 0
quota_threshold                 75
delmail_ifquotahit     no
delfile_ifquotahit       no
vdomain_admlist                        sysadm
vdomain_maxuser                      100
vdomain_maxalias            100
vdomain_vmpop3_pwdpath               /etc/virtual
vdomain_vmpop3_pwdname            passwd
vdomain_vmpop3_mailpath              /var/spool/virtual
vdomain_postfix_aliases          /etc/postfix/aliases
vdomain_postfix_virtual             /etc/postfix/virtual
vdomain_postfix_postalias       /usr/sbin/postalias
vdomain_postfix_postmap                 /usr/sbin/postmap
vdomain_mailbox_command            none
localusers                           none

%name%
version %version%
%help_text%?
##############################################################################
# default setting for new user's preference
##############################################################################
default_language               auto
default_charset                            auto
default_timeoffset              auto
default_daylightsaving               auto
default_realname              auto
default_fromemails           auto
default_autoreplysubject  This is an autoreply...[Re: $SUBJECT]
Hello,
I will not be reading my mail for a while.
Your mail regarding '$SUBJECT' will be read when I return.
--
Open WebMail Project (http://openwebmail.org)
default_style                        Default
default_iconset                            Default
default_bgurl                       %ow_htmlurl%/images/backgrounds/Globe.gif
default_bgrepeat                yes
default_fontsize                  10pt
default_dateformat            mm/dd/yyyy
default_hourformat            12
default_ctrlposition_folderview top
default_msgsperpage               10
default_fieldorder               date from subject size
default_sort                         date          
default_useminisearchicon      yes
default_confirmmsgmovecopy yes
default_defaultdestination         saved-messages
default_smartdestination yes
default_viewnextaftermsgmovecopy yes
default_autopop3               yes
default_autopop3wait                 0
default_bgfilterwait            10
default_moveoldmsgfrominbox         no
forced_moveoldmsgfrominbox          no
default_ctrlposition_msgread  top
default_headers                          simple
default_showhtmlastext             no
default_showimgaslink             no
default_usefixedfont          no
default_usesmileicon                yes
default_disablejs               yes
default_disableembcode          yes
default_disableemblink             cgionly
default_sendreceipt          ask
default_msgformat            auto
default_editcolumns                   78
default_editrows                24
default_sendbuttonposition      before
default_reparagraphorigmsg   yes
default_replywithorigmsg at_beginning
default_backupsentmsg            yes  
default_sendcharset                  sameascomposing
default_fscharset               none
default_uselightbar           yes
default_regexmatch           yes
default_hideinternal          yes
default_refreshinterval               20
min_refreshinterval           3
default_newmailsound              YouGotMail.English.wav
default_newmailwindowtime    7
default_mailsentwindowtime   5
default_dictionary               english
default_trashreserveddays       7
default_spamvirusreserveddays       3
default_sessiontimeout             60
default_viruscheck_source       pop3
default_viruscheck_maxsize     10000
default_viruscheck_minbodysize      1
default_spamcheck_source     pop3
default_spamcheck_maxsize   250
default_spamcheck_threshold          10
default_filter_repeatlimit   10
default_filter_badaddrformat    no
default_filter_fakedsmtp   no
default_filter_fakedfrom    no
default_filter_fakedexecontenttype    no
default_abook_width                  600
default_abook_height                400
default_abook_buttonposition  after
default_abook_defaultfilter        no
default_abook_defaultsearchtype     none
default_abook_defaulTKEyword          none
default_abook_addrperpage    10
default_abook_collapse            1
default_abook_sort                     fullname
default_abook_listviewfieldorder      fullname,email,phone,note
default_calendar_defaultview            calmonth
default_calendar_holidaydef              auto
default_calendar_monthviewnumitems   5
default_calendar_weekstart               0
default_calendar_starthour                0800
default_calendar_endhour                 1700
default_calendar_interval          30
default_calendar_showemptyhours          yes
default_calendar_reminderdays                7
default_calendar_reminderforglobal         yes
default_webdisk_dirnumitems                   10
default_webdisk_confirmmovecopy          yes
default_webdisk_confirmdel              yes
default_webdisk_confirmcompress          yes
default_webdisk_fileeditcolumns              96
default_webdisk_fileeditrows            24
>>3./var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf[只需修改3处],完整的内容如下:
#
# config file for dbm.pl
#
# dbm_ext
# -----------------------------------------------------------------------
# This is the extension name for the dbm file on your system
#
# ps: You can run 'perl openwebmail/misc/test/dbmtest.pl' to get value for this
# dbmopen_ext
# -----------------------------------------------------------------------
# This is the db extension passed to the dbmopen() call.
# It should be set to 'none' in most case. You need to set it to %dbm_ext%
# only if you use any DB File module in script explicitly
#
# ps: It is said this option needs to be set to '%dbm_ext%' on the Sun
#     Cobal server or Slackware 8.x.
#     You can run 'perl openwebmail/misc/test/dbmtest.pl' to get value for this
# dbmopen_haslock
# -----------------------------------------------------------------------
# If your perl dbm system will do filelock in dbmopen() by itself,
# set this option to 'yes' so openwebmail won't do unnecessary filelock
# before dbmopen. On most systems, this option should be set to 'no'.
#
# ps: If your openwebmail hangs after login or saving preference,
#     you probablely need to set this option to 'y, es'
dbm_ext                      .db
dbmopen_ext            .db
dbmopen_haslock            yes
smtpserver             192.168.0.111 //添加SMTP服务器的IP地址
ok,上面的文件修改完后,再运行./openwebmail-tool.pl –init执行初始化脚本
[root@AS3 openwebmail]#./openwebmail-tool.pl --init
有关openwebmail的配置就完成了
Step 3.修改APACHE的配置文件(httpd.conf)
[root@AS3 openwebmail]#vi /etc/httpd/conf/httpd.conf
//添加如下语句
#===the start===
ScriptAlias /openwebmail "/var/www/cgi-bin/openwebmail/openwebmail.pl"
    AllowOverride None
    Options ExecCGI -Indexes
    Order allow,deny
    Allow from all
Alias /data "/var/www/data"
#===the end====
[root@AS3 openwebmail]#service httpd restart //重启apache
现在所以的工作都完成了,新建用户去测试
Step 4.进行OWM测试

以上是“RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注编程网操作系统频道!

--结束END--

本文标题: RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析

本文链接: https://www.lsjlt.com/news/266081.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析
    小编给大家分享一下RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧...
    99+
    2023-06-13
  • Apache Hudi结合Flink的示例分析
    这篇文章主要介绍Apache Hudi结合Flink的示例分析,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!1. 实时数据落地需求演进实时平台上线后,主要需求是开发实时报表,即抽取各类数据源做实时etl后,...
    99+
    2023-06-29
  • 整合jQueryMobile+AngularJs的示例分析
    整合jQueryMobile+AngularJs的示例分析,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。两者都是不错的JS编程...
    99+
    2024-04-02
  • SpringBoot整合MyBatis的示例分析
    这篇文章主要介绍了SpringBoot整合MyBatis的示例分析,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。1.整合MyBatis操作前面一篇提到了SpringBoot整...
    99+
    2023-06-15
  • SpringBoot整合MybatisPlus的示例分析
    这篇文章给大家分享的是有关SpringBoot整合MybatisPlus的示例分析的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。创建个SpringBoot项目勾选生所需的依赖:我把application的后缀改为...
    99+
    2023-06-20
  • springboot与mybatis整合的示例分析
    这篇文章主要介绍了springboot与mybatis整合的示例分析,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。整合MyBatis新建Spring Boot项目,或以Cha...
    99+
    2023-05-30
    springboot mybatis
  • spring boot整合JMS的示例分析
    这篇文章将为大家详细讲解有关spring boot整合JMS的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。一、安装ActiveMQ具体的安装步骤,请参考我的另一篇文章:https://www.j...
    99+
    2023-05-30
    spring boot jms
  • java框架整合的示例分析
    java框架整合的示例分析,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。框架整合:Springmvc + Mybatis + Shiro(权限) + REST(服务) + We...
    99+
    2023-06-05
  • springboot整合swagger问题的示例分析
    小编给大家分享一下springboot整合swagger问题的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!一.前言解决了一个困扰很久的问题。自己搭建的一...
    99+
    2023-06-14
  • Springboot整合knife4j与shiro的示例分析
    小编给大家分享一下Springboot整合knife4j与shiro的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!一、介绍knife4j增强版本的Swa...
    99+
    2023-06-20
  • Spring整合Mybatis思路的示例分析
    这篇文章主要介绍Spring整合Mybatis思路的示例分析,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!引入相关依赖SpringMyabtismysqlMybatsi-spring如何整合?Spring:项目管理框...
    99+
    2023-06-29
  • spark与kafaka整合workcount示例分析
    今天就跟大家聊聊有关spark与kafaka整合workcount示例分析,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。package hgs.spark.streamin...
    99+
    2023-06-02
  • Spring Boot 整合 Apache Dubbo的示例代码
    Apache Dubbo是一款高性能、轻量级的开源 Java RPC 框架,它提供了三大核心能力:面向接口的远程方法调用,智能容错和负载均衡,以及服务自动注册和发现。 注意,是 Ap...
    99+
    2024-04-02
  • Java中ssh整合常见错误的示例分析
    这篇文章将为大家详细讲解有关Java中ssh整合常见错误的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。1. org.springframework.transaction.CannotCreat...
    99+
    2023-05-31
    java ssh
  • SSH+Jquery+Ajax框架整合的示例分析
    这篇文章将为大家详细讲解有关SSH+Jquery+Ajax框架整合的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。想要的效果:登录页面点击提交后 进行后台的验证;...
    99+
    2024-04-02
  • Flex2与struts整合配置的示例分析
    这篇文章给大家分享的是有关Flex2与struts整合配置的示例分析的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。Flex2与struts整合配置1.下载软件a)Flexdataservice:http://ww...
    99+
    2023-06-17
  • IDEA SSM整合Redis项目的示例分析
    这篇文章给大家分享的是有关IDEA SSM整合Redis项目的示例分析的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。IDEA SSM整合Redis项目实例1、pom.xml 配置 <!--&nbs...
    99+
    2023-06-15
  • Django2.* + Mysql5.7开发环境整合的示例分析
    这篇文章将为大家详细讲解有关Django2.* + Mysql5.7开发环境整合的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。环境:MAC_OS 10.12py...
    99+
    2024-04-02
  • Vue项目整合及优化的示例分析
    这篇文章给大家分享的是有关Vue项目整合及优化的示例分析的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。前言使用 webpack 构建过 Vue 项目的同学应该知道 alias 的...
    99+
    2024-04-02
  • Vuex和前端缓存整合的示例分析
    这篇文章主要介绍了Vuex和前端缓存整合的示例分析,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。如何存放或更新缓存?缓存数据来源是预知的,我...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作