• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Plesk and Qmail extension addresses

M

MarcusI

Guest
Hello all,

according to the search feature there have been several questions regarding this topic in the past years but without any answers, so I decided to try my luck again...

As you may know there is a feature in Qmail called extension addresses (s.a. http://www.lifewithqmail.org/lwq.html#extension-addresses) which allows to setup address wildcards so that all email to someone-foo@domain as well as someone-bar@domain will be delivered to someone@domain.
It's a useful thing for spam-control as well as (my main use-case) processing of emails via scripts.
Manually editing the users/assign file and calling qmail-newu didn't work for me, the server still responded with "no mailbox here with that name". Probably there's something I'm missing regarding virtual domains.
Also I'm a bit wary about Plesk re-generating the assign file and undoing my changes so I'd like to ask if there's a not-too-hacky way to use the extension address feature.
I'm aware of the possibility of setting up a catch-all account and processing its mail by a script to filter out any unwanted target-addresses but that is somewhat unwieldy, considering that my current mail processing script is written in Ruby and thus needs to load the Ruby interpreter every time it is called. Not very handy in regards to todays spam percentage.

Nonetheless, this is what I tried, maybe there's a simple mistake to be fixed. Writing a cron script to check if the correct line is still present and re-insert it in case it is not would be acceptable, I guess ^^

/var/lib/qmail/users/assign
Code:
=1-redmine:popuser:110:31:/var/qmail/mailnames/mydomain/redmine:::
+1-redmine-:popuser:110:31:/var/qmail/mailnames/mydomain/redmine:::

Maybe someone can help me, but I'll investigate further anyway and will try to come up with some feasible solution.

All the best
Marcus
 
After having almost given up hope, I found that I needed to change the setting "What to do with mail sent to nonexistent users" in the domain to "bounce" instead of "reject". Now everything is working just peachy.
Will have to monitor Plesk undoing my changes to the users/assign file, though.

@Parallels developers:
A simple setting "Enable extension addresses" for an account which simply replaces the first '=' character in the users/assign file entry with a '+' would be really awesome and easy to add!
 
Back
Top