After setting up virtualmin over a clean ubuntu 18 server via digital ocean, i finally ( 2 days troubleshooting after sasl auth errors ) managed to sent mails with roundcube or over IMAP / SMTP via Wordpress.
I discovered that they are sent succesfully without errors. Via postman plugin in wordpress the log says : postman log:
250 2.0.0 Ok: queued as 00FED1BDA04
xxxxx= hide details
My mail.log file :
Jun 8 20:04:16 customit postfix/smtpd: connect from customit.3designs.be[126.96.36.199]
Jun 8 20:04:17 customit postfix/smtpd: 00FED1BDA04: client=customit.3designs.be[188.8.131.52], sasl_method=PLAIN, sasl_username=xxxxxxx
Jun 8 20:04:17 customit postfix/cleanup: 00FED1BDA04: firstname.lastname@example.org
Jun 8 20:04:17 customit postfix/qmgr: 00FED1BDA04: email@example.com, size=3537, nrcpt=1 (queue active)
Jun 8 20:04:17 customit postfix/smtpd: disconnect from customit.3designs.be[184.108.40.206] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Jun 8 20:04:17 customit postfix/smtp: warning: customit.be: dane configured with dnssec lookups disabled
However, I guess they haven’t left the queue cause I cant find the email anywhere? Not in spam or inbox. Tested with 3 different mail accounts : personal / hotmail / gmail.
Yes, those are people trying to login to send/recv email. Nothing can be done for that except strong passwords and some sort of firewall blocking for repeated abusers.
Go to mxtoolbox.com and go through their email server tests. When I use allamente.be, it shows there is a reverse dns problem. The mail server domain, IP, reverse IP(PTR), SPF, all must line up for gmail to accept mail from a domain. Others like hotmail or mircrosft are nearly impossible to send mail to from a new email server, so ignore them. And reverse dns is almost always handled by your hosting provider. You’ll have to get them to set it up.
Im afraid I have to let this email idea go. Too much headaches from this… I rent this droplet for my customers. Its a win-win. they have a fast and reliable website, maintained by me and ofc they pay me something for this. The only big pain, is that I have to outsource the emails. So the cost will be double : VPS + mail host. So there’s nothing to earn there.
You think using smtp relay like mailgun is an option to keep using the roundcube mailbox on my server?