Help with postfix configuration

SYSTEM INFORMATION
OS type and version Debian12
Virtualmin version 7.20.2

I can’t get Postfix to work in Virtualmin. I have set up the server at least 15 times in the last few days (Debian12 and Ubuntu24)
I can’t access the server with Thunderbird, OS Mail…

“thunderbird couldn’t find any settings for your email account”

the Websites / FTP / SSH / SQL work well, only the Emails not working.

is there a default setting?

I’m happy about any help

You need to setup thunderbird manually, but to test that the mail server is working log into usermin (your domain adding :20000 rather than :10000) with a valid email user and see if you can send and recieve email

Thank you for your quick response.
Yes, emails are on the server. They come in and I can send them out too.

But I can’t access it on the PC with an application

Go to Virtualmin -> Edit Users then click on the “Show Client Email Settings”
then make sure you have set the client settings in Thunderbird correctly.

yes i do, i tried mail.domain.com, domain.com, SSL, STARR …
Postfix is always Active (exited) is this normal?

check in the Dashboard under
“Servers Status” - yes it should be. - if not then start it and find out why it has stopped (ditto for Dovecot IMAP/POP)

Auto should, I’ve used it, do you have it set?

just tried it on example.com I use.

i mean it is Active but (exited), other processes are active (running)

So all ticked (running)?

on the first try i get all ok

when i klick “done” i get an error

You need to check the mail log file, your should see why the server isn’t allowing the connection.

it could also be fail2ban adding a block (but its blocks IP so not sure the auto would work)

can you translate the wording in the yellow.

yes all services are running

1 Like

i think i got it.
it was this option in SMTP Authentication And Encryption. Have to be on yes.

Bildschirmfoto 2024-09-27 um 13.50.02

Let me look…these settings should not be change from default…

no, that’s related to something else (I think between servers), seen this asked before.

post the mail log on the server when authentication is tried.

The green one:
Settings were found with your email service provider

The yellow one:
Login failed, configuration, user or password may not be correct

But I was able to log in with the same data after changing the settings.

Sound like a wrong username or password

the format should be the same as in edit user

Check your mail log :slight_smile:

i receive emails immediatly in Thunderbird, but If I send one, it stays on the Server in “Mail Queue”

Bildschirmfoto 2024-09-27 um 15.25.50

where can I find the mail log?

Sounds like outbound port 25 is blocked by your provider.

port 25 ist open, I just tested it

Have you tested outbound and inbound?