Tryign to send mail via a python script by using the local MTA

Νίκος nikos.gr33k at gmail.com
Sat Sep 21 05:21:12 EDT 2013


On 18/9/2013 2:29 πμ, Dennis Lee Bieber wrote:
> On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus <nikos.gr33k at gmail.com>
> declaimed the following:
>
>> So cant this be done in python or not?
>> or is a mtetr of configuring the MTA? conf file?
>
> 	You can't... Those headers get added by the ISP and any other host the
> mail passes through.
>
> 	The more you fake the originator IP/user the more the subsequent
> servers will add flags that they can't confirm who sent the mail... And
> eventually some filter may drop it as spam.
>
Υes Denis every foreign MTA adds headers as mail passes over it ( as 
proved to be done at least from the gmail's smtp)

But if we set up our local MTA to modify the headers, hostname, ip 
address, user) to our own likign then the local MTA will connect to the 
foreign MTA and passes it out modifed data , not the real one.

Ιsn't this possible? that is to fake our hostname and ip address?



More information about the Python-list mailing list