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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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> |