Go to advanced search

by castletonroad
Mon Jun 08, 2020 7:36 am
Forum: Networking and servers
Topic: Modsecurity & Nextcloud
Replies: 0
Views: 109

Modsecurity & Nextcloud

Hi All, Has anyone managed to get ModSecurity working successfully with Nextcloud (and Apache), so as to allow unrestricted file size uploads? I’m running Nextcloud 18.0.5 on Raspbian Buster with Apache/2.4.38. I have ModSecurity working with OWASP ModSecurity Core Rule Set ver.3.2.0 and I have inst...
by castletonroad
Tue May 19, 2020 12:24 pm
Forum: Networking and servers
Topic: Looking to use Z-push with postfix/dovecot - any issues on raspbian?
Replies: 0
Views: 79

Looking to use Z-push with postfix/dovecot - any issues on raspbian?

Hi,

I’m keen to set up email push on my postfix/dovecot server, running on raspbian Buster.

Cursory reading suggests this can be tricky to get working, even with z-push, seemingly the best option.

Does anyone have any experience of setting up z-push?

Thanks very much.
by castletonroad
Sun May 10, 2020 12:29 am
Forum: Networking and servers
Topic: rpi4 network speeds: USB 3.0 vs gigabit ethernmet
Replies: 2
Views: 208

Re: rpi4 network speeds: USB 3.0 vs gigabit ethernmet

Thanks very much for the speedy reply.

That’s good enough for me.

I don’t notice a significant slow-down for my Nextcloud server on changing from eth0 to usb0, even though my server’s SSD (ext4) is also on the USB.

I’ll keep things as I have them.

Thanks for the info.
by castletonroad
Sat May 09, 2020 11:47 pm
Forum: Networking and servers
Topic: rpi4 network speeds: USB 3.0 vs gigabit ethernmet
Replies: 2
Views: 208

rpi4 network speeds: USB 3.0 vs gigabit ethernmet

Hi, Can anyone point me in the direction of information detailing rpi4 network speeds over USB vs gigabit ethernet? I'm interested to know whether I'm slowing my server's network connections significantly by connecting it to my LAN via a usb dock (so USB 3.0 connection), vs the gigabit ethernet port...
by castletonroad
Sat Feb 08, 2020 10:56 pm
Forum: Networking and servers
Topic: ras pi 4 nas and replication over internet
Replies: 7
Views: 639

Re: ras pi 4 nas and replication over internet

I use 'rsync' to back up my Nextcloud instance on one raspberrypi in my house, to a second raspberry pi. There is no reason why this cannot be done from one IP to another. You would need to ensure a fixed IP at one end: either you 'push' from your server to the back-up (which has the fixed IP), or y...
by castletonroad
Sat Feb 08, 2020 10:51 pm
Forum: Networking and servers
Topic: ssh doesnt work
Replies: 4
Views: 292

Re: ssh doesnt work

Make sure ssh is enabled in:

Code: Select all

pi@raspberrypi:~ $ sudo raspi-config
by castletonroad
Fri Jan 31, 2020 1:51 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

The main hurdle I gave is my ISP won’t provide me with reverse DNA lookup.

Ultimately this means my email often lands in my friends SPAM folders until they reply back to me, whereafter my email is considered NOT spam.
by castletonroad
Thu Jan 30, 2020 7:18 pm
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

I followed the Sam Hobbs tutorial - which I then built on with wider reading, hence the more comprehensive list of restrictions I pasted above. I've read through a few articles on this, and am really happy with this configuration. I am satisfied that I am not excluding/rejecting any legitimate email...
by castletonroad
Thu Jan 30, 2020 8:13 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

Since you were successful in setting up postfix, I wanted to share my learnings on configuring /etc/postfix/main.cf for filtering unwanted emails. I learned that the following order of ‘restrictions’ lists successively / hierarchically filters unwanted email. /etc/postfix/main.cf: . . . # Allow conn...
by castletonroad
Thu Jan 30, 2020 12:39 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

@Skraaj

I’m really glad you persevered with this.

Like you, I’m a new ‘admin’, running my Pi for 9 months now as a Nextcloud and mail server. I am almost ready now to bin my google email accounts, having given up using Dropbox, OneDrive and Drive.

Cheers.
by castletonroad
Wed Jan 29, 2020 9:19 pm
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

Great news!

What do you think of the Rainloop interface?

I often use it instead of my Outlook desktop client!
by castletonroad
Wed Jan 29, 2020 8:12 pm
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

I think I remember having to install some php add-ons, but can't rightly remember. Sounds like you can't be too far away from success. I'm sure a little googling will help. I have these php modules: :~ $ php -m [PHP Modules] apc apcu calendar Core ctype curl date dom exif fileinfo filter ftp gd gett...
by castletonroad
Wed Jan 29, 2020 10:06 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

Once you have rainloop up-and-running - and I love the interface, so much - you may encounter some final difficulties with the settings from inside the interface, - and you may not! Shout if you need more help. To access your mail as a user: https://FQDN/rainloop/ To access as admin: https://FQDN/ra...
by castletonroad
Wed Jan 29, 2020 10:01 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

