Re: Clustering qmail servers

2001-02-19 Thread David L. Nicol

Tracy R Reed wrote:
 
 On Fri, Feb 09, 2001 at 01:08:47PM -0600, Herbie wrote:
  Well the simplest way is to have one machine act as the gateway for all
  mail and create alias files to forward the mail onto the second machine. I
  used a simple perl script from a flat file to create the .qmail alias's.
 
 I guess that could work but there is no easy automated way to manage so
 many qmail files and we already have 1760 in there already. I think I'll
 just have my qmail-queue wrapper rewrite the envelope recipient address
 and add a headerline which is basically what qmail-alias does when it
 forwards an email on somewhere else. I was just wondering if anyone came
 up with a more correct solution but it seems not.


I'd think a NFS solution would be appropriate, so the SMTP boxes and the POP
boxes can all be different boxes, that access the same user directories.  This
is the whole point of maintaining MailDir NFS-safety isn't it?



-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
  "Nothing in the definition of the word `word' says that a 
  word has to be in a dictionary to be called one." -- Anu Garg




Re: Clustering qmail servers

2001-02-11 Thread Herbie

I guess that depends how you set up your users, we have ours in a flat
file:

username [EMAIL PROTECTED]

so we just run a script on that file and autocreate the .qmail files on a
nightly cron job. soon I guess we'll create the flat file from an LDAP
database but that's not done yet.

Herbie

On Sat, 10 Feb 2001, Tracy R Reed wrote:

 On Fri, Feb 09, 2001 at 01:08:47PM -0600, Herbie wrote:
  Well the simplest way is to have one machine act as the gateway for all
  mail and create alias files to forward the mail onto the second machine. I
  used a simple perl script from a flat file to create the .qmail alias's.
 
 I guess that could work but there is no easy automated way to manage so
 many qmail files and we already have 1760 in there already. I think I'll
 just have my qmail-queue wrapper rewrite the envelope recipient address
 and add a headerline which is basically what qmail-alias does when it
 forwards an email on somewhere else. I was just wondering if anyone came
 up with a more correct solution but it seems not.
 
 --
 Tracy Reed  http://www.ultraviolet.org
 * Maelcum likes his flame broiled dragon on sourdough
 




Re: Clustering qmail servers

2001-02-11 Thread Henning Brauer

On Fri, Feb 09, 2001 at 04:52:51PM -0800, Tracy R Reed wrote:
 I am not trying to send a bunch of email (aka spam). I am trying to
 receive a bunch of email (aka spam) and let users pop/imap it.  Using the
 perdition (search freshmeat) imap/pop proxy I think I can have multiple
 pop/imap servers with users assigned to each one and pass the user off to
 the correct one according to a dbm/ldap/whatever lookup. Now the problem
 is how do I get email addressed to a particular user onto the correct
 server?  Say I want all email for users with names from a-m to go to
 server1 and m-z to server2? 

qmail-ldap can do this. http://www.nrg4u.com and
http://www.lifewithqmail.org/ldap/

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Clustering qmail servers

2001-02-10 Thread Tracy R Reed

On Fri, Feb 09, 2001 at 01:08:47PM -0600, Herbie wrote:
 Well the simplest way is to have one machine act as the gateway for all
 mail and create alias files to forward the mail onto the second machine. I
 used a simple perl script from a flat file to create the .qmail alias's.

I guess that could work but there is no easy automated way to manage so
many qmail files and we already have 1760 in there already. I think I'll
just have my qmail-queue wrapper rewrite the envelope recipient address
and add a headerline which is basically what qmail-alias does when it
forwards an email on somewhere else. I was just wondering if anyone came
up with a more correct solution but it seems not.

--
Tracy Reed  http://www.ultraviolet.org
* Maelcum likes his flame broiled dragon on sourdough



Re: Clustering qmail servers

2001-02-09 Thread Herbie

Well the simplest way is to have one machine act as the gateway for all
mail and create alias files to forward the mail onto the second machine. I
used a simple perl script from a flat file to create the .qmail alias's.

Or am I misunderstanding the question.

Herbi

On Fri, 9 Feb 2001, Tracy R Reed wrote:

 I am not trying to send a bunch of email (aka spam). I am trying to
 receive a bunch of email (aka spam) and let users pop/imap it.  Using the
 perdition (search freshmeat) imap/pop proxy I think I can have multiple
 pop/imap servers with users assigned to each one and pass the user off to
 the correct one according to a dbm/ldap/whatever lookup. Now the problem
 is how do I get email addressed to a particular user onto the correct
 server?  Say I want all email for users with names from a-m to go to
 server1 and m-z to server2? 
 
 I've searched the archives and can't find anything conclusive.
 
 I do have a perl script wrapping qmail-queue which does some basic mail
 filtering. I suppose I could alter the envelope "to" address appropriately
 to send it to the correct machine but I am wondering if there is any more
 elegant way to accomplish this.
 
 --
 Tracy Reed  http://www.ultraviolet.org
 My pid is Inigo Montoya.  You kill -9 my parent process.  Prepare to vi.