1 (edited by mwy 2015-03-23 12:00:18)

Topic: [SOLVED] Can't send/receive mail

Any future readers: My host didn't allow SMTP without ID verification. If nothing makes sense, blame your host!

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Centos 6.6
- Related log if you're reporting an issue:
/var/log/maillog: http://sprunge.us/dMPC
/var/log/dovecot.log: http://sprunge.us/iTRD
iptables conf: http://sprunge.us/ZcJV
dig command showing records pointing to correct IP: http://kemosabe.in:8888/24

/etc/hosts:
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
104.244.155.244 gunsight gunsight mwy.pw

====

I set up iRedMail the same as I have on my other servers, everything seems to be working except I can't receive/send mail from external sources, although I can still use the mail command from the terminal to mail to the accounts. SELinux has been disabled. I am able to connect via POP3/SMTP without problem.
The only thing I changed since install was an upgrade to php 5.5 for an extra project.

----

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

2

Re: [SOLVED] Can't send/receive mail

An obvious error is mentioned in log:

Mar 22 09:54:31 gunsight postfix/trivial-rewrite[1199]: warning: do not list domain mwy.pw in BOTH mydestination and virtual_mailbox_domains

This is mentioned in iRedMail installation guide, do not use the same name for server hostname and mail domain name. Please fix this issue first.

3

Re: [SOLVED] Can't send/receive mail

Okay that is fixed.

4

Re: [SOLVED] Can't send/receive mail

I also tried just outright disabling iptables to see if it was a port blocking issue, still not working

5

Re: [SOLVED] Can't send/receive mail

If you still cannot send/receive email, could you please paste NEW error log?

6

Re: [SOLVED] Can't send/receive mail

All fixed up now, it was some dickery with my host blocking port 25 that I fixed.