You can create a simple forward or alias for arbitrary mailusers like
A single forward mailuser will work for all mail domains you have setup on your Uberspace.
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
firstname.lastname@example.org run the following command:
[isabell@stardust ~]$ uberspace mail user forward set forwardme email@example.com Mail to 'forwardme' will be forwarded to 'firstname.lastname@example.org'. [isabell@stardust ~]$
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
[isabell@stardust ~]$ uberspace mail user forward list forwardme email@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 ~]$
With enabled spam filtering we do not forward mails with a spam score greater than
5. These mails get sorted into
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¶
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.