0

I have installed my Ubuntu 12.04 web server following the guide available on how to forge. Then, I have created one client in ISPConfig. Using this client, I have a domain (example.com) and a mailbox ([email protected]) in the e-mail configuration of ISPConfig.

I do not use any DNS system on my server (though Bind has been installed by the procedure) and I have setup my registrar's DNS (OVH) for the domain as follow :

.example.com      NS      Their main server name
.example.com      NS      Their secondary server name
.example.com      MX 1    example.com
.example.com      MX 100  example.com
.example.com      A       MY_SERVER_IP
www.example.com   A       MY_SERVER_IP
mail.example.com  CNAME   example.com
smtp.example.com  CNAME   example.com

I can see the mailbox using the webmail, but :

– I can't use it to send mails (composing a new mail and hitting send doesn't do anything) – When I send mails to [email protected], the webmail doesn't report anything in the inbox.

When I try to setup the mailbox (IMAP) using a client (Apple mail) I can go through the IMAP setup (apparently, mail is able to contact the server mail.example.com and log in) but I can't setup the SMTP on smtp.example.com or on mail.example.com or on example.com. The request times out.

What's wrong with my setup ?

Here are the latest mail logs.

I have replaced my domain by example.com and the IP address from my router at home by MY_HOME_IPV4_ADDRESS. That's probably either attempts from Apple mail to check smtp and imap for the mailbox I tried to configure, or to send an e-mail towards [email protected].

Remark: Of course, my server is configured with the real domain name, not with example.com

2
  • Your mail problem might be in your postfix configuration. Try editing /etc/postfix/main.cf and set the mydestination value to $myhostname, localhost.$mydomain, $mydomain, localhost Also worth reading is the Postfix SASL HowTo as it seems that your auth attempts are not being passed.
    – douggro
    Oct 13, 2013 at 16:04
  • Thank you for your reply. I found the solution to this issue. I had commented out the line submission inet n - - - - smtpd
    – PeterG
    Oct 17, 2013 at 11:59

1 Answer 1

-1

In /etc/postfix/master.cf, uncomment the lines:

submission inet n       -       -       -       -       smtpd

[...]

smtps     inet  n       -       -       -       -       smtpd
2
  • Uncomment them from where?
    – Oli
    Oct 17, 2013 at 12:31
  • Good point @Oli.
    – PeterG
    Oct 17, 2013 at 12:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .