Configure Postfix to use Amazon SES

Install postfix with

Update postfix config with

Edit

Add to end of the file

In the above, replace SMTP_SERVER_NAME with your Amazon SES mail server, for example “email-smtp.us-east-1.amazonaws.com”, you can see it in your Amazon SES console. Run

Replace SMTP_SERVER_NAME, SMTP_USERNAME and SMTP_PASSWORD with your actual credentials. Now run

[…]

Read More…

Configure ElasticEmail with Postfix

To configure ElasticEmail with postfix, first install sasl support On Debian/Ubuntu

On RHEL/CentOS

Edit postfix config

On Ubuntu/Debian, you need to comment the line starting with “relayhost”. Add following

Now create file

Add following content

You can find your SMTP user name and password from https://elasticemail.com/account/#/settings/apiconfiguration Now run

[…]

Read More…

Configure Postfix to sent emails using MailGun

First install requirements

Run

Edit /etc/postfix/main.cf

Add

Create file /etc/postfix/sasl_passwd

Replace SMTP_LOGIN and SMTP_PASSWORD with your user and password you get from mailgun. Run

Restart postfix

You can test email with

[…]

Read More…

SASL authentication no mechanism available

When sending email from postfix mail sever that use mailgun for relaying mails, i get error Jan 4 03:16:06 serverok-vm postfix/qmgr[22652]: 795731A8D: from=, size=820, nrcpt=1 (queue active) Jan 4 03:16:06 serverok-vm postfix/smtp[24050]: warning: SASL authentication failure: No worthy mechs found Jan 4 03:16:06 serverok-vm postfix/smtp[24050]: 795731A8D: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[34.237.7.101]: no […]

Read More…

postfix

postfix no local interface found SASL authentication no mechanism available Postfix Delete Mails from a user install postfix from source code Postfix Mail Server Postfix email forward Setting up Mail Forwarding in Postfix Postfix Configuration postconf Postfix disable IPv6 Postfix enable Maildir Stop SPAM with Postfix RBL Postfix relay Configure postfix to relay mails using […]

Read More…

postfix no local interface found

When starting postfix it failed with following error

To fix, edit /etc/postfix/main.cf Find

Replace with

See postfix […]

Read More…

install postfix from source code

Requirements

Create user

Download and Install Go to http://www.postfix.org/download.html and download latest version of postfix.

COMPILING

COMPILING WITH MYSQL SUPPORT

Now it ask many questions, just enter for every questions. See [[postfix make install questions]]

PRESS ENTER FOR ALL error while loading shared libraries: libmysqlclient.so.16

Show mails […]

Read More…