Someone is sending Mails from my server

Operating system: ubuntu
OS version: 18.04.5 LTS

How to fix this problem, mail are auto-send can’t stop

Check what script sends email:
postcat -q MailID | grep X-PHP-Originating-Script

Then block it or delete.

postcat: fatal: open queue file MailID: No such file or directory

I suspect you were meant to substitue MailID with one from the MailID column in your mail queue window.

1 Like

Please check that your Postfix is not configured as opened relay and/or that your user accounts passwords are not compromised. Have a look at server’s mail log.

By the way, by default Virtualmin never configures Postfix as opened relay.

Thanks for replying, can you send me how to configure Postfix opened relay guide?