Quoting Arjen de Korte <arjen+ho...@de-korte.org>:

The above address is also accepted by my version of Postfix (2.8.11). It turns out that it is Amavis (which is running a pre-queue proxy here) is rejecting the format. I tried several addresses, with following result:

    ar...@de-korte.org - OK
    Arjen de Korte <ar...@de-korte.org> - OK
    <Arjen de Korte <ar...@de-korte.org>> - NOT OK

I'm not sure if the last is a legitimate RFC822 or not, but at least I now understand why it is rejected. Postfix is not to blame here, it is Amavis rejecting the MAIL FROM address (at least in my setup).

The last one isn't strictly legal. But any reasonable SMTP interpretation will do sanity checking to allow it.

Having said that, besides the change in Horde_Mail-2.0.1 package, this might also be solved by changing line 2073 in 'imp/lib/Compose.php' from

                $headers->addHeader('Return-Path', $from_addr);
to
                $headers->addHeader('Return-Path', $from_addr->bare_address);

No, this isn't correct. Horde_Mail explicitly allows any valid RFC822 address to be passed in (i.e. there is no limitation against full addresses). So this must be fixed in the SMTP driver.

michael

___________________________________
Michael Slusarz [slus...@horde.org]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to