Greetings,
I have long read and followed this list. I have also spent a considerable time with our good friend Google.
I am a long time Sendmail user, about 15 yrs now. I have recently been looking into the newer services and the Postfix setup seems to be a very nice one. I am migrating a mail server from 3.x to 4.x and was intending on trying out Postfix on the 4.x server. I have found /alot/ of HowTo's covering various Postfix implementations. I have tried a few of these to various stages, some completely, some partially. I have not however found one that would take a CentOS 4.x system from Sendmail to Postfix completely. I can get Postfix to work. I can get MySQL to work with in some cases Cyrus and Courier for the IMAP services. I can get some Virtual Domain working but not completely. I can't however get it to actually work all together. I have a bit of ignorance with Cyrus/Courier IMAP as I have previously just had a simple Squirrelmail to Sendmail with stock IMAP services and all my users previously were real UNIX accounts, which I am trying to not require now.
Does anyone have a real HowTO that goes from a stock 4.x load to Postfix etc.? I have follow Hughes HOWTO but it also skips the Courier/Cyrus part. I have gotten it all working except it doesn't make any MailDirs so then Squirrelmail freaks with Invalid Mailbox errors. It's quite frustrating to me because most of the HowTO's skip steps, like getting users into the SQL (which I have figured out a few times). It would be nice to have a real HOWTO that does /all/ the steps from stock to this configuration.
If I have missed previously posted good HowTo's please point me to them and I apologize for the oversight. I have done many google/mailing list searches and they all seem to be 'almost' a how to.
Thanks for the Help.
Brent
On Fri, 2006-03-17 at 13:01 -0600, Brent DiNicola wrote:
Greetings,
I have long read and followed this list. I have also spent a considerable time with our good friend Google.
I am a long time Sendmail user, about 15 yrs now. I have recently been looking into the newer services and the Postfix setup seems to be a very nice one. I am migrating a mail server from 3.x to 4.x and was intending on trying out Postfix on the 4.x server. I have found /alot/ of HowTo's covering various Postfix implementations. I have tried a few of these to various stages, some completely, some partially. I have not however found one that would take a CentOS 4.x system from Sendmail to Postfix completely. I can get Postfix to work. I can get MySQL to work with in some cases Cyrus and Courier for the IMAP services. I can get some Virtual Domain working but not completely. I can't however get it to actually work all together. I have a bit of ignorance with Cyrus/Courier IMAP as I have previously just had a simple Squirrelmail to Sendmail with stock IMAP services and all my users previously were real UNIX accounts, which I am trying to not require now.
Does anyone have a real HowTO that goes from a stock 4.x load to Postfix etc.? I have follow Hughes HOWTO but it also skips the Courier/Cyrus part. I have gotten it all working except it doesn't make any MailDirs so then Squirrelmail freaks with Invalid Mailbox errors.
My How-to doesn't cover Courier because it has it's own special mailbox format and does not use normal Linux users. Dovecot does use normal Linux users and the standard maildir format.
It's quite frustrating to me because most of the HowTO's skip steps, like getting users into the SQL (which I have figured out a few times). It would be nice to have a real HOWTO that does /all/ the steps from stock to this configuration.
My solution specifically is not a mysql / courier solution. It is a Dovecot / IMAP / SquirrelMail w/o virtual domains.
If I have missed previously posted good HowTo's please point me to them and I apologize for the oversight. I have done many google/mailing list searches and they all seem to be 'almost' a how to.
On Fri, Mar 17, 2006 at 02:08:18PM -0600, Johnny Hughes enlightened us:
My How-to doesn't cover Courier because it has it's own special mailbox format and does not use normal Linux users. Dovecot does use normal Linux users and the standard maildir format.
I think you mean Cyrus. Courier can use regular linux users with authpam, authpasswd, or authshadow. It uses the Maildir++ format which extends the standard Maildir, but is completely interchangable. See http://www.inter7.com/courierimap/README.maildirquota.html
Matt
Matt Hyclak wrote:
On Fri, Mar 17, 2006 at 02:08:18PM -0600, Johnny Hughes enlightened us:
My How-to doesn't cover Courier because it has it's own special mailbox format and does not use normal Linux users. Dovecot does use normal Linux users and the standard maildir format.
I think you mean Cyrus. Courier can use regular linux users with authpam, authpasswd, or authshadow. It uses the Maildir++ format which extends the standard Maildir, but is completely interchangable. See http://www.inter7.com/courierimap/README.maildirquota.html
Matt
This was my confusion also, learning the Cyrus/Courier differences. Many of the How-To I found used Cyrus but I could also find many who said Cyrus was evil. In trying to see what it was doing right or wrong when trying to do the setup and I would say it was cryptic at best to me.
As a side, I meant no disrespect for what you left out of your How-To Johnny, I think I found a response as to why you did it in answer somewhere else and that seemed reasonable. I do suppose the only true way to make this work.. is to learn each piece and make it work for me instead of hoping for a step by step to get me going quicker. Sometimes it's just nice to be a bit lazy with the new things, it's quite a deal going from Sendmail to something else as it is :)
Thanks.
Brent
On Fri, 2006-03-17 at 14:38 -0600, Brent DiNicola wrote:
Matt Hyclak wrote:
On Fri, Mar 17, 2006 at 02:08:18PM -0600, Johnny Hughes enlightened us:
My How-to doesn't cover Courier because it has it's own special mailbox format and does not use normal Linux users. Dovecot does use normal Linux users and the standard maildir format.
I think you mean Cyrus. Courier can use regular linux users with authpam, authpasswd, or authshadow. It uses the Maildir++ format which extends the standard Maildir, but is completely interchangable. See http://www.inter7.com/courierimap/README.maildirquota.html
Matt
This was my confusion also, learning the Cyrus/Courier differences. Many of the How-To I found used Cyrus but I could also find many who said Cyrus was evil. In trying to see what it was doing right or wrong when trying to do the setup and I would say it was cryptic at best to me.
As a side, I meant no disrespect for what you left out of your How-To Johnny, I think I found a response as to why you did it in answer somewhere else and that seemed reasonable. I do suppose the only true way to make this work.. is to learn each piece and make it work for me instead of hoping for a step by step to get me going quicker. Sometimes it's just nice to be a bit lazy with the new things, it's quite a deal going from Sendmail to something else as it is :)
---- #1 - check out Wil Cooley's pages on Cyrus... http://nakedape.cc/info/Cyrus-IMAP-HOWTO/quickstart.html#id2900018
and I'm quite sure that he uses Postfix
#2 - Migration from Sendmail to Postfix is relatively easy...and I'm not sure where you are headed with this except that using Postfix with MySQL user db seems to me to be not an optimal solution but I believe that Johnny has such a version of Postfix (compiled with MySQL) - I think on centosplus.
#3 - if you want virtual users (i.e. users without shell accounts), the more logical thing is to use LDAP where Postfix, Cyrus, and all software basically just works with very little configuration changes and no dependence on custom builds.
My typical setup these days incorporates...
Postfix # MTA sqlgrey # greylisting for postfix MailScanner # wrapper for clamav & spamassassin clamav # anti-virus spamassassin # spam detection cyrus-imapd # imap/pop server Fedora Directory Server or openldap-server
MailScanner and Fedora Directory Server have to be downloaded from project sites as they aren't packaged by centos or compatible repositories.
sqlgrey I think comes from dag repository
the rest from centos repository
Yes cyrus-imapd does have it's own storage methodology but it has to be the most powerful of all the IMAP servers and so much of it's power can be automated.
Craig
On 18/03/06, Craig White craigwhite@azapple.com wrote:
On Fri, 2006-03-17 at 14:38 -0600, Brent DiNicola wrote:
Matt Hyclak wrote:
On Fri, Mar 17, 2006 at 02:08:18PM -0600, Johnny Hughes enlightened us:
My How-to doesn't cover Courier because it has it's own special mailbox format and does not use normal Linux users. Dovecot does use normal Linux users and the standard maildir format.
To OP: May be off track here but look at Kolab latest release from KDE. Nice package built upon rock solid components. -- Sudev Barar Learning Linux