12/21/2023 0 Comments Spamassassin client![]() Use of uninitialized value in subroutine entry at /usr/share/perl5/core_perl/XSLoader.pm line 92. However I am running in to an issue with checking the updates for SpamAssassin: I’ just setup my Arch droplet and began setting up email using this awesome tutorial. ![]() You may have to check the spam folder on your other account. Test out your email by emailing back and forth with a known email address. If Thunderbird pops up an information window regarding the lack of encryption on our email communication, check “I understand the risks” and then click Done. Input the password as well.Ĭlick Continue and Thunderbird should autodetect IMAP settings. Set the first name and last name of the account, and then type the email address you do not have a domain, you can use the IP address of your VPS. In other operating systems, you can access this by clicking File, and then selecting New, followed by “existing mail account”. In some cases, this will be under Preferences, and then Account Settings. This setup will greatly depend on what operating system you are using on your local computer. Install Thunderbird on your local machine if you have not done so already. We can now use the Thunderbird mail client with the USERNAME and password we just configured to send and receive e-mail through our Arch Linux VPS. ![]() Useradd -d /home/USERNAME -m -k /etc/skel USERNAME There other configuration files that can be edited for more tweaking, so we will copy them too: cp /usr/share/doc/dovecot/example-config/conf.d/* /etc/dovecot/conf.d/ĭisable ‘ssl’ in ‘/etc/dovecot/conf.d/nf’ by changing the following: nano /etc/dovecot/conf.d/nf Rename dovecot’s main config file and enable imap and pop3 there: cp /etc/dovecot/ /etc/dovecot/nfĬhange the protocols line to read: protocols = imap pop3 Next, install the dovecot imap/pop3 daemon: pacman -S dovecot We can check anytime what’s going on with out mail daemon by tailing the log files in /var/log/exim/: tail /var/log/exim/mainlog Server_socket = /var/run/dovecot/auth-clientĪfter nf is set, we can enable the MTA and start it: systemctl enable exim Next, search for the section called “ begin authenticators” and enter the dovecot authentication details: dovecot_login: Message = This message contains a virus ($malware_name).Īdd_header = X-Spam_score: $spam_score\n\ Incoming e-mail for malware and possible spam: deny malware = * In the “ acl_check_data:” section, uncomment the following so exim will scan Set the following in /etc/mail/nf: nano /etc/mail/nfĭomainlist local_domains = : Īv_scanner = clamd:/var/lib/clamav/clamd.sockĪdditionally, comment out the SSL lines if they aren’t commented out already: #tls_advertise_hosts = * Next, we will configure exim without SSL, add our domains, and set up dovecot smtp authentication. Wait a few minutes for the database in /var/lib/clamav to be updated and then type: systemctl start clamd Start and enable the services: systemctl enable freshclamd Next, add clamav to the exim group so clamav can open exim mail files and scan them accordingly: usermod -G exim clamav We also enable the clamav updater by editing /etc/clamav/nf file: nano /etc/clamav/nfĬomment out “Example” as we did above: #Example Also, comment out “Example” as shown below: #Example We will also enable other groups in the system to use clamav. We will set a higher attachment limit to scan by changing the default of 10M to 16M. In the background immediately: systemctl enable spamassassin We enable spamd in systemd so it will be started after a reboot. Installing exim and the antispam/antivirus components is easy: pacman -S exim spamassassin clamavīefore starting spamd daemon, we should update spamassassin’s rules: /usr/bin/vendor_perl/sa-update -v Exim also authenticates users via dovecot so that we can send e-mail from remote computers using the Arch Linux VPS as an intermediary. Install Exim and Anti-Virus Softwareįirst, install the exim mail transport agent, which is responsible for receiving messages and sending them to remote mail servers. This configuration does not configure SSL for mail transfer, so it will not be secure for most uses. The email can then be accessed and administered by running a local mail client, such as Thunderbird. This will allow us to receive and send email as the Linux user we create on our VPS (droplet). This tutorial will cover how to install and configure an email system on a VPS running Arch Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |