Ok, I have been working (for quite a while) on an install guide for PostFix (with DoveCot, SquirrelMail, MailScanner, ClamAV) on CentOS-4.
A full install is part 1 (Postfix / Dovecot / Cyrus-Sasl), Part 3 (SquirrelMail) and Part 4 (MailScanner, Spam Assassin, ClamAV).
I am still working on Part 2 (Postfix / Cyrus-Imap / Cyrus-Sasl). It will go with Part 3 and Part 4 (same as above) to get a full install that includes Cyrus-Imapd instead of dovecot ... should be done with this one in the next couple days.
So to reiterate, Part 1,3,4 is a full postfix/dovecot install ... it is done and ready to go. Parts 2,3,4 is a full postfix/cyrus-imapd install ... this one is not quite done yet.
Part 1 is here: http://www.hughesjr.com/content/view/40/2/Site_News
Thanks Johnny Hughes
Hello,
I'd like to thank you very much for this guide (I followed it to install my own system two or three weeks back and am still fooling with it).
However there's a few pointers :)
a) PostFix can be run with only one instance in 'hold all' mode (found references to this on some mailscanner installation site by accident). although I haven't yet figured out how to do this without having to remove postfix-autostart from the /etc/init.d/MailScanner script (although that's trivial and makes the startup script very normal)
b) enabling smtps is useful
c) check_relay_domains is outdated (should be reject_unauth_destination)
and indeed more stuff could be placed in smtpd_recipient_restrictions
d) I've added a whitelist, spf log-only (I'm pretty much convinced spf is stupid, but loggin it is informative) and greylisting to mine, these could also probably be mentioned in the quide?
e) Some of the perl stuff which is needed (and thus taken from perl-CPAN) is also available on base/update/dag/dries in RPM form. These are obviously preferred, so it would be nice if as many as possible perl packets which will later be needed could be installed beforehand (still working on this part and minimizing packages take from perl-CPAN, is there an auto perl-CPAN to rpm tool?)
I'm sure there's more... Would more info on any of the above interest you (or for that matter anyone else)?
Cheers, MaZe.
Ok, I have been working (for quite a while) on an install guide for PostFix (with DoveCot, SquirrelMail, MailScanner, ClamAV) on CentOS-4.
A full install is part 1 (Postfix / Dovecot / Cyrus-Sasl), Part 3 (SquirrelMail) and Part 4 (MailScanner, Spam Assassin, ClamAV).
e) Some of the perl stuff which is needed (and thus taken from perl-CPAN) is also available on base/update/dag/dries in RPM form. These are obviously preferred, so it would be nice if as many as possible perl packets which will later be needed could be installed beforehand (still working on this part and minimizing packages take from perl-CPAN, is there an auto perl-CPAN to rpm tool?)
Yes. It is.
Progam is called "cpanflute2" and perl module is RPM-Specfile, I use version 1.17 and it builds perfectly on CentOS4.
Usage is simple:
cpanflute2 MODULE.tar.gz
creates perl-MODULE.src.rpm and the rest is obvious.
Progam is called "cpanflute2" and perl module is RPM-Specfile, I use version 1.17 and it builds perfectly on CentOS4.
cpanflute2 MODULE.tar.gz
thanks got it to work :) just trying to figure out how to get it to end up in vendor_perl and not site_perl, but that's probably not-important...
Anybody use the following? http://rpmpan.sourceforge.net
Cheers, MaZe.
On Mon, 2005-30-05 at 20:05 +0200, Maciej Żenczykowski wrote:
Anybody use the following? http://rpmpan.sourceforge.net
I have, but some RPMs haven't worked. I sometimes receive install errors, or the packages appear to install, but then fail to work. Other software doesn't always pick up the installed perl packages - no idea why. On the other hand, some RPMs have worked flawlessly.
Anyway, rpmpan is mostly good for what it provides. You just have to be careful: test thoroughly and decided before hand if you're going to trust the RPMs on a production server: not just for reliability, but in terms of security as well (head the site's warnings about the RPMs).
HTH,
Ranbir
Maciej Żenczykowski wrote:
Progam is called "cpanflute2" and perl module is RPM-Specfile, I use version 1.17 and it builds perfectly on CentOS4.
cpanflute2 MODULE.tar.gz
thanks got it to work :) just trying to figure out how to get it to end up in vendor_perl and not site_perl, but that's probably not-important...
Anybody use the following? http://rpmpan.sourceforge.net
Cheers, MaZe.
My prefered CPAN RPM tool is cpan2rpm
http://perl.arix.com/cpan2rpm/
-Mike
On Mon, 2005-05-30 at 11:42 +0200, Maciej Żenczykowski wrote:
Hello,
I'd like to thank you very much for this guide (I followed it to install my own system two or three weeks back and am still fooling with it).
However there's a few pointers :)
a) PostFix can be run with only one instance in 'hold all' mode (found references to this on some mailscanner installation site by accident). although I haven't yet figured out how to do this without having to remove postfix-autostart from the /etc/init.d/MailScanner script (although that's trivial and makes the startup script very normal)
The new guide for CentOS-4 uses that method ... which is much easier. Even with the postfix-autostart, it only starts one version of postfix (although it says incoming and outgoing).
I am changing the original CentOS-3 guide to do this too ... and working out a way to convert the old way to the new way :)
b) enabling smtps is useful
As is POP3s and IMAPs ... one of these days, after the basic cyrus-imapd guide is done, I need to do a guide on generating the required certificates and enabling smtps, pop3s, imaps.
c) check_relay_domains is outdated (should be reject_unauth_destination)
I am trying this right now, thanks. I'll update both the CentOS-3 and CentOS-4 guides to do it this way.
and indeed more stuff could be placed in smtpd_recipient_restrictions
I tend to use the least amount of things (while still controlling to not spam) ... but I could include a discussion on what is available. What other items do you (or others) find useful for smtpd_recipient_restrictions in postfix.
d) I've added a whitelist, spf log-only (I'm pretty much convinced spf is stupid, but loggin it is informative) and greylisting to mine, these could also probably be mentioned in the quide?
e) Some of the perl stuff which is needed (and thus taken from perl-CPAN) is also available on base/update/dag/dries in RPM form. These are obviously preferred, so it would be nice if as many as possible perl packets which will later be needed could be installed beforehand (still working on this part and minimizing packages take from perl-CPAN, is there an auto perl-CPAN to rpm tool?)
The thing that I currently use CPAN for is the latest clamavmodule ... (and it currently has 2 dependancies).
I am going to look at using cpanflute2 (thanks to Ivo Panacek for recommending it) to build those 3 perl modules.
I'm sure there's more... Would more info on any of the above interest you (or for that matter anyone else)?
Yes, I want the guides to be as good as they can be. Thank you very much.
I am seriously considering making an autobuilder for MailScanner (and also clamavmodule (and it's 2 dependant perl modules) and putting them in CentOS Plus for x86_64 and i386.
Johnny Hughes