Dec
26
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


Martyr2 says:
December 28th, 2008 at 7:50 pm
I believe the following thread conversation will help you address this problem. Which config files you change depend a bit on your setup but this link should help you out in either case.
Enjoy!
Abid H says:
December 31st, 2008 at 12:10 pm
I used this script in php. I might help you understanding
cheers