Problem sending email

Salut encore Andy,

OK to uninstall mail.
I will cp -a all mail folders to /temp
Delete all mail folders.
e-smith and other ???

Michel-André

@michelandre

Check eg /var/lib/nethserver/db/ (That’s where e-smith Parameters are stored).
Maybe also /var/lib/nethserver/db/configuration…

Keep backup copies of these, in case you delete anything still needed!

Andy

Michel,

For information the backup works and it is operational.
thank you for your help, I don’t know how to reinstall the mail service.

Frederic

Of course if you explain I do it,
Frederic

Sending an email is a matter of IP reputation, if you do not want to trade with this, take a smtp provider to send your email.

Relative to rspamd, I could accept that it could break to receive email, but something can/must be found in maillog…smtp log is really talkative, IIRC nothing is written in /var/log/messages, but all in /var/log/maillog

In log I trust, in human never

1 Like

Does the port 10053 is opened in the external firewall of the server (not the internal shorewall)

Salut Stéphane,

[root@fred vmail]# netstat | grep 10053
udp 0 0 localhost:50101 localhost:10053 ESTABLISHED
udp 0 0 localhost:41979 localhost:10053 ESTABLISHED
udp 0 0 localhost:43327 localhost:10053 ESTABLISHED
udp 0 0 localhost:44081 localhost:10053 ESTABLISHED
udp 0 0 localhost:36385 localhost:10053 ESTABLISHED
udp 0 0 localhost:53235 localhost:10053 ESTABLISHED
udp 0 0 localhost:45260 localhost:10053 ESTABLISHED
udp 0 0 localhost:54595 localhost:10053 ESTABLISHED
udp 0 0 localhost:46768 localhost:10053 ESTABLISHED
udp 0 0 localhost:56499 localhost:10053 ESTABLISHED
udp 0 0 localhost:56705 localhost:10053 ESTABLISHED
udp 0 0 localhost:56980 localhost:10053 ESTABLISHED
udp 0 0 localhost:41260 localhost:10053 ESTABLISHED
udp 0 0 localhost:33371 localhost:10053 ESTABLISHED
udp 0 0 localhost:41611 localhost:10053 ESTABLISHED
udp 0 0 localhost:41617 localhost:10053 ESTABLISHED
[root@fred vmail]#

Michel-André

I think I said something wrong, unbound listen on 10053 but it queries to

# permit unbound to use this port number or port range for
# making outgoing queries, using an outgoing interface.
# Only ephemeral ports are allowed by SElinux
outgoing-port-permit: 32768-65535

does these ports are opened in the external firewall of NethServer (by the internet provider), check /etc/unbound/unbound.conf

[root@fred vmail]# cat /etc/unbound/unbound.conf | grep outgoing-port-permit
outgoing-port-permit: 32768-65535
[root@fred vmail]#

Michel-André

now check if the provider allows these ports to your server

How I do that ?
With telnet ?

Michel-André

what is the network, does it is a server behind a router at home, does it is a dedicated server in a cloud…

Who knows ?

[root@dorgee ~]# telnet 82.65.81.211
Trying 82.65.81.211…

No answer

Michel-André

Well, I think without network information, without logs, we cannot go further…check in you logs why email are not sent/received…the true is there :smiley:

Give us the evidences

I just send a message to Frederic, he should answer you in a few minutes.

Michel-André

[root@dorgee ~]# telnet mail.fio01.com 25
Trying 82.65.81.211…
Connected to mail.fio01.com.
Escape character is ‘^]’.
220 fred.fio01.com ESMTP Postfix

Michel-André

[root@dorgee ~]# telnet fio01.com 32768
Trying 82.65.81.211…

Might be something wrong here ?

Michel-André

Je passe mon temps a envoyer des spam
super
Vous etes egale a ce que je pense…

Sending an email is a matter of IP reputation, if you do not want to trade with this, take a smtp
Facile mais pas très fin merci quand mème pour votre etat d esprit

Easy but not very fine thank you anyway for your state of mind

provider to send your email.

Relative to rspamd, I could accept that it could break to receive email, but something can/must be found in maillog…smtp log is really talkative, IIRC nothing is written in /var/log/messages, but all in /var/log/maillog

In log I trust, in human never

Certainly I’m not a linux musclor like you but I’m trying
I wonder what I’m doing the …