Configure mail server with external domain name

The mailboxes are already created on Aruba server?

If yes you can proceed in this manner:

A very basic configuration

To download mail from Aruba

  • Create a new domain on Nethserver that correspond to your domain registered with Aruba:
    In dashboard: “email” -> tab “Domains” -> button "Create new"
    Domain: "your Aruba registered domain"
    Put the dot on “Delivery locally”

  • Create email aliases for your users:
    In dashboard: “email addresses” -> tab “Mail aliases” -> button "create new"
    email address: "the email in your Aruba domain"
    Destinations: “The local user where email has to go”

  • Create pop3 connector for download mail from your Aruba server to your NS
    In dashboard: “Pop3 connector” -> button "create new
    mail address: "the email in your Aruba domain"
    protocol: "pop3s"
    server address: "your pop3 server on Aruba domain"
    username: "the username to access to mailbox on Aruba"
    password: "the correspondent password"
    Deliver messages to: “the user on NS where mail has to go”

(Warning: there’s a issue if you want to delivery mail to a group instead to a user. read here: https://community.nethserver.org/t/howto-to-deliver-mails-downloaded-with-pop3-connector-getmail-to-a-email-group-in-nethserver-ng-7-x/8775 )

To send mail

  • Create smarthost
    In dashboard: “email” -> tab “smarthost” -> thick "Send mail using a smarthost"
    hostname: "your smtp server on Aruba"
    port: 25
    username: "the username of one mailbox you have on aruba (for example info@yourdomain.it)"
    password: "the corresponds password of info@yourdomain.it"
    thick “allow unencrypted connections”

(Warning: If Aruba accepts only connections on 465 port you have to read here: https://community.nethserver.org/t/howto-use-ssl-port-465-in-smarthost/6670 )

Remember to configure correctly the “From:” field in your mail clients.

3 Likes