Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postal Telnet #1060

Closed
AndersonOuverney opened this issue Apr 23, 2020 · 4 comments
Closed

Postal Telnet #1060

AndersonOuverney opened this issue Apr 23, 2020 · 4 comments

Comments

@AndersonOuverney
Copy link

How to perform postal test with telnet?

Hello guys, I'm trying to do a test via telnet, I don't know if that is possible.
What I'm trying to do is simulate email delivery via the command line.

telnet mypostal.com 25
EHLO mylocalserver.com
AUTH LOGIN
(username in base64)
(base64 user password)

I have the following response from the postal
SMTP << 235 Granted for (my username)

Following to test the message:

MAIL FROM: teste@mydomain.com (This domain is configured correctly in postal, SPF and DKIM)
RCPT TO: teste@mydomain2.com
DATE
Here I write what I want to test

(. to end)
.
Finally I get the following return message
SMTP << 530 From / Sender name is not valid

I've already consulted the following links here
#863
#728

None of them can solve the problem.

NOTE: Remembering that through an email client, I can send emails normally through the domain "mydomain.com"

@AndersonOuverney AndersonOuverney changed the title Posta Telnet Postal Telnet Apr 23, 2020
@willpower232
Copy link
Collaborator

This indicates that the credential you are using (i.e. the username) does not cover the domain you are using.

See also #863 and #728

@AndersonOuverney
Copy link
Author

Hello.
I read it, read it again and for sure I read the 2 topics again.
What I currently do is:
I'm going to the organization/server
There are dozens of domains already created, authenticated and functioning.

When I refer to domains created, authenticated and functioning, I mean that I created a credential on the SMTP server, on my EXIM server I can authenticate without problems and send emails through *@domain.com. These emails are sent through an email client as a roundcube.

The problem is when I am going to connect via SMTP, I am not sure if I am doing it right.

I am inserting the user in org/server format and the password generated by the postal.
Both are available in the url (help/outgoing)

What am I missing?

@willpower232
Copy link
Collaborator

The domain in the FROM address (mydomain.com in your example) must be in the same organization as the credential you're using. Do you have multiple organizations in your Postal setup?

@rohitthakral
Copy link

I have exact same problem and no we don't have multiple organisations in our postal setup.

The problem is only with the telnet. PHP Mails etc are working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants