[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Allow authenticated relay for Postfix

Posted on 2011-03-12
5
Medium Priority
?
864 Views
Last Modified: 2012-06-27
Hello all, I have a development machine that gets moved around a lot on different ISPs (Comcast/ATT/etc), all of which have issues with sending mail.  Though they often offer a relay option, ATT (the current provider) is more of an issue due to the From email addresses having to be verified.  I would like to stop dealing with all of this and use a mail server that is stationed at one location.

This server is in a collocation facility and currently just processes mail like any other mail server would for certain organizations.  I would like to use this mail server in place of the ISP relay options mentioned above, but obviously this type of relay is turned off in Postfix as it only sends on behalf of known entities.  I don't want to mess with the way the Postfix is currently running, that is fine, but I would like to add the functionality that, for authenticated users, the mail server will act as a relay server in the same way Comcast/ATT would act above.  I know how to setup my development server to use a relay, but I am not clear on how to setup the colo mail server to act as a relay option for the development server.

So I am looking for guidance on how to do this.  All of the stuff I'm finding online is about setting up Postfix to work with an outbound relay server already available, not setting up a Postfix server to act as a relay.  The colo mail server currently authenticates users that send/receive mail through PAM.  I believe TLS & SASL are options to use, I have used SASL in the past for Comcast.

Are there any resources/tutorials that do what I want, or maybe some quick suggested configuration changes that would help me get this up and running quickly?  I am not a Postfix expert by any means, so any help you can offer will be greatly appreciated.

My ideal setup would be able to set the relayhost in my development machine to be mail.server.com:587 (or some port, 25 is not an option), and then use SASL to define a username/password already in place on the mail.server.com through basic PAM authentication.  I then need the mail.server.com to listen and act as a relay on 587 (it currently does not, only port 25) and relay any email that is authenticated.  I know this probably very simple, Postfix is very flexible, but again, it's just not my area of expertise.  Thanks again, everyone.
0
Comment
Question by:dageyra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
paulqna earned 2000 total points
ID: 35133142
0
 
LVL 1

Author Comment

by:dageyra
ID: 35133221
I'm sorry, but I've already resolved this in the Gentoo forum that I posted to when there was no response here.  Thanks anyway.
0
 
LVL 1

Author Comment

by:dageyra
ID: 35133233
You know what, that link you gave me has a ton of great info in it, and although the Gentoo admins helped me through the problems, that information definitely would have helped tremendously.  I also feel it has other information that would help in the future, so points awarded anyway!
0
 
LVL 5

Expert Comment

by:paulqna
ID: 35133239
Ok no problem.

Please do not leave the question open.
0
 
LVL 5

Expert Comment

by:paulqna
ID: 35133246
Our messages crossed :-) Thanks!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Easy CSR creation in Exchange 2007,2010 and 2013
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question