Welcome, Guest
Please Login or Register.
Lost Password?
Re: qMail the JMS way (followup) (1 viewing)
Post Reply

TOPIC: Re: qMail the JMS way (followup)

#2201
DanielLlewellyn (User)
Posts: 16
graphgraph
qMail the JMS way 2006/06/25 14:29  
my preferred mail installation would be to use the qmail package patched with john simpson's combined patch, authenticating against vpopmail. This way of doing things encourages security by default, with the login command only allowed to be transmitted once the user is on a secure (SSL/TLS) connection.

See qmail.jms1.net for details on this patch and the JMS way of doing qmail virtualhosting.

Is there any way of safely migrating away from the configured postfix system on my CENTOS system to my own custom build of qmail the JMS way? I'm prepared to reconfigure my system from scratch if there's no easy way of doing the migration, as I haven't opened the server to the public yet (It's only handling a couple of personal sites and my personal email atm).

the other question, will virtualmin mind if I completely remove the postfix/dovecot rpms, or will it reinstall them on each subsequent upgrade?
  The administrator has disabled public write access.
#2208
ADobkin (User)
Posts: 183
graphgraph
Re: qMail the JMS way 2006/06/26 06:41  
According to the Virtualmin FAQ, Qmail and VPopMail are already supported:

http://www.virtualmin.com/faq/one-faq?faq_id=1511

I can't answer your question about migration from Postfix to Qmail, but I can answer your last question: You should be able to remove Postfix and Dovecot RPMs, since these are provided by your OS vendor, not Virtualmin. Virtualmin will not attempt to reinstall them unless you run the installation script again, which is not the recommended method of doing upgrades. Instead, you use your OS update tool, such as YUM in the case of CentOS, which will only update existing installed RPMs by default.

All this being said, I don't see how Qmail and VPopMail are any more secure than Postfix and Dovecot:

http://www.postfix.org/security.html
http://www.dovecot.org/security.html
  The administrator has disabled public write access.
#2212
DanielLlewellyn (User)
Posts: 16
graphgraph
Re: qMail the JMS way 2006/06/26 09:27  
the security links you posted, although very informative, do not explain "best practices" for the server owner, only the designers. John Simpson's patched qmail goes beyond basic security practices by completely preventing AUTH unless the client is on a secure (SSL/TLS) connection along with: spf checks, domainkeys, the validrcptto patch (which is great to prevent bounce spamming through your server), MX record checking (basic one I know, but it's in there), and (adding to the spf checks) blocking of SPF +all domains to prevent spammers regging a domain and adding a +all spf record to dns.
  The administrator has disabled public write access.
#2214
ADobkin (User)
Posts: 183
graphgraph
Re: qMail the JMS way 2006/06/26 09:45  
Thanks for the info. I could be wrong, but I believe that all of this can be done with Postfix and Dovecot as well. Without going into a lot of detail, most of the documents that explain how to do this are here:

http://www.postfix.org/docs.html

I'm not trying to change your mind on server preference, but I am still not convinced either that qmail is any more secure than Postfix and Dovecot. Proper configuration and management is the key in both cases.
  The administrator has disabled public write access.
#2216
DanielLlewellyn (User)
Posts: 16
graphgraph
Re: qMail the JMS way 2006/06/26 10:44  
I'll certainly look through those docs, again, thankyou for the link :-) . We are agreed that it is all down to how you configure the servers. I've more experience with qmail, so I'm more likely to be able to configure it in a secure fashion than I am with postfix - it's all down to what you know I guess. I'm sure there are many postfix gurus that wince at my mention of using qmail :-p , but I like it, it does what I want and how I want.
  The administrator has disabled public write access.
#2217
DanielLlewellyn (User)
Posts: 16
graphgraph
Re: qMail the JMS way 2006/06/26 10:45  
as another note, I've gone ahead and replaced postfix using the alternatives system that RHEL and Centos provide (so that I can easily go back) and things seem to be working quite well indeed
  The administrator has disabled public write access.
#2218
DanielLlewellyn (User)
Posts: 16
graphgraph
Re: qMail the JMS way (followup) 2006/06/26 11:46  
I just found this on the postfix docs

"smtpd_tls_auth_only (default: no)

When TLS encryption is optional in the Postfix SMTP server, do not announce or accept SASL authentication over unencrypted connections.

This feature is available in Postfix 2.2 and later."

unfortunately this is only available for 2.2 and above, so I need to update my version of postfix to have this support.. however centos does not currently supply a later build of postfix.
  The administrator has disabled public write access.
#2221
ADobkin (User)
Posts: 183
graphgraph
Re: qMail the JMS way (followup) 2006/06/26 17:02  
Interesting, I didn't realize that feature was so recent, but I'm glad you found out how to do it in case you do decide to run Postfix in the future. Personally, although I also believe in strong security, I am not ready to[Em>require all of my clients to use TLS, since it would block a lot of them out or make it difficult to reconfigure their clients. But I do think it's a worthy goal, and of course I use it myself.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.