public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Fully-Defined-Domain-Name for nullmailer
@ 2022-04-13  9:53 n952162
  2022-04-13 12:31 ` n952162
  0 siblings, 1 reply; 4+ messages in thread
From: n952162 @ 2022-04-13  9:53 UTC (permalink / raw
  To: gentoo-user

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).




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fully-Defined-Domain-Name for nullmailer
  2022-04-13  9:53 [gentoo-user] Fully-Defined-Domain-Name for nullmailer n952162
@ 2022-04-13 12:31 ` n952162
  2022-04-13 13:40   ` Grant Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: n952162 @ 2022-04-13 12:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

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?



[-- Attachment #2: Type: text/html, Size: 1529 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fully-Defined-Domain-Name for nullmailer
  2022-04-13 12:31 ` n952162
@ 2022-04-13 13:40   ` Grant Taylor
  2022-04-13 15:25     ` n952162
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Taylor @ 2022-04-13 13:40 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Fully-Defined-Domain-Name for nullmailer
  2022-04-13 13:40   ` Grant Taylor
@ 2022-04-13 15:25     ` n952162
  0 siblings, 0 replies; 4+ messages in thread
From: n952162 @ 2022-04-13 15:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

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?



[-- Attachment #2: Type: text/html, Size: 1481 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-13 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13  9:53 [gentoo-user] Fully-Defined-Domain-Name for nullmailer n952162
2022-04-13 12:31 ` n952162
2022-04-13 13:40   ` Grant Taylor
2022-04-13 15:25     ` n952162

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox