Re: Sugesstions building a rather big mail system.

2003-10-08 Thread Fredrik
Thanks for your input both on list and private. Now I have a lot of serious
engeneering to do. I will post a update as the project moves forward.

-- 
 .''`. Fredrik, [EMAIL PROTECTED]
: :' : 2CD6 C838 BE77 795F 5EF1  3E5B DA91 EE7B A58E 164
`. `'  
  `-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Postfix+amavis+spamassassin mail header problem.

2003-10-08 Thread Darik Horn
> As you can see, a '>' is added to the From header. Though later in the
> mail, the 'real' From: header is correct. I have no idea what could be
> causing this. Maybe someone has an idea where to look?
The amavis-ng package had a very similar problem that was fixed.  See 
the patch that was submitted with bug #206480.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206480

HTH.

R.M. Evers wrote:

Hi,

I've got a mailserver running with the following setup:

Debian/stable
Postfix/stable
Spamassassin/unstable
Amavisd-new+clamav-daemon/unstable
Procmail/stable
Somehow, the first From header of all the mails gets messed up. An
example:
From [EMAIL PROTECTED] Tue Oct 7 11:
48:46 2003
Return-Path:  <[EMAIL PROTECTED]>
As you can see, a '>' is added to the From header. Though later in the
mail, the 'real' From: header is correct. I have no idea what could be
causing this. Maybe someone has an idea where to look?
Why is this first From header added in the first place? One would be
enough..
Regards,



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Sugesstions building a rather big mail system.

2003-10-08 Thread Adrian Minta
Backups are not so usefully for an email systems because of heavy traffic
IMHO. The best backup solution is to use an RAID1 array for storing the mails
and system files. 
Another good procedure (IMHO) is to use proxy's for SMTP and POP3 and store
the emails on different machines. Example: accounts from A-G on machine 1,H-L
on machine 2 etc ... If you want to have central storage for email you could
use a central SAN solution. Those have redundant disk arrays but are much
expensive.

---
Best regards,
Minta Adrian  
mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Best way to setup a cheap web cluster?

2003-10-08 Thread Nathan Ollerenshaw
Maybe this is what you want?

never tried it:

http://www.linuxvirtualserver.org/

On Oct 8, 2003, at 10:43 PM, Ryan Nowakowski wrote:

Hey folks,

I'm trying to setup a cheap debian web cluster using tools from the
linux-ha project.  We're using heartbeat and mon to monitor services
and do the failover.  We'd like to setup shared disk space without
buying any new hardware.  We have three cheap servers in the cluster.
We're thinking about using drbd for the shared disk space.
How have others setup web clusters using debian?  We're not adverse to
backporting packages or using outside apt sources if necessary.
Thanks in advance for your input,

Ryan

--
Nathan Ollerenshaw - Unix Systems Engineer
ValueCommerce - http://www.valuecommerce.ne.jp/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Sugesstions building a rather big mail system.

2003-10-08 Thread Donovan Baarda
On Wed, 2003-10-08 at 18:07, Markus Oswald wrote:
> Am Die, 2003-10-07 um 22.34 schrieb Rich Puhek:
> 
> > Would LVM snapshots work well enough to do the trick? I haven't played 
> > with LVM, so I don't know how long it takes to perform a snapshot...
> 
> Can LVM do incremental snapshots? You don't want to backup 1TB (for
> example) of data when only 100GB have changed since the last backup.

LVM snapshots (or any other sort of "snapshot" storage functionality)
are not really backups, so the concept of incremental doesn't really
apply.

A "snapshot" gives you a image of the filesystem or partition at an
instant. Modifications after that instant are applied as normal, but not
visible in the snapshot. This works by writing changes to new blocks,
and having the snapshot keep a record of the block usage at the time of
the snapshot. This means snapshots have a storage overhead, as they need
additional space to keep the old block images, and the longer you leave
a snapshot the bigger the overhead gets.

This kind of functionality can be implemented at the filesystem level.
Journaling filesystems in particular have many mechanisms already in
place to support this kind of thing. However, LVM does it at the block
device level, which means you can use it to snapshot any filesystem.

Snapshots mean you can back up a filesystem image as it was at a
particular instant. You don't have to worry about changes that happen on
a live system between starting the backup, and finally finishing it.

Using snapshots to do an incremental backup would be no different to
doing any other type of backup using snapshots. It's the same as a
normal incremental backup, just with the added guarantee that the
filesystem is not changing underneath you as you do it. Note that this
guarantee is probably more important for incremental backups, as there
might be an increased delay between determining what files to include in
the backup, and actually doing it. You are more likely to experience
problems with files changing/disappearing after deciding that it
does/doesn't need be backed up, and actually backing it up.

-- 
Donovan Baarda <[EMAIL PROTECTED]>
http://minkirri.apana.org.au/~abo/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Best way to setup a cheap web cluster?

