Usage without outgoing smtp server
gianluca1606 opened this issue · comments
Is there a possibility to use it without an outgoing smtp server?
I just want to see the incoming emails on the frontend.
I am running the maildev project on a kubernetes cluster:
`replicaCount: 1
image:
repository: maildev/maildev
pullPolicy: IfNotPresent
tag: 1.1.0
outgoing_relay:
host:
port:
user:
pass:
secure:
incoming:
ports:
smtp: 1025
web: 1080
https:
enabled: false
web:
disable: false
user: admin
pass: admin
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
annotations: {}
name: ""
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
service:
type: ClusterIP
ingress:
enabled: true
annotations: {}
labels: {}
path: /
pathType: Prefix
hosts:
- anonymousdomain.info
tls: []
hart-example.local
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}`
When I try to send the emails , the container crashes.
Here is the log output:
Temporary directory created at /tmp/maildev Temporary directory created at /tmp/maildev/1 MailDev outgoing SMTP Server localhost:465 (user:undefined, pass:undefined, secure:yes) Auto-Relay mode on MailDev webapp running at http://0.0.0.0:1080 MailDev SMTP Server running at 0.0.0.0:1025 Saving email: Nodemailer is unicode friendly ✔, id: Dx2YNfTs events.js:183 throw er; // Unhandled 'error' event ^ Error: connect ECONNREFUSED 127.0.0.1:465 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
Okay so i got it running with this repository https://github.com/pando85/helm-maildev
@pando85 made a few pullrequests in the helm repo, i would suggest for the maintainer of the project to have a look at his pull requests and merge it, because at the moment it is not working the way it is.