Topic: Iredmail not receiving email from gmail and yahoo
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Please I have successfully installed my iredmail created a domain for my email services. I can send emails between the accounts on the server and send mails to gmail and yahoo accounts but I can't receive emails from yahoo or gmail accounts.
What could be the problem?
Here is the content of my configuration file
upstream backend-odoo{
server 127.0.0.1:8069;
}
server {
server_name mgbcomputers.com;
listen 80;
add_header Strict-Transport-Security max-age=2592000;
rewrite ^/.*$ https://$host$request_uri? permanent;
}
server {
listen 443 default;
#ssl settings
ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
# ssl_certificate /etc/ssl/certs/iRedMail.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
keepalive_timeout 60;
root /var/www/html; #added from iredmail file
index index.php index.html; #added from the iredmail file
# proxy header and settings
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
# odoo log files
access_log /var/log/nginx/odoo-access.log;
error_log /var/log/nginx/odoo-error.log;
# increase proxy buffer size
proxy_buffers 16 64k;
proxy_buffer_size 128k;
# force timeouts if the backend dies
proxy_next_upstream error timeout invalid_header http_500
http_502 http_503;
# enable data compression
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
location / {
proxy_pass http://backend-odoo;
}
location ~* /web/static/ {
# cache static data
proxy_cache_valid 200 60m;
proxy_buffering on;
expires 864000;
proxy_pass http://backend-odoo;
}
location /longpolling { proxy_pass http://backend-odoo-im;}
location /mail/ { root /var/vmail/vmail1; } # Added by Lekan for iredmail
# Web applications. Added from iredmail file
#include /etc/nginx/templates/adminer.tmpl; #Added from iredmail file
include /etc/nginx/templates/roundcube.tmpl; #Added from iredmail file
include /etc/nginx/templates/sogo.tmpl; #Added from iredmail file
include /etc/nginx/templates/iredadmin.tmpl; #Added from iredmail file
include /etc/nginx/templates/awstats.tmpl; #Added from iredmail file
# PHP applications. WARNING: php-catchall.tmpl should be loaded after
# other php web applications.
include /etc/nginx/templates/php-catchall.tmpl; #Added from iredmail file
include /etc/nginx/templates/misc.tmpl; #Added from iredmail file
}
upstream backend-odoo-im { server 127.0.0.1:8072;
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.