i could not copy the code from linux that is wht the pictures are there for some reason i could copy the txt file my prolem is that i dont know why my mail is getting stuck in the mailqueue of ispconfig
I have written tutorial on e-mail setup with ISPConfig. It has troubleshooting instructions. Link to tutorial in my signature. You should check port 25 is open on that host, both ingoing and outgoing. Read the comments for that tutorial for info.
You switched spamfilter from rspamd to amavis under System > server config > email, this can not work as your system uses the more modern spamfilter "rspamd". Switch spamfilter back to rspamd in ISPConfig.
i have done that and to be sure i have rebooted te sytem because they were still showing up i will post a update if it is fixed
Old mails may stay there. The change will take effect for new mails only. You can try this command though to see if requeing the old mails will solve it: Code: postsuper -r ALL
The problem is you partially reconfigured the system to use amavisd but its a rspamd installation and that's why mails got stuck. When you write a new email, do you still get the same error message when sending? It might be that the errors are from the old emails only and postfix remembers that these shall be handed over to amavis, which does not exist. Also try to send en email to yourself (send to the same email address that your email client is logged in), does it arrive in your inbox? If yes, then the mail system itself is fine. Gmail can reject emails for many reasons incl. bad IP reputation, blacklists etc.
when i write new emails to my gmail i get the same error message so that is the 127.0.0.1[127.0.0.2]10026 conncetion refused the mails that i sent to myself with either outlook or webmail i can see those being deliverd because that is intern the biggest issue is that i cant receive mail from extern email adressen this is what i get when i try to sent a mail to the ispconfig mail adress from my own email with outlook
Switch the spamfilter to amavis in ISPConfig under System > server config > mail, press save, change it back to rspamd and press save. To enforce a reconfiguration of the mail system. Do not restart the system while it gets reconfigured. You can also try to run: ispconfig_update.sh --force as root user and choose to reconfigure services during update if switching force and back the spam filter did not help. The spamfilter is in the mail path for incoming and outgoing emails, so you can neither send nor receive until this issue is solved.
i have done what u said even the update and reconfigure but it doesn't work the mail.log says that it is a relay host problem this can be an issue
Ok, but that's a different issue now. So the reconfiguration worked and fixed the issue and the spam filter is okay again. Have you set up a relay host to be used by the system and what have you set up there?
no i have not what should i do there in order it to work should i put the same domain name for the relay host aas for the recipent or not
Normally you should not set a relay host, but postfix says that there is one configured that does not work. The relayhost fields under System > server config > mail are all empty? You have not answered my question yet about which guide you used to install the system. And did you really start from a clean and empty system?
the relay host was empty not anymore ip put ther inventionsoft.eu that is the domain name of the website but i used this guide Perfect Server Automated ISPConfig 3 Installation on Debian 10 to Debian 12, Ubuntu 20.04 and Ubuntu 22.04 and i started from a clean and empty system i did
Not sure what you mean. There are 2 fields starting with relayhost, they are empty by default and they should be empty on any normal mail server that is directly connected to the internet. Empty these 3 fields and press save to fix your relayhost issue.