nephish
07-31-2006, 12:59 PM
hello there,
i am trying to get an email script to work in python.
the emails only fail going to certain providers.
when i look at the headers, it shows my domain as being localhost.localdomain.
in my /etc/hosts file i have this line
127.0.0.1 localhost.localdomain localhost PivServer
when i log into a terminal, it gives me username@PivServer
my question is, how do i get the mail in python to look like its being sent out from my domain name.
actually, the domain name of the web address is different than the host name on the machine. Do they need to match? The server is on an internal network with port 25, and 80, and 110 forwarded to it thru a cisco router.
any help would be ..... um.... helpful
thanks
i am trying to get an email script to work in python.
the emails only fail going to certain providers.
when i look at the headers, it shows my domain as being localhost.localdomain.
in my /etc/hosts file i have this line
127.0.0.1 localhost.localdomain localhost PivServer
when i log into a terminal, it gives me username@PivServer
my question is, how do i get the mail in python to look like its being sent out from my domain name.
actually, the domain name of the web address is different than the host name on the machine. Do they need to match? The server is on an internal network with port 25, and 80, and 110 forwarded to it thru a cisco router.
any help would be ..... um.... helpful
thanks