• [gentoo-user] Fully-Defined-Domain-Name for nullmailer

    From n952162@21:1/5 to All on Wed Apr 13 12:00:02 2022
    Hello,

    What would this be for the 99% of all linux users who are connected to
    the internet via DSL?

    Is "localdomain" sufficient for nullmailer?  (I tried it, temporarily,
    in /etc/conf.d/hostname), but it didn't help.

    And, is there anyway that I can set it without putting it in my /etc/conf.d/hostname file?  That will require changes to any script that
    uses $(uname -n).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Wed Apr 13 14:40:01 2022
    This is a multi-part message in MIME format.
    On 4/13/22 11:53 AM, n952162 wrote:
    Hello,

    What would this be for the 99% of all linux users who are connected to
    the internet via DSL?

    Is "localdomain" sufficient for nullmailer?  (I tried it, temporarily,
    in /etc/conf.d/hostname), but it didn't help.

    And, is there anyway that I can set it without putting it in my /etc/conf.d/hostname file?  That will require changes to any script that uses $(uname -n).




    I discovered that if I set (apparently, both of ) these to some value,
    that value will be used as the domain.

    1. /etc/nullmailer/defaultname
    2. /etc/nullmailer/me

    That answers the second part of the question.

    Unfortunately, I get a 550 from my network provider for all of these:

    1. me
    2. localdomain
    3. net
    4. web.de

    So, how does thunderbird do it?



    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">On 4/13/22 11:53 AM, n952162 wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:038b7392-bf10-1cf1-b3f2-031901f16199@web.de">Hello,
    <br>
    <br>
    What would this be for the 99% of all linux users who are
    connected to
    <br>
    the internet via DSL?
    <br>
    <br>
    Is "localdomain" sufficient for nullmailer?  (I tried it,
    temporarily,
    <br>
    in /etc/conf.d/hostname), but it didn't help.
    <br>
    <br>
    And, is there anyway that I can set it without putting it in my
    <br>
    /etc/conf.d/hostname file?  That will require changes to any
    script that
    <br>
    uses $(uname -n).
    <br>
    <br>
    <br>
    <br>
    </blockquote>
    <p><br>
    </p>
    <p>I discovered that if I set (apparently, both of ) these to some
    value, that value will be used as the domain.</p>
    <ol>
    <li>/etc/nullmailer/defaultname</li>
    <li>/etc/nullmailer/me<br>
    </li>
    </ol>
    <p>That answers the second part of the question.</p>
    <p>Unfortunately, I get a 550 from my network provider for all of
    these:</p>
    <ol>
    <li>me</li>
    <li>localdomain</li>
    <li>net</li>
    <li>web.de</li>
    </ol>
    <p>So, how does thunderbird do it?</p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Wed Apr 13 15:50:01 2022
    On 4/13/22 6:31 AM, n952162 wrote:
    Unfortunately, I get a 550 from my network provider for all of these:

    1. me
    2. localdomain
    3. net
    4. web.de

    So, how does thunderbird do it?

    I don't know what name Thunderbird uses in it's HELO / EHLO command(s).
    Though it shouldn't matter much which name is used.

    The important thing should be that the SMTP client, be it Thunderbird or nullmailer or something else, should authenticate to the outbound relay
    / MSA. The MSA should then use that authentication as a control for
    what is and is not allowed to be relayed.

    Nominally, the name used has little effect on the SMTP session. However
    there is more and more sanity checking being applied for server to
    server SMTP connections. Mostly the sanity checking is around that a
    sender isn't obviously lying or trying to get around security checks.
    These attempts usually take the form of pretending to be the destination
    or another known / easily identifiable lie.

    Mail servers that send server to server traffic actually SHOULD use
    proper names that validate. Clients shouldn't need to adhere to as high
    a standard. I consider nullmailer to be a client in this case.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Grant Taylor on Wed Apr 13 17:30:01 2022
    This is a multi-part message in MIME format.
    On 4/13/22 3:40 PM, Grant Taylor wrote:
    I don't know what name Thunderbird uses in it's HELO / EHLO
    command(s). Though it shouldn't matter much which name is used.

    The important thing should be that the SMTP client, be it Thunderbird
    or nullmailer or something else, should authenticate to the outbound
    relay / MSA.  The MSA should then use that authentication as a control
    for what is and is not allowed to be relayed.


    Okay, that's a good tip.  From tcpdump on my work machine (nullmailer
    runs on my home machine, though), I have:


    EHLO.[10.0
            0x0040:  2e32 2e31 355d 0d0a .2.15]..

    so the argument to EHLO supplied by /thunderbird/ is my ip address.  So,
    the hypothesis is, if I can coerce nullmailer to use that, it should work?



    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">On 4/13/22 3:40 PM, Grant Taylor wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:f6781668-8efa-5b67-cd61-a7c29ec6b0c8@spamtrap.tnetconsulting.net">I
    don't know what name Thunderbird uses in it's HELO / EHLO
    command(s). Though it shouldn't matter much which name is used. <br>
    <br>
    The important thing should be that the SMTP client, be it
    Thunderbird or nullmailer or something else, should authenticate
    to the outbound relay / MSA.  The MSA should then use that
    authentication as a control for what is and is not allowed to be
    relayed. <br>
    </blockquote>
    <p><br>
    </p>
    <p>Okay, that's a good tip.  From tcpdump on my work machine
    (nullmailer runs on my home machine, though), I have:</p>
    <p><br>
    </p>
    <p><font face="monospace">                                                       
    EHLO.[10.0<br>
            0x0040:  2e32 2e31 355d 0d0a                     
    .2.15]..</font><br>
    </p>
    <p>so the argument to EHLO supplied by <i>thunderbird</i> is my ip
    address.  So, the hypothesis is, if I can coerce nullmailer to use
    that, it should work?</p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)