1 (edited by Stoicizmgames 2022-07-28 09:49:21)

Topic: Cannot Send Email Only Receive

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with:
wget github 1.6.0.tar.gz
- Linux/BSD distribution name and version:
Ubuntu 20.04 LTS
- Store mail accounts in which backend (MariaDB):
- Web server (Nginx):
- Manage mail accounts with iRedAdmin-Pro? NO

- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

relay=gmail-smtp-in.l.google.com[142.251.2.27]:25, delay=0.9, delays=0.01/0.01/0.29/0.59, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[142.251.2.27] said: 550-5.7.26 This message does not pass authentication checks>


DNS Setup:
MX = mydomain.com
MX = mail.mydomain.com
A  =  Domain IP
A =  Mail IP server
TXT = "v=spf1 ip4:Domain IP include:mail.mydomain.com ~all"

HTTPS is setup via letsencrpt and resolves fine in web browers and via nslookup

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cannot Send Email Only Receive

host gmail-smtp-in.l.google.com[142.251.2.27] said:
    550-5.7.26 This message does not pass authentication checks (SPF and DKIM
    both 550-5.7.26 do not pass). SPF check for [aystayclean.com] does not pass
    with ip: 550-5.7.26 [my IP].To best protect our users from spam, the
    message has 550-5.7.26 been blocked. Please visit 550-5.7.26
    support.google.com/mail/answer/81126#authentication for more 550
    5.7.26 information. e3-20020a636903000000b003fdc8b4d872si21459625pgc.602 -
    gsmtp (in reply to end of DATA command)


What am I missing? Is my TXT DNS Entry incorrect? or is it something else

3

Re: Cannot Send Email Only Receive

Stoicizmgames wrote:

SPF and DKIM both do not pass

It's clearly mentioned here.

If you already set correct DNS records, you may need to wait for some hours or even days to wait for recipient servers to flush the local DNS cache.

4

Re: Cannot Send Email Only Receive

Has been several hours, my dns provider usually updates new records in minutes.  Any other ideas? or places to check? Thank You

5

Re: Cannot Send Email Only Receive

Try to send a new testing email, same error?
Did you check your SPF / DKIM dns records?

6

Re: Cannot Send Email Only Receive

There is nothing wrong with iRedMail.Most of VPS providers block the ports 25,465,587 to fight against scamers.If you're using Linode then definetly the outbound ports for email delivering  are blocked.You can open the ports via 'ufw' command for local server hosted in cloud but the cloud platform(linode ex.) will block your message to proced any further.In other words...your message will leave your virtual mashine but will  be held on intranet of the cloud platform(vps provider).