[imp] chroot environment

Andreas Vögele voegelas at gmx.net
Sun Jan 29 22:55:42 PST 2006


Bachman Kharazmi writes:

> On 29/01/06, Bachman Kharazmi <bahkha at gmail.com> wrote:
>> First, thanks alot. your instructions made it...
>>
>> seem like I've problems with my /var/www/horde/imp/config/servers.php.
>> When the server lines look like:
>> 'server' => 'oden.lindesign.se',
>> 'maildomain' => 'oden.lindesign.se',
>> 'smtphost' => 'oden.lindesign.se',
>>
>> All login attempts fail.
>> But if I replace all the domainnames with IPs everything seem to work
>> out of the box.
> I think it's because in chroot env the system cannot lookup the
> domainname [...]
>
> Are there any solutions for this, like copy the host binary to the
> jailed env where it can be accessed?

Put a resolv.conf and/or a hosts file into the /var/www/etc directory.



More information about the imp mailing list