mail.server.crush
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*mailserver crush [#bd16d92e]
**Mailサーバの移住 2013/12/10 [#u5f22a13]
[[Mail Server の移行2013]]
mail.kuji-clinic.net
210.255.122.213
k222へ移住するよ
***qpopper 入れるよ [#a9c92ce4]
portinstall mail/qpopper
/etc/inetd.conf
pop3 stream tcp nowait root /usr/local/libexec/qpopper ...
pop3 stream tcp nowait.100 root /usr/local/libexec/qpopp...
***popパスワード移住 [#b62e55be]
root@k222:/usr/Backups/MailKN/usr/local/etc/qpopper # cp...
***/etc/rc.conf [#o6c5bf77]
ifconfig_em0_alias0="inet 210.255.122.213 netmask 255.2...
inetd_enable="YES" qpopperは、inetd で動くのだ
----
**crush が多発し始めたメールサーバの /etc/rc.conf がこち...
Lastmodified 2013-11-28 (木) 12:26:31
defaultrouter="210.255.122.209"
hostname="mail.kuji-clinic.net"
ifconfig_em0="inet 210.255.122.213 netmask 255.255.255....
keymap="jp.106"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_pidfile="/var/spool/postfix/pid/master.pid"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
inetd_enable="YES"
mailman_enable="YES"
############
# 20070525 http://www.crimson-snow.net/hmsvr/bsd/maild/...
###########
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#http://www.voyager.gr.jp/~sampei/freebsd/spamassassin.h...
spamd_enable="YES"
apache22_enable="YES"
# ntpd add 2007/07/27
ntpd_enable="YES"
#ntpd_sync_on_start="YES"
#ntpd_program="/usr/sbin/ntpd"
#ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
###20070825
snmpd_enable="YES"
snmpd_flags="-a -p /var/run/snmpd.pid"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
mrtg_daemon_enable="YES"
mysql_enable="YES"
mysql_dbdir="/usr/mysql"
で、こちらが、バックアップ先となります。
/usr/root/bin/backup_to_222?all.sh
#!/bin/sh
/usr/local/bin/rsync -av --delete / 210.255.122.222:/usr...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*mailserver crush [#bd16d92e]
**Mailサーバの移住 2013/12/10 [#u5f22a13]
[[Mail Server の移行2013]]
mail.kuji-clinic.net
210.255.122.213
k222へ移住するよ
***qpopper 入れるよ [#a9c92ce4]
portinstall mail/qpopper
/etc/inetd.conf
pop3 stream tcp nowait root /usr/local/libexec/qpopper ...
pop3 stream tcp nowait.100 root /usr/local/libexec/qpopp...
***popパスワード移住 [#b62e55be]
root@k222:/usr/Backups/MailKN/usr/local/etc/qpopper # cp...
***/etc/rc.conf [#o6c5bf77]
ifconfig_em0_alias0="inet 210.255.122.213 netmask 255.2...
inetd_enable="YES" qpopperは、inetd で動くのだ
----
**crush が多発し始めたメールサーバの /etc/rc.conf がこち...
Lastmodified 2013-11-28 (木) 12:26:31
defaultrouter="210.255.122.209"
hostname="mail.kuji-clinic.net"
ifconfig_em0="inet 210.255.122.213 netmask 255.255.255....
keymap="jp.106"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_pidfile="/var/spool/postfix/pid/master.pid"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
inetd_enable="YES"
mailman_enable="YES"
############
# 20070525 http://www.crimson-snow.net/hmsvr/bsd/maild/...
###########
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
#http://www.voyager.gr.jp/~sampei/freebsd/spamassassin.h...
spamd_enable="YES"
apache22_enable="YES"
# ntpd add 2007/07/27
ntpd_enable="YES"
#ntpd_sync_on_start="YES"
#ntpd_program="/usr/sbin/ntpd"
#ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
###20070825
snmpd_enable="YES"
snmpd_flags="-a -p /var/run/snmpd.pid"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
mrtg_daemon_enable="YES"
mysql_enable="YES"
mysql_dbdir="/usr/mysql"
で、こちらが、バックアップ先となります。
/usr/root/bin/backup_to_222?all.sh
#!/bin/sh
/usr/local/bin/rsync -av --delete / 210.255.122.222:/usr...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: