18 May 2012 
Support Center » Knowledgebase » How to setup a Mail Relay in Postfix
 How to setup a Mail Relay in Postfix
Article

Problem:

How to setup a Mail Relay in Postfix?
How to setup a SMTP Mail Relay in Postfix?

Solution:

Follow the guide below to configure Postfix to use outMail as a Internet Mail Relay.

This article already assumes your Postfix system is able to send emails externally and that you are already have a terminal connection to your server with the necessary access rights to manage and administor postfix.

First you need to create a password file for postfix to use. create a file called /etc/postfix/relay_passwd and add the following lines to that file

outmail.profilter.co.uk outMail-username password 

To enable postfix to use the outMail service at the prompt type the following

postconf -e relayhost=outmail.profilter.co.uk
postconf -e smtp_sasl_auth_enable=yes
postconf -e smtp_sasl_password_maps=hash:/etc/postfix/relay_passwd 
postconf -e smtp_sasl_security_options=noanonymous
postconf -e smtp_sasl_mechanism_filter=plain,login
postmap /etc/postfix/relay_passwd 

For the above changes to take effect the postfix service will need restarting (service postix restart)

Summary of server details

Outgoing server

outmail.profilter.co.uk

Outgoing server protocol

SMTP

Outgoing server port

25 or 587

Authentication Type

Basic Authentication

Username

As provided

Password

As provided

 



Article Details
Article ID: 120
Created On: 25 May 2010 06:07 PM

 This answer was helpful  This answer was not helpful

Disclaimer
The Origin of this information may be internal or external to Prolateral Consulting Ltd. Prolateral makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Prolateral makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.


 Back
 Login  
Username:
Password:
Remember Me:
 
 Search
 Article Options
Home | Submit a Ticket | Knowledgebase | News
Language:

Help Desk Software Help Desk Software By Kayako SupportSuite v3.60.04