Postie and Mail Headers

Started by atlanta1213, February 21, 2014, 06:31:48 AM

Previous topic - Next topic

atlanta1213

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

atlanta1213

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.