Discussion:
[gentoo-user] postfix - error sending mail
(too old to reply)
t***@sys-concept.com
2023-06-21 21:30:02 UTC
Permalink
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=<***@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
t***@sys-concept.com
2023-06-21 23:30:01 UTC
Permalink
Post by t***@sys-concept.com
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"
"External senders are prohibited to send to local recipients without authentication"
Authentication is the same as on the first system that is working.
from=<>
Where is the setting for "from <>"
I use command line to test the mail.
When I use:
mailto
To: ***@destination.com
Subject: testing i5
test
EOT

When I login as root and send this test mail; it it shows "from: ***@doamin.com"
Where is the "root"comes from? How to change it, control it?
J. Roeleveld
2023-07-03 05:40:01 UTC
Permalink
Post by t***@sys-concept.com
Post by t***@sys-concept.com
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"
"External senders are prohibited to send to local recipients without authentication"
Authentication is the same as on the first system that is working.
from=<>
Where is the setting for "from <>"
I use command line to test the mail.
mailto
Subject: testing i5
test
EOT
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
David Rosenbaum
2023-07-05 21:20:01 UTC
Permalink
Thank u

David
Post by t***@sys-concept.com
Post by t***@sys-concept.com
Post by t***@sys-concept.com
I configured remote systems postfix to relay email via my connection,
the
Post by t***@sys-concept.com
Post by t***@sys-concept.com
setting on all 3-systems are identical in postfix/main.cf
Once system is working correctly, relaying the mail via my "relayhost"
"External senders are prohibited to send to local recipients without
authentication"
Authentication is the same as on the first system that is working.
from=<>
Where is the setting for "from <>"
I use command line to test the mail.
mailto
Subject: testing i5
test
EOT
control
Post by t***@sys-concept.com
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
Loading...