- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHello,
I am trying to configure up a Postfix server in what I believe is a special way.
I've rerouted the DNS of the smtp.example1.com to my own internal SMTP server.
This is because I have 2 connections and when I am on example1, it will not allow sending mail to example2. When I am on connection 2, it will not allow sending mail to example1.
I have an idea on how I can do this; I am 90% of the time on the connection to example1, so that is the primary relay host for my internal Postfix server. I have set up a fallback relay host, which is example2 for when my connection is on example2.
What I am unable todo properly is actually accepting the email from the mail clients trying to send it to example1 / example2 and relaying them for the clients. I know the clients are talking to my internal server, but it will not accept their connections, even tho I've allowed always from same subnet.
I also need it to accept whatever the client sends as authentification, because some clients are set to authentificate with their SMTP outgoing connection and others dont.
Any suggestions on how I might accomplish this?
Btw, my system is CentOS 5.3, freshly installed with Virtualmin for managing my own domains(in addition to relaying the mail from example1 and example2 which are not my domains)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: bevhostPosted on 2009-07-27 at 18:51:57ID: 24957365
if you use pam for you smtpauth, then you can permit any auth by changing from using system-auth or whatever you use to telling pam to just permit all.. eg:
[root@example /etc/pam.d]# cat smtp.authany
#%PAM-1.0
auth required pam_permit.so
account sufficient pam_permit.so
[root@example /etc/pam.d]# cat smtp.postfix
#%PAM-1.0
auth include system-auth
account include system-auth