how do i get sendmail to show the FROM field as the domain name, not the server name?

December 26th, 2008 posted by admin


I use sendmail in my PELR scripts to send emails to subscribers. The subscribers get the email with the FROM field as username@servername.host.com, where username is my actual user id on the server servername.host.com. I’d like sendmail to show FROM field as, for example, newsletter@mydomain.com. How do I do that? which conf files would i need to modify? Note: I use sendmail in my PERL scripts with the flags -t -i

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Facebook
  • TwitThis

Email newsletter related posts: