{"id":494,"date":"2006-01-15T12:55:43","date_gmt":"2006-01-15T03:55:43","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=494"},"modified":"2006-01-15T12:55:43","modified_gmt":"2006-01-15T03:55:43","slug":"ezmlmidx","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2006\/01\/15\/ezmlmidx\/","title":{"rendered":"ezmlm-idx"},"content":{"rendered":"<p>\u3053\u308c\u3082\u81ea\u5206\u7528\u30e1\u30e2\u3002<br \/>\n\u25cb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6982\u8981<br \/>\n\u30fbFedora Core 3<br \/>\n\u30fbqmail 1.03\uff08<a href=\"http:\/\/www.kazu.tv\/~kazu\/blog\/archives\/000490.html\">\u524d\u56de<\/a>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\uff09<br \/>\n\u5f53\u7136daemontool\u3068tcpserver\u3092\u4f7f\u7528\u3059\u308b\u3002\u3053\u308c\u3089\u3092\u4f7f\u308f\u306a\u3044\u3068qmail\u3058\u3083\u306a\u3044\u611f\u3058\u3002<br \/>\nAPOP\u3092\u4f7f\u7528<br \/>\n\u30fbezmlm-idx<br \/>\n\u30c7\u30fc\u30bf\u306f\u524d\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u79fb\u884c\u3059\u308b<br \/>\n<a href=\"http:\/\/www.kazu.tv\/~kazu\/blog\/archives\/000490.html\">qmail\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u306b\u7d9a\u3044\u3066ezmlm-idx\u3002<\/p>\n<div class=\"code\"># rpm -ivh ezmlm-idx-std-0.53.421-112memphis.i386.rpm<br \/>\nPreparing&#8230;                ########################################### [100%]<br \/>\n1:ezmlm-idx-std          ########################################### [100%]<br \/>\nTo create an ezmlmrc file for a language other than US English<br \/>\ngo to this package&#8217;s doc directory, and type<br \/>\nmake iso<br \/>\nwhere &#8220;iso&#8221; is the ISO language designation.<br \/>\nFor currently supported languages, see the INSTALL.idx<br \/>\nfile, section 7.<\/div>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3002\u524d\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u79fb\u884c\uff08\u7701\u7565\uff09\u3002<\/p>\n<div class=\"code\"># maildirmake \/var\/qmail\/alias\/Maildir<br \/>\n# chown -R alias Maildir\/<\/div>\n<p>\u30e1\u30fc\u30eb\u306e\u4ef6\u540d\u306bML\u540d\u3068\u304b\u3092\u8ffd\u52a0\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\uff08addprefix.pl\uff09\u3002<\/p>\n<div class=\"code\">#!\/usr\/bin\/perl<br \/>\n($prefix) = @ARGV;<br \/>\n$prefix = &#8220;_noprefix_&#8221; unless $prefix;<br \/>\n$numfile = &#8220;\/var\/qmail\/alias\/ML\/$prefix\/num&#8221;;<br \/>\nopen(SEQ,&#8221;< $numfile\");\nchop($seq = <SEQ>) ;<br \/>\nclose(SEQ);<br \/>\n$seq++;<br \/>\n# Slurp in the mail header as a single paragraph<br \/>\n$\/ = &#8220;&#8221;;<br \/>\n$_ = <STDIN>;<br \/>\nchop;   # remove the last character from the header.<br \/>\n# Should be left with a single newline.<br \/>\n# replace Subject: header<br \/>\nif (\/nSubject:s\/)<br \/>\n{<br \/>\n# remove existing tag &#8211; in case this is a reply<br \/>\n#s\/n(Subject:.*)[$prefix:d+]s(.*n)\/n${1}${2}\/;<br \/>\ns\/[$prefix:d+]\/\/g;<br \/>\n# remove Re: Re:<br \/>\ns\/R[eE]:s+R[eE]:\/Re:\/g;<br \/>\n# insert prefix<br \/>\ns\/nSubject:s(.*n)\/nSubject: [$prefix:$seq] $1\/;<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\n$_ .= &#8220;Subject: [$prefix:$seq] No subjectn&#8221;;<br \/>\n}<br \/>\nprint &#8220;$_n&#8221;;<br \/>\n# Reset input record separator to go back to line by line reading<br \/>\n$\/ = &#8220;n&#8221;;<br \/>\n# Print rest of mail message<br \/>\nwhile(<STDIN>)<br \/>\n{<br \/>\nprint;<br \/>\n}<\/div>\n<p>\u79fb\u884c\u4f5c\u696d\u306f\u3053\u308c\u304f\u3089\u3044\u304b\u3002<br \/>\n\u65b0\u305f\u306bML\u4f5c\u308b\u5834\u5408\u306f\u3001editor\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3002\u30d1\u30b9\u306f\u9069\u5f53\u306b\u8aad\u307f\u66ff\u3048\u3066\u3002<\/p>\n<div class=\"code\">|\/usr\/bin\/ezmlm-reject &#8216;\/var\/ezmlm\/mlname&#8217;<br \/>\n|\/usr\/bin\/ezmlm-issubn -n &#8216;\/var\/ezmlm\/mlname\/deny&#8217; || { echo &#8220;Sorry, I&#8217;ve been told to reject your posts. Contact mlname-owner@kazu.tv if you have questions about this (#5.7.2)&#8221;; exit 100 ; }<br \/>\n|\/usr\/bin\/ezmlm-issubn &#8216;\/var\/ezmlm\/mlname&#8217; &#8216;\/var\/ezmlm\/mlname\/digest&#8217; &#8216;\/var\/ezmlm\/mlname\/allow&#8217; &#8216;\/var\/ezmlm\/mlname\/mod&#8217; || { echo &#8220;Sorry, only subscribers may post. If you are a subscriber, please forward this message to mlname-owner@kazu.tv to get your new address included (#5.7.2)&#8221;; exit 100 ; }<br \/>\n#|\/usr\/bin\/ezmlm-send &#8216;\/var\/ezmlm\/mlname&#8217;<br \/>\n|\/usr\/bin\/addprefix.pl mlname | \/usr\/bin\/ezmlm-send &#8216;\/var\/ezmlm\/mlname&#8217;<br \/>\n|\/usr\/bin\/ezmlm-warn &#8216;\/var\/ezmlm\/mlname&#8217; || exit 0<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u3082\u81ea\u5206\u7528\u30e1\u30e2\u3002 \u25cb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6982\u8981 \u30fbFedora Core 3 \u30fbqmail 1.03\uff08\u524d\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\uff09 \u5f53\u7136daemontool\u3068tcpserver\u3092\u4f7f\u7528\u3059\u308b\u3002\u3053\u308c\u3089\u3092\u4f7f\u308f\u306a\u3044\u3068qmail\u3058\u3083\u306a\u3044\u611f\u3058\u3002 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-494","post","type-post","status-publish","format-standard","hentry","category-15"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=494"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/494\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}