Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: can send email, but i can't receive mails..

  1. #1
    Join Date
    Apr 2013
    Beans
    13

    can send email, but i can't receive mails..

    i installed dovecot-postfix, and squirrelmail and i can't receive emails...
    Last edited by arginafi; April 6th, 2013 at 11:20 PM.

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: can send email, but i can't receive mails..

    First thing is to ask your provider whether they are blocking inbound traffic on port 25, the SMTP port. Many ISPs block that port to enforce their "no-servers" rule on residential connections. You did read your Terms of Service to determine whether you can run servers, right?
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: can send email, but i can't receive mails..

    And very close to the first thing is: have you configured the domain to send the emails to your mailserver? Simply installing postfix is not enough, for people to send you emails the DNS has to know where to send them.

    Are you using the registrars nameservers or your own?

    Either way, do you have a host created pointing to your public IP?
    Do you have MX record pointed to that host?

    Have you purchased a domain at all?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: can send email, but i can't receive mails..

    Oh, and postfix and dovecot are configured by default to listen only on the 127.0.0.1 "localhost" interface. You need to change the "mynetworks" entry in Postfix's main.cf and the "listen" entry in dovecot.conf to allow them to accept traffic over the network.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    Apr 2013
    Beans
    13

    Re: can send email, but i can't receive mails..

    it's ok, my ISP has no rules for that.It worked until today, but i reinstalled ubuntu, and now i can't manage to fix it.

  6. #6
    Join Date
    Apr 2013
    Beans
    13

    Re: can send email, but i can't receive mails..

    I can send emails for example to my gmail account, i can connect from a client-side to mail-server, i configured outlook... all ok... just i can't receive any email...

  7. #7
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: can send email, but i can't receive mails..

    Look above what Sensei said about the postfix listen configuration. And also at DNS. Postfix will always send emails, to receive them properly you need the DNS setup correctly.

    Is it possible your public IP changed?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  8. #8
    Join Date
    Apr 2013
    Beans
    13

    Re: can send email, but i can't receive mails..

    no, my ip doesen't changed... i think DNS is configured propertly...

  9. #9
    Join Date
    Apr 2013
    Beans
    13

    Re: can send email, but i can't receive mails..

    My local ip is 192.168.1.101 , my public ip is 86.106.196.139 , and my domain is bluetree.ro
    __
    so ... my hostname is ArgiLinux
    __
    Hosts: cat /etc/hosts127.0.0.1 localhost.localdomain localhost ArgiLinux
    86.106.196.139 ns1.bluetree.ro


    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    ___



    root@ArgiLinux:/etc/bind# cat named.conf.local
    //
    // Do any local configuration here
    //
    zone bluetree.ro {
    type master;
    file "/etc/bind/db.bluetree.ro";
    };


    zone 139.196.106.86.in-addr.arpa {
    type master;
    file "/etc/bind/139.196.106.86.in-addr.arpa";
    };


    _____
    root@ArgiLinux:/etc/bind# cat db.bluetree.ro
    ;
    ; BIND zone definition file for bluetree.ro
    ;
    $TTL 604800
    bluetree.ro. IN SOA ns1.bluetree.ro. admin.bluetree.ro. (
    2011072601; Serial
    28800
    3600
    604800
    38400
    )


    ; Nameserver and mailserver (replace with your own hostnames):
    bluetree.ro. IN NS ns1.bluetree.ro.
    bluetree.ro. IN MX 10 mail.bluetree.ro.


    ; IP addresses of local hosts (replace the lines with your own hosts):
    IN A 86.106.196.139
    server IN A 86.106.196.139
    ns1 IN A 86.106.196.139
    mail IN A 86.106.196.139
    www IN CNAME server


    _____


    ;
    ; BIND reverse zone file for bluetree.ro
    ;
    $TTL 604800
    @ IN SOA ns1.bluetree.ro. admin.bluetree.ro. (
    2011072601; Serial
    28800;
    604800;
    604800;
    86400
    )


    ; IP addresses of local hosts (replace the lines with your own hosts):
    IN NS ns1.bluetree.ro.
    139 IN PTR bluetree.ro
    139 IN PTR mail.bluetree.ro
    139 IN PTR www.bluetree.ro

    __

    This is my dns configuration..

  10. #10
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: can send email, but i can't receive mails..

    Did you make sure port 25 on your router is forwarded to 192.168.1.101?

    And that postfix can accept mail on 192.168.1.101 too, not only 127.0.0.1?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •