> None of the Courier PAM-enabled services appear to support the PAM session > components, and therefore cannot load pam_mkhomedir.so > > I couldn't find a way around it. In the end I resorted to cronjobbing a > Windows user-dump each night and create their home dirs from that. Then all > the rest of the Winbindd stuff works.
Sam just pointed out to me that (unfortunately I forgot to send my response to the list, so he re-responded to me personally) that he's quite sure authenticated ESMTP does invoke the session service. He also pointed out that mail-delivery does not. Although this is obvious (where should the password come from, anyway), it never occurred to me. My current work-around is to put pam_mkhomedir in /etc/pam.d/courier and force every user to NET USE a Samba share on the mail server (using a logon script). As soon as the user logs on at a workstation, his/her home will be created and with it the Maildir. That still doesn't solve the mail delivery problem, though. What if mail arrives for a user before he/she logs on initially? This is where your solution is preferred. Maybe I'am going to combine both approaches. That should work pretty well, as long as the period of the cron job is shorter than the time during which Courier does delivery attempts - if there is such a thing, maybe it gives up after the first attempt. -- Hannes ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
