Re: no hostname in mails sent with smtpd in a crontab

2009-10-15 Thread patrick keshishian
On Thu, Oct 15, 2009 at 5:37 AM, Jacek Masiulaniec wrote: > On Wed, Oct 14, 2009 at 04:37:17PM -0700, Claus Assmann wrote: >> > smtpd currently does no content inspection. However, even the most >> > basic SMTP implementation needs to parse message content, eg. to >> > add missing domainpart to

Re: no hostname in mails sent with smtpd in a crontab

2009-10-15 Thread Jacek Masiulaniec
On Wed, Oct 14, 2009 at 04:37:17PM -0700, Claus Assmann wrote: > > smtpd currently does no content inspection. However, even the most > > basic SMTP implementation needs to parse message content, eg. to > > add missing domainpart to From:, add missing Date: or Message-Id: > > or to strip Return-P

Re: no hostname in mails sent with smtpd in a crontab

2009-10-14 Thread Claus Assmann
On Thu, Oct 15, 2009, Jacek Masiulaniec wrote: > smtpd currently does no content inspection. However, even the most > basic SMTP implementation needs to parse message content, eg. to > add missing domainpart to From:, add missing Date: or Message-Id: > or to strip Return-Path:. So, we need to c

Re: no hostname in mails sent with smtpd in a crontab

2009-10-14 Thread Jacek Masiulaniec
On Wed, Oct 14, 2009 at 03:01:57PM -0700, patrick keshishian wrote: > On Wed, Oct 14, 2009 at 1:52 PM, Gilles Chehade wrote: > > this was discussed with jacekm@ and the issue is actually a bit > > trickier than i initially assumed, we'll fix that soon but it's > > not a five minutes fix as it look

Re: no hostname in mails sent with smtpd in a crontab

2009-10-14 Thread patrick keshishian
On Wed, Oct 14, 2009 at 1:52 PM, Gilles Chehade wrote: > this was discussed with jacekm@ and the issue is actually a bit > trickier than i initially assumed, we'll fix that soon but it's > not a five minutes fix as it looks like ;) as a bystander/observer to this discussion thread, this sounds in

Re: no hostname in mails sent with smtpd in a crontab

2009-10-14 Thread Gilles Chehade
this was discussed with jacekm@ and the issue is actually a bit trickier than i initially assumed, we'll fix that soon but it's not a five minutes fix as it looks like ;) Gilles On Tue, Oct 13, 2009 at 09:51:59AM +0200, Nicolas Letellier wrote: > I tested with the latest files on CVS (this mornin

Re: no hostname in mails sent with smtpd in a crontab

2009-10-13 Thread Nicolas Letellier
I tested with the latest files on CVS (this morning), the error is always here. To reproduce the problem: - edit crontab root - set a fake cronjob which print anything: */1 * * * * ls / - set a root alias (/etc/mail/aliases) to an other mail (root: yourem...@yourprovider.com) And wai

Re: no hostname in mails sent with smtpd in a crontab

2009-10-13 Thread Gilles Chehade
I'll fix this by this week-end, yesterday's late bug tracking of this issue was not successful, I can totally reproduce it on my production server, but not on the box im hacking on ... Gilles Nicolas Letellier wrote: Hello. I'm on a OPENBSD_4_6. I use smtpd insted of sendmail. All works perfec

Re: no hostname in mails sent with smtpd in a crontab

2009-10-09 Thread Gilles Chehade
Nicolas Letellier wrote: Hello. I'm on a OPENBSD_4_6. I use smtpd insted of sendmail. All works perfect with it, except one point. When a mail is sent from a crontab, the mail received has this in the header: From: root (Cron Daemon) I have no hostname, no domain, nothing. Just t

no hostname in mails sent with smtpd in a crontab

2009-10-09 Thread Nicolas Letellier
Hello. I'm on a OPENBSD_4_6. I use smtpd insted of sendmail. All works perfect with it, except one point. When a mail is sent from a crontab, the mail received has this in the header: > From: root (Cron Daemon) I have no hostname, no domain, nothing. Just the user in the From part. This case