does only work if package amavis defined before and not after