さんきゅう堂的_バックアップ
opensuse-updater-kde (0.6)
opensuse-updater-kde (0.6)
ツールバー内に常駐しアップデートを知らせてくれる。
10.1の時には使いものならずでしたが、、10.1のアップデートで何も考えず全て入れていたら
調子悪くなったので、これでセキュリティバッチのみ入れるようにしています。
PHP_PEAR で大苦戦!
/etc/php5/cli/php.ini/etc/php5/apache2/php.ini
# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/php/docs
PHP extension directory ext_dir /usr/lib64/php5/extensions
PEAR directory php_dir /usr/share/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/php/data
PEAR Installer download download_dir /usr/temp/download
directory
PHP CLI/CGI binary php_bin /usr/bin/php5
php.ini location php_ini <not set>
PEAR Installer temp directory temp_dir /usr/temp
PEAR test directory test_dir /usr/share/php/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/local/bin/gpg
Signature Key Directory sig_keydir /etc/php5/cli/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /root/.pearrc
System Configuration File Filename /etc/php5/cli/pear.conf
# pear5 install Pear_Info
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
downloading PEAR_Info-1.7.0.tgz ...
Starting to download PEAR_Info-1.7.0.tgz (56,638 bytes)
..............done: 56,638 bytes
downloading PEAR-1.6.2.tgz ...
Starting to download PEAR-1.6.2.tgz (297,794 bytes)
...done: 297,794 bytes
downloading Archive_Tar-1.3.2.tgz ...
Starting to download Archive_Tar-1.3.2.tgz (17,150 bytes)
...done: 17,150 bytes
downloading Structures_Graph-1.0.2.tgz ...
Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes)
...done: 30,947 bytes
downloading Console_Getopt-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
...done: 4,011 bytes
install ok: channel://pear.php.net/Archive_Tar-1.3.2
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/PEAR-1.6.2
install ok: channel://pear.php.net/PEAR_Info-1.7.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
# pear install Pear_Info
Ignoring installed package pear/Pear_Info
Nothing to install
pear_info.php
require_once "PEAR/Info.php";
$info =& new PEAR_Info();
$info->show();
?>
エラー
PEAR configuration files /var/lib/apache2/.pearrc, /etc/php5/apache2/pear.conf does not exist
# ln -s /etc/php5/cli/pear.conf /etc/php5/apache2/pear.conf
http://example.com/pear_info.php
OK
最終仕上げ?
Postfix+MySQL+Postfix AdminによるバーチャルSMTPサーバの構築参考先パソコンおやじ
Courier-IMAP+MySQLによるバーチャルPOP3/IMAP
参考先パソコンおやじ
SpamassassinのバーチャルSMTPサーバ
参考先パソコンおやじ
ウイルス&スパム対策(Amavisd-new + ClamAV/F-Prot + Spamassassin)
参考先パソコンおやじ
ウイルス&スパム管理(Maia Mailguard)
参考先パソコンおやじ
エラー出まくりを何とか修正しつつ、ここまで来ましたが最後のエラーになかなか前に進まずで
検索かけていましたが何とか乗り切ったようです(^o^)
Jan 6 17:20:47 linux postfix/smtp[18928]: E8AFB45732: to=, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=18785-02, mime_decode-1 FAILED: Unix utility file(1) not available, but is needed at (eval 61) line 110. (in reply to end of DATA command))
Jan 6 20:50:40 linux amavis[31775]: (31775-03) TROUBLE in check_mail: mime_decode-1 FAILED: Unix utility file(1) not available, but is needed at (eval 61) line 110.
症状:発信メールが/var/spool/amavis/tmp/内に行ったまま、、、
/etc/amavisd.conf
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
$file = '/usr/bin/file';//追加
*重要 2007/11/12 9:50リンク切れ修正
Maia Mailguard 修正(Maia debug Windowがログイン時に立ち上がる他)
Changeset 1072
Ticket #266: IMAPProtocol.php.patch
Changeset 1075
が・・・・・・・
メールヘッダに付いてないよ
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on ○○○.jp
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.0.1
これが無いという事は(・_・;
最終仕上げどころか???また設定ですね・・・・
道のりは遠いなぁ~~~
Maia Mailguard(PEAR)
怒られてるみたいです。
** WARNING! Backed up old pear to /usr/bin/X11/pear_oldpearが無いぞっと・・・
The 'pear' command is now at your service at /usr/bin/pear
** The 'pear' command is not currently in your PATH, so you need to
** use '/usr/bin/pear' until you have added
** '/usr/bin' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
For more information about PEAR, see:
http://pear.php.net/faq.php
http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1
http://pear.php.net/manual/
Thanks for using go-pear!
# pear install Net_POP3シンボリックリンク作成
bash: pear: command not found
# ln -s /usr/bin/pear5 /usr/bin/pearこれでどうだ!・・・Net_Socketが古いぞっ
# pear install Net_POP3おっOKですね!
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download dependencies: pear/Net_Socket, use --alldeps or --onlyreqdeps to download automatically
pear/Net_POP3 requires package "pear/Net_Socket" (version >= 1.0)
No valid packages found
install failed
# pear install Net_SocketNet_POP3インストールOK
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Net_Socket-1.0.8.tgz ...
Starting to download Net_Socket-1.0.8.tgz (5,441 bytes)
.....done: 5,441 bytes
install ok: channel://pear.php.net/Net_Socket-1.0.8
# pear install Net_POP3
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Net_POP3-1.3.6.tgz ...
Starting to download Net_POP3-1.3.6.tgz (10,076 bytes)
.....done: 10,076 bytes
install ok: channel://pear.php.net/Net_POP3-1.3.6