Re: anacron mail encoding

2010-09-16 Thread Malte Forkel
Am 16.09.2010 15:28, schrieb Sven Joachim: > > Indeed you can't, you would have to write the code to insert the > Content-* headers in the first place. Look at the launch_job function > in runjob.c in the anacron source. > That looks just like the right spot. Thanks, Sven! I wrote to anacron's

Re: anacron mail encoding

2010-09-16 Thread Camaleón
On Thu, 16 Sep 2010 15:11:51 +0200, Malte Forkel wrote: > Am 16.09.2010 13:00, schrieb Camaleón: > >> As per "man 5 crontab": (...) >> Which does not comply with your e-mail (provided that there is no >> "Content-Type:"). So if "anacron" is using the same routine to send e- >> mails than "cron"

Re: anacron mail encoding

2010-09-16 Thread Sven Joachim
On 2010-09-16 15:11 +0200, Malte Forkel wrote: > I think I have to convince anacron to use Content-* headers. But I'm not > sure I can do that with the environment variables that cron uses. Indeed you can't, you would have to write the code to insert the Content-* headers in the first place. Loo

Re: anacron mail encoding

2010-09-16 Thread Malte Forkel
Am 16.09.2010 13:00, schrieb Camaleón: > As per "man 5 crontab": > > *** > (...) > > By default, cron will send mail using the mail "Content-Type:" header > of"text/plain" with the "charset=" parameter set to the charmap / > codeset ofthe locale in which crond(8) is started up - ie. eith

Re: anacron mail encoding

2010-09-16 Thread Camaleón
On Thu, 16 Sep 2010 11:12:33 +0200, Malte Forkel wrote: > Am 16.09.2010 10:54, schrieb Camaleón: >> >> But the interesting part should be in the e-mail "header" not the >> "body" of the message (I would like to see "Content-Type:" and >> "Content-Transfer- Encoding:" part). Better if you send (or

Re: anacron mail encoding

2010-09-16 Thread Malte Forkel
Am 16.09.2010 10:54, schrieb Camaleón: > > But the interesting part should be in the e-mail "header" not the "body" > of the message (I would like to see "Content-Type:" and "Content-Transfer- > Encoding:" part). Better if you send (or upload to pastebin¹) the whole > message intact, just delete

Re: anacron mail encoding

2010-09-16 Thread Camaleón
On Thu, 16 Sep 2010 10:02:14 +0200, Malte Forkel wrote: > Am 15.09.2010 10:51, schrieb Camaleón: >> >> Mmm, can you upload a sample of the e-mail you are getting so we can >> take a look into the header? Of course, the e-mail sample should not >> contain private data :-) >> > Sure. Here are the

Re: anacron mail encoding

2010-09-16 Thread Malte Forkel
Am 15.09.2010 10:51, schrieb Camaleón: > > "Anacron" or "cron"? It seems they are two different packages :-? > Yes, they are. As far as I understand it, anacron makes sure that cron jobs are run even if the machine is not up 24/7. > > Those bug reports are for "cron" and should be already fixe

Re: anacron mail encoding

2010-09-15 Thread Brad Rogers
On Wed, 15 Sep 2010 08:51:01 + (UTC) Camaleón wrote: Hello Camaleón, > "Anacron" or "cron"? It seems they are two different packages :-? They are; Anacron is recommended for machines that aren't up 24/7 so missed cron jobs (many are run overnight by default) get run as soon a is convenient

Re: anacron mail encoding

2010-09-15 Thread Camaleón
On Tue, 14 Sep 2010 17:54:17 +0200, Malte Forkel wrote: > I'm using anacron for some tasks on a machine running Lenny. Error > output from those jobs send by email looks strange in Thunderbird. "Anacron" or "cron"? It seems they are two different packages :-? > Mails send by cron supposedly res

anacron mail encoding

2010-09-14 Thread Malte Forkel
Hi, I'm using anacron for some tasks on a machine running Lenny. Error output from those jobs send by email looks strange in Thunderbird. Mails send by cron supposedly respect the locale and include a content type header, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405335 (cron does not