Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196025 > unrolled thread

reportbug - debian SMTP HELO forged

Started bybw <bwtnguy@yahoo.com>
First post2018-05-24 02:50 +0200
Last post2018-05-24 19:30 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  reportbug - debian SMTP HELO forged bw <bwtnguy@yahoo.com> - 2018-05-24 02:50 +0200
    Re: reportbug - debian SMTP HELO forged Ben Caradoc-Davies <ben@transient.nz> - 2018-05-24 03:20 +0200
      Re: reportbug - debian SMTP HELO forged bw <bwtnguy@yahoo.com> - 2018-05-24 03:40 +0200
        Re: reportbug - debian SMTP HELO forged Ben Caradoc-Davies <ben@transient.nz> - 2018-05-24 04:00 +0200
        Re: reportbug - debian SMTP HELO forged Alessandro Vesely <vesely@tana.it> - 2018-05-24 19:30 +0200

#196025 — reportbug - debian SMTP HELO forged

Frombw <bwtnguy@yahoo.com>
Date2018-05-24 02:50 +0200
Subjectreportbug - debian SMTP HELO forged
Message-ID<vSMC5-1SV-1@gated-at.bofh.it>
Okay, I must have something misconfigured.  I could have sworn it worked 
a few months ago.

$ reportbug -k menu
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of 
the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'b17 <bwtnguy@yahoo.com>' as your from address.
Getting status for menu...
Will send report to Debian (per lsb_release).
Maintainer for menu is 'Bill Allombert <ballombe@debian.org>'.

