Bluehost.com Web Hosting $6.95

Re: Postfix smtpd's saslauthd setting

This is a discussion on Re: Postfix smtpd's saslauthd setting within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Wed, Oct 06, 2004 at 09:27:55AM +0200, Patrick Ben Koetter wrote: > A good reason why it ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-06-2004
Victor Duchovni
 
Posts: n/a
Default Re: Postfix smtpd's saslauthd setting

On Wed, Oct 06, 2004 at 09:27:55AM +0200, Patrick Ben Koetter wrote:

> A good reason why it does not work with Postfix is Postfix running
> chrooted thus not finding smtpd.conf, which causes it to fall back to
> defaults that do not work (in this case).
>
> Does Postfix run chrooted?
>


The SASL inititialization takes place in pre-jail code. This is not
correct:

src/smtpd/smtpd.c:

static void pre_jail_init(char *unused_name, char **unused_argv)
{

...

if (var_smtpd_sasl_enable)
#ifdef USE_SASL_AUTH
smtpd_sasl_initialize();

if (*var_smtpd_sasl_exceptions_networks)
sasl_exceptions_networks =
namadr_list_init(MATCH_FLAG_NONE,
var_smtpd_sasl_exceptions_networks);
#else
msg_warn("%s is true, but SASL support is not compiled in",
VAR_SMTPD_SASL_ENABLE);
#endif
...
}

src/smtpd/smtpd_sasl_glue.c:

void smtpd_sasl_initialize(void)
{

/*
* Initialize the library: load SASL plug-in routines, etc.
*/
if (msg_verbose)
msg_info("smtpd_sasl_initialize: SASL config file is %s.conf",
var_smtpd_sasl_appname);
if (sasl_server_init(callbacks, var_smtpd_sasl_appname) != SASL_OK)
msg_fatal("SASL per-process initialization failed");

}

--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo@postfix.org?body=unsubscribe%20p ostfix-users>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0