Article translated by machine

This text is a machine translation. A revised version is planned.

For Mail Basic and Mail Business

This article explains how to use the IONOS email system with Postfix.

With Postfix, you can manage your IONOS email accounts conveniently and securely on Linux.

Preparation

If you are using SuSE Linux, please ensure that the following modules are installed on your computer in addition to Postfix.

Postfix 1.x
  • postfix-tls

  • libsasl-modules-plain

  • sasl-bin

  • ibsasl-digestmd5-plain

For Postfix 2, you only need the following packages:
  • cyrus-sasl

  • postfix

Configuring Postfix

  • Edit the configuration file /etc/postfix/main.cf as follows:

    relayhost = smtp.ionos.de:587 smtp_sasl_auth_enable =yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_use_tls =yes

  • If it does not already exist, create the file /etc/postfix/sasl_passwd and enter your mailbox login details there as follows:

    smtp.ionos.de mail@ihre-webhosting-domain.de:mypass

  • Replace our example details ‘mail@ihre-webhosting-domain.de’ and ‘mypass’ with the relevant IONOS email address and the corresponding email password.

  • Change the access permissions so that only "root" can view and edit the file. To do this, enter the following command:

    chmod 600 /etc/postfix/sasl_passwd

    The permissions should now look like this:

    -rw------ root root

  • Convert the file to the .db format used by Postfix. To do this, enter the following command:

    postmap /etc/postfix/sasl_passwd

  • Restart Postfix. To do this, enter the following command:

    /etc/init.d/postfix reload