Rewriting subject to 'menu: Thanks for packaging menu!'
Spawning sensible-editor...
No changes were made in the editor.
Message will be sent to menu@packages.debian.org
Send this message (e to edit) [y|n|a|c|E|i|l|m|p|q|d|t|s|?]? y
Report is unchanged. Edit this report or quit [E|q|s|?]? s
Sending empty report anyway...
Saving a backup of the report at 
/tmp/reportbug-menu-backup-20180523-14318-dcelk7kd
Connecting to packages.debian.org via SMTP...
SMTP send failure: {'menu@packages.debian.org': (550, b'HELO mismatch 
Forged
HELO for ([127.0.0.1])')}. Do you want to retry (or else save the report 
and
exit)? [Y|n|q|?]? 

[toc] | [next] | [standalone]


#196026

FromBen Caradoc-Davies <ben@transient.nz>
Date2018-05-24 03:20 +0200
Message-ID<vSN57-2il-3@gated-at.bofh.it>
In reply to#196025
On 24/05/18 12:40, bw wrote:
> Okay, I must have something misconfigured.  I could have sworn it worked
> a few months ago.
> $ reportbug -k menu
> *** Welcome to reportbug.  Use ? for help at prompts. ***
> Note: bug reports are publicly archived (including the email address of
> the submitter).
> Detected character set: UTF-8
> Please change your locale if this is incorrect.
> Using 'b17 <bwtnguy@yahoo.com>' as your from address.
> Getting status for menu...
> Will send report to Debian (per lsb_release).
> Maintainer for menu is 'Bill Allombert <ballombe@debian.org>'.
> Rewriting subject to 'menu: Thanks for packaging menu!'
> Spawning sensible-editor...
> No changes were made in the editor.
> Message will be sent to menu@packages.debian.org
> Send this message (e to edit) [y|n|a|c|E|i|l|m|p|q|d|t|s|?]? y
> Report is unchanged. Edit this report or quit [E|q|s|?]? s
> Sending empty report anyway...
> Saving a backup of the report at
> /tmp/reportbug-menu-backup-20180523-14318-dcelk7kd
> Connecting to packages.debian.org via SMTP...
> SMTP send failure: {'menu@packages.debian.org': (550, b'HELO mismatch
> Forged
> HELO for ([127.0.0.1])')}. Do you want to retry (or else save the report
> and
> exit)? [Y|n|q|?]?

I send mail via my mail hosting provider's MTA to ensure HELO matches.

This is my ~/.reportbugrc, rewritten to use your address and the Yahoo 
SMTP server. You can also try port 465 if this does not work:

mode standard
ui gtk2
email "bwtnguy@yahoo.com"
realname "bw"
no-cc
header "X-Debbugs-CC: bwtnguy@yahoo.com"
smtphost "smtp.mail.yahoo.com:587"
smtptls
smtpuser "bwtnguy@yahoo.com"
smtppasswd "YOUR_YAHOO_PASSWORD_GOES_HERE"

For more information on these options:

less /etc/reportbug.conf
man reportbug.conf

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

[toc] | [prev] | [next] | [standalone]


#196027

Frombw <bwtnguy@yahoo.com>
Date2018-05-24 03:40 +0200
Message-ID<vSNot-2oH-1@gated-at.bofh.it>
In reply to#196026

On Thu, 24 May 2018, Ben Caradoc-Davies wrote:

> On 24/05/18 12:40, bw wrote:
> > Okay, I must have something misconfigured.  I could have sworn it worked
> > a few months ago.
> > $ reportbug -k menu
> > *** Welcome to reportbug.  Use ? for help at prompts. ***
> > Note: bug reports are publicly archived (including the email address of
> > the submitter).
> > Detected character set: UTF-8
> > Please change your locale if this is incorrect.
> > Using 'b17 <bwtnguy@yahoo.com>' as your from address.
> > Getting status for menu...
> > Will send report to Debian (per lsb_release).
> > Maintainer for menu is 'Bill Allombert <ballombe@debian.org>'.
> > Rewriting subject to 'menu: Thanks for packaging menu!'
> > Spawning sensible-editor...
> > No changes were made in the editor.
> > Message will be sent to menu@packages.debian.org
> > Send this message (e to edit) [y|n|a|c|E|i|l|m|p|q|d|t|s|?]? y
> > Report is unchanged. Edit this report or quit [E|q|s|?]? s
> > Sending empty report anyway...
> > Saving a backup of the report at
> > /tmp/reportbug-menu-backup-20180523-14318-dcelk7kd
> > Connecting to packages.debian.org via SMTP...
> > SMTP send failure: {'menu@packages.debian.org': (550, b'HELO mismatch
> > Forged
> > HELO for ([127.0.0.1])')}. Do you want to retry (or else save the report
> > and
> > exit)? [Y|n|q|?]?
> 
> I send mail via my mail hosting provider's MTA to ensure HELO matches.
> 
> This is my ~/.reportbugrc, rewritten to use your address and the Yahoo SMTP
> server. You can also try port 465 if this does not work:
> 
> mode standard
> ui gtk2
> email "bwtnguy@yahoo.com"
> realname "bw"
> no-cc
> header "X-Debbugs-CC: bwtnguy@yahoo.com"
> smtphost "smtp.mail.yahoo.com:587"
> smtptls
> smtpuser "bwtnguy@yahoo.com"
> smtppasswd "YOUR_YAHOO_PASSWORD_GOES_HERE"
> 
> For more information on these options:
> 
> less /etc/reportbug.conf
> man reportbug.conf
> 
> Kind regards,
> 
> -- 
> Ben Caradoc-Davies <ben@transient.nz>
> Director
> Transient Software Limited <https://transient.nz/>
> New Zealand
> 
> 
Thanks, I should have included the config, which was setup with
$ reportbug --configure

I chose novice and hit the enter key for defaults.  I didn't find any 
documentation to show what has changed.  Do you know if  debian SMTP is 
now not supported on reportbug?  Thanks.


/home/b17/.reportbugrc
# reportbug preferences file
# character encoding: UTF-8
# Version of reportbug this preferences file was written by
reportbug_version "7.1.7"
# default operating mode: one of: novice, standard, advanced, expert
mode novice
# default user interface
ui text
# offline setting - comment out to be online
#offline
# name and email setting (if non-default)
# realname "b17"
email "bwtnguy@yahoo.com"
# Disable fallback mode by commenting out the following:
no-cc
header "X-Debbugs-CC: bwtnguy@yahoo.com"
smtphost reportbug.debian.org
# You can add other settings after this line.  See
# /etc/reportbug.conf for a full listing of options.

[toc] | [prev] | [next] | [standalone]


#196028

FromBen Caradoc-Davies <ben@transient.nz>
Date2018-05-24 04:00 +0200
Message-ID<vSNHP-2vf-1@gated-at.bofh.it>
In reply to#196027
On 24/05/18 13:33, bw wrote:
> Thanks, I should have included the config, which was setup with
> $ reportbug --configure
> I chose novice and hit the enter key for defaults.  I didn't find any
> documentation to show what has changed.  Do you know if  debian SMTP is
> now not supported on reportbug?  Thanks.

Sorry, I do not know.

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

[toc] | [prev] | [next] | [standalone]


#196049

FromAlessandro Vesely <vesely@tana.it>
Date2018-05-24 19:30 +0200
Message-ID<vT2dP-3q9-5@gated-at.bofh.it>
In reply to#196027
On Thu 24/May/2018 03:33:52 +0200 bw wrote: 
> On Thu, 24 May 2018, Ben Caradoc-Davies wrote:
>> On 24/05/18 12:40, bw wrote:
>>> Okay, I must have something misconfigured.

Yes, ~/.reportbugrc

>>> [...]
>>> Connecting to packages.debian.org via SMTP...
>>> SMTP send failure: {'menu@packages.debian.org': (550, b'HELO mismatch
>>> Forged HELO for ([127.0.0.1])')}.

That message was issued by the Debian SMTP server.

[127.0.0.1] is a typical client HELO.  In particular, it is what you get by:

   printf 'import socket\nprint socket.getfqdn()\n'|python

Submission clients later authenticate using a password, a certificate, or a
well known (to the server) IP address.  Email submission is different from
server relaying, where authentication can use SPF HELO, DKIM, and the like.

You should send mail through Yahoo! mail submission service, like Ben exemplified:

>> I send mail via my mail hosting provider's MTA to ensure HELO matches.
>> 
>> This is my ~/.reportbugrc, rewritten to use your address and the Yahoo SMTP
>> server. You can also try port 465 if this does not work:
>> 
>> [...]
>> smtphost "smtp.mail.yahoo.com:587"
>> smtptls
>> smtpuser "bwtnguy@yahoo.com"
>> smtppasswd "YOUR_YAHOO_PASSWORD_GOES_HERE"

(I only kept the lines describing the SMTP host connection)

> smtphost reportbug.debian.org

The above line triggers special hacks to allow the so called direct-to-mx
sending, an unauthenticated technique chiefly used by spammers.  It may work if
you configure your sockets so as to mimic a credible mail server.  That is,
have the above command return a FQDN, possibly resolving to the IP address
you're going to use.  However, that technique supports neither external CC:
addresses nor copy-to-sent-folder.

hth
Ale

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web