emails not working

Discussion in 'Installation/Configuration' started by andyreynolds, Mar 13, 2007.

  1. andyreynolds

    andyreynolds New Member

    I have now got the server hosting the domain with joomla on it but I don't know how to get the mail servers to work. if you go to it says that it can connect to the mail servers through, but reading the mini how to tutorial I would of though that was the mail server but it turns out to be and when I send an e-mail it doesn't turn up at the inbox of which I sent it to. I have checked with my ISP and they don't block any ports, so i can't see what is wrong, can someone point me in the right direction,

  2. falko

    falko Super Moderator ISPConfig Developer is the server that handles emails for

    mh1:~# dig mx
    ; <<>> DiG 9.2.1 <<>> mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35775
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    ;                   IN      MX
    ;; ANSWER SECTION:            86400   IN      MX      10
    ;; Query time: 160 msec
    ;; SERVER:
    ;; WHEN: Wed Mar 14 21:55:38 2007
    ;; MSG SIZE  rcvd: 62
  3. andyreynolds

    andyreynolds New Member


    Hi Falko

    So am I right in asuming that is the mail server for all of my domains. When I am in the dns entries section for vsk-gbr I have a mx record and an A record for ns1 that points to But when I go into round cube and send an e-mail it comes back with an error message. When I send an e-mail to [email protected] nothing appears in the inbox, why is this?

  4. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message? What's in your mail log?
  5. andyreynolds

    andyreynolds New Member

    error message

    Mail FAIL Connect to mail servers ERROR: I could not complete a connection to any of your mailservers! Timed out [Last data sent: RCPT TO: ]

    If this is a timeout problem, note that the DNS report only waits about 40 seconds for responses, so your mail *may* work fine in this case but you will need to use testing tools specifically designed for such situations to be certain.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You should consider to reinstall your server exactly as described in the perfect setup manual for your linux distribution, this will be most likely much faster then finding this problem in your current sendmail installation.
  7. andyreynolds

    andyreynolds New Member


    I have installed postfix so that when you do the test it shows up that it can connect every time to the mail server. The messages get sent a lot quicker, but if I send an internal e-mail from one hosted domain to the other it doesn't appear in that inbox, why is this?
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Which pop3 / imap daemon do you have installed? Please post an excerpt of your mail logfile.
  9. andyreynolds

    andyreynolds New Member


    I have dovecot, is this ok?
  10. falko

    falko Super Moderator ISPConfig Developer

    Dovecot is ok, but make sure that Maildir is enabled in ISPConfig (Mangement -> Server -> Settings -> Email).
    Also make sure that SELinux is disabled.
  11. andyreynolds

    andyreynolds New Member

    google mail

    Hi there
    I have decided to test out google mail as they offer a compete mail soution for free, but I need to add their mx record to the domain The only trouble is that with ISP config you can only add one zone entry for but I need to add around 8 for it to work. This is from the google site 'You may not be allowed to enter the priority values exactly as they appear in the table below; in that case, simply ensure that the server addresses are prioritised in the same order as they appear in the table. (i.e. The priority ranking [1, 3, 3, 5, 5, 5, 5] should work just as well as [1, 5, 5, 10, 10, 10, 10] as long as you keep the addresses in the right order.)
    If you are asked to specify the type of each record that you are adding, enter "MX".
    MX records often require the specific format of DNS records, including a trailing dot (".") at the end of any fully-qualified domain names (e.g. "")
    Set any TTL values to the maximum allowed.
    MX Server address Priority
    But I can only add one, how would I solve this problem?
  12. falko

    falko Super Moderator ISPConfig Developer

    You can add MX records manually in the zone file (there's a comment at the end of that file - you can add your records below that line).

Share This Page