Unable to delete catch-all alias with command line or remote api.

The "delete-alias" api call does not work when trying to delete a catch-all alias. The api does not accept an empty string for the --from argument and everything else I tried including "@domain.com" failed to match a valid alias. I added the following code to delete-alias.pl after line 55 and it fixed it for me. Now I can use "@" for --from argument and the catch-all alias is correctly deleted.

$email = $from eq "@" ? "\@$domain" : $email;

Status: 
Closed (fixed)