Re: [gentoo-user] Postfix, LDAP, courier-imap, how do i get them to talk to each other?
Hi Jose, That was exactly what i was thinking too, but i solved it a bit differently now. I used maildrop for local mailbox delivery, and i finally got the beast running. Although it is still not working the way i wanted, it is working never the less. S pozdravom / Best regards jakub krajcovic On Sep 3, 2005, at 10:58 AM, Jose Gonzalez Gomez wrote: Sometime ago I had some installation with that software and a similar setup, although I don't remember the exact details. Anyway I seem to remember that the mail wasn't delivered to the home directory of every user, as it's a bit tricky to do so: the MTA should have write access to all the home directories. I'm currently using Cyrus IMAP and delivering mail through LMTP. Anyway, you may treat your users as virtual and store the mail anywhere else. Keep in mind that storing mail in the user's home directory is intended for systems where users access mail directly in their file system (as they used some time ago) instead of going through a POP3/IMAP server, as it's mainly done nowadays. Moreover, you're not giving your users shell access, so you don't have to worry for giving direct access to mail files (unless you're mounting those directories from anywhere else). HTH, Jose -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix, LDAP, courier-imap, how do i get them to talk to each other?
2005/9/2, Jakub Krajcovic [EMAIL PROTECTED]: Hello all, I am finishing the installation of a gentoo server, and $SUBJECT is the last thing that i need to do. The server's primary purpose is to server as a PDC for a windows domain. The user accounts (both posix and samba) are stored in ldap, as are the machine accounts (i followed the instructions on samba.idealx.org to set it up). The accounts in ldap are valid unix accounts (posix - like i mentioned earlier), the only thing is that they do not have a shell, (eg /bin/false) because the users only use samba, and do not connect to the server itself for shell access. Each user has a valid home directory (eg /home/group/user) and of course, a password. I configured postfix to relay mail, and now i need to configure it to receive mail, pass it to courier-imap (configure courier-imap), and make courier look for delivery info in the ldap database, and deliver the friggin email. I need the email stored in Maildir format, and preferably, i would want it to be stored in /home/group/user/.maildir (eg ~user/.maildir) Could someone please help me with this? I have followed this guide: http://gentoo-wiki.com/HOWTO_Postfix- LDAP_virtual_users_with_qmail_schema and did some configuration according to this, but i was not able to get it working, as this deals primarily with virtual users, but my users are real. I googled, checked the forums, but i found nothing that would solve my problem. Also, i am using qmailSchema for the users that i need to give email to. The fields that are defined for mail-enabled users are: mail: [EMAIL PROTECTED] accountStatus: active mailMessageStore: /home/group/user/.maildir (is this correct?) In case anyone would be willing to assist, but you would need the config files, please let me know, and i will post them on my server. thanks in advance to anyone willing to help S pozdravom / Best regards jakub krajcovic Sometime ago I had some installation with that software and a similar setup, although I don't remember the exact details. Anyway I seem to remember that the mail wasn't delivered to the home directory of every user, as it's a bit tricky to do so: the MTA should have write access to all the home directories. I'm currently using Cyrus IMAP and delivering mail through LMTP. Anyway, you may treat your users as virtual and store the mail anywhere else. Keep in mind that storing mail in the user's home directory is intended for systems where users access mail directly in their file system (as they used some time ago) instead of going through a POP3/IMAP server, as it's mainly done nowadays. Moreover, you're not giving your users shell access, so you don't have to worry for giving direct access to mail files (unless you're mounting those directories from anywhere else). HTH, Jose -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix, LDAP, courier-imap, how do i get them to talk to each other?
All the answers are here http://www.postfix.org/documentation.html Jose Gonzalez Gomez wrote: 2005/9/2, Jakub Krajcovic [EMAIL PROTECTED]: Hello all, I am finishing the installation of a gentoo server, and $SUBJECT is the last thing that i need to do. The server's primary purpose is to server as a PDC for a windows domain. The user accounts (both posix and samba) are stored in ldap, as are the machine accounts (i followed the instructions on samba.idealx.org to set it up). The accounts in ldap are valid unix accounts (posix - like i mentioned earlier), the only thing is that they do not have a shell, (eg /bin/false) because the users only use samba, and do not connect to the server itself for shell access. Each user has a valid home directory (eg /home/group/user) and of course, a password. I configured postfix to relay mail, and now i need to configure it to receive mail, pass it to courier-imap (configure courier-imap), and make courier look for delivery info in the ldap database, and deliver the friggin email. I need the email stored in Maildir format, and preferably, i would want it to be stored in /home/group/user/.maildir (eg ~user/.maildir) Could someone please help me with this? I have followed this guide: http://gentoo-wiki.com/HOWTO_Postfix- LDAP_virtual_users_with_qmail_schema and did some configuration according to this, but i was not able to get it working, as this deals primarily with virtual users, but my users are real. I googled, checked the forums, but i found nothing that would solve my problem. Also, i am using qmailSchema for the users that i need to give email to. The fields that are defined for mail-enabled users are: mail: [EMAIL PROTECTED] accountStatus: active mailMessageStore: /home/group/user/.maildir (is this correct?) In case anyone would be willing to assist, but you would need the config files, please let me know, and i will post them on my server. thanks in advance to anyone willing to help S pozdravom / Best regards jakub krajcovic Sometime ago I had some installation with that software and a similar setup, although I don't remember the exact details. Anyway I seem to remember that the mail wasn't delivered to the home directory of every user, as it's a bit tricky to do so: the MTA should have write access to all the home directories. I'm currently using Cyrus IMAP and delivering mail through LMTP. Anyway, you may treat your users as virtual and store the mail anywhere else. Keep in mind that storing mail in the user's home directory is intended for systems where users access mail directly in their file system (as they used some time ago) instead of going through a POP3/IMAP server, as it's mainly done nowadays. Moreover, you're not giving your users shell access, so you don't have to worry for giving direct access to mail files (unless you're mounting those directories from anywhere else). HTH, Jose -- gentoo-user@gentoo.org mailing list