/* get the host name containing the mailbox */
hostname = MSG_mailbox_get_hostname(mailbox);
remote_host = MSG_get_host_by_name(hostname);
/* get the host name containing the mailbox */
hostname = MSG_mailbox_get_hostname(mailbox);
remote_host = MSG_get_host_by_name(hostname);