bytemarkhosting / docker-smtp Goto Github PK
View Code? Open in Web Editor NEWDocker image for sending outgoing mail
Docker image for sending outgoing mail
Only send emails to Gmail accounts others fail
I set spf and DMARC
SMTP error from remote mail server after initial connection: 554 mxdhfe12.ad.aruba.it bizsmtp gMiTlOmTiJaFz
SMTP error from remote mail server after pipelined MAIL FROM:<no-reply@my_site.com> SIZE=14506: 550 5.7.1 Unfortunately, messages from [x.x.x.x] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3140). You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. [DB8EUR06FT010.eop-eur06.prod.protection.outlook.com]
SMTP error from remote mail server after initial connection: 554 5.7.0 Blocked
the configuration of the container is this:
mail:
image: bytemark/smtp
restart: always
networks:
- frontend
labels:
- "traefik.enable=false"
if I use an external server it works. But I would like to send the mails with my domain
Currently, the image support only amd64. I would love to see an arm architecture support build. ❤️
I want to run plausible on an arm64 architecture based server. But as this image only supports amd64 I am not able to do the same.
Help pls!
This is used in plausible analytics docker compose
version: "3.3"
services:
mail:
image: bytemark/smtp
restart: always
it restarts with
exec /usr/local/bin/docker-entrypoint.sh: exec format error
I am running on oracle cloud arm
Linux instance-20221026-0418 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
I'm trying to figure out how to set this to use simple email sending just for devices on my internetal network, I'm using unraid and i currently have the following:
The logs show the following:
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
509 delivering 1qU4sp-00008C-Kl
509 R: dnslookup for [email protected]
510 T: remote_smtp for [email protected]
510 Connecting to my-email-uk01c.mail.protection.outlook.com [104.47.21.36]:25 ... connected
510 SMTP<< 220 LO2GBR01FT015.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Thu, 10 Aug 2023 12:35:19 +0000
510 SMTP>> EHLO mydomain.com
510 SMTP<< 250-LO2GBR01FT015.mail.protection.outlook.com Hello [123.456.789.123]
510 250-SIZE 157286400
510 250-PIPELINING
510 250-DSN
510 250-ENHANCEDSTATUSCODES
510 250-STARTTLS
510 250-8BITMIME
510 250-BINARYMIME
510 250-CHUNKING
510 250 SMTPUTF8
510 SMTP>> STARTTLS
510 SMTP<< 220 2.0.0 SMTP server ready
510 SMTP>> EHLO mydomain.com
510 SMTP<< 250-LO2GBR01FT015.mail.protection.outlook.com Hello [123.456.789.123]
510 250-SIZE 157286400
510 250-PIPELINING
510 250-DSN
510 250-ENHANCEDSTATUSCODES
510 250-8BITMIME
510 250-BINARYMIME
510 250-CHUNKING
510 250 SMTPUTF8
510 SMTP>> MAIL FROM:[email protected] SIZE=1694
510 SMTP>> RCPT TO:[email protected]
510 SMTP>> DATA
510 SMTP<< 250 2.1.0 Sender OK
510 SMTP<< 550 5.7.606 Access denied, banned sending IP [123.456.789.123]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to http://go.microsoft.com/fwlink/?LinkID=526655 AS(1430)
510 SMTP<< 503 5.5.2 Need rcpt command [LO2GBR01FT015.eop-gbr01.prod.protection.outlook.com 2023-08-10T12:35:19.961Z 08DB9981A78D2707]
510 SMTP>> QUIT
510 SMTP(close)>>
509 LOG: MAIN
509 ** [email protected] R=dnslookup T=remote_smtp H=my-email-uk01c.mail.protection.outlook.com [104.47.21.36] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no DN="C=US,ST=Washington,L=Redmond,O=Microsoft Corporation,CN=mail.protection.outlook.com": SMTP error from remote mail server after RCPT TO:[email protected]: 550 5.7.606 Access denied, banned sending IP [123.456.789.123]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to http://go.microsoft.com/fwlink/?LinkID=526655 AS(1430)
511 Exim version 4.89 uid=101 gid=101 pid=511 D=40001
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
511 LOG: MAIN
511 <= <> R=1qU4sp-00008C-Kl U=Debian-exim P=local S=2659
512 Exim version 4.89 uid=101 gid=101 pid=512 D=40001
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
512 delivering 1qU4sq-00008F-1F
512 R: dnslookup for [email protected]
509 LOG: MAIN
509 Completed
513 T: remote_smtp for [email protected]
512 LOG: retry_defer MAIN
512 == [email protected] R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host for 'media.mydomain.com'
514 LOG: host_lookup_failed MAIN
514 no host name found for IP address 192.168.10.102
I'm running the Basic SMTP server and trying to send an email using Python + SMTPLib but I always get "Connection refused" Do you have any examples on how to send an email with the Basic SMTP server?
The delivery is failing for me because of the hostname.
To what is the fully-qualified hostname set in a container?
Can it be set with MAILNAME
?
758 delivering 1l7rgZ-0000CD-EJ
758 R: dnslookup for [email protected]
759 T: remote_smtp for [email protected]
759 Connecting to spool.mail.gandi.net [217.70.178.1]:25 ... connected
759 SMTP<< 220 spool.mail.gandi.net ESMTP Postfix
759 SMTP>> EHLO 15b0717dc4c2
759 SMTP<< 250-spool.mail.gandi.net
759 250-PIPELINING
759 250-SIZE 35651584
759 250-ETRN
759 250-STARTTLS
759 250-ENHANCEDSTATUSCODES
759 250-8BITMIME
759 250 DSN
759 SMTP>> STARTTLS
759 SMTP<< 220 2.0.0 Ready to start TLS
759 SMTP>> EHLO 15b0717dc4c2
759 SMTP<< 250-spool.mail.gandi.net
759 250-PIPELINING
759 250-SIZE 35651584
759 250-ETRN
759 250-ENHANCEDSTATUSCODES
759 250-8BITMIME
759 250 DSN
759 SMTP>> MAIL FROM:<> SIZE=3764
759 SMTP>> RCPT TO:<[email protected]>
759 SMTP>> DATA
759 SMTP<< 250 2.1.0 Ok
759 SMTP<< 504 5.5.2 <15b0717dc4c2>: Helo command rejected: need fully-qualified hostname
759 SMTP<< 554 5.5.1 Error: no valid recipients
759 SMTP>> QUIT
759 SMTP(close)>>
758 LOG: MAIN
758 ** [email protected] R=dnslookup T=remote_smtp H=spool.mail.gandi.net [217.70.178.1] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no DN="CN=spool.mail.gandi.net": SMTP error from remote mail server after RCPT TO:<[email protected]>: 504 5.5.2 <15b0717dc4c2>: Helo command rejected: need fully-qualified hostname
758 LOG: MAIN
758 Frozen (delivery error message)
Hi
I created a simple mail server with this command
docker run -d --name mailserver -p 25:25 bytemark/smtp
Then tried to send a message to my personal gmail account and got this error
240 delivering 1kkUzM-00003r-F0
240 R: dnslookup for [email protected]
240 LOG: MAIN
240 == [myaccount]@gmail.com R=dnslookup defer (-1): host lookup did not complete
How can i fix this ?
Hi, where I can verify sent emails? Where in the logs I can see that?
Currently hosting on a VM withing Google Cloud Platform that does not have ipv6 configured.
Is there a way to turn off ipv6 lookups so that it only uses ipv4?
1 exim 4.89 daemon started: pid=1, -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.