POP before SMTP

Roger Oberholtzer roger
Mon May 17 11:28:36 PDT 2004


Dumb question here:

I want a makefile to send mail somewhere. So I use /usr/bin/mail.
However, it seems not to add a domain to my 'From' address. So, the sendmail
on my machine refuses to relay them from this internal box to our mail
system. Usually, all my outgoing mail goes to the system handling mail
direct. Incomming mail is properly handled by my local sendmail. And,
in any event, the e-mailer MUAs (sylpheed, Eudora and the like) nicely add the
domain to the From address. But not /usr/bin/mail. This is, I admit, an odd
use, but I cannot sort it out. Is there a way to get /usr/bin/mail to add
the domain? Adding a 'From:' to the content does not seem to work. Seems
/usr/bin/mail filters these away and adds its own, which is just my user name
without the domain.

Failing that, is there a way to get sendmail to add a domain to unqualified


More information about the Linux-users mailing list