Network/¥á¡¼¥ë¥µ¡¼¥Ð
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
[
¥È¥Ã¥×
] [
¿·µ¬
|
°ìÍ÷
|
ñ¸ì¸¡º÷
|
ºÇ½ª¹¹¿·
|
¥Ø¥ë¥×
|
¥í¥°¥¤¥ó
]
³«»Ï¹Ô:
// ²¼³¬ÁØÍѥƥó¥×¥ì¡¼¥È
#topicpath
----
//¤³¤³¤Ë¥³¥ó¥Æ¥ó¥Ä¤òµ½Ò¤·¤Þ¤¹¡£
#contents
°Ê²¼¡¢¼«Âð¤Î¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¥µ¡¼¥Ð¤ò¹½ÃÛ¤·¤¿¤È¤¤ÎµÏ¿¤Ç¤¹...
**SMTP¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë [#u1da2e7c]
»È¤Ã¤Æ¤¤¤ë¥µ¡¼¥Ð¤ÏCentOS5.2¤Ç¤¹¤¬¡¢É¸½à¤Ç¤ÏSendmail¤¬Æ°¤¤...
[root@centos ~]# yum -y install postfix
Downloading Packages:
(1/1): postfix-2.3.3-2.1. 100% |========================...
Running Transaction
Installing: postfix #############...
Installed: postfix.i386 2:2.3.3-2.1.el5_2
Complete!
[root@centos ~]# /sbin/service sendmail stop
sm-client ¤òÄä»ßÃæ: ...
sendmail ¤òÄä»ßÃæ: ...
[root@centos ~]# chkconfig sendmail off
[root@centos ~]# chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@centos ~]# alternatives --config mta
2 ¥×¥í¥°¥é¥à¤¬¤¢¤ê 'mta' ¤òÄ󶡤·¤Þ¤¹¡£
ÁªÂò ¥³¥Þ¥ó¥É
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix
Enter ¤ò²¡¤·¤Æ¸½ºß¤ÎÁªÂò [+] ¤òÊÝ»ý¤¹¤ë¤«¡¢ÁªÂòÈÖ¹æ¤òÆþ...
[root@centos ~]# alternatives --config mta
2 ¥×¥í¥°¥é¥à¤¬¤¢¤ê 'mta' ¤òÄ󶡤·¤Þ¤¹¡£
ÁªÂò ¥³¥Þ¥ó¥É
-----------------------------------------------
* 1 /usr/sbin/sendmail.sendmail
+ 2 /usr/sbin/sendmail.postfix <-Êѹ¹¤µ¤ì¤¿
Enter ¤ò²¡¤·¤Æ¸½ºß¤ÎÁªÂò [+] ¤òÊÝ»ý¤¹¤ë¤«¡¢ÁªÂòÈÖ¹æ¤òÆþ...
[root@centos ~]#
*** ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸ [#lc400d89]
/etc/postfix/main.cf¤ò°Ê²¼¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£
[root@www ~]# diff /etc/postfix/main.cf.20071007 /etc/po...
> myhostname = mail.hogehoge.com
//¥á¡¼¥ë¥µ¡¼¥Ð¤ÎFQDN̾¡£
//DNS¤Ç¤â°ú¤±¤ë¤è¤¦¤ÊÀµ¤·¤¤¥â¥Î¤Ë¤·¤Ê¤¤¤È¥À¥á¤ß¤¿¤¤¤Ç¤¹
> mydomain = hogehoge.com
//¼«¥É¥á¥¤¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
// root@hogehoge.com ¤Ã¤Æ¥¢¥É¥ì¥¹¤Ë¤Ê¤ë¤Î¤«¤Ê¡£
> myorigin = $mydomain
< inet_interfaces = localhost
> #inet_interfaces = localhost
> inet_interfaces = all
< mydestination = $myhostname, localhost.$mydomain, lo...
> #mydestination = $myhostname, localhost.$mydomain, loc...
> mydestination = $myhostname, $mydomain
// ¼«¥Û¥¹¥È¤¬ºÇ½ªÌÜŪÃϤǤ¢¤ë¥É¥á¥¤¥ó̾
// ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Î@¤Î±¦Â¦¤¬¾åµ»ØÄê¤Ë°ìÃפ¹¤ë¤È¡¢¼«¥µ¥¤...
// ¸«¤Ê¤·¤Æ¼è¤ê¹þ¤ß¤ò¹Ô¤¤¤Þ¤¹¡£¾åµ¤Î¾ì¹ç @¤Î±¦¤¬¥É¥á¥¤...
// ¥µ¡¼¥Ð¤ÎFQDN¤Î¾ì¹ç¤À¤±¼è¤ê¹þ¤ß¤ò¹Ô¤¤¤Þ¤¹¡£
> mynetworks = 192.168.1.0/24, 127.0.0.0/8
// ¿®Íê¤Ç¤¤ëSMTP¥¯¥é¥¤¥¢¥ó¥È¥¢¥É¥ì¥¹¤Ç¤¹¡£¤³¤Î¥Í¥Ã¥È¤«...
// ¤³¤Î¥µ¥Ö¥Í¥Ã¥È°Ê³°¤«¤é¤Î¥á¡¼¥ëÁ÷¿®¤Ï¤Ç¤¤Ê¤¤¤Ã¤Æ»ö
// IP¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£
< #home_mailbox = Maildir/
> home_mailbox = Maildir/
// ¥á¡¼¥ë¥Ü¥Ã¥¯¥¹¤Î·Á¼°¤Ï¡¢Maildir ¤Ë¤·¤Þ¤¹
> mail_spool_directory = /var/spool/mail
**POP3/IMAP4¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë [#m54cca44]
[root@centos postfix]# yum -y install dovecot
Package dovecot - 1.0.7-2.el5.i386 is already installed....
Nothing to do
[root@centos postfix]#
***ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸ [#v7945858]
/etc/dovecot.conf ¤ò°Ê²¼¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£
[root@centos etc]# diff dovecot.conf.20081013 dovecot.conf
> protocols = imap imaps pop3 pop3s
> mail_location = maildir:~/Maildir
[root@centos etc]#
ºÆµ¯Æ°¤È¡¢¤¢¤È¤Ï£Ï£Óµ¯Æ°»þ¼«Æ°µ¯Æ°¤È¤·¤Þ¤¹¡£
[root@centos etc]# /etc/init.d/dovecot start
Dovecot Imap ¤òµ¯Æ°Ãæ: ...
[root@centos etc]# chkconfig dovecot on
[root@centos etc]# chkconfig --list dovecot
dovecot 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@centos etc]#
**TIPS [#zc7297db]
***¥á¡¼¥ë¤Î¥ê¥ì¡¼¤òÀßÄꤹ¤ë¡£ [#x74ce2a2]
¼«¥á¡¼¥ë¥µ¡¼¥Ð¤«¤é¾¤Î¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¤òÇÛÁ÷¤¹¤ëÀßÄê¤Ç¤¹¡£/...
relayhost = [¥ê¥ì¡¼Àè¤ÎSMTP¥µ¡¼¥Ð]
¤Î¹àÌܤò½¤Àµ¤·¤Þ¤¹¡£¤Á¤ã¤ó¤È¥»¥¥å¥ê¥Æ¥£¤ËÇÛθ¤·¤Ê¤¤¤È¡¢...
**´ØÏ¢¥ê¥ó¥¯ [#k0a4ef84]
°Ê²¼¤Î¥µ¥¤¥È¤ò»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡ª
-[[¥á¡¼¥ë¥µ¡¼¥Ð¡¼¹½ÃÛ(Postfix+Dovecot) - Fedora¤Ç¼«Â𥵡¼...
-[[Postfix¤Ë¤è¤ëSMTP¥µ¡¼¥Ð¤Î¹½ÃÛ(CentOSɸ½àÈÇÊÔ)>http://w...
-[[Postfix¤Ç¥á¡¼¥ë¥µ¡¼¥Ð¡ÊMTA¡Ë>http://hnw.dip.jp/server/...
-[[¡ÚVine Linux¤Ç¼«Â𥵡¼¥Ð¡¼¡ÛPostfix+courier-imap¤ÇPOP ...
-[[Postfix ¥Á¥å¡¼¥È¥ê¥¢¥ë>http://tmtm.org/postfix/tutoria...
-[[â474 ¾¥µ¡¼¥ÐWebmail ¤«¤é¼«¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¤¬ÇÛÁ÷¤µ¤ì¤Ê...
-[[Âè»°¼ÔÃæ·Ñ¥Á¥§¥Ã¥¯ RBL.JP>http://www.rbl.jp/svcheck.ph...
-[[Postfix¤Î±¿ÍÑ¡¦´ÉÍýÂè2²ó¡§SMTPǧ¾Ú>https://www.stackas...
-[[Postfix¤Î¼õ¿®¡¿Å¾Á÷¤Ë´Ø¤¹¤ëÀßÄê>http://www.obenri.com/...
-[[¤Ò¤¸¤¤Í¤Ã¤È: Postfix¤ò»È¤Ã¤¿¥ê¥ì¡¼¤Î¸¡¾Ú>http://www.h...
----
¤³¤Îµ»ö¤Ï
#vote(¤ª¤â¤·¤í¤«¤Ã¤¿,¤½¤¦¤Ç¤â¤Ê¤¤)
- ¤¢¤Þ¤êSMTP¤È¤«POP/IMAP¤òÃΤé¤Ê¤«¤Ã¤¿¤È¤¡¢¥á¡¼¥ëÁ÷¿®¤ÏS...
#comment
#topicpath
SIZE(10){¸½ºß¤Î¥¢¥¯¥»¥¹:&counter;}
½ªÎ»¹Ô:
// ²¼³¬ÁØÍѥƥó¥×¥ì¡¼¥È
#topicpath
----
//¤³¤³¤Ë¥³¥ó¥Æ¥ó¥Ä¤òµ½Ò¤·¤Þ¤¹¡£
#contents
°Ê²¼¡¢¼«Âð¤Î¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¥µ¡¼¥Ð¤ò¹½ÃÛ¤·¤¿¤È¤¤ÎµÏ¿¤Ç¤¹...
**SMTP¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë [#u1da2e7c]
»È¤Ã¤Æ¤¤¤ë¥µ¡¼¥Ð¤ÏCentOS5.2¤Ç¤¹¤¬¡¢É¸½à¤Ç¤ÏSendmail¤¬Æ°¤¤...
[root@centos ~]# yum -y install postfix
Downloading Packages:
(1/1): postfix-2.3.3-2.1. 100% |========================...
Running Transaction
Installing: postfix #############...
Installed: postfix.i386 2:2.3.3-2.1.el5_2
Complete!
[root@centos ~]# /sbin/service sendmail stop
sm-client ¤òÄä»ßÃæ: ...
sendmail ¤òÄä»ßÃæ: ...
[root@centos ~]# chkconfig sendmail off
[root@centos ~]# chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@centos ~]# alternatives --config mta
2 ¥×¥í¥°¥é¥à¤¬¤¢¤ê 'mta' ¤òÄ󶡤·¤Þ¤¹¡£
ÁªÂò ¥³¥Þ¥ó¥É
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix
Enter ¤ò²¡¤·¤Æ¸½ºß¤ÎÁªÂò [+] ¤òÊÝ»ý¤¹¤ë¤«¡¢ÁªÂòÈÖ¹æ¤òÆþ...
[root@centos ~]# alternatives --config mta
2 ¥×¥í¥°¥é¥à¤¬¤¢¤ê 'mta' ¤òÄ󶡤·¤Þ¤¹¡£
ÁªÂò ¥³¥Þ¥ó¥É
-----------------------------------------------
* 1 /usr/sbin/sendmail.sendmail
+ 2 /usr/sbin/sendmail.postfix <-Êѹ¹¤µ¤ì¤¿
Enter ¤ò²¡¤·¤Æ¸½ºß¤ÎÁªÂò [+] ¤òÊÝ»ý¤¹¤ë¤«¡¢ÁªÂòÈÖ¹æ¤òÆþ...
[root@centos ~]#
*** ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸ [#lc400d89]
/etc/postfix/main.cf¤ò°Ê²¼¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£
[root@www ~]# diff /etc/postfix/main.cf.20071007 /etc/po...
> myhostname = mail.hogehoge.com
//¥á¡¼¥ë¥µ¡¼¥Ð¤ÎFQDN̾¡£
//DNS¤Ç¤â°ú¤±¤ë¤è¤¦¤ÊÀµ¤·¤¤¥â¥Î¤Ë¤·¤Ê¤¤¤È¥À¥á¤ß¤¿¤¤¤Ç¤¹
> mydomain = hogehoge.com
//¼«¥É¥á¥¤¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
// root@hogehoge.com ¤Ã¤Æ¥¢¥É¥ì¥¹¤Ë¤Ê¤ë¤Î¤«¤Ê¡£
> myorigin = $mydomain
< inet_interfaces = localhost
> #inet_interfaces = localhost
> inet_interfaces = all
< mydestination = $myhostname, localhost.$mydomain, lo...
> #mydestination = $myhostname, localhost.$mydomain, loc...
> mydestination = $myhostname, $mydomain
// ¼«¥Û¥¹¥È¤¬ºÇ½ªÌÜŪÃϤǤ¢¤ë¥É¥á¥¤¥ó̾
// ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Î@¤Î±¦Â¦¤¬¾åµ»ØÄê¤Ë°ìÃפ¹¤ë¤È¡¢¼«¥µ¥¤...
// ¸«¤Ê¤·¤Æ¼è¤ê¹þ¤ß¤ò¹Ô¤¤¤Þ¤¹¡£¾åµ¤Î¾ì¹ç @¤Î±¦¤¬¥É¥á¥¤...
// ¥µ¡¼¥Ð¤ÎFQDN¤Î¾ì¹ç¤À¤±¼è¤ê¹þ¤ß¤ò¹Ô¤¤¤Þ¤¹¡£
> mynetworks = 192.168.1.0/24, 127.0.0.0/8
// ¿®Íê¤Ç¤¤ëSMTP¥¯¥é¥¤¥¢¥ó¥È¥¢¥É¥ì¥¹¤Ç¤¹¡£¤³¤Î¥Í¥Ã¥È¤«...
// ¤³¤Î¥µ¥Ö¥Í¥Ã¥È°Ê³°¤«¤é¤Î¥á¡¼¥ëÁ÷¿®¤Ï¤Ç¤¤Ê¤¤¤Ã¤Æ»ö
// IP¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤¤ë¡£
< #home_mailbox = Maildir/
> home_mailbox = Maildir/
// ¥á¡¼¥ë¥Ü¥Ã¥¯¥¹¤Î·Á¼°¤Ï¡¢Maildir ¤Ë¤·¤Þ¤¹
> mail_spool_directory = /var/spool/mail
**POP3/IMAP4¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë [#m54cca44]
[root@centos postfix]# yum -y install dovecot
Package dovecot - 1.0.7-2.el5.i386 is already installed....
Nothing to do
[root@centos postfix]#
***ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸ [#v7945858]
/etc/dovecot.conf ¤ò°Ê²¼¤Î¤è¤¦¤ËÊÔ½¸¤·¤Þ¤¹¡£
[root@centos etc]# diff dovecot.conf.20081013 dovecot.conf
> protocols = imap imaps pop3 pop3s
> mail_location = maildir:~/Maildir
[root@centos etc]#
ºÆµ¯Æ°¤È¡¢¤¢¤È¤Ï£Ï£Óµ¯Æ°»þ¼«Æ°µ¯Æ°¤È¤·¤Þ¤¹¡£
[root@centos etc]# /etc/init.d/dovecot start
Dovecot Imap ¤òµ¯Æ°Ãæ: ...
[root@centos etc]# chkconfig dovecot on
[root@centos etc]# chkconfig --list dovecot
dovecot 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@centos etc]#
**TIPS [#zc7297db]
***¥á¡¼¥ë¤Î¥ê¥ì¡¼¤òÀßÄꤹ¤ë¡£ [#x74ce2a2]
¼«¥á¡¼¥ë¥µ¡¼¥Ð¤«¤é¾¤Î¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¤òÇÛÁ÷¤¹¤ëÀßÄê¤Ç¤¹¡£/...
relayhost = [¥ê¥ì¡¼Àè¤ÎSMTP¥µ¡¼¥Ð]
¤Î¹àÌܤò½¤Àµ¤·¤Þ¤¹¡£¤Á¤ã¤ó¤È¥»¥¥å¥ê¥Æ¥£¤ËÇÛθ¤·¤Ê¤¤¤È¡¢...
**´ØÏ¢¥ê¥ó¥¯ [#k0a4ef84]
°Ê²¼¤Î¥µ¥¤¥È¤ò»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡ª
-[[¥á¡¼¥ë¥µ¡¼¥Ð¡¼¹½ÃÛ(Postfix+Dovecot) - Fedora¤Ç¼«Â𥵡¼...
-[[Postfix¤Ë¤è¤ëSMTP¥µ¡¼¥Ð¤Î¹½ÃÛ(CentOSɸ½àÈÇÊÔ)>http://w...
-[[Postfix¤Ç¥á¡¼¥ë¥µ¡¼¥Ð¡ÊMTA¡Ë>http://hnw.dip.jp/server/...
-[[¡ÚVine Linux¤Ç¼«Â𥵡¼¥Ð¡¼¡ÛPostfix+courier-imap¤ÇPOP ...
-[[Postfix ¥Á¥å¡¼¥È¥ê¥¢¥ë>http://tmtm.org/postfix/tutoria...
-[[â474 ¾¥µ¡¼¥ÐWebmail ¤«¤é¼«¥µ¡¼¥Ð¤Ë¥á¡¼¥ë¤¬ÇÛÁ÷¤µ¤ì¤Ê...
-[[Âè»°¼ÔÃæ·Ñ¥Á¥§¥Ã¥¯ RBL.JP>http://www.rbl.jp/svcheck.ph...
-[[Postfix¤Î±¿ÍÑ¡¦´ÉÍýÂè2²ó¡§SMTPǧ¾Ú>https://www.stackas...
-[[Postfix¤Î¼õ¿®¡¿Å¾Á÷¤Ë´Ø¤¹¤ëÀßÄê>http://www.obenri.com/...
-[[¤Ò¤¸¤¤Í¤Ã¤È: Postfix¤ò»È¤Ã¤¿¥ê¥ì¡¼¤Î¸¡¾Ú>http://www.h...
----
¤³¤Îµ»ö¤Ï
#vote(¤ª¤â¤·¤í¤«¤Ã¤¿,¤½¤¦¤Ç¤â¤Ê¤¤)
- ¤¢¤Þ¤êSMTP¤È¤«POP/IMAP¤òÃΤé¤Ê¤«¤Ã¤¿¤È¤¡¢¥á¡¼¥ëÁ÷¿®¤ÏS...
#comment
#topicpath
SIZE(10){¸½ºß¤Î¥¢¥¯¥»¥¹:&counter;}
¥Ú¡¼¥¸Ì¾: