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

Tim Chase python.list at tim.thechases.com
Mon Sep 16 21:40:06 EDT 2013


On 2013-09-17 00:15, Ferrous Cranus wrote:
>>> 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
> 
> For starters, does my MTA add them as additional headers to my mail
> or Google adds them by default ?

Given that there are headers in there that know about your UID/GID, it
has to be a locally-running process that adds them.  No remote server
(even as powerful as Gmail is) should/can know this legitimately
without being told.  Thus, it's clearly your local MTA.

> But i wish to try it, is there a way to try to remove them?

You could manage your own SMTP connection.  If only Python had some
built in library that handled SMTP, that would be great!  Then you
would be able to instantiate some SMTP object, connect to another
server, optionally authenticating, then send mail, and close the
connection.  That would be so awesome! :-D

-tkc






More information about the Python-list mailing list