Git Product home page Git Product logo

kz26 / mailproxy Goto Github PK

View Code? Open in Web Editor NEW
191.0 191.0 31.0 4 KB

mailproxy is a simple SMTP proxy. It receives emails through an unencrypted, unauthenticated SMTP interface and retransmits them through a remote SMTP server that requires modern features such as encryption and/or authentication. mailproxy is primarily useful for enabling email functionality in legacy software that only supports plain SMTP.

License: MIT License

Python 100.00%
cli python python3 smtp smtp-client smtp-server

mailproxy's People

Contributors

kz26 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mailproxy's Issues

500 error

auth login
500 Error: command "AUTH" not recognized

Parsing Problems with Python 3.9

Hi, i get following errors trying to run your script with windows

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Program Files\mailproxy-master>python mailproxy.py
('127.0.0.1', 49304) SMTP session exception
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-p
ackages\aiosmtpd\smtp.py", line 647, in _handle_client
await method(arg)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-p
ackages\aiosmtpd\smtp.py", line 1358, in smtp_DATA
status = await self._call_handler_hook('DATA')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-p
ackages\aiosmtpd\smtp.py", line 415, in _call_handler_hook
status = await hook(self, self.session, self.envelope, *args)
File "C:\Program Files\mailproxy-master\mailproxy.py", line 26, in handle_DATA

refused = self._deliver(envelope)

File "C:\Program Files\mailproxy-master\mailproxy.py", line 45, in _deliver
s.connect(self._host, self._port)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\smtpli
b.py", line 339, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\smtpli
b.py", line 1041, in _get_socket
new_socket = self.context.wrap_socket(new_socket,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\ssl.py
", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\ssl.py
", line 1031, in _create
self._sslobj = self._context._wrap_socket(
ValueError: server_hostname cannot be an empty string or start with a leading do
t.

Line 6 Error in mailproxy.py

I'm receiving the following error. Any insight to fix would be appreciated?

(base) PS C:\Mailproxy> python mailproxy.py
File "mailproxy.py", line 6

^
SyntaxError: invalid syntax

500 Error

I am getting the following error after the setup is completed.
Any Ideas?
500 Error: (ValueError) server_hostname cannot be an empty string or start with a leading dot.

100% CPU on CentOS7

I am running this on a CentOS 7 box with Python 3.5 and I see 100% CPU usage - though the relay works perfectly. DO you have any idea why?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.