Users mail, doesnt work on da SMTP

homurdananadam

New member
Joined
Nov 12, 2022
Messages
3
Server not sending mail with any email address in directadmin with smtp. It sends it together with the mail information on another server with directadmin. No matter what I tried I couldn't find a solution. I can't send smtp mail with mails found in directadmin. Why do you think it might?
 
What is your logs telling ? any emails that are bounced ?
Exim and Dovecot are working properly ?
 
Is that currently or as test?
Did you change the DNS records accordingly and waited until they were synched?

And ofcourse what Active8 already said.

- Currently.
- Yes.


- and last ansver; ı didnt check dovecot. is there any document for this?

This is the error I get when I want to send mail with SMTP;

SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)


NOTE: I'm getting this error on all email accounts on the directadmin server. When I send an email from directadmin via smtp with the email account information on another server it goes successfully.

Very strange
 
- Currently.
If that is happening currently, so sends on another server, then almost certainly DNS records are not correct, or I'm misunderstanding something.

SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
That's not normal SMTP from an e-mail client.
How are you trying to send mail, via Roundcube webmail or some other way?

- and last ansver; ı didnt check dovecot. is there any document for this?
You have to check if dovecot and Exim are running.
Via SSH.
service exim status
service dovecot status
or just login as admin and look at the services status.

Which brings me to another question, are you an admin or just a customer of a hosting company using Directadmin?
 
If that is happening currently, so sends on another server, then almost certainly DNS records are not correct, or I'm misunderstanding something.


That's not normal SMTP from an e-mail client.
How are you trying to send mail, via Roundcube webmail or some other way?


You have to check if dovecot and Exim are running.
Via SSH.
service exim status
service dovecot status
or just login as admin and look at the services status.

Which brings me to another question, are you an admin or just a customer of a hosting company using Directadmin?
ı m server owner. ı put scrrenshots attachment for 2 services. Also thank you very much for your help.



- That's not normal SMTP from an e-mail client.
I dont know. What I do is run smtp on this url and send mail. But it doesn't send.

 

Attachments

  • 1.png
    1.png
    30 KB · Views: 147
  • 2.png
    2.png
    17.6 KB · Views: 113
- That's not normal SMTP from an e-mail client.
No it's not as it's a php error notice. Normal e-mail clients (like Thunderbird or Office 2019 by example) do not give these error notices.

What I do is run smtp on this url and send mail. But it doesn't send.
That's a php script. And there is some configuration wrong in the php script for some reason.
But I'm no scripter, can't help you with that.

Also from the screenshot, it might be there is some issue with Spamassassin on ipv6 but I'm not sure, I don't use ipv6 yet.

Try sending mail via Roundcube, so like https://www.domain.com/webmail and see if that works.
Or with a regular mail client.
 
Back
Top