!cygwin + fetchmail 最近のcygwinでfetchmailをdaemonとして実行し,fetchmailからprocmailを実行するようにしていると,procmail実行のたびにウィンドウが開くようになってしまった. *関連メール **http://cygwin.com/ml/cygwin/2007-07/msg00524.html **http://cygwin.com/ml/cygwin/2007-07/msg00533.html **http://cygwin.com/ml/cygwin/2007-07/msg00549.html *対処法 **cygwin1.dllを新しいもの(snapshot)に置き換える→通常のインストーラ向けに配布されているcygwin1.dllにはまだ反映されていないので作業が面倒 **Windowsのサービスとして登録してしまう→サービスとしての設定が少々面倒 *サービスとしての設定方法 (from /usr/share/doc/Cygwin/fetchmail-6.3.8.README) **Typically fetchmail is run in daemon mode in order to retrieve one's mail in the background. Under Windows NT/2000/XP, Cygwin fetchmail can be installed as a NT service. To install Cygwin fetchmail as a service use the following: ** $ cygrunsrv --install fetchmail --path /usr/bin/fetchmail --env HOME=$HOME --user "$USERDOMAIN\\$USERNAME" --args '--daemon 300 --nodetach' --shutdown **Note the following: ***the above installs Cygwin fetchmail to run under your normal login account instead of the LocalSystem account ***the account executing cygrunsrv must have local Administrators privileges for this command to succeed ***the $USERDOMAIN\\$USERNAME account must have the "Log on as a service" user right for Cygwin fetchmail to start as a NT service