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

Ferrous Cranus nikos.gr33k at gmail.com
Mon Sep 16 17:15:22 EDT 2013


Στις 16/9/2013 8:53 μμ, ο/η William Ray Wing έγραψε:
> On Sep 16, 2013, at 12:15 PM, Ferrous Cranus <nikos.gr33k at gmail.com> wrote:
>
>> Στις 16/9/2013 3:56 μμ, ο/η Antoon Pardon έγραψε:
>>> Op 16-09-13 14:11, Ferrous Cranus schreef:
>>>> Στις 16/9/2013 2:44 μμ, ο/η Heiko Wundram έγραψε:
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Am 16.09.2013 13:37, schrieb Ferrous Cranus:
>>>>>> What i want now is to be able to alter the hostname of my server so
>>>>>> the mails wont indicate that they derive from superhost.gr as they
>>>>>> aare now sen in the mail headers.
>>>>>
>>>>> There is no way to do that, as the Received:-header which you complain
>>>>> about is inserted by Google mail servers.
>>>>
>>>> true.
>>>> Even if now i have stopped using Google's SMTP Server as a means for
>>>> sending out mails and i have decided to use my local MTA instead, at the
>>>> very moment Google's POP servers receive the mail they still add a
>>>> RECEIVE header revealing the hostname of the server that initiated the
>>>> contact. Correct?
>>>>
>>>> But even so, if we alter for example the hostname of our server to a
>>>> different name then wouldn't Google use that to identify the server thus
>>>> protecting the real identity(hostname that is) of the server that
>>>> initiated the connection?
>>>
>>> No, google will probably find out that the name your server identifies
>>> with, will not correspond with the IP address it is connected to and
>>> will write a receive line that will reflect that fact, using reverse
>>> DNS to report the real hostname of your computer.
>>>
>> Τhis si the headers i would like to delete because i dont want them to be used when sending mail:
>>
>> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
>> X-AntiAbuse: Primary Hostname - my.superhost.gr
>> X-AntiAbuse: Original Domain - superhost.gr
>> X-AntiAbuse: Originator/Caller UID/GID - [500 501] / [47 12]
>> X-AntiAbuse: Sender Address Domain - mail.org
>> X-Get-Message-Sender-Via: my.superhost.gr: authenticated_id: nikos/only user confirmed/virtual account not confirmed
>>
>> Can these be remoevd when i send mail?
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>
> You realize that removing those headers will, in all likelihood, make Google reject your mail and refuse to either forward or deliver it.  They have been added to reduce spam, and the more you attempt to obfuscate your header information, the more you make your mail look exactly like spam.
>
> -Bill
>
But i wish to try it, is there a way to try to remove them?

For starters, does my MTA add them as additional headers to my mail or 
Google adds them by default ?



More information about the Python-list mailing list