char *addr;
if (mrcl_validate_pobox_smtp(uname, address, &addr) != MRCL_SUCCESS)
{
+ if (mrcl_get_message())
+ mrcl_com_err(whoami);
printf("\n");
goto show;
}
if (status == MR_NO_MATCH)
printf("User %s has no pobox.\n", uname);
else if (status != 0)
- com_err(whoami, status, "while retrieving current mailbox");
+ mrcl_com_err(whoami);
mr_disconnect();
exit(0);
}
return DM_NORMAL;
if (mrcl_validate_pobox_smtp(local_user, temp_buf, &box) !=
MRCL_SUCCESS)
- return DM_NORMAL;
+ {
+ if (mrcl_get_message())
+ Put_message(mrcl_get_message());
+ return DM_NORMAL;
+ }
break;
case FALSE:
default:
return DM_NORMAL;
if (mrcl_validate_pobox_smtp(argv[1], temp_buf, &box) !=
MRCL_SUCCESS)
- return DM_NORMAL;
+ {
+ if (mrcl_get_message())
+ Put_message(mrcl_get_message());
+ return DM_NORMAL;
+ }
args[0] = argv[1];
args[1] = "SPLIT";