WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: atlanta1213 on February 21, 2014, 06:31:48 AM

Title: Postie and Mail Headers
Post by: atlanta1213 on February 21, 2014, 06:31:48 AM
I am using Postie to send SMTP mail.  The header of a message sent this way includes the DNS name and IP address of the host I run the script on.  Is there a way to change the DNS name that is included in the header?

I did see this in the Postie Help...

The Postie extender really wants a DNS served IP address. However many people have found that by simply putting an entry for that IP address in your HOSTS file, you can circumvent the need for a DNS lookup. Note however that the HOSTS file is often updated by other mail programs.

To make changes to this file, look for a HOSTS.SAM file in your Windows directory and examine it. It usually has some comments that tell you how to set it up. You may have to reboot to make it effective.


But I wasn't sure it that is what I needed to do.

Thanks in advance,
Paul
Title: Re: Postie and Mail Headers
Post by: atlanta1213 on February 21, 2014, 06:57:40 AM
I went ahead and tried adding an entry in the Hosts file for the IP of the local computer and then the DNS name I wanted it to stamp in the mail header and that did the trick.