
Warning: Error while sending QUERY packet. PID=10631 in /home/uls/public_html/wordpress/wp-includes/class-wpdb.php on line 2357
{"id":93,"date":"2012-02-02T14:08:40","date_gmt":"2012-02-02T14:08:40","guid":{"rendered":"http:\/\/192.168.1.20\/wordpress\/freebsd\/2012\/02\/02\/majordomo_2\/"},"modified":"2022-08-20T18:32:13","modified_gmt":"2022-08-20T09:32:13","slug":"majordomo_2","status":"publish","type":"post","link":"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=93","title":{"rendered":"Majordomo\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>FreeBSD 9.0\u3092\u5165\u308c\u3066ports\u3067Majordomo\u3092\u5165\u308c\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u53e4\u3044\u306e\u3067Mailman\u3092\u4f7f\u3048\u3068\u8a00\u3063\u3066\u304f\u308b\u3002\u4ee5\u524d\u306f\u305d\u308c\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u306e\u3060\u304c\u3001\u3044\u3088\u3044\u3088ports\u3067\u306f\u5165\u308c\u3089\u308c\u306a\u3044\u3089\u3057\u3044\u3002Mailman\u3092\u4f7f\u3046\u3053\u3068\u3082\u8003\u3048\u305f\u304c\u3001ML\u306e\u904b\u7528\u4e0a\u8272\u3005\u3068\u7d30\u304b\u3044\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u884c\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u306a\u304b\u306a\u304b\u6b62\u3081\u3089\u308c\u306a\u3044\u3002<br \/>\n\u305d\u3053\u3067\u3001\u4e45\u3005\u306b\u30bd\u30fc\u30b9\u3092\u53d6\u3063\u3066\u304d\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3060\u304c\u3001\u3060\u3044\u3076\u3084\u308a\u65b9\u3092\u5fd8\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u6539\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<blockquote><p>\u307e\u305a\u3001\u4e0b\u8a18\u304b\u3089majordomo\u306e\u30bd\u30fc\u30b9\u306egzip\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u308b\u3002<br \/>\n<a href=\"http:\/\/www.greatcircle.com\/majordomo\/\">http:\/\/www.greatcircle.com\/majordomo\/<\/a><br \/>\n\u305d\u3057\u3066\u3001\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u30fc\u3067\u89e3\u51cd\u3059\u308b\u3002<\/p><\/blockquote>\n<pre># tar xvzf majordomo-1.94.5.tar.gz<\/pre>\n<blockquote><p>majordomo-1.94.51\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u304c\u3067\u304d\u308b\u3002<br \/>\nmajordomo\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u30b0\u30eb\u30fc\u30d7\u540d\u3092\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u4e0b\u8a18\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\n\/etc\/passwd\u306b<\/p><\/blockquote>\n<pre>majordom:*:54:54:Majordomo Pseudo User:\/usr\/local\/majordomo:\/nonexistent<\/pre>\n<blockquote><p>\/etc\/group\u306b<\/p><\/blockquote>\n<pre>majordom:*:54:<\/pre>\n<blockquote><p>\u30e6\u30fc\u30b6\u30fcID\u3068\u30b0\u30eb\u30fc\u30d7ID\u306fports\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u3068\u540c\u3058\u306b54\u3068\u3057\u305f\u3002<br \/>\n\u6b21\u306bmajordomo-1.94.51\u306b\u5165\u3063\u3066\u3001Makefile\u306e\u7de8\u96c6\u3092\u3059\u308b\u3002<\/p><\/blockquote>\n<pre># cd majordomo-1.94.51\n# vi Makefile\nPERL = \/usr\/bin\/perl \u3000\u3000\u3000\u3000\u3000\u3000  \u2190 perl\u306e\u4f4d\u7f6e\u306e\u6307\u5b9a\u306e\u4fee\u6b63\nW_HOME = \/usr\/local\/majordomo \u2190 \u81ea\u5206\u306emajordomo\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u6307\u5b9a\nW_USER = 54\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2190 user ID\nW_GROUP = 54 \u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2190 group ID\nTMPDIR = \/usr\/tmp\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u2190 tmp\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306e\u6307\u5b9a<\/pre>\n<blockquote><p>\u6b21\u306bsample.cf\u3092majordomo.cf\u3068\u3057\u3066\u30b3\u30d4\u30fc\u3057\u3001\u7de8\u96c6\u3059\u308b\u3002<\/p><\/blockquote>\n<pre># cp sample.cf majordomo.cf\n# vi majordomo.cf\n$whereami = \"host.example.com\"; \u2190 \u904b\u7528\u3059\u308b\u30db\u30b9\u30c8\u540d\u3092\u5165\u308c\u308b\u3002\n#if ( defined $ENV{\"HOME\"}) {   \n#     $homedir = $ENV{\"HOME\"};\n#} else {\n#     $homedir = \"\/usr\/test\/majordomo\";\n#}\n\n      $homedir = \"\/usr\/local\/majordomo\"; \u2190\u3000$homedir\u306e\u5834\u6240\u3092\u5358\u7d14\u306b\u6307\u5b9a\n\n$sendmail_command = \"\/usr\/sbin\/sendmail\"; \u2190 sendmail\u306e\u5834\u6240\u306e\u6307\u5b9a\n\n$TMPDIR = \"\/usr\/tmp\"; \u2190 tmp\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306e\u6307\u5b9a<\/pre>\n<blockquote><p>\u3053\u3053\u3067\u3001\/usr\/tmp\u3092\u4f5c\u6210\u3057\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u66f8\u304d\u8fbc\u307f\u3092\u53ef\u80fd\u306b\u3057\u3066Majordomo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p><\/blockquote>\n<pre># mkdir \/usr\/tmp\n# chmod 777 \/usr\/tmp\n# make install<\/pre>\n<blockquote><p>\u305d\u3057\u3066\u3001wrapper\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30c6\u30b9\u30c8<\/p><\/blockquote>\n<pre># make install-wrapper\n# cd \/usr\/local\/majordomo\n# .\/wrapper test-config<\/pre>\n<blockquote><p>\u30a8\u30e9\u30fc\u304c\u3067\u306a\u3051\u308c\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u4e86\u3067\u3042\u308b\u3002<br \/>\n\u4ee5\u964d\u306e\u8a2d\u5b9a\u306fports\u3067\u5165\u308c\u305f\u5834\u5408\u3068\u540c\u3058\u306a\u306e\u3067\u7701\u7565\u3059\u308b\u3002<\/p><\/blockquote>\n<p>\n<font color=#ff0000><strong>\uff0a\uff0a\uff0a\uff0a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u6563\u3005\u30c8\u30e9\u30d6\u3063\u305f\u4e8b\uff0a\uff0a\uff0a\uff0a<\/strong><\/font><br \/>\n<br \/>\n(1) wrapper\u306e\u5b9f\u884c\u6a29\u9650<\/p>\n<blockquote><p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066.\/wrapper config-test\u306f\u7121\u4e8b\u306b\u7d42\u4e86\u3057\u305f\u304c\u3001FreeBSD 9.0\u306b\u306a\u3063\u3066\u3001\u30e1\u30fc\u30eb\u306e\u5b9f\u884c\u6a29\u9650\u306froot\u3067\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3001majordomo\u306ewrapper\u304cPermission denied\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<br \/>\n\u3053\u306e\u5bfe\u7b56\u3068\u3057\u3066\u3001\/etc\/group\u306emajordom\u306bmailnull\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002<\/p><\/blockquote>\n<pre># vi \/etc\/group\nmajordom:*:54:mailnull   \u2190\u3000mailnull\u3092\u8ffd\u52a0\u3059\u308b<\/pre>\n<p>(2) majordomo.pl\u306e\u4fee\u6b63<\/p>\n<blockquote><p>lists\u5185\u306btest\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u4f5c\u308aowner, group\u3068\u3082\u306bmajordom\u306b\u3057\u3066\u5f8c\u306b\u3001majirdomo\u306bsubscribe test\u3068\u30e1\u30fc\u30eb\u3092\u51fa\u3059\u3068\u52d5\u4f5c\u305b\u305a\u3001majordomo\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u5185\u306eLog\u306b\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u305f\u3002<\/p><\/blockquote>\n<pre>ABORT Majordomo@abc.def.jp: HOGEHOGE &lt;hogehoge@abc.def.jp&gt; is not a valid return address.<\/pre>\n<blockquote><p>Package\u3067Majordomo\u3092\u5165\u308c\u308b\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u306e\u3067\u3001\u8272\u3005\u8abf\u3079\u305f\u3089majordomo.pl\u306b\u4fee\u6b63\u304c\u5fc5\u8981\u3067\u3042\u3063\u305f\u3002<br \/>\nsub main&#8217;ParseAddrs\u306e\u4e2d\u306e\u8a18\u8ff0\u3067\u3042\u308b\u3002(98\u884c\u4ed8\u8fd1\u304b\u3089\u59cb\u307e\u3063\u3066\u3044\u308b)\n<\/p><\/blockquote>\n<pre>\nsub main'ParseAddrs {\n    local($_) = shift;\n    1 while s\/\\([^\\(\\)]*\\)\/\/g;      # strip comments\n    1 while s\/\"[^\"]*\"\\s\/\/g;     # strip comments\"\n    split(\/,\/);     \u2192\u3000<font color=#ff0000>my @parts = split(\/,\/);<\/font>        # split into parts\n\u3000 foreach (@_) {\u3000\u3000\u2192\u3000\u3000<font color=#ff0000> foreach (@parts) {<\/font>\n    1 while s\/.*&lt;(.*)&gt;.*\/$1\/;\n    s\/^\\s+\/\/;\n    s\/\\s+$\/\/;\n    }\n\n    @_;    \u2192\u3000<font color=#ff0000> @parts;<\/font>\n}<\/pre>\n<blockquote><p>\u5f8c\u306b\u8abf\u3079\u305f\u3089\u3001perl 5.12.\u4ee5\u964d\u3067\u4fee\u6b63\u304c\u5fc5\u8981\u3068\u306a\u3063\u305f\u3068\u306e\u3053\u3068\u3002\u30de\u30b8\u30c3\u30af\u5909\u6570\u306e@_\u3092\u4f7f\u3046\u306e\u304c\u3001\u305d\u3082\u305d\u3082\u9593\u9055\u3044\u3060\u304c\u3001\u4ee5\u524d\u306eperl\u3067\u306f\u4f55\u3068\u304b\u52d5\u3044\u3066\u3044\u305f\u3002<br \/>\n\u53c2\u8003URL: http:\/\/henrysnotes.org\/?p=448<\/p><\/blockquote>\n<p>\n(3) Sequencer<\/p>\n<blockquote><p>majordomo-1.94.5-jp.patch.gz\u3092\/usr\/local\/majordomo\u306b\u5165\u308c\u3001\u65e5\u672c\u8a9e\u5316\u306e\u30d1\u30c3\u30c1\u3092\u884c\u3044\u3001resend\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304b\u3089sequencer\u306b\u5909\u3048\u305f\u3089\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u3002<br \/>\n\u4f55\u306e\u3053\u3068\u306f\u306a\u3044\u3001sequencer\u306e\u4e2d\u306b\u3082sendmail\u30b3\u30de\u30f3\u30c9\u306b\/usr\/lib\/sendmail\u3092\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u304c3\u7b87\u6240\u3042\u3063\u305f\u3002\/usr\/sbin\/sendmail\u306b\u66f8\u304d\u76f4\u3057\u305f\u3002<\/p><\/blockquote>\n<pre># vi sequencer\n\n$sendmail_cmd = \"\/usr\/sbin\/sendmail $opt_m -f$sendmail_sender \" .\n\n        print MAIL \"&gt;&gt;&gt; \/usr\/sbin\/sendmail -f$sendmail_sender -t\\n\";\n\n    local(@mailer) = split(' ',\"\/usr\/sbin\/sendmail -f$sendmail_sender -t\");<\/pre>\n<blockquote><p>\u306a\u304a\u3001Majordomo\u3092\u65e5\u672c\u8a9e\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u65e5\u672c\u8a9e\u5316\u306e\u30d1\u30c3\u30c1(majordomo-1.94.5-jp.patch.gz \u2192\u3000\u9042\u306b\u30ea\u30f3\u30af\u5148\u304c\u306a\u304f\u306a\u3063\u305f\u3002)\u3092\u3042\u3066\u305f\u5f8c\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306bjsendmail\u3092\u3064\u304f\u308a\u3001majordomo.cf\u306e$sendmail_command\u3092\u66f8\u304d\u63db\u3048\u308b\u3002<\/p><\/blockquote>\n<pre># vi jsendmail\n#! \/bin\/sh\n\/usr\/local\/bin\/nkf -j | \/usr\/sbin\/sendmail $*<\/pre>\n<pre># chmod +x jsendmail<\/pre>\n<pre># vi majordomo.cf\n# $sendmail_command = \"\/usr\/sbin\/sendmail\"; \n$sendmail_command = \"\/usr\/local\/majordomo\/jsendmail\"; <\/pre>\n<blockquote><p>jsendmail\u306b\u66f8\u304d\u63db\u3048\u308b\u306e\u306fmajordomo.cf\u306e\u307f\u3067\u3001sequencer\u306a\u3069\u306b\u3042\u308b\/usr\/sbin\/sendmail\u306f\u66f8\u304d\u63db\u3048\u3066\u306f\u306a\u3089\u306a\u3044\u3002<font color=#ff0000>\u66f8\u304d\u63db\u3048\u308b\u3068Subject\u306eMIME\u5909\u63db\u304c\u306a\u3055\u308c\u306a\u304f\u306a\u308b\u3002<\/font><\/p><\/blockquote>\n<p>\n(4) \u305d\u306e\u4ed6<\/p>\n<blockquote><p>sequencer\u306b\u5909\u3048\u305f\u306e\u306f\u30e1\u30fc\u30eb\u306e\u30bf\u30a4\u30c8\u30eb\u306b[Test:00123]\u30bf\u30a4\u30c8\u30eb \u306e\u3088\u3046\u306b\u30e1\u30fc\u30eb\u306e\u4ef6\u540d\u306b\u9023\u756a\u3092\u3064\u3051\u305f\u3044\u304b\u3089\u3067\u3042\u308b\u304c\u3001\u3053\u306e\u305f\u3081majordomo\/lists\u5185\u306btest.seq(test\u306e\u540d\u306eML\u540d\u306e\u5834\u5408)\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u4f8b\u3048\u307000001\u306e\u3088\u3046\u306b\u6700\u521d\u306e\u756a\u53f7\u3092\u5165\u308c\u3066\u304a\u304f\u30020\u306e\u6570\u306f\u3001\u9023\u756a\u306e\u6841\u6570\u5408\u305b\u306e\u305f\u3081\u3067\u3001\u3053\u306e\u4f8b\u306e\u5834\u5408\u306f5\u6841\u306b\u306a\u308b\u3002\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD 9.0\u3092\u5165\u308c\u3066ports\u3067Majordomo\u3092\u5165\u308c\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u53e4\u3044\u306e\u3067Mailman\u3092\u4f7f\u3048\u3068\u8a00\u3063\u3066\u304f\u308b\u3002\u4ee5\u524d\u306f\u305d\u308c\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u306e\u3060\u304c\u3001\u3044\u3088\u3044\u3088ports\u3067\u306f\u5165\u308c\u3089\u308c\u306a\u3044\u3089\u3057\u3044\u3002Mailman\u3092 &hellip; <a href=\"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=93\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-mail","wpautop"],"_links":{"self":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=93"}],"version-history":[{"count":4,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":632,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/93\/revisions\/632"}],"wp:attachment":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}