Re: Daily statistics into email

2009-10-02 Thread Martin Gregorie
On Sat, 2009-10-03 at 03:57 +0300, Jari Fredriksson wrote: > But let us keep in mind that it is the client that renders the mail > for us to see. > > it must be some format the the client must understand. > postfix.sendmail is not a client, and whatever it does must be > understandable by the clie

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
> On Sat, 2009-10-03 at 00:03 +0300, Jari Fredriksson wrote: >> This is something that I have no knowledge. >> > It was a surprise to me too! > >> Could you see the "source" format of the mail? I can't >> think anything except it being in HTML format, as there >> is no AFAIK no other formats for

Re: Daily statistics into email

2009-10-02 Thread Martin Gregorie
On Sat, 2009-10-03 at 00:03 +0300, Jari Fredriksson wrote: > This is something that I have no knowledge. > It was a surprise to me too! > Could you see the "source" format of the mail? I can't think anything > except it being in HTML format, as there is no AFAIK no other formats > for "rich text"

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
> On Fri, 2009-10-02 at 23:28 +0300, Jari Fredriksson wrote: >> There is a blank line between Content-Type and Hello, >> but the Content-Type line WILL get to the body, and the >> html gets injected after it as raw html code, not as >> html (because the actual content type will be text not >> html)

Re: Daily statistics into email

2009-10-02 Thread Martin Gregorie
On Fri, 2009-10-02 at 23:28 +0300, Jari Fredriksson wrote: > There is a blank line between Content-Type and Hello, but the > Content-Type line WILL get to the body, and the html gets injected > after it as raw html code, not as html (because the actual content > type will be text not html). > > Cr

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
> On Fri, 2009-10-02 at 21:33 +0300, Jari Fredriksson wrote: >>> On Fri, 2009-10-02 at 20:45 +0300, Jari Fredriksson >>> wrote: >>> Sendmail command is available with sendmail and postfix emailers, dunno about others. >>> You don't need to use sendmail: if the cron job writes >>>

Re: Daily statistics into email

2009-10-02 Thread Martin Gregorie
On Fri, 2009-10-02 at 21:33 +0300, Jari Fredriksson wrote: > > On Fri, 2009-10-02 at 20:45 +0300, Jari Fredriksson wrote: > > > >> Sendmail command is available with sendmail and postfix > >> emailers, dunno about others. > >> > > You don't need to use sendmail: if the cron job writes > > anythin

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
>> http://ruleqa.spamassassin.org/ >> If you are capable of processing your mail nightly in >> cron, why don't you join the nightly mass check? You can >> help to test the rules and make the sa-update channel >> better. We especially need non-English ham in the >> nightly masscheck. >> >> http:/

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
> http://ruleqa.spamassassin.org/ > If you are capable of processing your mail nightly in > cron, why don't you join the nightly mass check? You can > help to test the rules and make the sa-update channel > better. We especially need non-English ham in the > nightly masscheck. > > http://wiki.a

Re: Daily statistics into email

2009-10-02 Thread Jari Fredriksson
> On Fri, 2009-10-02 at 20:45 +0300, Jari Fredriksson wrote: > >> Sendmail command is available with sendmail and postfix >> emailers, dunno about others. >> > You don't need to use sendmail: if the cron job writes > anything to stdout (or stderr) this is automatically > mailed to root. > > If

Re: Daily statistics into email

2009-10-02 Thread Martin Gregorie
On Fri, 2009-10-02 at 20:45 +0300, Jari Fredriksson wrote: > Sendmail command is available with sendmail and postfix emailers, > dunno about others. > You don't need to use sendmail: if the cron job writes anything to stdout (or stderr) this is automatically mailed to root. If you'd rather that

Re: Daily statistics into email

2009-10-02 Thread Warren Togami
http://ruleqa.spamassassin.org/ If you are capable of processing your mail nightly in cron, why don't you join the nightly mass check? You can help to test the rules and make the sa-update channel better. We especially need non-English ham in the nightly masscheck. http://wiki.apache.org/sp

Daily statistics into email

2009-10-02 Thread Jari Fredriksson
Some just mentioned sa-stats.pl statistics, and I then wrote a script for me to post daily stats for me into email. This is not nuclear science, but I still share it. It is HTML formatted because I use Outlook Express to read mail, but it is easy to fix The file is named so that it runs just