[illumos-Developer] webrev: 374 cron should send more useful mail

Alan Coopersmith alan.coopersmith at oracle.com
Mon Oct 25 16:25:51 PDT 2010


Joshua M. Clulow wrote:
> On Tue, Oct 26, 2010 at 1:40 AM, Alan Coopersmith
> <alan.coopersmith at oracle.com> wrote:
>> Gordon Ross wrote:
>>> Or is there some other field that could reliably be used
>>> to filter any/all messages from cron jobs?
>>  "User-Agent: cron (%s %s)", uname.sysname, uname.release
> 
> RFC2076 lists commonly used mail headers.  I think "User-Agent" is an
> HTTP header not a mail header.
> 
> We could use "X-Mailer" -- it's mentioned in the RFC and I believe
> it's in common use but it isn't any kind of standard.

Ah, I thought X-Mailer was what programs used to use, but User-Agent:
is what I saw in the headers generated by mail I send from Thunderbird:
	User-Agent: Thunderbird 2.0.0.23 (X11/20090926)

so I thought maybe it had been standardized since I last looked.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the Developer mailing list