User authentication isn't built into postfix by default, and will
never be if Mr. Venema has anything to say about it.

With that said, I recommend using SASL.  I've heard that PAM is good,
but it wasn't included on my Slackware install, and SASL seemed like
the path of least resistance.

Once I had SASL built and configured, getting it to work with postfix
was somewhat of a challenge (my first experience with postfix or
SASL).  IN main.cf:

smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
# required to support outlook
broken_sasl_auth_clients = yes

I wish I can remember where I found the HOWTO that clued me in.  Good luck.

Gary

P.S.  Postfix experts, feel free to point out anything stupid in my
configuration above.  I have a cron that sends me a digest of all
emails sent, and nothing unauthorized has gotten through yet (I hope),
but I am no expert.


On Tue, 07 Sep 2004 20:28:40 -0400, Glen Wagley <[EMAIL PROTECTED]> wrote:
> My brother-in-law has finally bugged me enough times about being able to send
> mail through my server that I broke down and tried to figure out how to allow
> authenticated users to send mail. Unfortunately, I can't seem to figure out what
> I need to change in my postfix configuration to allow any authenticated user. I
> see where I can specify mynetworks and mynetworks_style, but I'm not seeing
> something that I can set that allows authenticated users to send. Thanx for any
> and all postfix suggestions. I'd also like to know what some of you postfix
> users have done to lockdown your mail servers. I've made sure that relaying
> doesn't happen but what else is there to do?
> 
> --
> Glen Wagley <[EMAIL PROTECTED]>
> -----------------------------------------------------------------------
> "Simple things should be simple and complex things should be possible."
>   -Alan Kay
> -----------------------------------------------------------------------
> 
> ____________________
> BYU Unix Users Group
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to