Dovecot + postfix installation not receiving any mail

Discussion in 'HOWTO-Related Questions' started by jnolla, Jun 5, 2007.

  1. jnolla

    jnolla New Member

    Centos 5, Dovecot + postfix installation not receiving any mail. I've been killing myself looking for a possible solution, but can't find any on the web.

    The conditions:
    No firewall blocking the port
    ISP not blocking ports
    Have checked Maildir under ispconfig.

    What I'm I missing? Can some one help.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Does the MX record point to the ISPConfig server? What's in the mail log when you send a mail to the server?
     
  3. jnolla

    jnolla New Member

    Here is the maillog. I did setup MX record when creating the sites. I have created the MX record also on goddady from which I purchase all of my domains.

    But I'm a bit confuse, and don't know if I'm doing it correctly usnig the godaddy. I'm using a nother service which I have managed other domains DYNDNS, I know for a fact that the configurations are correct there.

    Thanks Again Falko
     

    Attached Files:

  4. jnolla

    jnolla New Member

    Now I'm encountering this problem when I send from gmail:

    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 13): 554 5.7.1 <[email protected]>: Relay access denied

    I did add the configuration shown on the last tutorial:
    How To Block Spam Before It Enters The Server (Postfix)

    Don't know where tha conflict is?
    best Regards
     
  5. jnolla

    jnolla New Member

    Here is the latest log:

    When I send from a local mail user to another local mail user, it bounces?
    [email protected]
    [email protected]

    Then you can see the error message for the denied relay to gmail.
     
  6. jnolla

    jnolla New Member

    sorry here is the file
     

    Attached Files:

  7. falko

    falko Super Moderator Howtoforge Staff

    Code:
    Jun  6 17:32:00 server postfix/smtp[27089]: 267F61E743D: to=<[email protected]>, relay=none, delay=0.51, delays=0.01/0/0.5/0, dsn=5.4.6, status=bounced (mail for ceared.com loops back to myself)
    Please add ceared.com to the end of /etc/postfix/local-host-names and restart Postfix.
     
  8. jnolla

    jnolla New Member

    Did it but it didn't work. The file was not there, but it created it.
    Still lost here.

    Thanks
     
  9. jnolla

    jnolla New Member

    Here is the latest maillog. I believe they are the same errors still.
     

    Attached Files:

  10. falko

    falko Super Moderator Howtoforge Staff

    Don't you use ISPConfig? If you don't, then you must add ceared.com to the mydestination line in /etc/postfix/main.cf and restart Postfix.
     
  11. jnolla

    jnolla New Member

    Yes I do have ispconfig. I added this to destinations:
    /etc/postfix/local-host-names

    Which now has allowed to receive mail, using the file you otld me to create. But so far, for some reason only one testing account is receiving mail from the internal server only. If I send mail using gmail it gets rejected. I believe that problems comes for the settings on the tutorial for securing postfix.

    Why is only one account only receiving mail? Still working on that one!
    Thanks Falko
     
  12. falko

    falko Super Moderator Howtoforge Staff

  13. jnolla

    jnolla New Member

    I get nothing back from the blacklist checker. Here is the output you requested.

    Can't thank you enough Falko!
     

    Attached Files:

  14. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
    and restart Postfix.
    Is your server hosted on a dynamic IP address?
     
  15. jnolla

    jnolla New Member

    Got it to work Falko!

    The last command you gave me would stall postfix, and never send the messages. But I edited the security for the blacklist servers, and now it accepts incoming mail from gmail, and other accounts.

    Do I still have to enter the domains hosted manually on:
    /etc/postfix/local-host-names

    My best guess is yes. I also think some of the errors came because of the DNS configuration at Godaddy, something to do with the mx records.

    Best Regards, and thanks again Falko!
     
  16. falko

    falko Super Moderator Howtoforge Staff

    This should be done by ISPConfig.
     

Share This Page