Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates) in a stable environment so that they will run without new libraries (whenever it is possible) on a Debian stable distribution
Backports cannot be tested as extensively as Debian stable, and backports are provided on an as-is basis, with risk of incompatibilities with other components in Debian stable. Use with care!
It is therefore recommended to select single backported packages that fit your needs, and not use all available backports.
- Add the following line and then save it:
deb http://deb.debian.org/debian buster-backports main
apt-get -t buster-backports install "package"
sudo usermod -aG sudo <username>
git clone https://github.com/twolfson/sexy-bash-prompt.git
cd sexy-bash-prompt && make install && source ~/.bashrc
enter root password
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
Add user: adduser [username]
Change password: passwd [username]
[root@conrad ~]# apt-get autoremove
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up fuse (2.9.3-15+deb8u3) ...
Creating fuse device...
/run/udev or .udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
chmod: cannot access '/dev/fuse': No such file or directory
dpkg: error processing package fuse (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have no idea why my fuse got bonked, but I simply made a folder named fuse in the dev folder and everything works as intended again.
Quick and dirty, still need to test it.
imapsync --host1 SOURCE_URL_OR_IP --user1 --password1 host2 DESTINATION_URL_OR_IP --user2 --password2
Next you will see how a simple command is written.
My source is hosted at mail.website.tld and has a mailbox with username “firstname.lastname@example.org” and password “macaroni”
Now I don’t want my client to have any troubles with having to enter a new password and such, so I set up the mailbox on the new server with the exact same data.
The new server has the IP address “111.222.333.444” and has been set up that the new mailbox is using the same credentials.
Your command will now look like this:
imapsync --host1 mail.website.tld --user1 email@example.com --password1 macaroni --host2 111.222.333.444 --user2 firstname.lastname@example.org --password2 macaroni
A lot of text will fly by now and you will see that the mailboxes are synching. If you get “Detected 0 errors” at the end, all went well.
Now proceed with the other mailboxes and then you can make the change in the DNS to make the mailboxes on your new server available.
apt-install git libjson-webtoken-perl libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl libdata-uniqid-perl libfile-copy-recursive-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libhtml-parser-perl libjson-webtoken-perl libmail-imapclient-perl libparse-recdescent-perl libmodule-scandeps-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-mockobject-perl libtest-pod-perl libunicode-string-perl liburi-perl libwww-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make cpanminus
git clone https://github.com/imapsync/imapsync.git
chmod +x imapsync
- Test it by typing
- You may need to install some extras by entering
cp imapsync /usr/bin/
Item 10 is to make sure you can use this command anywhere on the server. Have fun!
- Go to your control panel
- Choose your virtual server by selecting the desired domain in the pulldown menu.
- Click Edit Mail Aliases
- Select All Users
- Choose the way you wish to have it delivered
I, for example, want to have it delivered to a gmail box, so i do the following:
- Select “Yes, forward to addresses”
- Enter off-site email address in the field with the title: “Forward to other address?”
Click Save and you’re set.