Re: How to setup mail relay in linux using postfix (11926 Views)
Occasional Advisor
Posts: 16
Registered: ‎10-03-2013
Message 1 of 2 (11,939 Views)

How to setup mail relay in linux using postfix

Hi All,


Can someone guide me to setup mail relay using postfix in RedHat Linux 6.4.



Honored Contributor
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 2 (11,926 Views)

Re: How to setup mail relay in linux using postfix

Some more information is needed.


Do you want to:

A) make your RHEL 6.4 system relay mail to some other central mail server? (e.g. your company's main mail server, or your ISP's mail server)


B) make your RHEL 6.4 system to be a central mail server that accepts relayed mail from other hosts?



A) is fairly easy, but you'll need some more details:

  • Does the central mail server require the use of SSL/TLS and/or authentication?
  • Should you use the traditional SMTP port (25) or the newer mail submission port (587)?
  • If authentication is required, are you required to use a particular authentication type? (i.e. is plaintext authentication required/acceptable/forbidden?) Do you have the necessary username/password for the central mail server?


B) is more complex, since you'll want to make sure only legitimate users can use your mail server to send outgoing mail, or else your system *will* sooner or later be abused to send lots and lots of junk mail to random email addresses all over the world. That would get your mail server blacklisted, which is not a good thing.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.