Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54188 > unrolled thread
| Started by | Ferrous Cranus <nikos.gr33k@gmail.com> |
|---|---|
| First post | 2013-09-15 08:54 -0700 |
| Last post | 2013-09-16 13:32 +0200 |
| Articles | 20 on this page of 63 — 20 participants |
Back to article view | Back to comp.lang.python
Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-15 08:54 -0700
Re: Tryign to send mail via a python script by using the local MTA Joost Molenaar <j.j.molenaar@gmail.com> - 2013-09-15 20:59 +0200
Re: Tryign to send mail via a python script by using the local MTA SuperHost - Nikos <nikos@superhost.gr> - 2013-09-15 23:56 +0300
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 07:31 +1000
Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-15 17:57 -0400
Re: Tryign to send mail via a python script by using the local MTA Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-16 01:52 +0000
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 09:44 +0300
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 09:29 +0200
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 11:04 +0300
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 17:44 +1000
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 17:46 +1000
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:07 +0200
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:12 +1000
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:12 +0200
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:19 +1000
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:43 +0200
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:48 +1000
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 11:40 +0200
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 12:45 +0300
Re: Tryign to send mail via a python script by using the local MTA Joost Molenaar <j.j.molenaar@gmail.com> - 2013-09-16 12:06 +0200
Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 11:21 +0000
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 14:37 +0300
Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 13:44 +0200
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 15:11 +0300
Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 14:17 +0200
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 14:56 +0200
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 18:02 +0300
Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 19:09 +0000
Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-16 17:07 -0400
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 00:18 +0300
Re: Tryign to send mail via a python script by using the local MTA Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-16 23:41 +0000
Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-17 12:46 +0200
Re: Tryign to send mail via a python script by using the local MTA Grant Edwards <invalid@invalid.invalid> - 2013-09-17 14:37 +0000
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 18:17 +0300
Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-17 16:30 +0000
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-18 00:42 +0300
Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-18 07:47 +1000
Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-17 18:34 -0400
Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-18 05:20 +0000
Re: Tryign to send mail via a python script by using the local MTA Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-18 18:31 -0400
Re: Tryign to send mail via a python script by using the local MTA Dave Angel <davea@davea.name> - 2013-09-18 23:55 +0000
Re: Tryign to send mail via a python script by using the local MTA Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-17 19:29 -0400
Re: Tryign to send mail via a python script by using the local MTA Νίκος <nikos.gr33k@gmail.com> - 2013-09-21 12:21 +0300
Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-21 09:29 -0400
Re: Tryign to send mail via a python script by using the local MTA alex23 <wuwei23@gmail.com> - 2013-09-23 11:17 +1000
Re: Tryign to send mail via a python script by using the local MTA Piet van Oostrum <piet@vanoostrum.org> - 2013-09-17 22:58 -0400
Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-17 07:55 -0400
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 15:11 +0300
Re: Tryign to send mail via a python script by using the local MTA Robert Kern <robert.kern@gmail.com> - 2013-09-17 13:51 +0100
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-17 14:52 +0200
Re: Tryign to send mail via a python script by using the local MTA Jake Angulo <jake.angulo@gmail.com> - 2013-09-20 13:56 +1000
Re: Tryign to send mail via a python script by using the local MTA feedthetroll@gmx.de - 2013-09-20 04:05 -0700
Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-20 08:48 +0200
Re: Tryign to send mail via a python script by using the local MTA Robert Kern <robert.kern@gmail.com> - 2013-09-20 10:26 +0100
Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-17 14:22 +0200
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 19:15 +0300
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 19:23 +0300
Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 19:07 +0000
Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-16 13:53 -0400
Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 00:15 +0300
Re: Tryign to send mail via a python script by using the local MTA Tim Chase <python.list@tim.thechases.com> - 2013-09-16 20:40 -0500
Re: Tryign to send mail via a python script by using the local MTA feedthetroll@gmx.de - 2013-09-16 23:15 -0700
Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 13:32 +0200
Page 3 of 4 — ← Prev page 1 2 [3] 4 Next page →
| From | Dave Angel <davea@davea.name> |
|---|---|
| Date | 2013-09-18 23:55 +0000 |
| Message-ID | <mailman.142.1379548809.18130.python-list@python.org> |
| In reply to | #54334 |
On 18/9/2013 18:31, Dennis Lee Bieber wrote: > On Tue, 17 Sep 2013 18:34:50 -0400, William Ray Wing <wrw@mac.com> > declaimed the following: > > >> >>I think you need to read up on some of the most basic fundamentals of tcp/ip networking, i.e., the basis of the global internet. EVERY network packet (and I do mean every) packet in an IP network carries both a source and a destination address in its header. These are fundamentally necessary in order to allow the gateway router at the originating site to direct an outgoing packet to its destination, and allow the receiving host at the destination site to craft reply packets. >> > > Even worse -- IP packets are wrapped by Ethernet packets which use MAC > addresses for direct routing between nodes... Granted, those MAC addresses > may not propagate beyond the next defined gateway IP host, but they do > (theoretically) identify the exact NIC that sent the packet. Noting reliable about the MAC adress. Many systems permit or even encourage spoofing. And it gets overwritten at each hop, so the other end cannot easily determine the number a client may have made up. The first time I added a router to my cable modem, I had to tell it to use (spoof) the old MAC address so that the cable modem didn't have to be reprogrammed. -- DaveA
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2013-09-17 19:29 -0400 |
| Message-ID | <mailman.92.1379460569.18130.python-list@python.org> |
| In reply to | #54313 |
On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus <nikos.gr33k@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.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
[toc] | [prev] | [next] | [standalone]
| From | Νίκος <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-09-21 12:21 +0300 |
| Message-ID | <l1joe8$me4$1@dont-email.me> |
| In reply to | #54337 |
On 18/9/2013 2:29 πμ, Dennis Lee Bieber wrote: > On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus <nikos.gr33k@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?
[toc] | [prev] | [next] | [standalone]
| From | William Ray Wing <wrw@mac.com> |
|---|---|
| Date | 2013-09-21 09:29 -0400 |
| Message-ID | <mailman.227.1379770176.18130.python-list@python.org> |
| In reply to | #54539 |
On Sep 21, 2013, at 5:21 AM, Νίκος <nikos.gr33k@gmail.com> wrote: > On 18/9/2013 2:29 πμ, Dennis Lee Bieber wrote: >> On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus <nikos.gr33k@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? > -- > https://mail.python.org/mailman/listinfo/python-list Νίκος , You CLEARLY don't understand. Please. There are Mail headers and there are IP packet network headers. They have to agree with each other or spam/malware alarms go off. Even if you fake the mail headers, there is no way you can use fake IP packet headers, they are necessary for the underlying network hardware to work. -Bill
[toc] | [prev] | [next] | [standalone]
| From | alex23 <wuwei23@gmail.com> |
|---|---|
| Date | 2013-09-23 11:17 +1000 |
| Message-ID | <l1o4rp$7te$1@dont-email.me> |
| In reply to | #54555 |
On 21/09/2013 11:29 PM, William Ray Wing wrote: > Νίκος , > You CLEARLY don't understand. Just a public service reminder that Nikos' behaviour is _consistently_ that of his prefered nom de plume: "Ferrous Cranus is utterly impervious to reason, persuasion and new ideas, and when engaged in battle he will not yield an inch in his position regardless of its hopelessness" http://www.politicsforum.org/images/flame_warriors/flame_62.php
[toc] | [prev] | [next] | [standalone]
| From | Piet van Oostrum <piet@vanoostrum.org> |
|---|---|
| Date | 2013-09-17 22:58 -0400 |
| Message-ID | <m24n9irg2s.fsf@cochabamba.vanoostrum.org> |
| In reply to | #54313 |
Ferrous Cranus <nikos.gr33k@gmail.com> writes: > So cant this be done in python or not? > or is a mtetr of configuring the MTA? conf file? You could write a python program that uses Gmail's web interface. But it is tricky, and if Gmail would change its inyterface you get stuck, and have to do it again, risking that temporarily your email cannot be delivered. I think you should give up this unholy idea, and just stick with the standard. -- Piet van Oostrum <piet@vanoostrum.org> WWW: http://pietvanoostrum.com/ PGP key: [8DAE142BE17999C4]
[toc] | [prev] | [next] | [standalone]
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2013-09-17 07:55 -0400 |
| Message-ID | <mailman.61.1379419352.18130.python-list@python.org> |
| In reply to | #54253 |
[Multipart message — attachments visible in raw view] — view raw
In honour of the value of mailing lists in general lets stop this thread since once again the troll pattern repeats ad infinitum. At least if you want to add to this nonsense, read each of the (several?) dozen entries. 1. a seemingly earnest question is asked with something to do with python. The question looks like it is from an very anxious novice 2. errors are pointed out in the sloppiness of the code and as an aside, the value of code in general is questioned since it is based on assumptions that are completely muddled, misunderstood 3. people start to laugh and grouse "here we go again" 4. The troll whines back that he asked a good and question and people are being mean to him 5. He draws more people into the thread who feel bad he was maligned. 6. the thread seems to go on with some (faux) value as people probe the the basis of the discussion further 7. The troll, ignores every single bit of useful information provided that doesn't serve his interest in keeping this going by slightly altering the questions, or posing new variants, or raising hair-brain notions. In other words he is not discussion his own question, he is TROLLING to keep the thread alive. 8. Someone notices the cycle is complete. Go back for a year to every question asked by the troll who goes by Nikos or Ferrous, or 2 or three other email address (in the same thread!) and see if any of them don't follow this pattern. If you are new here and think this guy is worth your time, you are wasting everyone's time and memory space or disk space to add to these threads Ok, I won't do it again. On Tue, Sep 17, 2013 at 6:46 AM, Heiko Wundram <modelnine@modelnine.org>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 17.09.2013 01:41, schrieb Steven D'Aprano: > > I cannot fathom for the life of me a legitimate reason for your > > website to use a fake IP address and hostname when sending email. > > In addition to that: it's amazing that Nikos thinks TCP will still > work in the presence of spoofed IP addresses. Email without TCP is a > challenge, at the least. > > - -- > - --- Heiko. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.20 (MingW32) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJSODMPAAoJEDMqpHf921/SC0YH/3rCWDcX+rzJKonfeJXUYNxz > nbrBPDsoZf6xPh0socOn88TrzgbZewhWf2l3dHAPOKxTAwUWjRjygatTccBmZur9 > 6B+t410Nq7axz5+0jg4OwBSOQVt3jr0YInK3vWzq4nd0V0cHchvZzfrdSmnEloDU > V3wIPhBM7MEavyuvrxhutIM8DxA/0z6L/cLhwnpHfE6AxVMeGh/dHhGK9eaxJ03C > pfPWgb2fuCRHrOd3+cLUx3ZFF6YkK00PZzICFhkx236K8iaTvBgqIsod2tpyP6+t > H9qlXCfxit1d6nEzTJavx4suBGStcbhDr1C6VlDaPjfVH+w8842h/0QLhTsMXjY= > =K/XL > -----END PGP SIGNATURE----- > -- > https://mail.python.org/mailman/listinfo/python-list > -- Joel Goldstick http://joelgoldstick.com
[toc] | [prev] | [next] | [standalone]
| From | Ferrous Cranus <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-09-17 15:11 +0300 |
| Message-ID | <l19gue$tc9$1@dont-email.me> |
| In reply to | #54283 |
Στις 17/9/2013 2:55 μμ, ο/η Joel Goldstick έγραψε: > In honour of the value of mailing lists in general lets stop this thread > since once again the troll pattern repeats ad infinitum. > > At least if you want to add to this nonsense, read each of the > (several?) dozen entries. > > 1. a seemingly earnest question is asked with something to do with > python. The question looks like it is from an very anxious novice > 2. errors are pointed out in the sloppiness of the code and as an aside, > the value of code in general is questioned since it is based on > assumptions that are completely muddled, misunderstood > 3. people start to laugh and grouse "here we go again" > 4. The troll whines back that he asked a good and question and people > are being mean to him > 5. He draws more people into the thread who feel bad he was maligned. > 6. the thread seems to go on with some (faux) value as people probe the > the basis of the discussion further > 7. The troll, ignores every single bit of useful information provided > that doesn't serve his interest in keeping this going by slightly > altering the questions, or posing new variants, or raising hair-brain > notions. In other words he is not discussion his own question, he is > TROLLING to keep the thread alive. > 8. Someone notices the cycle is complete. > > Go back for a year to every question asked by the troll who goes by > Nikos or Ferrous, or 2 or three other email address (in the same > thread!) and see if any of them don't follow this pattern. If you are > new here and think this guy is worth your time, you are wasting > everyone's time and memory space or disk space to add to these threads > > Ok, I won't do it again. Yes you are doing it. I'm not trolling but trying to solve a specific question and i have provided code i wrote to do that and explained the reason of why i want it to work like this. I wouldn't waste my time trying code so many days until i make it work. If you want to think i'm trolling go ahead and do it but please do it in your own thread not messing up mines. There are members here like Tim Chase who said that they find it interesting to be able to do what i proposed. It's ok if you dont want to help, but spamming my thread with your trolling assumptions towards me is tiresome and if you gonna do it open do it at least in your own thread.
[toc] | [prev] | [next] | [standalone]
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Date | 2013-09-17 13:51 +0100 |
| Message-ID | <mailman.66.1379422304.18130.python-list@python.org> |
| In reply to | #54286 |
On 2013-09-17 13:11, Ferrous Cranus wrote: > There are members here like Tim Chase who said that they find it interesting to > be able to do what i proposed. No, he didn't. He was using sarcasm in a vain attempt to inspire you to search the Python documentation where you could easily find the standard SMTP library. http://docs.python.org/2/library/smtplib -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
[toc] | [prev] | [next] | [standalone]
| From | Antoon Pardon <antoon.pardon@rece.vub.ac.be> |
|---|---|
| Date | 2013-09-17 14:52 +0200 |
| Message-ID | <mailman.69.1379425076.18130.python-list@python.org> |
| In reply to | #54286 |
Op 17-09-13 14:11, Ferrous Cranus schreef: > Yes you are doing it. > I'm not trolling but trying to solve a specific question and i have > provided code i wrote to do that and explained the reason of why i want > it to work like this. No you haven't. You have given no explanation at all for why you want to eliminate those headers. Since those headers are added to ease finding the source of email abuse I really am curious to know your motivation for wanting them removed. > I wouldn't waste my time trying code so many days until i make it work. > > If you want to think i'm trolling go ahead and do it but please do it in > your own thread not messing up mines. You are incosiderate by messing up the python list with non python questions. Yet you demand others to be considerate by not messing up your thread. Well you can hope I guess. > There are members here like Tim Chase who said that they find it > interesting to be able to do what i proposed. Tim Chase said no such thing. > It's ok if you dont want to help, but spamming my thread with your > trolling assumptions towards me is tiresome and if you gonna do it open > do it at least in your own thread. We find it tiresome that you keep coming here with non-python questions. That doesn't seem to stop you. So why do you think it should stop others?
[toc] | [prev] | [next] | [standalone]
| From | Jake Angulo <jake.angulo@gmail.com> |
|---|---|
| Date | 2013-09-20 13:56 +1000 |
| Message-ID | <mailman.170.1379649892.18130.python-list@python.org> |
| In reply to | #54286 |
[Multipart message — attachments visible in raw view] — view raw
Up Robert Kern's reply! I was waiting for smtplib <http://docs.python.org/2/library/smtplib> to be mentioned... finally! Instead people simply answer philosophically. I dont want to judge whether OP is a troll or not - but i found a lot of arrogant replies here. I have also worked on an antispam project before, and see through the intents of the OP, but I do not pretend to be a moralist. I was hoping we would strictly discuss code or software architecture here, not morality. Simple question, simple answer pls, in the interest of the Python list. To the OP: You might want to google smtplib, and use that instead of os calling a system command. Smtplib takes care of all the operating system's quirks for you, and still uses the os native sendmail program. On the other hand, the way you are sending email is highly suspect, trying to spoof a domain, random email address, etc. It is not easy to fool most modern email servers nowadays - especially gmail's. They verify first that the sending domain matches the IP of the sender. And if you are trying to do this - it is neither Python's nor the OS fault. Happy coding! On Tue, Sep 17, 2013 at 10:51 PM, Robert Kern <robert.kern@gmail.com> wrote: > On 2013-09-17 13:11, Ferrous Cranus wrote: > > There are members here like Tim Chase who said that they find it >> interesting to >> be able to do what i proposed. >> > > No, he didn't. He was using sarcasm in a vain attempt to inspire you to > search the Python documentation where you could easily find the standard > SMTP library. > > http://docs.python.org/2/**library/smtplib<http://docs.python.org/2/library/smtplib> > > -- > Robert Kern > > "I have come to believe that the whole world is an enigma, a harmless > enigma > that is made terrible by our own mad attempt to interpret it as though it > had > an underlying truth." > -- Umberto Eco > > -- > https://mail.python.org/**mailman/listinfo/python-list<https://mail.python.org/mailman/listinfo/python-list> >
[toc] | [prev] | [next] | [standalone]
| From | feedthetroll@gmx.de |
|---|---|
| Date | 2013-09-20 04:05 -0700 |
| Message-ID | <dd445236-557a-4673-bc7c-7e59a71a303d@googlegroups.com> |
| In reply to | #54456 |
Hi Jake! Am Freitag, 20. September 2013 05:56:57 UTC+2 schrieb Jake Angulo: > ... > I was waiting for smtplib to be mentioned... finally! Instead people simply > answer philosophically. I dont want to judge whether OP is a troll or not - As you do not seem to know the histrory of this topic I will try to summarize (you can find the plethora of posts in the archive): * Nikos tried to send mails using smtplib via gmail * gmail did not allow him to use arbitrary FROM adresses (whatever FROM-header he used, gmail changed it to the e-mail of his account). evil, evil gmail ;-) * He got many, many hints not to send via gmail but use his own MTA * Nikos configured sendmail to relay mail VIA GMAIL (unfortunately that did not change anything) * while using arbitrary things to find the reason (when you browse the archive you will learn, that nikos does not read postings or docs but uses some sort of artistic or random or just chaotic "trial and error" to solve his problems) * ... he found some other headers he wants to falsify * the only reference to python is, that he wants to use his python-cgi-scripts to change the mailheaders AFTER the mail left his relaying MTA and even after the mail arrives in the inbox of the recipient (received-by-headers, IP-Adresses, ...). The hints to read some docs about TCP/IP, SMTP, ... he ignores as he has to do see http://www.politicsforum.org/images/flame_warriors/flame_62.php (the original by mreed is not reachable today) hth
[toc] | [prev] | [next] | [standalone]
| From | Antoon Pardon <antoon.pardon@rece.vub.ac.be> |
|---|---|
| Date | 2013-09-20 08:48 +0200 |
| Message-ID | <mailman.172.1379659776.18130.python-list@python.org> |
| In reply to | #54286 |
Op 20-09-13 05:56, Jake Angulo schreef: > Up Robert Kern's reply! > > I was waiting for smtplib <http://docs.python.org/2/library/smtplib> to > be mentioned... finally! Instead people simply answer philosophically. > I dont want to judge whether OP is a troll or not - but i found a lot > of arrogant replies here. That is nice. You don't like to judge the OP but you seem to have no trouble judging others > I have also worked on an antispam project > before, and see through the intents of the OP, but I do not pretend to > be a moralist. That doesn't sound right after you judged other replies to be arrogant. > I was hoping we would strictly discuss code or software > architecture here, not morality. Simple question, simple answer pls, in > the interest of the Python list. Well I was hoping, we wouldn't be plagued by trolls or help-vampires or at least that other wouldn't (spoon) feed them. I guess we can always hope. > To the OP: > > You might want to google smtplib, and use that instead of os calling a > system command. Smtplib takes care of all the operating system's quirks > for you, and still uses the os native sendmail program. But that won't help in eliminating all the headers Nikos would like to avoid. Like the receive line that will identify his host. -- Antoon Pardon
[toc] | [prev] | [next] | [standalone]
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Date | 2013-09-20 10:26 +0100 |
| Message-ID | <mailman.176.1379669172.18130.python-list@python.org> |
| In reply to | #54286 |
On 2013-09-20 04:56, Jake Angulo wrote: > Up Robert Kern's reply! > > I was waiting for smtplib <http://docs.python.org/2/library/smtplib> to be > mentioned... finally! Instead people simply answer philosophically. I dont > want to judge whether OP is a troll or not - but i found a lot of arrogant > replies here. I have also worked on an antispam project before, and see through > the intents of the OP, but I do not pretend to be a moralist. I was hoping we > would strictly discuss code or software architecture here, not morality. Simple > question, simple answer pls, in the interest of the Python list. Please don't valorize my message. I did neither Nikos nor the group any favors. I can only plead dizziness from the whooshing of Tim's sarcasm flying over Nikos' head. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
[toc] | [prev] | [next] | [standalone]
| From | Heiko Wundram <modelnine@modelnine.org> |
|---|---|
| Date | 2013-09-17 14:22 +0200 |
| Message-ID | <mailman.64.1379420557.18130.python-list@python.org> |
| In reply to | #54253 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 17.09.2013 13:55, schrieb Joel Goldstick: > At least if you want to add to this nonsense, read each of the > (several?) dozen entries. Actually, I have read each of the troll cycles (just as I read much of clp, although I haven't participated much for the last five years), and found most of them to be rather interesting reads (in their digression from the original topic). And: I actually find it rather valuable answering indirectly to things noticed "along the ride" (or reading what other people answer indirectly in the same manner) - see my post in this thread where I pointed out that the original code actually does not sanitize inputs to a shell command to send mail. But, again, your impression may differ, and I can respect that. - -- - --- Heiko. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSOEl/AAoJEDMqpHf921/SAJQIAI48Kzz0js1QqMDkotmMZfdE XJYwsWlRXtaPhRy1VEGKHiSgCEd71/IVDUOPEv5TuJMy9zfsW1McexrYMW0NW63J RiAlDmLSITfdPRYqPgmOTA4MqgJ3V2/oAzOpYXwPqs8Qdt92AX5Tr5itDFgua18T TSdsD4gNudtIMUBkACzMjJKGyxrHvFFhGpUHlFh5swrZhflaGm1TuCWwz3ojTSbG yoQRPe1ylSjcxkJesaKXR8mIaUMq4mrUaChBe+FwoCJXXs8kkX/EO3KULvKCxQGU lzsom+b/eTaxB/ttyHwbt7QSsYq1ko2fIeqqDD/jmhTpg5gshOC+JHLs3bUkmMw= =sTJq -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Ferrous Cranus <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-09-16 19:15 +0300 |
| Message-ID | <l17aqp$g81$1@news.grnet.gr> |
| In reply to | #54224 |
Στις 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?
[toc] | [prev] | [next] | [standalone]
| From | Ferrous Cranus <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-09-16 19:23 +0300 |
| Message-ID | <l17b9j$hbl$1@news.grnet.gr> |
| In reply to | #54233 |
Στις 16/9/2013 7:15 μμ, ο/η Ferrous Cranus έγραψε: > Στις 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? and this too: Received: from nikos by my.superhost.gr with local (Exim 4.80.1) (envelope-from <I6ZKG6D5@mail.org>) id 1VLam4-0004nG-TJ I wish this not to be displayed.
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2013-09-16 19:07 +0000 |
| Message-ID | <l17ku6$pvj$1@dont-email.me> |
| In reply to | #54234 |
On Mon, 16 Sep 2013 19:23:15 +0300, Ferrous Cranus wrote: >> Τhis si the headers i would like to delete because i dont want them to >> be used when sending mail: >> X-AntiAbuse: ....... > and this too: > Received: ...... This is probably your mta, not python, see your mta config. OFF TOPIC IN comp.lang.python -- Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [next] | [standalone]
| From | William Ray Wing <wrw@mac.com> |
|---|---|
| Date | 2013-09-16 13:53 -0400 |
| Message-ID | <mailman.33.1379354007.18130.python-list@python.org> |
| In reply to | #54233 |
On Sep 16, 2013, at 12:15 PM, Ferrous Cranus <nikos.gr33k@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
[toc] | [prev] | [next] | [standalone]
| From | Ferrous Cranus <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-09-17 00:15 +0300 |
| Message-ID | <l17sd9$qeh$1@news.grnet.gr> |
| In reply to | #54238 |
Στις 16/9/2013 8:53 μμ, ο/η William Ray Wing έγραψε: > On Sep 16, 2013, at 12:15 PM, Ferrous Cranus <nikos.gr33k@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 ?
[toc] | [prev] | [next] | [standalone]
Page 3 of 4 — ← Prev page 1 2 [3] 4 Next page →
Back to top | Article view | comp.lang.python
csiph-web