2003-10-08 Thread Markus Oswald
Am Mit, 2003-10-08 um 18.40 schrieb Ryan Nowakowski:

> Will drbd work using debian woody without any backports or additional
> packages?  I've heard otherwise.

It's been a while since the last time I installed DRBD on a "pure" Woody
but after patching the kernel it should work just fine. It's "just" a
kernel module after all. You may need to use a vanilla kernel instead of
the Debian kernel (maybe some patches conflict but I doubt it) though.

best regards,
  Markus
-- 
Markus Oswald <[EMAIL PROTECTED]>  \ Unix and Network Administration
Graz, AUSTRIA \ High Availability / Cluster
Mobile: +43 676 6485415\ System Consulting
Fax:+43 316 428896  \ Web Development


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



two nic same serever

2003-10-08 Thread Leonardo Boselli
I have a server that has two network addresses.
According the network of origin of the call could be accessible one or 
the other or both the address.
How should i arrange in the DNS the two addresses so a client if does 
not found the first one, would try on the second ? (i do not need load 
balancing but just increase availability, 2nd channel is very slow ...)
--
Leonardo Boselli
Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile
Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze
tel +39 0554796431 cell +39 3488605348 fax +39 055495333
http://www.dicea.unifi.it/~leo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: multi-terabyte disks

2003-10-08 Thread Noah L. Meyerhans
On Wed, Oct 08, 2003 at 02:09:11PM -0400, Peter Billson wrote:
>   You could, of course, partition your 10Tb array into 5 logical drives
> to solve the problem with the 2.4.x kernel.

Yeah, that's what I've resigned myself to doing.  It'll work fine,
really.  I was just surprised that the limitation is still present.

noah



pgp0.pgp
Description: PGP signature


Re: multi-terabyte disks

2003-10-08 Thread Peter Billson
Noah,
  The 2.4.x kernels do have a 2Tb limit but that is "fixed" in => 2.5.40
/ 2.6 kernels.

  You could, of course, partition your 10Tb array into 5 logical drives
to solve the problem with the 2.4.x kernel.

Pete
-- 
http://www.elbnet.com
ELB Internet Service, Inc.
Web Design, Computer Consulting, Internet Hosting



"Noah L. Meyerhans" wrote:
> 
> Am I correctly interpreting pages such as
> http://www.gelato.unsw.edu.au/IA64wiki/LargeBlockDevices in my
> understanding that Linux 2.4 can not address the entire capacity of a 3
> terabyte disk?  I find this very surprising if it's true.  I would have
> expected there to be some demand for such a feature, especially since
> multiple-terabyte disk arrays can be found $10k or less these days.
> 
> noah
> 
>   
>Part 1.2Type: application/pgp-signature


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



multi-terabyte disks

2003-10-08 Thread Noah L. Meyerhans
Am I correctly interpreting pages such as
http://www.gelato.unsw.edu.au/IA64wiki/LargeBlockDevices in my
understanding that Linux 2.4 can not address the entire capacity of a 3
terabyte disk?  I find this very surprising if it's true.  I would have
expected there to be some demand for such a feature, especially since
multiple-terabyte disk arrays can be found $10k or less these days.

noah



pgp0.pgp
Description: PGP signature


Re: Best way to setup a cheap web cluster?

2003-10-08 Thread Ryan Nowakowski
On Wed, Oct 08, 2003 at 06:15:23PM +0200, Markus Oswald wrote:
> Am Mit, 2003-10-08 um 15.43 schrieb Ryan Nowakowski:
> > Hey folks,
> > 
> > I'm trying to setup a cheap debian web cluster using tools from the
> > linux-ha project.  We're using heartbeat and mon to monitor services
> > and do the failover.  We'd like to setup shared disk space without
> > buying any new hardware.  We have three cheap servers in the cluster.
> > We're thinking about using drbd for the shared disk space.
> 
> As you already said: Use drbd for the shared storage and heartbeat as a
> cluster manager. That way you'll get an easy to setup failover-cluster
> completely based on OSS and without any "special" hardware.

Will drbd work using debian woody without any backports or additional
packages?  I've heard otherwise.



pgp0.pgp
Description: PGP signature


Re: AntiVirus + MAIL

2003-10-08 Thread Tomasz Papszun
On Wed, 08 Oct 2003 at 10:47:42 -0500, Rich Puhek wrote:
> [EMAIL PROTECTED] wrote:
> 
> >What is the best FREE antivirus solution for Linux and SMTP Scanning ?
> >
> 
> amavis + clamav
> 
> Both are packaged nicely with Debian. About the only complaint I have 
> with Amavis is that there are about 300 bastard children (amavis, 
> amavisd, amavisd-new, amavis-ng, amavis-new, amavis-perl, probably 
> amavisd-ng-bob for all I know) so it can get confusing to figure out 
> what program you're dealing with.

Indeed. So I followed the advice from the amavisd-new package
description:
"When in doubt about which amavis-* package to use, try this one"

and I'm happy with it :-) .

> The really nice thing is that Amavis is very flexible... [...]

True.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Best way to setup a cheap web cluster?

2003-10-08 Thread Markus Oswald
Am Mit, 2003-10-08 um 15.43 schrieb Ryan Nowakowski:
> Hey folks,
> 
> I'm trying to setup a cheap debian web cluster using tools from the
> linux-ha project.  We're using heartbeat and mon to monitor services
> and do the failover.  We'd like to setup shared disk space without
> buying any new hardware.  We have three cheap servers in the cluster.
> We're thinking about using drbd for the shared disk space.

As you already said: Use drbd for the shared storage and heartbeat as a
cluster manager. That way you'll get an easy to setup failover-cluster
completely based on OSS and without any "special" hardware.

BUT this is not a load-balanced cluster, only one machine will handle
the load, it won't be spread about both machines. DRBD currently cannot
run in active-active (i.e. most filesystems can't and the GFS support is
not yet ready). You'll have two machines, one handles the requests - if
this machine fails, the second one will take over and resume processing
incoming requests, but until then it sits there and does nothing (well,
monitoring the primary node - but that doesn't count).

Speaking of "web-clusters" you probably mean a load-balanced HTTP
cluster (with HA features). You'll need some sort of loadbalancer (see
one of the recent threads about cluster and balancers). Neither DRBD
(shared storage) nor heartbeat (cluster-manager) will do this for you.
Instead you could use LVS (www.linuxvirtualserver.org)

> How have others setup web clusters using debian?  We're not adverse to
> backporting packages or using outside apt sources if necessary.

Either way, you don't need any backports - almost (?) everything should
be packaged for Debian. If you want the latest versions you'll have to
compile some sources by yourself though.

best regards,
 Markus
-- 
Markus Oswald <[EMAIL PROTECTED]>  \ Unix and Network Administration
Graz, AUSTRIA \ High Availability / Cluster
Mobile: +43 676 6485415\ System Consulting
Fax:+43 316 428896  \ Web Development


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AntiVirus + MAIL

2003-10-08 Thread Jozeph Brasil
Hi Rich,

Very very thanks.

At the moment I'm downloading the clamav...
My 30 days eval. of RAV AntiVirus expired... I will update it to
CLAMAV now...

@ 8/10, Rich Puhek:

>
>
> [EMAIL PROTECTED] wrote:
>
> > Hi everybody,
> >
> > What is the best FREE antivirus solution for Linux and SMTP Scanning ?
> >
> > Greats,
> > Jozeph
> >
> >
>
> amavis + clamav
>
> Both are packaged nicely with Debian. About the only complaint I have
> with Amavis is that there are about 300 bastard children (amavis,
> amavisd, amavisd-new, amavis-ng, amavis-new, amavis-perl, probably
> amavisd-ng-bob for all I know) so it can get confusing to figure out
> what program you're dealing with.
>
> The really nice thing is that Amavis is very flexible... looks like it
> will work with just about any MTA under the sun, can hook into any virus
> scanner, has SpamAssassin hooks (if you want to run SA from there, I
> don't), and lots of other bells and whistles.
>
> Clamav is packaged with Debian, and includes a cron job to update the
> virus database. It seems to be catching the majority of the MS Worm
> crap, which is probably what you want an AV system for, anyhow.
>
> --Rich
>
> _
>
> Rich Puhek
> ETN Systems Inc.
> 2125 1st Ave East
> Hibbing MN 55746
>
> tel:   218.262.1130
> email: [EMAIL PROTECTED]
> _


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AntiVirus + MAIL

2003-10-08 Thread Chris Hilts
> What is the best FREE antivirus solution for Linux and SMTP Scanning ?

Best is subjective.  I use amavis and clamav. YMMV.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AntiVirus + MAIL

2003-10-08 Thread Rich Puhek


[EMAIL PROTECTED] wrote:

Hi everybody,

What is the best FREE antivirus solution for Linux and SMTP Scanning ?

Greats,
Jozeph

amavis + clamav

Both are packaged nicely with Debian. About the only complaint I have 
with Amavis is that there are about 300 bastard children (amavis, 
amavisd, amavisd-new, amavis-ng, amavis-new, amavis-perl, probably 
amavisd-ng-bob for all I know) so it can get confusing to figure out 
what program you're dealing with.

The really nice thing is that Amavis is very flexible... looks like it 
will work with just about any MTA under the sun, can hook into any virus 
scanner, has SpamAssassin hooks (if you want to run SA from there, I 
don't), and lots of other bells and whistles.

Clamav is packaged with Debian, and includes a cron job to update the 
virus database. It seems to be catching the majority of the MS Worm 
crap, which is probably what you want an AV system for, anyhow.

--Rich

_

Rich Puhek
ETN Systems Inc.
2125 1st Ave East
Hibbing MN 55746
tel:   218.262.1130
email: [EMAIL PROTECTED]
_
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: AntiVirus + MAIL

2003-10-08 Thread Tomasz Papszun
On Wed, 08 Oct 2003 at 12:03:35 -0300, [EMAIL PROTECTED] wrote:
> Hi everybody,
> 
> What is the best FREE antivirus solution for Linux and SMTP Scanning ?
> 
> Greats,
> Jozeph

ClamAV + amavisd-new + Postfix  :-) .

Packages of clamav and amavisd-new backported to "stable" are available
at  http://people.debian.org/~aurel32/BACKPORTS/

The line for /etc/apt/sources.list is:
deb http://people.debian.org/~aurel32/BACKPORTS woody main

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AntiVirus + MAIL

2003-10-08 Thread jozeph
Hi everybody,

What is the best FREE antivirus solution for Linux and SMTP Scanning ?

Greats,
Jozeph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Best way to setup a cheap web cluster?

2003-10-08 Thread Ryan Nowakowski
Hey folks,

I'm trying to setup a cheap debian web cluster using tools from the
linux-ha project.  We're using heartbeat and mon to monitor services
and do the failover.  We'd like to setup shared disk space without
buying any new hardware.  We have three cheap servers in the cluster.
We're thinking about using drbd for the shared disk space.

How have others setup web clusters using debian?  We're not adverse to
backporting packages or using outside apt sources if necessary.

Thanks in advance for your input,

Ryan


pgp0.pgp
Description: PGP signature


Re: SquirrelMail 1.4.0 / 1.4.2

2003-10-08 Thread Chris Hilts
> The current /etc/c-client.cf (which works for us) is:
> I accept the risk
> set disable-plaintext 0

If you're using PHP 4.3.x, you could always enable TLS in Squirrelmail. 
Of course, if your IMAP server is localhost using TLS is just a waste.

-- 
Chris Hilts
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sugesstions building a rather big mail system.

2003-10-08 Thread Markus Oswald
Am Die, 2003-10-07 um 22.07 schrieb Alex Borges:

> For example, we will use two Dual-P4Xeon 2Gb for the IMAP/POP, same for
> the SMTP (same kind of server, but another two servers).

Depending on what you want to do on the SMTP server (i.e. spamassassin,
scanning for viruses, filter, auto-reply, ... ) you may need more boxes
to handle the load.

> Then, the apache (which i am most afraid about) are the ones that spell
> trouble BIGTIME. This is because php/sm will prove to be the most
> resource intensive application in the farm (SMTP is simple, IMAP is
> simple). So we give it three of the same boxen and its own dual pair of
> LVS.

I think the second pair of LVS balancers is overkill. Balancing (even in
NAT mode) needs hardly any resources. Use Gbit interfaces if you think
you'll get more the 100 Mbit Network I/O...

> THen, the backend, this will be two failover enabled boxes with postgres
> and openldap. They will be quad xeon 6GB ram. 

Isn't a QUAD Xeon just plain overkill?
I haven't tested a setup with OpenLDAP, but a Postfix/Courier/MySQL
setup will generate "simple" queries wich any decent server should
handle without any problem even at a rate of some thousand per second.

> All of that, goes to the SAN. The local storage in each server should
> respond mostly to services cache necesities (a php cache for the apaches
> perhaps).

Think about splitting up the storage into multiple devices. 120k user
will generate a lot of I/O on the disks - you'll need a REALLY fast
disk-array for that (not bulk transfer but I/O per second).

best regards,
  Markus
-- 
Markus Oswald <[EMAIL PROTECTED]>  \ Unix and Network Administration
Graz, AUSTRIA \ High Availability / Cluster
Mobile: +43 676 6485415\ System Consulting
Fax:+43 316 428896  \ Web Development


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sugesstions building a rather big mail system.

2003-10-08 Thread Markus Oswald
Am Die, 2003-10-07 um 22.34 schrieb Rich Puhek:

> Would LVM snapshots work well enough to do the trick? I haven't played 
> with LVM, so I don't know how long it takes to perform a snapshot...

Can LVM do incremental snapshots? You don't want to backup 1TB (for
example) of data when only 100GB have changed since the last backup.

best regards,
  Markus
-- 
Markus Oswald <[EMAIL PROTECTED]>  \ Unix and Network Administration
Graz, AUSTRIA \ High Availability / Cluster
Mobile: +43 676 6485415\ System Consulting
Fax:+43 316 428896  \ Web Development


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]