Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 18:35:08 -0500
From:      Delanet Administration <admin@delanet.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "qmail@list.cr.yp.to" <qmail@list.cr.yp.to>, "vchkpw@inter7.com" <vchkpw@inter7.com>
Subject:   FreeBSD, Qmail, and NFS
Message-ID:  <3A3564AC.CE7283BF@delanet.com>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms9D1977CF8358AF37403CD1AE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have a project I am about to undertake and would like some opinions
before I begin.

We currently have a single server running Qmail on FreeBSD 3.2, with
customer Maildirs on a NFS attached external raid connected from another
server. This for the most part works fine. We occasionally have problems
where the mail server is unable to read the contents of user directories
(the NFS server can see them fine). At these times the only fix has been
to move the contents of the directory into a temporary location and
delete the directory, add it back and move the files back. This happens
once every 2 or 3 months.

We are now planning to expand our mail system. We would like to keep
Qmail and FreeBSD both. We were wishing to have 3 or 4 load balanced
front end servers to split the load of the mail servers, with a common
fibre channel raid back end.

This brings up some obvious issues. First, we wanted to have all 4 hosts
processing and able to access the raid simultaneously with ability for
live failover and the ability to remove/upgrade individual parts of the
cluster at any time. NFS under FreeBSD (as of the posts I saw from Nov
2000) has no support for per client file locking. GFS was my other
choice, however Sistina Software said there will not be a copy ported to
FreeBSD until Q2/Q3 2001. I do not know of any other file systems that
are capable of per client file locking for FreeBSD that will offer
reliability and the performance we wish it achieve (If anyone else does,
I'd really like to know).

This leads to the next question, is file locking necessary under Qmail
when using the Maildir style directory structure for the mail store?
SMTP will never be accessing any files after it writes them to the
Maildir. Pop3 should not interfere either. Perhaps if a user tries to
access via pop3 multiple times simultaneously, but otherwise I see no
reason for file locking in this environment. If this is the case, what
do people think of this cluster configuration with a fibre channel back
end raid? Or should we use NFS instead? And if we do use NFS, has the
problem we experienced (noted above) been resolved in the more recent
releases of FreeBSD or is this a configuration issue on our end?

Also, If anyone else has clustered FreeBSD with Qmail already, we would
like also to know how you achieved it and any tips you may have as to
configuration of such a setup.

Any thoughts or suggestions would be appreciated.

--
------------------------------------------------------------
Stephen Comoletti - Network Engineer / Systems Administrator
Delanet Inc. http://www.delanet.com
Frontline Communications Corp. http://www.fcc.net
phone: (302) 326-5800 fax: (302) 326-5802 x312
262 Quigley Blvd, New Castle, DE 19720, USA
------------------------------------------------------------



--------------ms9D1977CF8358AF37403CD1AE
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIHvwYJKoZIhvcNAQcCoIIHsDCCB6wCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BbswggKfMIICCKADAgECAgMCvv4wDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw
EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU
aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h
bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDYxNDE2NDU1NVoXDTAxMDYxNDE2NDU1
NVowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJARYR
YWRtaW5AZGVsYW5ldC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN9rJJ0yQZDF
hNpzi1vRac6cDHe2oGUX/+mc94Rzzn7auri9ce6UIqFmXuyodGBBpCotAwFqU2fS/5SY3AT4
JFiXsFNvPVSOzCZYRal4GmqAod1nbUXdRQv8XbhaIg4ZrccLwUN0KaYLhweH135McznVSGvV
q7kpgdEXkAvlpPGjAgMBAAGjTzBNMBwGA1UdEQQVMBOBEWFkbWluQGRlbGFuZXQ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AGjNzA1MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYDVR0j
BBgwFoAUcknCczTGVfQLdnKBfnf0h+fGsg4wDQYJKoZIhvcNAQEEBQADgYEAa8ZZ6TH66bbs
sQPY33Jy/pFgSOrGVd178GeOxmFw523CpTfYnbcXKFYFi91cdW/GkZDGbGZxE9AQfGuRb4bg
ITYtwdfqsgmtzy1txoNSm/u7/pyHnfy36XSS5FyXrvx+rMoNb3J6Zyxrc/WG+Z31AG70HQfO
nZ6CYynvkwl+Vd4xggHMMIIByAIBATCBnDCBlDELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsG
A1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWls
IFJTQSAxOTk5LjkuMTYCAwK+/jAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJAzELBgkqhkiG
9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAwMTIxMTIzMzUwOFowIwYJKoZIhvcNAQkEMRYEFKy+
oGqZVOFjCIfqdxgkT6inFOaYMCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcwDQYIKoZIhvcN
AwICASgwDQYJKoZIhvcNAQEBBQAEgYBGibJsFSJzm92eyBrO1eNXJszHmCGvBHJVuAFAI/8u
Y0gpFLZk4bEqce+5LTBOOdVluEQHJ+rwpRzwy0f1D4vQGTmjRjRzoiqdIIidS9tmM9WX9tO5
BXb+jtOHGrtEas+H3iXWv3U+A/5ZvVcDljgAZftiyndmHW03JiqqIYrmUQ==
--------------ms9D1977CF8358AF37403CD1AE--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3564AC.CE7283BF>