I want to run the spamd daemon on bash on an Ubuntu system. When running this command within my virtual machine, I get the following error:
spamd: could not create IO::Socket::IP socket on [::1]:783: Permission denied server socket setup failed, retry 1: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Permission denied
To check what processes are running in the background within bash, I then run this command:
ss -tlnp | grep 783 which returns:
Process
LISTEN 0 4096 127.0.0.1:783 0.0.0.0:* users:(("spamd child",pid=162510,fd=6),("spamd child",pid=162509,fd=6),("spamd",pid=162505,fd=6))
LISTEN 0 4096 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=193524,fd=7))
LISTEN 0 4096 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=155473,fd=3),("systemd",pid=1,fd=218))
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=568,fd=15))
LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* users:(("systemd-resolve",pid=568,fd=17))
LISTEN 0 4096 [::1]:783 [::]:* users:(("spamd child",pid=162510,fd=5),("spamd child",pid=162509,fd=5),("spamd",pid=162505,fd=5))
LISTEN 0 4096 [::1]:631 [::]:* users:(("cupsd",pid=193524,fd=6))
LISTEN 0 4096 [::]:22 [::]:* users:(("sshd",pid=155473,fd=4),("systemd",pid=1,fd=229))
Therefore spamd is running as a process in the background. I tried killing it, but that didn't resolve the error, nor did running spamd as a daemon. I was told that the issue is most likely that my virtual machine cannot access some ports.
How do I get the spamd daemon running without confronting this error?