With Postfix, you can manage your 1&1 IONOS email accounts securely under Linux.
Please make sure that the following modules are installed on your computer in addition to Postfix in the case of SuSE Linux:
For Postfix 2 you only need the following packages:
Edit the configuration file /etc/postfix/main.cf as follows:
relayhost = smtp.ionos.com: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 the access data for your mailbox as follows:
Please replace our example information "firstname.lastname@example.org" and "mypass" with the 1&1 IONOS email address and the corresponding email password.
Now you should change the access rights so that only "root" can view and edit the file. You do this with the 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:
and restart Postfix: