Re: email lacks sender address
On Wed, Apr 27, 2022 at 08:05:46AM -0400, Haines Brown wrote:
> If I understand correctly, which is always in serious doubt, it is
> exim that constructs the Sender: line by combining /etc/mailname and
> $LOCALHOST. Is this so?
>
> These values are present:
>
> $ nano /etec/mailname
> lenin.histomat.net
Obvious typo. This means you are not pasting results directly from a
terminal into an email. Instead, you're re-typing them, and making
tons of errors in the process. That makes it super hard to know what
is actually real.
> $ echo $LOGNAME
> haines
You mentioned $LOCALHOST before, and now suddenly it's $LOGNAME.
> However I'm not clear whether the field is empthy or that what us
> in it field is not owned by me. I have popcorn installed, and it has
popcon, not popcorn.
> root send a priodidic message. The mail server does not recognize
> the root@histomats.net address. It sends me this message:
*Which* mail server? Who is "it"?
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
> survey@popcon.devuan.org
> host mail.guardedhost.com [216.239.133.245]
> SMTP error from remote mail server after pipelined sending data block:
> 553 5.7.1 <root@histomat.net>: Sender address rejected:
> not owned by user brownh@historicalmaterialism.info
>
> Reporting-MTA: dns; lenin.histomat.net
So, this message was generated by your own MTA running on your own
computer, after the message was rejected by the receiving MTA.
There are many things I do not understand in this error message. For
starters, who or what is "host mail.guardedhost.com [216.239.133.245]"
and what do they have to do with anything?
unicorn:~$ host -t mx popcon.devuan.org
popcon.devuan.org mail is handled by 10 mx.devuan.org.
unicorn:~$ host mx.devuan.org
mx.devuan.org has address 141.95.83.167
There's no mention of mail.guardedhost.com or 216.239.133.245 in DNS
at all.
It sounds like something on *your* end. Maybe you've configured your
MTA to use a smarthost, and mail.guardedhost.com is your smarthost?
And if so, it's refusing to relay mail from you as long as you claim
to be root@histomat.net instead of brownh@historicalmaterialism.info
or something.
Also, you appear not to be using Debian, so... all bets are off.
Reply to: