[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use reportbug from inside a chroot?



On Tue, Jul 06, 2004 at 10:50:13AM +0200, Frank K?ster wrote:
> Andreas Metzler <ametzler@downhill.at.eu.org> schrieb:
> 
> > On 2004-07-05 Frank K?ster <frank@debian.org> wrote:
> >> while I use woody+backports on my working machine, I keep an up-to-date
> >> sid chroot for developping purposes. When reporting a bug I find in the
> >> chroot, I have to save it in a file and then rerun reportbug on woody,
> >> because I do not have an MTA installed in the chroot.
> > [...]
> >
> > reportbug --smtphost=localhost
> >               cu andreas
> 
> And this works with exim (woody's exim) installed on localhost, without
> an smtp server?

No, but you could teach exim to also listen and relay mail incoming from
127.0.0.1:25, just as if it were incoming from /usr/sbin/sendmail.

Note that ssmtp also works by relaying mail onwards via SMTP. Since
you're in a chroot, you'll _need_ to use some kind of network socket to
get mail out of the chroot -- having your MTA listen locally on 25 and
use ssmtp is the staightforward way to do so.

--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: