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

[Popcon-developers] Bug#722228: Bug#722228: Bug#722228: popularity-contest may send mail with a wrong domain by default



On Mon, Feb 24, 2014 at 10:06:42PM +0100, Bill Allombert wrote:
> On Mon, Feb 24, 2014 at 08:02:30PM +0100, Bill Allombert wrote:
> > On Mon, Sep 09, 2013 at 10:58:08AM +0200, Vincent Lefevre wrote:
> > > Package: popularity-contest
> > > Version: 1.60
> > > Severity: minor
> > > 
> > > When HTTP fails, popularity-contest tries to send the report by
> > > e-mail, but it may send the mail with a wrong domain:
> > > 
> > > -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
> > > C801338C008    58413 Mon Sep  9 09:06:27  root at xvii.vinc17.org
> > > (host ioooi.vinc17.net[92.243.22.117] said: 450 4.1.8 <root at xvii.vinc17.org>: Sender address rejected: Domain not found (in reply to RCPT TO command))
> > >                                          survey at popcon.debian.org
> > > 
> > > -- 57 Kbytes in 1 Request.
> > > 
> > > Of course, e-mail configuration can be changed (I didn't use address
> > > rewriting for root because root isn't normally expected to send mail
> > > to remote addresses), but I don't think that the user is expected to
> > > do that just for popularity-contest; this requirement isn't even
> > > documented.
> > 
> > Hello Vincent, Sorry for the late answer.
> > 
> > The popcon.debian.org mail server is supposed to accept email with invalid sender 
> > address. If it is no more the case, then this is a bug that should be fixed in the
> > server, not in the package.
> > 
> > Do you know if the problem still occur ?
> 
> As far as I can see it does.
> 
> 2014-02-24 21:54:30 1WI2Xm-0001Mu-Rw <= root at yellowpig.invalid U=root P=local S=353
> 2014-02-24 21:54:31 1WI2Xm-0001Mu-Rw ** test at popcon.debian.org R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<root at yellowpig.invalid> SIZE=1387: host smtp.free.fr [2a01:e0c:1::25]: 550 5.1.8 <root at yellowpig.invalid>: Sender address rejected: Domain
> not found
> 
> I will ask Debian admin to fix it.

Except the popcon.debian.org server itself seems to work properly, this is 
the SMTP relay that reject the message.

I am concerned that an SMTP relay might be configured to only accept emails with
a certain MAIL FROM: domain, and that forcing the domain to be root at popcon.d.o 
instead of using root email address might be counter-productive in the sense
that popcon might fail even if the root address is correctly configured.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



Reply to: