stupid sendmail

Alexander Volovics awol at home.nl
Sat Oct 13 10:18:23 UTC 2007


On Sat, Oct 13, 2007 at 05:45:14PM +0800, John Summerfield wrote:
 
> Sendmail deduces the from: user's email address from the domain name of 
> the system. I am sure that it can be set properly in 
> /etc/mail/sendmail.*, but being a postfix user I don't care to check. 
> However, postfix also needs to be configured: on my desktop whose 
> hostname is numbat.demo.lan, mail sent with the mail command isn't 
> accessible outside my LAN because sensible folk reject/discard email 
> from domains they can't resolve.
 
> Note that the mail command does little more than pretty-up the email and 
> feed it into sendmail's stdin. The beautification doesn't extend to 
> setting the from: address. cron simply used the mail command to send email.

I too configure postfix to handle local mail that does not get
outside my home network. But postfix does not come as the default
MTA, sendmail does!

So I would have expected either a release note on how to
configure sendmail to allow local mail delivery (ie cron/anacron/mail)
to function smoothly or a default configuration that already
included this setup. 
Most newbies will end up being on 'localhost.localdomain'.

The default is rather sloppy in my opinion.

Alexander





More information about the users mailing list