Forwarding mails

You can create a simple forward or alias for arbitrary mailusers like

  • forwardme@username.uber.spacemail@example.com

  • hello@yourdomain.comsupport@yourdomain.com

Tip

A single forward mailuser will work for all mail domains you have setup on your Uberspace.

Configuring forwards

Note

It is possible to use the Dashboard for creating mail accounts and forwards, to do so login and use the mail section. Here we will explain our prefered way using SSH and the uberspace mail commands.

Add a forward for a mailuser

You can set up forwards with the uberspace mail user forward set <mailuser> <mailaddress> command. You may also use this command to create an internal alias, but you always have to specify the full mailaddress.

To forward all mails from forwardme to mail@example.com run the following command:

[isabell@stardust ~]$ uberspace mail user forward set forwardme mail@example.com
Mail to 'forwardme' will be forwarded to 'mail@example.com'.
[isabell@stardust ~]$

Tip

uberspace mail user forward set overwrites existing configurations.

Show an existing forward for a mailuser

You can show your existing forward using the uberspace mail user forward list command, e.g. if you have setup a forwarding for forwardme:

[isabell@stardust ~]$ uberspace mail user forward list forwardme
mail@example.com
[isabell@stardust ~]$

Delete forward for a mailuser

You can remove a forwarding using the uberspace mail user forward del <mailuser> command. This will delete the specified alias, so mails sent to it will no longer be delivered (except if you set up a catchall address). To delete a forwarding for forwardme, run the following command:

[isabell@stardust ~]$ uberspace mail user forward del forwardme
Mail to 'forwardme' will no longer be forwarded.
[isabell@stardust ~]$

Troubleshooting

  • With enabled spam filtering we do not forward mails with a spam score greater than 5. These mails get sorted into ~/users/MAILUSER/.Spam.

  • If you want to test forwardings to Gmail by using the same Gmail address as sender, the Google magic will just drop and not deliver the mail because it is already known to this account.

Using .qmail files

Warning

In the past, with the outdated product version Uberspace 6 we encouraged users to manipulate .qmail files for forwarding and controlling the email flow. This is technically still possible on U7 but will strongly interfere with our standard email setup that should be configured by using the uberspace mail commands.

Because of this, we no longer can support you in technical issues with qmail programming but recommend you to move your mail setup to the uberspace mail tools. The qmail configuration is still available and we also use the .qmail-default file to configure the spamfolder, but this might change in the future and break your custom configurations.