Topic: SMTP monitoring with statuscake
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: ubuntu 14.04
- Store mail accounts in which backend: MySQL
- Web server NGINX
- Manage mail accounts with iRedAdmin-Pro? no
I'm trying to use the statuscake.com smtp monitoring service to alert us if postfix is unable to send an email. The statuscake service uses multiple servers around the world to authenticate the server and attempt to send a message.
When using the service it fails and when checking the logs the following shows (181.41.201.117 is one of statuscake's test servers)
Dec 6 11:15:13 mx01 postfix/submission/smtpd[13549]: connect from unknown[181.41.201.117]
Dec 6 11:15:14 mx01 postfix/submission/smtpd[13549]: Anonymous TLS connection established from unknown[181.41.201.117]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Dec 6 11:15:14 mx01 postfix/submission/smtpd[13549]: disconnect from unknown[181.41.201.117]
Dec 6 11:15:14 mx01 postfix/submission/smtpd[13549]: connect from unknown[181.41.201.117]
Dec 6 11:15:15 mx01 postfix/submission/smtpd[13549]: Anonymous TLS connection established from unknown[181.41.201.117]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Dec 6 11:15:15 mx01 postfix/submission/smtpd[13549]: NOQUEUE: reject: RCPT from unknown[181.41.201.117]: 554 5.7.1 <65c89378793779ec4c85ac3129837e00@statuscake-email.com>: Recipient address rejected: Sender is not same as SMTP authenticate username; from=<test@statuscake.com> to=<65c89378793779ec4c85ac3129837e00@statuscake-email.com> proto=ESMTP helo=<SMTPTest.statuscake.com>
Dec 6 11:15:16 mx01 postfix/submission/smtpd[13549]: lost connection after RCPT from unknown[181.41.201.117]
Dec 6 11:15:16 mx01 postfix/submission/smtpd[13549]: disconnect from unknown[181.41.201.117]
I checked with statuscake support and they advised that there is no way to configure the smtp account to send a message to it's self so that problem is statuscake it's attempting to send a test using Test.statuscake.com which casues the error “Sender is not same as SMTP authenticate username”
Other than adding the IP address’s to all the statuscake test servers to the smtp relay list is there any other way to get iredmail to play nice with these tests?
Thanks,
Tim
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.