Solved

postfix allowed senders

Posted on 2009-07-15
2
737 Views
Last Modified: 2013-12-18
We have a mail gateway running postfix and MailScanner for our inbound mail, it forwards on to exchange.

All SMTP traffic comes in here.

It allows relaying for any domains that it is supposed to, and only relays those to our exchange sever.

I have roadwarriors that are using imap/pop for inbound, and that's pointed directly to exchange.  But I want their outbound email to point to the postfix box, and authenticate them with a password.

I've created a user account for them (actually, a common account, it's only a handfull of people) but I need to know how to tell postfix to allow valid users to send.

Thanks!
0
Comment
Question by:bennybutler
[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
2 Comments
 
LVL 23

Expert Comment

by:Maciej S
ID: 24943514
You need saslauthd and permit_sasl_authenticated rule in smtpd_recipient_restrictions (or in some other smtpd_*_restrictions - depending on your configuration) in main.cf.
http://www.postfix.org/SASL_README.html
http://www.postfix.org/docs.html (TLS and SASL parts).
0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 125 total points
ID: 25097412
Hi,

You need to setup SASL. After you've setup SASL you need to add these lines to main.cf:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_local_domain =
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes

The last line is to allow Outlook etc :)..

You'll also like this link :

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/

Cheers,
K.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Fine Tune your automatic Updates for Ubuntu / Debian
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

733 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