Had an existing Postfix configurationup and running. Notes for bringing up the same available at https://www.sandeeprao.net/configuring-secure-mail-server-using-postfix-with-dovecot-spamassasin-postgrey-and-opendkim/ As I could add more vCPU and RAM to the VM, thought of adding anti-virus check on receipt of mails. As I had already configured amavis + spamassassin it was pretty straight forward, install the required clamav packages along…
Tag: Postfix
Configuring secure mail server using Postfix with Dovecot, Amavis, Spamassasin, Postgrey and OpenDKIM
Prerequisite : https://www.sandeeprao.net/preparing-for-configuring-secure-mail-server-using-postfix-dovecot-spamassassin-and-opendkim/ Install required packages #apt install -y razor #apt install -y amavisd-new dovecot-core dovecot-imapd dovecot-lmtpd dovecot-mysql dovecot-sieve haveged mailutils mariadb-server opendkim opendkim-tools p7zip postfix postfix-mysql postgrey spamassassin Create require vmail user and group #groupadd -g 5000 vmail #useradd -g vmail -u 5000 vmail -d /var/vmail Create mailbox directory #mkdir -p /var/vmail #chown -R…
Preparing for configuring secure mail server using Postfix, Dovecot, Spamassassin and OpenDKIM
My requirements Have registered domain and a web server is already hosted for the same. Need is to add a ‘mail’ subdomain associated with a different public IP and set up a mail server. Have access to DNS management and will be configuring mail server on a VM on my server (hosted in a datacenter)…
Configure Postfix – Relay only!
Did not want to use any SMTP plugin in the WordPress installation. Reading through the posts on the net to achieve mails being sent from WordPress the wp_mail() is used and it attempts to delivery the mail to port 25 of localhost. So decided to configure Postfix to accepts mails for delivery to be relayed…