postfix smtp Must issue a STARTTLS command first

postfix mail server

When sending an email to a server, mail bounced with the following error message. Action: failed Status: 5.7.0 Remote-MTA: dns; mail01.riedelbau.de Diagnostic-Code: smtp; 530 5.7.0 Must issue a STARTTLS command first To fix the error, first enabled debug in postfix for the Remote-MTA, for this, edit file vi /etc/postfix/main.cf Add the following lines. You need … Read more

How to stop SPAM with Postfix RBL

To stop spam using RBL in postfix, edit main.cf vi /etc/postfix/main.cf Add smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl.spamhaus.org, reject_rbl_client zen.spamhaus.org, permit Restart postfix systemctl restart postfix See postfix

install postfix from source code

Requirements yum -y install db4 db4-devel Create user groupadd postfix -g 1000 useradd postfix -u 1000 -g 1000 groupadd postdrop Download and Install Go to http://www.postfix.org/download.html and download latest version of postfix. cd /usr/local/src wget http://mirrors.rootservices.net/postfix/official/postfix-2.6.2.tar.gz tar -zxvf postfix-2.6.2.tar.gz cd postfix-2.6.2 COMPILING make tidy make -f Makefile.init makefiles make make install COMPILING WITH MYSQL SUPPORT … Read more