Re: Postfix With SASL Authentication?

2003-07-08 Thread Sunil Sunder Raj
Hi,
Create a user using saslpasswd2
Restart the sasl and postfix daemons.
Regards
SSR


From: Drew Tomlinson [EMAIL PROTECTED]
To: Sunil Sunder Raj [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Postfix With SASL Authentication?
Date: Mon, 7 Jul 2003 10:53:45 -0700
- Original Message -
From: Sunil Sunder Raj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 11:10 PM
Subject: Re: Postfix With SASL Authentication?
 1) Install postfix+sasl
 2) edit /usr/local/lib/sasl2/Sendmail.conf
 pwcheck_method: auxprop
 3) edit /usr/local/lib/sasl2/smtpd.conf
 pwcheck_method: auxprop
 4) edit /usr/local/etc/postfix/main.cf
   smtpd_sasl_auth_enable = yes
   smtpd_sasl_security_options = noanonymous
   smtpd_sasl_local_domain = $myhostname
   broken_sasl_auth_clients = yes
   myhostname = Your hostname comes here
   mydomain = Your hostname comes here
   smtpd_recipient_restrictions =check_sender_access

hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_myn
etworks,check_relay_domains

 5) restart postfix and saslauthd
Thank you so much for your response.  I've tried your directions above
but am still having trouble.  This is from my mail log:
Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: warning: SASL
authentication failure: no user in db
And this is from my console:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: OTP unavailable because
can't read/write key database /etc/opiekeys: Permission denied
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Do you have any other suggestions?

Thanks,

Drew



_
Watch Hallmark. Enjoy cool movies. 
http://server1.msn.co.in/sp03/hallmark/index.asp Win hot prizes!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix With SASL Authentication?

2003-07-07 Thread Sunil Sunder Raj
1) Install postfix+sasl
2) edit /usr/local/lib/sasl2/Sendmail.conf
   pwcheck_method: auxprop
3) edit /usr/local/lib/sasl2/smtpd.conf
   pwcheck_method: auxprop
4) edit /usr/local/etc/postfix/main.cf
 smtpd_sasl_auth_enable = yes
 smtpd_sasl_security_options = noanonymous
 smtpd_sasl_local_domain = $myhostname
 broken_sasl_auth_clients = yes
 myhostname = Your hostname comes here
 mydomain = Your hostname comes here
 smtpd_recipient_restrictions =check_sender_access 
hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_mynetworks,check_relay_domains

5) restart postfix and saslauthd

Regards
SSR

From: Drew Tomlinson [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Subject: Postfix With SASL Authentication?
Date: Sat, 5 Jul 2003 18:58:53 -0700
Can anyone point me to a HOW-TO to enable Postfix to relay for clients
that provide a valid login?  In other words, if I tell my IMAP client
that my outgoing SMTP server requires authentication and provide an
existing username/password combination that exists in /etc/passwd, I
want Postfix to relay the message even if the client isn't defined in
the mynetworks list.
I've searched Google and found that SASL should be able to do this so
I've installed it via the port.  I've also installed the saslauthd port
and recompiled Postfix with SASL support.  Now I think I want to
configure SASL to use PAM?  Anyway, I've found various tidbits on Google
and it seems that lots of people have problems with this.  Is there any
doc that helps one configure this on FBSD?
Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Dress up your desktop! Get the best wallpapers. 
http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just 
click here!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix With SASL Authentication?

2003-07-07 Thread Drew Tomlinson
- Original Message - 
From: Sunil Sunder Raj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 11:10 PM
Subject: Re: Postfix With SASL Authentication?


 1) Install postfix+sasl
 2) edit /usr/local/lib/sasl2/Sendmail.conf
 pwcheck_method: auxprop
 3) edit /usr/local/lib/sasl2/smtpd.conf
 pwcheck_method: auxprop
 4) edit /usr/local/etc/postfix/main.cf
   smtpd_sasl_auth_enable = yes
   smtpd_sasl_security_options = noanonymous
   smtpd_sasl_local_domain = $myhostname
   broken_sasl_auth_clients = yes
   myhostname = Your hostname comes here
   mydomain = Your hostname comes here
   smtpd_recipient_restrictions =check_sender_access

hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_myn
etworks,check_relay_domains

 5) restart postfix and saslauthd

Thank you so much for your response.  I've tried your directions above
but am still having trouble.  This is from my mail log:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: warning: SASL
authentication failure: no user in db

And this is from my console:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: OTP unavailable because
can't read/write key database /etc/opiekeys: Permission denied
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session

Do you have any other suggestions?

Thanks,

Drew



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix With SASL Authentication?

2003-07-06 Thread Mauro Boschi (BSD)
Try with this link:

http://www.freebsdforums.org/forums/attachment.php?s=postid=57146

Drew Tomlinson wrote:
Can anyone point me to a HOW-TO to enable Postfix to relay for clients
that provide a valid login?  In other words, if I tell my IMAP client
that my outgoing SMTP server requires authentication and provide an
existing username/password combination that exists in /etc/passwd, I
want Postfix to relay the message even if the client isn't defined in
the mynetworks list.
I've searched Google and found that SASL should be able to do this so
I've installed it via the port.  I've also installed the saslauthd port
and recompiled Postfix with SASL support.  Now I think I want to
configure SASL to use PAM?  Anyway, I've found various tidbits on Google
and it seems that lots of people have problems with this.  Is there any
doc that helps one configure this on FBSD?
Thanks,
Drew
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix With SASL Authentication?

2003-07-05 Thread Drew Tomlinson
Can anyone point me to a HOW-TO to enable Postfix to relay for clients
that provide a valid login?  In other words, if I tell my IMAP client
that my outgoing SMTP server requires authentication and provide an
existing username/password combination that exists in /etc/passwd, I
want Postfix to relay the message even if the client isn't defined in
the mynetworks list.

I've searched Google and found that SASL should be able to do this so
I've installed it via the port.  I've also installed the saslauthd port
and recompiled Postfix with SASL support.  Now I think I want to
configure SASL to use PAM?  Anyway, I've found various tidbits on Google
and it seems that lots of people have problems with this.  Is there any
doc that helps one configure this on FBSD?

Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]