address :matches, doesn't work with forwarded mails from other servers, using the Delivered-To header ensures the same behaviour as the .qmail-shops-default config.
This sholud also fix a potential problem with casing, since the Delivered-To: header is generated by the uberspace server and therefore always lowercase.
I couldn't get ^[\w]+ to correctly match the uberspace username so now I'm simply matching every non '-' character in the beginning.
I wouldn't use To or Delivered-To here and instead use the envelope extension. That way, you can check for the actual SMTP RCPT TO used in this delivery.
address :matches, doesn't work with forwarded mails from other servers, using the Delivered-To header ensures the same behaviour as the .qmail-shops-default config.
This sholud also fix a potential problem with casing, since the Delivered-To: header is generated by the uberspace server and therefore always lowercase.
I couldn't get ^[\w]+ to correctly match the uberspace username so now I'm simply matching every non '-' character in the beginning.