Archive for the ‘mail’ Category

Add SPF record for your email relay server to avoid being counted as a spam

Step 1. Add SPF record to your DNS server Create TXT record type and add the following text without quotes “” @ TXT "v=spf1 a mx include:myrelay.com ~all" Step 2. Check if SPF record is added correctly username@laptop:/home/username# dig myhostname.com TXT   <<>> DiG 9.10.3-P4-Ubuntu <<>> myhostname.com TXT ;; global options: +cmd ;; Got answer: […]

Postfix localhost IP address only bind configuration

Open /etc/postfix/main.cf file: bash# vi /etc/postfix/main.cf Append / modify line as follows to bind to localhost (127.0.0.1) only: inet_interfaces = 127.0.0.1 Type the following to restart Postfix: bash# /etc/init.d/postfix restart

Configuring Exim4 on Ubuntu

Use the following utility: dpkg-reconfigure exim4-config