kagemaiで To が
To: undisclosed-recipients:;
になってしまう件。
仕様らしい。
うーん、気持ち悪い仕様だなぁ、ということで直した。
kagemai 自身の BTS に載っている方法だけどね。
$ diff -u /usr/share/kagemai/lib/kagemai/project.rb.orig /usr/share/kagemai/lib/kagemai/project.rb --- /usr/share/kagemai/lib/kagemai/project.rb.orig 2009-10-06 10:04:24.000000000 +0900 +++ /usr/share/kagemai/lib/kagemai/project.rb 2009-10-06 10:05:14.000000000 +0900 @@ -383,9 +383,9 @@ end def sendmail(report, message) - to = report.email_addresses + to = report.email_addresses + @notify_addresses cc = [] - bcc = @notify_addresses + bcc = [] sendmail_to(report, message, to, cc, bcc) end
参考:
107: No "To:" field in mail header