How to set a local smtp server to send anonymous e-mails

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












My attempt is to send an e-mail from [non_existing_email@address.com] to [address]@[random.com], which exists, in an unauthorized way.



I have tried generic solutions i.e.



1) which is the basic case and could not make it work.



server = smtplib.SMTP()
server.connect('localhost:25')
server.sendmail(fromaddr, toaddr, m + msg)
server.close()


and
2) only works for gmail recipients. I am looking for its generalized edition where recipient's address can be any address.



server = smtplib.SMTP('gmail-smtp-in.l.google.com:25')
server.starttls()
server.ehlo("example.com")
server.mail(fromaddr)
server.rcpt(toaddrs[0])
server.data(msg)
server.quit()


Is there a possible way to have such anonymity?










share|improve this question

















  • 1




    If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
    – heynnema
    Feb 1 at 14:49










  • What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
    – Elesmoth
    Feb 1 at 14:59










  • Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
    – Elesmoth
    Feb 1 at 15:00










  • You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
    – wjandrea
    Feb 1 at 18:32














up vote
0
down vote

favorite












My attempt is to send an e-mail from [non_existing_email@address.com] to [address]@[random.com], which exists, in an unauthorized way.



I have tried generic solutions i.e.



1) which is the basic case and could not make it work.



server = smtplib.SMTP()
server.connect('localhost:25')
server.sendmail(fromaddr, toaddr, m + msg)
server.close()


and
2) only works for gmail recipients. I am looking for its generalized edition where recipient's address can be any address.



server = smtplib.SMTP('gmail-smtp-in.l.google.com:25')
server.starttls()
server.ehlo("example.com")
server.mail(fromaddr)
server.rcpt(toaddrs[0])
server.data(msg)
server.quit()


Is there a possible way to have such anonymity?










share|improve this question

















  • 1




    If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
    – heynnema
    Feb 1 at 14:49










  • What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
    – Elesmoth
    Feb 1 at 14:59










  • Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
    – Elesmoth
    Feb 1 at 15:00










  • You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
    – wjandrea
    Feb 1 at 18:32












up vote
0
down vote

favorite









up vote
0
down vote

favorite











My attempt is to send an e-mail from [non_existing_email@address.com] to [address]@[random.com], which exists, in an unauthorized way.



I have tried generic solutions i.e.



1) which is the basic case and could not make it work.



server = smtplib.SMTP()
server.connect('localhost:25')
server.sendmail(fromaddr, toaddr, m + msg)
server.close()


and
2) only works for gmail recipients. I am looking for its generalized edition where recipient's address can be any address.



server = smtplib.SMTP('gmail-smtp-in.l.google.com:25')
server.starttls()
server.ehlo("example.com")
server.mail(fromaddr)
server.rcpt(toaddrs[0])
server.data(msg)
server.quit()


Is there a possible way to have such anonymity?










share|improve this question













My attempt is to send an e-mail from [non_existing_email@address.com] to [address]@[random.com], which exists, in an unauthorized way.



I have tried generic solutions i.e.



1) which is the basic case and could not make it work.



server = smtplib.SMTP()
server.connect('localhost:25')
server.sendmail(fromaddr, toaddr, m + msg)
server.close()


and
2) only works for gmail recipients. I am looking for its generalized edition where recipient's address can be any address.



server = smtplib.SMTP('gmail-smtp-in.l.google.com:25')
server.starttls()
server.ehlo("example.com")
server.mail(fromaddr)
server.rcpt(toaddrs[0])
server.data(msg)
server.quit()


Is there a possible way to have such anonymity?







networking server email postfix smtp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 1 at 14:36









Elesmoth

164




164







  • 1




    If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
    – heynnema
    Feb 1 at 14:49










  • What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
    – Elesmoth
    Feb 1 at 14:59










  • Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
    – Elesmoth
    Feb 1 at 15:00










  • You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
    – wjandrea
    Feb 1 at 18:32












  • 1




    If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
    – heynnema
    Feb 1 at 14:49










  • What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
    – Elesmoth
    Feb 1 at 14:59










  • Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
    – Elesmoth
    Feb 1 at 15:00










  • You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
    – wjandrea
    Feb 1 at 18:32







1




1




If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
– heynnema
Feb 1 at 14:49




If you're trying to create a spambot/spam mail server, you may not receive much help here. If I misunderstand your intent, I apologize.
– heynnema
Feb 1 at 14:49












What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
– Elesmoth
Feb 1 at 14:59




What a shallow approach. If I were planning such thing, would I post it on askubuntu? NO. Purpose is pure anonymity.
– Elesmoth
Feb 1 at 14:59












Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
– Elesmoth
Feb 1 at 15:00




Additionally, one might consider that it's working for gmail based addresses. That would be sufficient to hack, with your rationale.
– Elesmoth
Feb 1 at 15:00












You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
– wjandrea
Feb 1 at 18:32




You say you "could not make it work", but not what happened. You need to add more detail for us to understand the problem.
– wjandrea
Feb 1 at 18:32















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002091%2fhow-to-set-a-local-smtp-server-to-send-anonymous-e-mails%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002091%2fhow-to-set-a-local-smtp-server-to-send-anonymous-e-mails%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error