Skip to content

Instantly share code, notes, and snippets.

View abusalam's full-sized avatar

Abu Salam Parvez Alam abusalam

  • National Informatics Centre
  • Malda, West Bengal, India
View GitHub Profile

Postfix is a Mail Transfer Agent (MTA) that can act as an SMTP server or client to send or receive email. There are many reasons why you would want to configure Postfix to send email using Google Apps and Gmail. One reason is to avoid getting your mail flagged as spam if your current server's IP has been added to a blacklist.

In this guide, you will learn how to install and configure a Postfix server on Debian or Ubuntu to send email through Gmail and Google Apps. For information on configuring Postfix with other external SMTP servers, see our Configure Postfix to Send Mail Using an External SMTP Server guide.

Before You Begin

  1. Complete our Getting Started and Securing Your Server guides and ensure that the Linode's hostname is set.

  2. Update your system:

.syntax unified
.cpu cortex-m4
.fpu softvfp
.thumb
.section .data
.balign
array: .word 50,40,30,20,10,-1
min: .word 101
max: .word 0
average: .word 0