Welcome to the Linux Foundation Forum!

Postfix bouncing email

cmorrow132
cmorrow132 Posts: 1
edited March 2014 in Red Hat Enterprise

I have postfix/dovecot/roundcube running on SL 6.5. Until yesterday, I was able to receive emails from external domains, then suddenly it quit. I can send emails out to external domains and they are received. The server is code25.org, dns is managed by zoneedit since I have a dynamic ip.

The only thing I changed was that apache on the mail server, hosting roundcube, was directly accessible to the internet and then I added an apache proxy in front of it to forward requests for http://mail.code25.org to the mail server. When mail stopped working, I set everything back, removing the apache proxy and it still doesn't work. Even with the apache proxy in place, I was still forwarding ports 110, 143, 995 and 993 directly to the mail server with the router's port forwarding. So all mail requests should have not even gone through the apache proxy.

The response I get on emails sent to the mail server is:

Final-Recipient: rfc822; chris.morrow@code25.org
Original-Recipient: rfc822;chris.morrow@code25.org
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for code25.org loops back to myself


My postfix (main.cf) config is:

myhostname = mail
mydomain = code25.org
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
home_mailbox = Maildir/


Maillog doesn't give any indications of errors. It just shows logins to the mail server from roundcube.

Mar 18 21:47:56 mail1 postfix/postfix-script[4742]: starting the Postfix mail system
Mar 18 21:47:56 mail1 postfix/master[4744]: daemon started -- version 2.11.0, configuration /etc/postfix
Mar 18 21:48:01 mail1 dovecot: imap-login: Login: user=<chris.morrow>, method=PLAIN, rip=192.168.0.1, lip=192.168.0.180, mpid=4750
Mar 18 21:48:02 mail1 dovecot: imap(chris.morrow): Disconnected: Logged out bytes=90/773
Mar 18 21:48:07 mail1 dovecot: imap-login: Login: user=<chris.morrow>, method=PLAIN, rip=192.168.0.1, lip=192.168.0.180, mpid=4752
Mar 18 21:48:07 mail1 dovecot: imap(chris.morrow): Disconnected: Logged out bytes=279/1520

Categories

Upcoming Training