Anyone using dbmail with the IMP webmail program?

I'm not sure if this is a dbmail problem, an IMP problem or a problem
with the PHP function imap_headers().  When I connect IMP up to my Cyrus
server everything works great, when I hook it up to dbmail none of the
email addresses show the host portion. I've tracked it down to the
results of this line of PHP code in IMP:

$h = @imap_header($imp['stream'], imap_msgno($imp['stream'], $index));

Part of the $h array when using dbmail is:

   [from] => Array
       (
           [0] => stdClass Object
               (
                   [personal] => Scott Goodman
                   [mailbox] => scott
                   [host] => @searchbc.com
               )

       )


When using cyrus it contains:

   [from] => Array
       (
           [0] => stdClass Object
               (
                   [personal] => Scott Goodman
                   [mailbox] => scott
                   [host] => searchbc.com
               )

       )


Note the "@" sign in the host portion when using dbmail. Any ideas?


Reply via email to