I think your problem is not setting the directory options, i.e. the lines between the <Directory> tags: ###RAINLOOP### <Directory /var/www/html/rainloop> DirectoryIndex index.php Options -Indexes +FollowSymLinks +ExecCGI AllowOverride All Order deny,allow Allow from all Require all granted </Directo...
by castletonroad
Wed Jan 29, 2020 9:46 am
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

Yep. Rainloop path: /var/www/html/rainloop Virtualhost file: <IfModule mod_ssl.c> ServerName localhost #================================ WEBSITE =================================== <VirtualHost *:443> ServerAdmin webmaster@FQDN ServerName FQDN:443 DocumentRoot /var/www/html/ <IfModule mod_headers.c>...
by castletonroad
Tue Jan 28, 2020 11:09 pm
Forum: Networking and servers
Topic: Email server Rpi4 - tutorial needed
Replies: 23
Views: 2385

Re: Email server Rpi4 - tutorial needed

I’ll post my config later when I get home from work. DM me if I forget!
by castletonroad
Mon Jan 20, 2020 4:29 am
Forum: Networking and servers
Topic: File sharing server
Replies: 2
Views: 380

Re: File sharing server

deepo wrote:
Sun Jan 19, 2020 8:47 am
Have a look at Nextcloud.

/Mogens
I have been using Nextcloud on my Pi4; works perfectly. I strongly recommend a Pi4 over a Pi3/2 as you want improved eth0 performance.

(I no longer use Dropbox of Google Drive; OneDrive rarely if ever, too.)
by castletonroad
Sat Jan 18, 2020 7:33 pm
Forum: Networking and servers
Topic: How to set up a static IP using Raspbian Buster
Replies: 22
Views: 57077

Re: How to set up a static IP using Raspbian Buster

I configure the relevant section of /etc/dhcpcd.conf for my raspberrypi running pihole (DNS blocker) as: interface wlan0 static ip_address=192.168.0.25/24 static routers=192.168.0.1 static domain_name_servers=127.0.0.1 # other raspberry pis on my network use 192.168.0.24 interface eth0 static ip_add...
by castletonroad
Sat Jan 18, 2020 7:24 pm
Forum: Networking and servers
Topic: [OpenVPN] Help with client configuration
Replies: 2
Views: 392

Re: [OpenVPN] Help with client configuration

Your certificates are incorrectly spelt:

Code: Select all

cert /etc/openvpn/OVPN_Raspberry_tes.crt
key /etc/openvpn/OVPN_Raspberry_tes.key
...should be...

Code: Select all

cert /etc/openvpn/OVPN_Raspberry_test.crt
key /etc/openvpn/OVPN_Raspberry_test.key
by castletonroad
Wed Dec 25, 2019 7:58 pm
Forum: Networking and servers
Topic: postfix for send-only on local network
Replies: 3
Views: 610

Re: postfix for send-only on local network

Not an RPi specific problem, agreed, but I'm not a member of any other forums to ask for help on... ;) I worked out the solution myself as: 1. On RPi4, add my network (192.168.0.0/24) to /etc/postfix/main.cf at the 'mynetworks = ' parameter 2. Create a domain for my LAN behind my router, and add thi...
by castletonroad
Wed Dec 25, 2019 7:39 pm
Forum: Networking and servers
Topic: eth0 configuration issue | webmin
Replies: 3
Views: 443

Re: eth0 configuration issue | webmin

For a coupe of reasons, I have decided to do a fresh install of raspbian buster on my Rpi3B. Strangely, even with ipv6 disabled, WEBMIN -> NETWORKING -> NETWORK CONFIGURATION, the NETWORK INTERFACES page STILL reports 'No address configured' inside the IPv4 Address column. There does appear to be a ...
by castletonroad
Mon Dec 23, 2019 7:50 pm
Forum: Networking and servers
Topic: postfix for send-only on local network
Replies: 3
Views: 610

Re: postfix for send-only on local network

OK, maybe I can put the problem more simply. I have three raspberrypi machines sat behind a router/gateway. #1 is a postfix mail server, #2 and #3 are not and instead run other tasks. How do I configure #2 and #3 to send me emails (and without being rejected by #1’s strict postfix EHLO/HELO etc. con...
by castletonroad
Sun Dec 22, 2019 7:06 am
Forum: Networking and servers
Topic: postfix for send-only on local network
Replies: 3
Views: 610

postfix for send-only on local network

Hi, I have three raspberry Pi machines running on my network : 192.168.0.1 (router/gateway) 192.168.0.24 (raspberrypi4) 192.168.0.22 (raspberrypi3) 192.168.0.20 (raspberrypi2) On each machine, /etc/mailname = /etc/hostname = raspberrypi2/3/4 raspberrypi4 runs my postfix/dovecot mail server, and I ha...
by castletonroad
Sat Dec 21, 2019 6:50 am
Forum: Networking and servers
Topic: Pi4 as a NAS
Replies: 15
Views: 1860

Re: Pi4 as a NAS

I use a Pi4 2GB runing raspbian buster on a 16GB Sandisk Ultra microSD card. I use a Toshiba U3 Dynadock as my powered external USB hub (I connect the Cat5 cable direct to the Pi4 eth0, not via the Dynadock - I didn't want the network traffic running over the Pi4's USB 3.0). I use two 1GB Toshiba ex...

Go to advanced search