본문으로 바로가기

Web Mail Server

category Linux/Linux Network 2017. 9. 13. 20:07
  • 무료 웹메일의 종류

- Roundcube Webmail

   - http://roundcube.net/


- Squirrelmail (일명: 다람쥐 웹메일)

   - http://squirrelmail.org/

   - http://blog.naver.com/dwb01?Redirect=Log&logNo=40063038950

   - http://blog.naver.com/june8th98/150014363290

   - http://moyaria.tistory.com/59

   - http://kjhfull.tistory.com/entry/centoswebmail


- Nutsmail

   - http://nutsmail.com/


- Atmail

   - http://atmail.com/


  • 다람쥐 웹메일 ( Squirrelmail )
# yum list | grep squirrelmail

# yum -y install squirrelmail

/* 소유권 변경 */
# chown apache.apache -R /usr/share/squirrelmail 
# chown apache.apache /etc/squirrelmail/config.php 
# chown apache.apache -R /var/lib/squirrelmail 
# chown apache.apache -R /var/spool/squirrelmail 

- 다람쥐 웹 메일 설정
다람쥐 웹 메일 설정 화면은 글씨색이 흰색이라 바탕색이 하얀색이면 보이지 않는다. 
-> 터미널 마우스 오른쪽 클릭 > 색 

# /usr/share/squirrelmail/config/conf.pl

 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Main Menu --

1.  Organization Preferences

2.  Server Settings

3.  Folder Defaults

4.  General Options

5.  Themes

6.  Address Books

7.  Message of the Day (MOTD)

8.  Plugins

9.  Database

10. Languages


D.  Set pre-defined settings for specific IMAP servers


C   Turn color off

S   Save data

Q   Quit


Command >> 2

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : localhost

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


A.  Update IMAP Settings   : localhost:143 (uw)

B.  Change Sendmail Config : /usr/sbin/sendmail


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> 1


The domain name is the suffix at the end of all email addresses.  If

for example, your email address is jdoe@example.com, then your domain

would be example.com.


[localhost]: linux.example.com 

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : linux.example.com

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


A.  Update IMAP Settings   : localhost:143 (uw)

B.  Change Sendmail Config : /usr/sbin/sendmail


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> A

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : linux.example.com

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


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.  Change Sendmail Config : /usr/sbin/sendmail

H.  Hide IMAP Server Settings


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> 4


This is the hostname where your IMAP server can be contacted.

[localhost]: mail.linux.example.com

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : linux.example.com

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


IMAP Settings

--------------

4.  IMAP Server            : mail.linux.example.com

5.  IMAP Port              : 143

6.  Authentication type    : login

7.  Secure IMAP (TLS)      : false

8.  Server software        : uw

9.  Delimiter              : /


B.  Change Sendmail Config : /usr/sbin/sendmail

H.  Hide IMAP Server Settings


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> 8


Each IMAP server has its own quirks.  As much as we tried to stick

to standards, it doesn't help much if the IMAP server doesn't follow

the same principles.  We have made some work-arounds for some of

these servers.  If you would like to use them, please select your

IMAP server.  If you do not wish to use these work-arounds, you can

set this to "other", and none will be used.

    cyrus       = Cyrus IMAP server

    uw          = University of Washington's IMAP server

    exchange    = Microsoft Exchange IMAP server

    courier     = Courier IMAP server

    macosx      = Mac OS X Mailserver

    hmailserver = hMailServer

    other       = Not one of the above servers

[uw]: other

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : linux.example.com

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


IMAP Settings

--------------

4.  IMAP Server            : mail.linux.example.com

5.  IMAP Port              : 143

6.  Authentication type    : login

7.  Secure IMAP (TLS)      : false

8.  Server software        : other

9.  Delimiter              : /


B.  Change Sendmail Config : /usr/sbin/sendmail

H.  Hide IMAP Server Settings


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> s


Data saved in config.php

Press enter to continue...

<ENTER>

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Server Settings


General

-------

1.  Domain                 : linux.example.com

2.  Invert Time            : false

3.  Sendmail or SMTP       : Sendmail


IMAP Settings

--------------

4.  IMAP Server            : mail.linux.example.com

5.  IMAP Port              : 143

6.  Authentication type    : login

7.  Secure IMAP (TLS)      : false

8.  Server software        : other

9.  Delimiter              : /


B.  Change Sendmail Config : /usr/sbin/sendmail

H.  Hide IMAP Server Settings


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> r

 


/* 언어 설정 */

 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Main Menu --

1.  Organization Preferences

2.  Server Settings

3.  Folder Defaults

4.  General Options

5.  Themes

6.  Address Books

7.  Message of the Day (MOTD)

8.  Plugins

9.  Database

10. Languages


D.  Set pre-defined settings for specific IMAP servers


C   Turn color off

S   Save data

Q   Quit


Command >> 10

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Language preferences

1.  Default Language       : en_US

2.  Default Charset        : iso-8859-1

3.  Enable lossy encoding  : false


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> 1


SquirrelMail attempts to set the language in many ways.  If it

can not figure it out in another way, it will default to this

language.  Please use the code for the desired language.


[en_US]: ko_KR

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Language preferences

1.  Default Language       : ko_KR

2.  Default Charset        : iso-8859-1

3.  Enable lossy encoding  : false


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> 2


This option controls what character set is used when sending

mail and when sending HTML to the browser.


This option is used only when default language is 'en_US'.


[iso-8859-1]: euc-kr

 



 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Language preferences

1.  Default Language       : ko_KR

2.  Default Charset        : euc-kr

3.  Enable lossy encoding  : false


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> s


Data saved in config.php

Press enter to continue...

<ENTER>

 


 

 SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Language preferences

1.  Default Language       : ko_KR

2.  Default Charset        : euc-kr

3.  Enable lossy encoding  : false


R   Return to Main Menu

C   Turn color off

S   Save data

Q   Quit


Command >> q



Exiting conf.pl.

You might want to test your configuration by browsing to

http://your-squirrelmail-location/src/configtest.php

Happy SquirrelMailing!

 


- 아파치 서비스 설정 

# vi /etc/httpd/conf/httpd.conf

 

 #

# Aliases: Add here as many aliases as you need (with no limit). The format is 

# Alias fakename realname

#

# Note that if you include a trailing / on fakename then the server will

# require it to be present in the URL.  So "/icons" isn't aliased in this

# example, only "/icons/".  If the fakename is slash-terminated, then the 

# realname must also be slash terminated, and if the fakename omits the 

# trailing slash, the realname must also omit it.

#

# We include the /icons/ alias for FancyIndexed directory listings.  If you

# do not use FancyIndexing, you may comment this out.

#

Alias /icons/ "/var/www/icons/"

Alias /webmail/ "/usr/share/squirrelmail/"    /* 추가 */


<Directory "/var/www/icons">

    Options Indexes MultiViews

    AllowOverride None

    Order allow,deny

    Allow from all

</Directory>

 



# service httpd restart
 -> 오류가 뜨더라도 OK 된다면 무시한다. ( Alias 목록이 하나 이상이라는 오류 )

# vi /var/named/chroot/var/named/example.zone
www        IN A 192.168.17.220

# service named.restart
# nslookup www.linux.example.com

-확인
# firefox http://www.linux.example.com/webmail/src/login.php 




'Linux > Linux Network' 카테고리의 다른 글

SAMBA  (0) 2017.09.15
NFS  (0) 2017.09.14
MAIL Server  (0) 2017.09.13
FTP  (0) 2017.09.13
WEB Server ( Apache )  (0) 2017.09.11