Postfix don't receive emails

Discussion in 'Server Operation' started by webcitron, Nov 3, 2009.

  1. webcitron

    webcitron New Member

    Hi.
    Im a new in this forum so you welcome for your patience :))
    I set up my home serwer with http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3 howto. All works fine for me except one think - Postfix don't receive emails from any external servers (sending is ok).
    I read all threads on this forum and find out to I must configure DNS records. I don't know what is correct way to do this.
    It's possible that is not a DNS reason. Can you help me to finr reason and fix it ?
    I don't paste any configs etc, please tell what you want and I paste it here :)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please check if the MX record of your domain points to your server. You can check that with
    Code:
    dig mx yourdomain.com
     
  3. webcitron

    webcitron New Member

    dig mx [domain] returnet that:

    Code:
    administrator@lemon:~$ dig mx hepson.pl
    
    ; <<>> DiG 9.6.1-P1 <<>> mx hepson.pl
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13357
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;hepson.pl.                     IN      MX
    
    ;; ANSWER SECTION:
    hepson.pl.              3600    IN      MX      10 hepson.pl.
    
    ;; Query time: 23 msec
    ;; SERVER: 217.113.224.36#53(217.113.224.36)
    ;; WHEN: Tue Nov  3 14:52:59 2009
    ;; MSG SIZE  rcvd: 43
    
    It's right ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Does hepson.pl point to your server? You can check that with
    Code:
    dig hepson.pl
     
  5. webcitron

    webcitron New Member

    Yes, websites under hepson.pl are running correctly :)
    Code:
    administrator@lemon:~$ dig hepson.pl
    
    ; <<>> DiG 9.6.1-P1 <<>> hepson.pl
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56529
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;hepson.pl.                     IN      A
    
    ;; ANSWER SECTION:
    hepson.pl.              3600    IN      A       217.113.235.103
    
    ;; Query time: 24 msec
    ;; SERVER: 217.113.224.36#53(217.113.224.36)
    ;; WHEN: Wed Nov  4 14:59:58 2009
    ;; MSG SIZE  rcvd: 43
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    So 217.113.235.103 is your server's public IP?
    Is this server located in a data center, or maybe at home or in your office?
     
  7. webcitron

    webcitron New Member

    Yes, it's my public IP. Server is located in my office, but I talked with my ISP, he said that the port 25 is blocking (so I send emails from another port). He don't said about any blocked ingoing ports.
    Sory for my english, it's no good but I hope that you understand what I mean :))
     
  8. falko

    falko Super Moderator Howtoforge Staff

    That's what I assumed. :)
     
  9. webcitron

    webcitron New Member

    I can send emails, but I can't receive them. I called to my ISP a few minutes ago, now port 25 is unblocked and my email account don't receive emails ;\
    Another ideas ? ;)
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Do you see any errors (or any activity at all) in your mail log when you send an email to that server?
     

Share This Page