Академический Документы
Профессиональный Документы
Культура Документы
IMAP
[root@mylinuxpc1 ~]# yum groupinstall "Mail Server"
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
Setting up repositories
Reading repository metadata in from local files
Dependencies Resolved
==================================================================
===========
Package
Arch
Version
Repository
Size
==================================================================
===========
Installing:
dovecot
i386
1.0-1.2.rc15.el5 core
1.5 M
sendmail
i386
8.13.8-2.el5
core
631 k
sendmail-cf
i386
8.13.8-2.el5
core
311 k
spamassassin
i386
3.1.7-4.el5
core
913 k
Transaction Summary
==================================================================
===========
Install
4 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): sendmail-8.13.8-2. 100% |=========================| 631 kB 00:00
(2/4): dovecot-1.0-1.2.rc 100% |=========================| 1.5 MB 00:00
(3/4): sendmail-cf-8.13.8 100% |=========================| 311 kB 00:00
(4/4): spamassassin-3.1.7 100% |=========================| 913 kB 00:00
Running Transaction Test
Installing: sendmail
######################### [1/4]
Installing: dovecot
######################### [2/4]
Installing: sendmail-cf
######################### [3/4]
Installing: spamassassin
######################### [4/4]
Installed: dovecot.i386 0:1.0-1.2.rc15.el5 sendmail.i386 0:8.13.8-2.el5 sendmail-cf.i386
0:8.13.8-2.el5 spamassassin.i386 0:3.1.7-4.el5
Complete!
[root@mylinuxpc1 ~]#
######################### [1/2]
######################### [2/2]
00:00
00:00
[root@mylinuxpc1 Server]#
[root@mylinuxpc1 Server]# pwd
/var/ftp/pub/Server
[root@mylinuxpc1 Server]# rpm -Uvh system-switch-mail-0.5.25-12.noarch.rpm
Preparing...
########################################### [100%]
1:system-switch-mail ########################################### [100%]
[root@mylinuxpc1 Server]#
Step5:Change from Sendmail to Postfix(#system-switch-mail)
[root@mylinuxpc1 ~]# system-switch-mail
Select Postfix Select on OK Select OK
myorigin = $mydomain
# RECEIVING MAIL
#inet_interfaces = all (Remove #)
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = localhost (Add #)
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
mydestination = $myhostname, localhost.$mydomain, localhost ,mytechies.com,
# INTERNET OR INTRANET
#relayhost = $mydomain (Remove #)
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
# INSTALL-TIME CONFIGURATION INFORMATION
Note :In the end of file type this line
virtual_alias-domains = mytechies.com
:x
root@mylinuxpc1 ~]#
piyush
santosh
manzoor
:x
[root@mylinuxpc1 ~]#
Steps for configuring E-mail Client for sending and receiving messages:
Step1: Configure IP Address as for Windows Client (192.168.5.x)
Step2: Configure E-mail Client (Outlook Express)
Step3: Send and Receive Message
Step2: Configure E-mail Client (Outlook Express)
Start Programs Outlook Express
Web Mail Client :
To Send / Receive Message by using Web Browser ( I.E / Firefox),you have configure
1.Apache Web Server
2.Squirrel Mail
Steps for configuring Web Mail :
Step1 :Install Squirrelmail package
Step2 :Configure Squireelmail
Step3 :Configure Apache for Squirrelmail
Step1 :Install Squirrelmail package
[root@mylinuxpc1 ~]# cd /var/ftp/pub/Server/
[root@mylinuxpc1 Server]#
[root@mylinuxpc1 Server]# pwd
/var/ftp/pub/Server
[root@mylinuxpc1 Server]# rpm -Uvh squirrelmail-1.4.8-4.el5.noarch.rpm
Preparing...
########################################### [100%]
1:squirrelmail
########################################### [100%]
[root@mylinuxpc1 Server]#
Step2 :Configure Squireelmail
[root@mylinuxpc1 ~]# cd /usr/share/squirrelmail/config/
[root@mylinuxpc1 config]#
[root@mylinuxpc1 config]# pwd
/usr/share/squirrelmail/config
[root@mylinuxpc1 config]# ls -l
total 184
-rw-r--r-- 1 root root 29548 Jan 23 2007 config_default.php
lrwxrwxrwx 1 root root 45 Dec 13 00:02 config_local.php ->
../../../../etc/squirrelmail/config_local.php
lrwxrwxrwx 1 root root 39 Dec 13 00:02 config.php ->
../../../../etc/squirrelmail/config.php
-rwxr-xr-x 1 root root 144118 Jan 23 2007 conf.pl
. /conf.pl
: localhost
: false
: Sendmail
R
C
S
Q
Command >> 1
[localhost]: mytechies.com
Command >> 3
1. Sendmail
2. SMTP
Your choice [1/2] [1]: 2
SquirrelMail Configuration : Read: config.php (1.4.0)
--------------------------------------------------------Server Settings
General
------1. Domain
2. Invert Time
3. Sendmail or SMTP
: mytechies.com
: false
: SMTP
IMAP Settings
-------------4. IMAP Server
: localhost
5. IMAP Port
: 143
6. Authentication type
: login
7. Secure IMAP (TLS)
: false
8. Server software
: uw
9. Delimiter
:/
B. Update SMTP Settings : localhost:25
H. Hide IMAP Server Settings
R
C
S
Q
Command >>
Command >> B
SquirrelMail Configuration : Read: config.php (1.4.0)
--------------------------------------------------------Server Settings
General
------1. Domain
2. Invert Time
3. Sendmail or SMTP
: mytechies.com
: false
: SMTP
SMTP Settings
------------4. SMTP Server
: localhost
5. SMTP Port
: 25
6. POP before SMTP
: false
7. SMTP Authentication : none
8. Secure SMTP (TLS) : false
9. Header encryption key :
A. Update IMAP Settings : localhost:143 (uw)
H. Hide SMTP Settings
R
C
S
Q
Command >> 4
This is the hostname of your SMTP server.
[localhost]: 192.168.5.1
Command >> A
Command >> 4
This is the hostname where your IMAP server can be contacted.
[localhost]: 192.168.5.1
SquirrelMail Configuration : Read: config.php (1.4.0)
--------------------------------------------------------Server Settings
General
------1. Domain
2. Invert Time
3. Sendmail or SMTP
: mytechies.com
: false
: SMTP
IMAP Settings
-------------4. IMAP Server
5. IMAP Port
6. Authentication type
7. Secure IMAP (TLS)
8. Server software
9. Delimiter
: 192.168.5.1
: 143
: login
: false
: uw
:/
Command >>
Command >> S
Data saved in config.php
Press enter to continue...
Command >> Q
[root@mylinuxpc1 ~]#
Step3 :Configure Apache for Squirrelmail
[root@mylinuxpc1 ~]# gedit /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.5.1
<VirtualHost 192.168.5.1>
ServerAdmin webmaster@www.mytechies.com
DocumentRoot /usr/share/squirrelmail
ServerName www.mytechies.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
Save and Exit
[root@mylinuxpc1 ~]#