1 (edited by 4eLife 2021-05-23 22:28:52)

Topic: Not receiving emails from Instagram

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version : 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? 1.3 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue. NONE
====

Hi, I am having issues receiving emails from instagram to my server domain.

The email works fine everywhere else.

Fcacebook also wouldnt send to a different email using the same domain.

I tried following this post to no avail.
https://forum.iredmail.org/topic16850-f … agram.html

Any ideas areciated. Many thanks

PS; There doesnt seem to be any error messages in the mail.log

----

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

2

Re: Not receiving emails from Instagram

Any related log lines in Postfix log file?

3

Re: Not receiving emails from Instagram

ZhangHuangbin wrote:

Any related log lines in Postfix log file?

Sorry for the delay. But I cant seem to find anything.

lt me check again now....

I just tried again and this is the error:

May 26 14:12:19 vps634519 postfix/smtpd[12596]: NOQUEUE: reject: RCPT from 69-171-232-143.mail-mail.facebook.com[69.171.232.143]: 554 5.7.1 <69-171-232-143.mail-mail.facebook.com>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server appears to be on a dynamic IP address that should not be doing direct mail delivery (69-171-232-143); from=<no-reply@mail.instagram.com> to=<myemailaddress@mydomain.net> proto=ESMTP helo=<69-171-232-143.mail-mail.facebook.com>

Thanks, and again, apologies fr the late response.

4

Re: Not receiving emails from Instagram

PREPEND this line in /etc/postfix/helo_access.pcre:

/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-(mail|campmail)\.facebook\.com$/ OK

Then reload postfix service. It should fix the issue.
This is mentioned in iRedMail upgrade tutorial for iRedMail-1.4.0:
https://docs.iredmail.org/iredmail.releases.html

5 (edited by 4eLife 2021-07-19 07:08:14)

Re: Not receiving emails from Instagram

ZhangHuangbin wrote:

PREPEND this line in /etc/postfix/helo_access.pcre:

/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-(mail|campmail)\.facebook\.com$/ OK

Then reload postfix service. It should fix the issue.
This is mentioned in iRedMail upgrade tutorial for iRedMail-1.4.0:
https://docs.iredmail.org/iredmail.releases.html


Thanks, I tried following the instructions for 1.4

/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-(mail|campmail)\.facebook\.com$/ OK

and the ones for 0.9.9 (mine is 0.9.9)

/^\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail-mail\.facebook\.com$/ DUNNO

but that didnt solve the issue.


...any other ideas?

Much appreciated by the way, I am really busy so apologies for the dalays between responses.

6

Re: Not receiving emails from Instagram

Make sure you use "OK" instead of "DUNNO".