Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm wanting to consolidate 2 servers, a Samba server and an e-mail server running on the "other" OS. The Samba server has about 50 users with "nologin" as their shell and no home directory. Would I need to change anything with these user accounts to be able to move the e-mail server to Postfix on the same server?
Well the no home directory sure does throw a curve into the situation. You could use virtual users for the mailboxes and authenticate them against /etc/passwd (provided that the smbpasswd/unix passwd is synch'd) or you could create the new virtual mail accounts that require separate passwords and build a new auth scheme (PAM/LDAP/bdb/SQL).
My limited understanding of the vmailmgr is that the virtual uses live under the home folder of the virtual domain created for them. Matbe have a look at qmail.org and see what your options are. There's a few guides on using qmail/courier/vmailmgr and I'd suggest you dig through before ou commit to one or the other. One note - courier IMAP does not play nice with PHP; if you use any of the IMAP functionality of PHP then you'll need to do some funky trick with the UW-IMAP source and rebuild the PHP from source.
Just to see if I understand, you are saying that Postfix does require a home directory? There are only 50 or so users using this server, so adding home directories via a short script wouldn't be a problem if needed.
Is access to a shell account required?
Unlike Postfix, qmail does not require a home directory?
Oh... I thought you didn't want a home directory...
Postfix puts the mail in /var/spool/mail and IMAP users would file the mail (as well as 'sent' and 'trash') in a home directory. qmail skips the /var/spool thing and places iincoming mail into a home dir. I do believe that both postfix and qmail support virtual users.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.