Questions tagged [smtpd]

The SMTP server accepts network connection requests and performs zero or more SMTP transactions per connection. Man Page

51 questions
1
vote
1 answer

PHPMailer does not work with gmail

after trying to let my PHPMailer run with gmail for some days I have to find some help here. I read nearly everything I could find here or in Google but none of the ideas helped until now. I am using * Windows 7 Home Basic * Wampserver 2.2 with…
Arthur Meier
  • 159
  • 1
  • 5
  • 14
1
vote
2 answers

How to scan python smtpd server for text

I would like to receive an email with python. Then I want to exit the mailserver and use the content of the email in my script. For example: if "any_string" in data: print "success" << exit mailserver >> << any other commands…
user2534685
  • 451
  • 1
  • 7
  • 16
1
vote
1 answer

Send AND receive email in an python application (no IMAP or POP3)

I'm building a application that needs to send and receive emails. However I do not want to have a separate email server (or use IMAP and POP3), since I need to create/delete/manage inboxes on the fly, with no email inbox passwords, etc. I have an…
Isidoro
  • 385
  • 5
  • 15
1
vote
1 answer

Postfix sending mail from nonexistent email addresses

I recently migrated from Courier to Dovecot. The main guide I followed for configuring Postfix + MySQL + Dovecot was this one: https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql Everything works perfect, but when I change the…
0
votes
0 answers

Python smtpd DebuggingServer. How do I know it is running correctly?

I'm testing a Flask app emailing capability with Python's smptd DebuggingServer with: python -m smtpd -n -c DebuggingServer localhost:8025 and alternatively python -m smtpd -c DebuggingServer -n localhost:8025 These commands don't provide any…
JeffP
  • 539
  • 1
  • 5
  • 19
0
votes
1 answer

Python doesn't send email using smtpd, I get no errors but no emails are delivered

I tried to send an email via Python, but I don't get any mail. I have checked the spam folder but still no results. My code: import smtpd connection = smtpd.SMTP("smtp.gmail.com") connection.starttls() connection.login(user=my_email,…
Nemiya
  • 11
  • 1
0
votes
1 answer

Sending/Receiving E-mail with Python smtpd module

I'm trying to make a simple smtp server using the Python smtpd module. I can receive an e-mail and print it out. I try to send an e-mail back to the person who sent me the e-mail with a hello world message and I end up with an infinite loop. I try…
Jonathan Sternberg
  • 6,421
  • 7
  • 39
  • 58
0
votes
0 answers

How to bind simple smtp python server to lan?

I need a python smtp server to receive multiple dvr alarm mail,store it and process. I looked around and found this simple code: from datetime import datetime import asyncore from smtpd import SMTPServer class EmlServer(SMTPServer): …
0
votes
1 answer

Python multithreaded SMTP proxy

I made a SMTP proxy made of multiple instances of smtpd.SMTPServer running on 5 different ports, receiving, parsing and reinjecting emails in Postfix in a load balanced setup. All is working well, but I have not been able to run each instance on…
user3523425
0
votes
1 answer

A temporary mailbox/mail receiving server in Python

Need sugestions on how to implement/what to use/what or about what to read in order to know how, a mail server in Python, which would let me to generate temporary mailboxes. Let’s say I have a domain test.com, I would like to be able to setup for…
Kuba Chrabański
  • 625
  • 2
  • 7
  • 17
0
votes
0 answers

Does python smtpd support TLS?

I'm trying to make a simple email server, but I'm finding that python's smtpd library doesn't support TLS, and I can't find any examples of servers implementing TLS. Is this implemented in any third party libraries, or extension to the stdlib? I…
Rob
  • 3,333
  • 5
  • 28
  • 71
0
votes
1 answer

Can not "pip install smtpd"

I have missing module and I don't know how do I install this. Is there a newer version? I want to do something like: python3.6 -m smtpd -n -c DebuggingServer localhost:1025
Meroz
  • 859
  • 2
  • 8
  • 28
0
votes
2 answers

postfix-mta: Milter for SPF?

Is it possible to use a milter under postfix to implement SPF? It seems to me that this would not be possible, because of the way that postfix manages milters. According do the postfix docs, the milter goes here in the message-processing…
HippoMan
  • 2,119
  • 2
  • 25
  • 48
0
votes
1 answer

how should mail server respond to unsubscribe requests for nonexistent mailing lists?

Our mail server has been blacklisted by lashback.com because "Sender has sent to LashBack Unsubscribe Probe accounts", but we haven't hosted any mailing lists for years. Our server responds to such requests, whether legitimate or merely Lashback…
0
votes
1 answer

How to use python -m smtpd to actually send emails?

I have a Django application. In my development environment, the app is running on my Mac OSX 10.9.3 laptop. This application needs to send emails. So right now I'm using the following python process to simulate an email server. python -m smtpd -n -c…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272