[horde] set bind address for outbound smtp connections
Jan Schneider
jan at horde.org
Tue May 26 18:22:14 UTC 2015
Zitat von A. Schulze <sca at andreasschulze.de>:
> Jan Schneider:
>
>> See if the context parameters are correctly passed to
>> stream_context_create() in Horde/Socket/Client.php too.
>
> I added in Horde/Socket/Client.php, ~ line 106:
>
> $h = fopen("/tmp/conect.log", "w");
> fprintf($h, "connect: %s", print_r($context, true));
>
> that give the following:
> connect: Array
> (
> [ssl] => Array
> (
> [verify_peer] =>
> [verify_peer_name] =>
> )
>
> [bindto] => [2001:db8::1]:0
> )
>
> so, yes, $context looks not as bad...
>
> Andreas
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
Ah, there is some 'socket' missing. It should read then:
$conf['mailer']['params']['socket']['bindto'] = ...
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the horde
mailing list