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 (client@example.com) 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 client@example.com, 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 client@example.com.

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

  • 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 '13 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 '13 at 11:59
-1

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

submission inet n       -       -       -       -       smtpd

[...]

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.