Nilhcem / FakeSMTP

Dummy SMTP server with GUI for testing emails in applications easily.
http://nilhcem.github.com/FakeSMTP/
Other
990 stars 319 forks source link

Linux: Cannot Start SMTP Server Port 25 #80

Open trymeouteh opened 5 years ago

trymeouteh commented 5 years ago

I get an error when I try to start FakeSMTP on port 25.

Can't start SMTP Server Make sure the port 25 is available and not used by other applications.

I am using Linux Mint 19.1 and I even did a fresh install of Linux Mint 19.1 and I still get this error. I didn't have this on Windows 10.

I was wondering how I can find out what application is using port 25 and how to disable it so FakeSMTP can use port 25.

logecolib commented 5 years ago

Make sure you have the port allowed in your firewall. You can also run it as sudo.

trymeouteh commented 5 years ago

How do you run it as a sudo? I tried this but I had no luck. I also turned off my Firewall and had no luck either.

sudo '/home/john/Downloads/fakeSMTP-2.0.jar'

logecolib commented 5 years ago

sudo java -jar /home/john/Downloads/fakeSMTP-2.0.jar

On Mon, May 6, 2019 at 10:31 PM trymeouteh notifications@github.com wrote:

How do you run it as a sudo?

sudo '/home/john/Downloads/fakeSMTP-2.0.jar'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Nilhcem/FakeSMTP/issues/80#issuecomment-489894106, or mute the thread https://github.com/notifications/unsubscribe-auth/AASDD6DDBZORWI6TKNKBATTPUDZ23ANCNFSM4HLC6J2Q .

trymeouteh commented 5 years ago

Thank you, now I can start it on Port 25.

But I still cannot get any emails, I am using XAMPP and I have following configured in php.ini

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP=localhost
; http://php.net/smtp-port
smtp_port=25

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = me@example.com