Discussion:
why is Alpine using postfix when an smtp-server is specified?
(too old to reply)
nicholas
2023-12-23 11:59:16 UTC
Permalink
As below, an smtp server is specified from the .pinerc file for this
account:

user-domain=example.com
smtp-server=smtp.ionos.com:587/tls/user=***@example.com
inbox-path={imap.ionos.com:993/ssl/user=***@example.com}INBOX

where "example.com" is the ionos domain. Yet I'm getting bounce messages
from postfix like:

From: "Mail Delivery System" <mailer-***@perfora.net>
To: ***@example.com

..

SMTP error from remote server for TEXT command, host: gmail-smtp-
in.l.google.com (xxx.yyy.zzz.aaa) reason: 550-5.7.26 This mail has been
blocked because the sender is unauthenticated.

..

https://support.google.com/mail/answer/81126#authentication





which is fine, insofar as this .pinerc isn't using meant to use postfix
and so it would surprising if it did authenticate with Google. Instead,
it should send directly through ionos as specified above. Why isn't it
sending through ionos?

How can Pine be configured to not use the localhost for sending?



thanks,

Nick
Carlos E.R.
2023-12-23 13:25:25 UTC
Permalink
Post by nicholas
As below, an smtp server is specified from the .pinerc file for this
user-domain=example.com
where "example.com" is the ionos domain. Yet I'm getting bounce messages
Who is "perfora.net"? Is that actually what you get, or have you edited
it for privacy? Is it you or is it outside?

Assuming that is what you really get, Alpine is not using postfix. It is
the remote site you send to that happens to also use postfix.


If I am not reading it correct, then you must say what is each domain in
your text in relationship to you.

And possibly post the entire rejection email, not including your email
part that was rejected and included.
--
Cheers, Carlos.
Eduardo Chappa
2023-12-23 14:45:20 UTC
Permalink
Post by nicholas
As below, an smtp server is specified from the .pinerc file for this
user-domain=example.com
where "example.com" is the ionos domain. Yet I'm getting bounce messages
[...]
Let me see if I understand you correctly. You have configured your
smtp-server variable to be the smtp server at ionos.com, and somehow
Alpine is not using that but using postfix which is connecting to google's
smtp server? Also, which version of Alpine are you using? Did you build it
yourself, or are you using one distributed by some linux distribution or
mac, or maybe even Windows?

Are you using roles? If yes, do you configure the smtp-server variable in
them? If not, configure it with the correct value.

I understand your sense of privacy and security, but without real data and
a real explanation of how you have configured Alpine it is hard to help
you. All I can do is to use my imagination to try to figure out what you
are trying to say, and will only result in a longer time to resolve your
issue, or not being able to solve it at all.
--
Eduardo
https://alpineapp.email (web)
http://repo.or.cz/alpine.git (Git)
J.O. Aho
2023-12-23 16:11:23 UTC
Permalink
Post by nicholas
As below, an smtp server is specified from the .pinerc file for this
user-domain=example.com
where "example.com" is the ionos domain. Yet I'm getting bounce messages
I guess ionos uses postfix, it's one of the popular ones nowadays.
Post by nicholas
..
SMTP error from remote server for TEXT command, host: gmail-smtp-
in.l.google.com (xxx.yyy.zzz.aaa) reason: 550-5.7.26 This mail has been
blocked because the sender is unauthenticated.
..
https://support.google.com/mail/answer/81126#authentication
which is fine, insofar as this .pinerc isn't using meant to use postfix
and so it would surprising if it did authenticate with Google.
This is about spf, dmarc and dkim, not about an user authentication.
You need to add the ionos mx servers to the spf record, you should also
set up a dmarc record and I would recommend to setup dkim too as many
larger mail operators rejects is you don't use dkim.
Post by nicholas
Instead,
it should send directly through ionos as specified above. Why isn't it
sending through ionos?
Without seeing logs or mail headers, but I would say it has been sent
trough ionos.
Post by nicholas
How can Pine be configured to not use the localhost for sending?
did you even bother to look at the logs?
grep ***@perfora.net /var/log/mail.log
--
//Aho
William Unruh
2023-12-28 18:43:10 UTC
Permalink
Post by nicholas
As below, an smtp server is specified from the .pinerc file for this
user-domain=example.com
where "example.com" is the ionos domain. Yet I'm getting bounce messages
postfix is the local mailer/receiver on a Linux system (by default-- you
can change that) It has nothing to do with the outside routes or mail
handlers.
Post by nicholas
..
SMTP error from remote server for TEXT command, host: gmail-smtp-
in.l.google.com (xxx.yyy.zzz.aaa) reason: 550-5.7.26 This mail has been
blocked because the sender is unauthenticated.
Note that it is says the error came from the remote server. Postfix is
just relaying the message. So you are going to have to figure out why
and how you screwed up the authentication.
Post by nicholas
..
https://support.google.com/mail/answer/81126#authentication
which is fine, insofar as this .pinerc isn't using meant to use postfix
and so it would surprising if it did authenticate with Google. Instead,
it should send directly through ionos as specified above. Why isn't it
sending through ionos?
How can Pine be configured to not use the localhost for sending?
thanks,
Nick
nicholas
2023-12-29 09:13:58 UTC
Permalink
Post by William Unruh
Note that it is says the error came from the remote server. Postfix is
just relaying the message. So you are going to have to figure out why
and how you screwed up the authentication.
appreciated.

Loading...