Linux.com

cmorrow132

cmorrow132

  • Linux.com Member
  • Posts: 1
  • Member Since: 19 Mar
  • Last Logged In: 24 Mar

Latest Posts

Posted by
Topic
Post Preview
Posted
  • cmorrow132
    Postfix bouncing email
    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: [code]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 [/code] My postfix (main.cf) config is: [code]myhostname = mail mydomain = code25.org inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain unknown_local_recipient_reject_code = 550 home_mailbox = Maildir/ [/code] Maillog doesn't give any indications of errors. It just shows logins to the mail server from roundcube. [code] 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=, 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=, 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 [/code]
    Link to this post 19 Mar

    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

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board