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 is only when a mail is sent from a crontab (crontab -e -u root). With this line for example: > */1 * * * * echo test So, we wan't answer to this mail, or know who is the machine which send it. However, in other informations in the header, we wan see the domain in 'Received' parts. See my /etc/mail/smtpd.conf: > listen on sk0 > > hostname my.hostname.tld > > map "aliases" { source db "/etc/mail/aliases.db" } > > accept from all for local deliver to mbox > accept for all relay See the end of /etc/mail/aliases > root: u...@myprovider.tld And, other question... Why "Cron Daemon" AND "root" are printed in my "From"? Thanks. Regards, -- Nicolas