1
Stuck on RSpamD Installation
Question asked by Ron Raley - 5/1/2024 at 3:17 PM
Unanswered
To ensure the normal worker listens on the appropriate address, you will want to manually configure its bind address. To do that, create the file, below, with the contents provided:

File to create: /etc/rspamd/local.d/worker-normal.inc
File contents: bind_socket = ":11333";

I am unabe to create any files on my Microsoft Azure Ubuntu VM. It indicates permission denied.  Any insight would be greatly appreciated.

SSH
Last login: Mon Apr 29 02:08:24 2024 from 172.202.128.29
myemail@gmail.com@RSpamD:~$ cd /etc/rspamd/local.d/
myemail@gmail.com@RSpamD:/etc/rspamd/local.d$ touch worker-normal.inc
touch: cannot touch 'worker-normal.inc': Permission denied
myemail@gmail.com@RSpamD:/etc/rspamd/local.d$ cat > worker-normal.inc
-bash: worker-normal.inc: Permission denied
myemail@gmail.com@RSpamD:/etc/rspamd/local.d$

2 Replies

Reply to Thread
0
Matt Petty Replied
Employee Post
Rspamd might run as a separate user and claimed those folders for itself. Often times you can just use "sudo" in front of your command to force it.

When your cat runs after doing touch, it will be blank. A good way to modify or create files I've been doing lately is 'nano', there are other popular ones like 'vim' as well
-sudo nano worker-normal.inc
-(opens a window)
-You can type or copy in your desired text.
-Ctrl + O -> to 'output' or save your file.
-(it will ask you are you sure if you wanna save with that file name, hit yes)
-Then you can use "Ctrl + X" to exit out of the editor.


Matt Petty Software Developer SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Ron Raley Replied
Matt, I appreciate your response. I'm going to give this a shot and will follow-up! I'm obviously not a Linux guru.

Reply to Thread