public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] postfix - error sending mail
@ 2023-06-21 21:25 thelma
  2023-06-21 23:19 ` thelma
  0 siblings, 1 reply; 4+ messages in thread
From: thelma @ 2023-06-21 21:25 UTC (permalink / raw
  To: Gentoo mailing list

I configured remote systems postfix to relay email via my connection, the setting on all 3-systems are identical in postfix/main.cf

Once system is working correctly, relaying the mail via my "relayhost"
Two other system giving me an error in log file:

"External senders are prohibited to send to local recipients without authentication"

Authentication is the same as on the first system that is working.
Though, I notice that the first system mail.log file has:
from=<root@white-domain.com>

The two other systems (that bounce the mail) have:

from=<>

Where is the setting for "from <>"

I use command line to test the mail.

-- 
Thelma


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

* Re: [gentoo-user] postfix - error sending mail
  2023-06-21 21:25 [gentoo-user] postfix - error sending mail thelma
@ 2023-06-21 23:19 ` thelma
  2023-07-03  5:32   ` J. Roeleveld
  0 siblings, 1 reply; 4+ messages in thread
From: thelma @ 2023-06-21 23:19 UTC (permalink / raw
  To: gentoo-user

On 6/21/23 15:25, thelma@sys-concept.com wrote:
> I configured remote systems postfix to relay email via my connection, the setting on all 3-systems are identical in postfix/main.cf
> 
> Once system is working correctly, relaying the mail via my "relayhost"
> Two other system giving me an error in log file:
> 
> "External senders are prohibited to send to local recipients without authentication"
> 
> Authentication is the same as on the first system that is working.
> Though, I notice that the first system mail.log file has:
> from=<root@white-domain.com>
> 
> The two other systems (that bounce the mail) have:
> 
> from=<>
> 
> Where is the setting for "from <>"
> 
> I use command line to test the mail.
> 

When I use:
mailto
To: user@destination.com
Subject: testing i5
test
EOT

When I login as root and send this test mail; it it shows  "from: root@doamin.com"
Where is the "root"comes from? How to change it, control it?


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

* Re: [gentoo-user] postfix - error sending mail
  2023-06-21 23:19 ` thelma
@ 2023-07-03  5:32   ` J. Roeleveld
  2023-07-05 20:41     ` David Rosenbaum
  0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2023-07-03  5:32 UTC (permalink / raw
  To: gentoo-user

On Thursday, June 22, 2023 1:19:58 AM CEST thelma@sys-concept.com wrote:
> On 6/21/23 15:25, thelma@sys-concept.com wrote:
> > I configured remote systems postfix to relay email via my connection, the
> > setting on all 3-systems are identical in postfix/main.cf
> > 
> > Once system is working correctly, relaying the mail via my "relayhost"
> > Two other system giving me an error in log file:
> > 
> > "External senders are prohibited to send to local recipients without
> > authentication"
> > 
> > Authentication is the same as on the first system that is working.
> > Though, I notice that the first system mail.log file has:
> > from=<root@white-domain.com>
> > 
> > The two other systems (that bounce the mail) have:
> > 
> > from=<>
> > 
> > Where is the setting for "from <>"
> > 
> > I use command line to test the mail.
> 
> When I use:
> mailto
> To: user@destination.com
> Subject: testing i5
> test
> EOT
> 
> When I login as root and send this test mail; it it shows  "from:
> root@doamin.com" Where is the "root"comes from? How to change it, control
> it?

The "root" is the user you use when sending the email.

What is the full commandline you use to send this?
Which local mail client do you use for testing?

And I would recommend you do a diff to compare the entire "/etc" tree between 
the working and a non-working gateway.

--
Joost




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

* Re: [gentoo-user] postfix - error sending mail
  2023-07-03  5:32   ` J. Roeleveld
@ 2023-07-05 20:41     ` David Rosenbaum
  0 siblings, 0 replies; 4+ messages in thread
From: David Rosenbaum @ 2023-07-05 20:41 UTC (permalink / raw
  To: gentoo-user

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

Thank u

David

On Mon, Jul 3, 2023, 1:32 AM J. Roeleveld <joost@antarean.org> wrote:

> On Thursday, June 22, 2023 1:19:58 AM CEST thelma@sys-concept.com wrote:
> > On 6/21/23 15:25, thelma@sys-concept.com wrote:
> > > I configured remote systems postfix to relay email via my connection,
> the
> > > setting on all 3-systems are identical in postfix/main.cf
> > >
> > > Once system is working correctly, relaying the mail via my "relayhost"
> > > Two other system giving me an error in log file:
> > >
> > > "External senders are prohibited to send to local recipients without
> > > authentication"
> > >
> > > Authentication is the same as on the first system that is working.
> > > Though, I notice that the first system mail.log file has:
> > > from=<root@white-domain.com>
> > >
> > > The two other systems (that bounce the mail) have:
> > >
> > > from=<>
> > >
> > > Where is the setting for "from <>"
> > >
> > > I use command line to test the mail.
> >
> > When I use:
> > mailto
> > To: user@destination.com
> > Subject: testing i5
> > test
> > EOT
> >
> > When I login as root and send this test mail; it it shows  "from:
> > root@doamin.com" Where is the "root"comes from? How to change it,
> control
> > it?
>
> The "root" is the user you use when sending the email.
>
> What is the full commandline you use to send this?
> Which local mail client do you use for testing?
>
> And I would recommend you do a diff to compare the entire "/etc" tree
> between
> the working and a non-working gateway.
>
> --
> Joost
>
>
>
>

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

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

end of thread, other threads:[~2023-07-05 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 21:25 [gentoo-user] postfix - error sending mail thelma
2023-06-21 23:19 ` thelma
2023-07-03  5:32   ` J. Roeleveld
2023-07-05 20:41     ` David Rosenbaum

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