Re: ezmlm-idx QMQP support does not work

2000-08-02 Thread Oliver Koch

On Don, 03 Aug 2000, Wayne Chu wrote:
> I installed ezmlm-0.53+ezmlm-idx-0.40.
> Patched qmail-qmqpc as instructed in qmail-qmqpc.tar.gz
> (I checked qmail-qmqpc.c,  it's patched.)
> Put a "DIR/qmqpservers" file in my list directory. 

You did replace qmail-queue by a link to qmail-qmqpc?

-- 
Oliver Koch   Registered Linux User 163952

"The two most common things in the universe are hydrogen and
stupidity."



source rpm

2000-08-02 Thread Sumith Ail

Hi All

Can anybody tell me where can I find source rpm of
qmail + patches + init scripts for my RH Linux 6.2 on
i386

The FTP link at www.qmail.org did not work out for
me...

thanks in advance

- Sumith

__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: Microsoft to Move Hotmail to Windows 2000

2000-08-02 Thread Sean C Truman

Or you could move to another qmail based Web email system.
www.acmemail.net 

Sean


- Original Message - 
From: Irwan Hadi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 11:40 PM
Subject: Fwd: Microsoft to Move Hotmail to Windows 2000


> Seems that Hotmail will be removed from the list of big companies using 
> qmail uh ?
> 
> >MICROSOFT TO MOVE HOTMAIL TO WINDOWS 2000
> >by Dave Murphy, [EMAIL PROTECTED]
> >
> >Microsoft's free email service, Hotmail, currently boasts
> >30 million subscribers. But lately it's been plagued with
> >outages and security problems. In a "go for broke" move,
> >Microsoft will transition its more than 3,000 email servers
> >from the Unix-based FreeBSD operating system (OS) to
> >Microsoft's own Windows 2000.
> >
> >If it works it will be a great PR coup. But I'm thinking that
> >you should move your email account to Yahoo!,
> >Rocketmail, or another free service for a few months. I'm
> >thinking there's a good chance that Hotmail will bite the
> >dust a few times before it all gets sorted out.
> >
> >Reviews from system administrators about the stability of
> >Windows 2000 are mixed at best. It's a great system to
> >learn, because it's got Microsoft's imprimatur, and that
> >means there's consulting work associated with it -- some
> >businesses buy Microsoft products the way they used to
> >by IBM's -- purely because they don't want to think
> >outside the box.
> >
> >Microsoft has been ribbed for running it's leading free
> >email system on a competitor's OS, so I figure it's a
> >testosterone move: get the system running on our own
> >OS.
> >
> >What they're missing is that FreeBSD is a great OS. It's
> >been around a long time, and there's lots of technical
> >folks who know how to keep it running well.
> >
> >And I'd think Microsoft would learn from it's earlier
> >mistake. Back in '97 it tried to migrate Hotmail to
> >Windows NT. The project got so royally hung up, they put
> >the FreeBSD servers back online and scrapped their own
> >Windows NT systems. Now, here we are three years later--
> >well, let's just say I'm not willing to sell my front row
> >tickets to this show.
> >
> >I hate to see a great company fall down in public, and I'm
> >a big fan of Microsoft's applications -- they're pretty easy
> >to use, and they keep business users humming along. But
> >in general, most Unix servers are more stable than
> >Windows NT/2000 servers. The Windows servers just
> >have too much OS overhead.
> >
> >I've got my seat, popcorn in hand. Somebody dim the
> >houselights.
> >
> >Call for Comments
> >What do you think? Leave your comments on the
> >message center: http://itrain.org/msg/
> >
> >References
> >Hotmail: http://www.hotmail.com/
> >Microsoft: http://www.microsoft.com/
> >Message Center: http://itrain.org/msg/
> >
> >This article is posted to http://itrain.org/itinfo/2000/it000802a.html
> >
> >Live well, do good,
> >
> >--Dave Murphy




Fwd: Re: Fwd: Microsoft to Move Hotmail to Windows 2000

2000-08-02 Thread Irwan Hadi


>X-From_: [EMAIL PROTECTED]  Thu Aug  3 00:00:14 2000
>From: "David Dyer-Bennet" <[EMAIL PROTECTED]>
>Date: Wed, 2 Aug 2000 22:59:27 -0500 (CDT)
>To: Irwan Hadi <[EMAIL PROTECTED]>
>Subject: Re: Fwd: Microsoft to Move Hotmail to Windows 2000
>X-Mailer: VM 6.63 under Emacs 20.3.1
>
>Irwan Hadi <[EMAIL PROTECTED]> writes on 2 August 2000 at 21:40:57 -0600
>  > Seems that Hotmail will be removed from the list of big companies using
>  > qmail uh ?
>  >
>  > >MICROSOFT TO MOVE HOTMAIL TO WINDOWS 2000
>
>They've tried to move it to NT a number of times before, resulting in
>extensive outages.  Maybe this time?  Well, Microsoft certainly *can*
>send really large numbers of skilled people at the problem, if they
>want to badly enough.  Maybe it can be made to work under 2000.  If
>Microsoft can't do it, I guess nobody could!
>
>  > >If it works it will be a great PR coup. But I'm thinking that
>  > >you should move your email account to Yahoo!,
>  > >Rocketmail, or another free service for a few months. I'm
>  > >thinking there's a good chance that Hotmail will bite the
>  > >dust a few times before it all gets sorted out.
>
>Sounds like *really* good advice to me; although why make it easy for
>them :-) ?
>--
>Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
>Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b
>David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]




Refuse long list rcpt!

2000-08-02 Thread Nguyen Dang Phuoc Dong

Hello all,

My question is how to tell qmail not accept long list rcpt (To/Cc/Bcc) both
incoming and outgoing direction. I patched my server with tarpit patch, but
it didn't affect outgoing direction.

Regards,

Dong




Re: qmail-pw2u error

2000-08-02 Thread Vincent Danen

On Thu, Aug 03, 2000 at 03:28:56PM +1200, Chris, the Young One wrote:

> ! How about running qmail-pw2u under trace/truss/strace/par?
> 
> Yeah, that's something I'd suggest if include/exclude files aren't the
> obvious culprits.

I think they are... going to send another email just to make sure,
but adding "alias" to include seems like it fixed the problem.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com

Current Linux uptime: 1 hour 50 minutes.



Always got like this ? Fwd: Returned mail: User unknown

2000-08-02 Thread Irwan Hadi

It seems that one member of this mailling list has wrong mail server setup, 
because the bounce was not went back to the return path but to the sender.
Can he be unsubscribed then ?


>X-From_: [EMAIL PROTECTED]  Wed Aug  2 23:48:47 2000
>X-Internal-ID: 398589B6D532
>Date: 2 Aug 2000 20:42:31 -0700
>From: [EMAIL PROTECTED]
>Subject: Returned mail: User unknown
>To: [EMAIL PROTECTED]
>
>
>*** This message originated by GCS Client Services ***
>
>- Delivery could not be made to the following recipients -
>Invalid Recipient: MichaelG  <[EMAIL PROTECTED]>  (unrecoverable error)
>Invalid Recipient: qmail  <[EMAIL PROTECTED]>  (unrecoverable error)
>
>RFC822 Header may follow:
>
>X-Env-Sender: [EMAIL PROTECTED]
>X-Env-Recipient: [EMAIL PROTECTED]
>X-End-of-Envelope:
>X-Internal-ID: 398589B6D52F
>Received: from amstr.com (162.120.128.9) by dubs0001.amstr.com (NPlex 
>2.0.119) for [EMAIL PROTECTED]; Wed, 2 Aug 2000 20:42:23 -0700
>Message-ID: <[EMAIL PROTECTED]>
>Date: Wed, 02 Aug 2000 21:40:57 -0600
>From: (Irwan Hadi) <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Fwd: Microsoft to Move Hotmail to Windows 2000




Re: rblsmtpd

2000-08-02 Thread Eric Cox



Jon Rust wrote:
> 
> See 'man rblsmtpd'.

:-)   No man page for rblsmtpd, at least on my 6-month old package.
Docs are actually on the rblsmtpd download page.

[snip.]

> > Some rather basic questions
> >
> > How do I set the $RBLSMTPD environment variable in order for rblsmtpd to
> > block incoming rbl mails?
> > Does rblsmtpd need it's own daemon or can it be integrated with the smtpd
> > daemon if so how?



Fwd: Microsoft to Move Hotmail to Windows 2000

2000-08-02 Thread Irwan Hadi

Seems that Hotmail will be removed from the list of big companies using 
qmail uh ?

>MICROSOFT TO MOVE HOTMAIL TO WINDOWS 2000
>by Dave Murphy, [EMAIL PROTECTED]
>
>Microsoft's free email service, Hotmail, currently boasts
>30 million subscribers. But lately it's been plagued with
>outages and security problems. In a "go for broke" move,
>Microsoft will transition its more than 3,000 email servers
>from the Unix-based FreeBSD operating system (OS) to
>Microsoft's own Windows 2000.
>
>If it works it will be a great PR coup. But I'm thinking that
>you should move your email account to Yahoo!,
>Rocketmail, or another free service for a few months. I'm
>thinking there's a good chance that Hotmail will bite the
>dust a few times before it all gets sorted out.
>
>Reviews from system administrators about the stability of
>Windows 2000 are mixed at best. It's a great system to
>learn, because it's got Microsoft's imprimatur, and that
>means there's consulting work associated with it -- some
>businesses buy Microsoft products the way they used to
>by IBM's -- purely because they don't want to think
>outside the box.
>
>Microsoft has been ribbed for running it's leading free
>email system on a competitor's OS, so I figure it's a
>testosterone move: get the system running on our own
>OS.
>
>What they're missing is that FreeBSD is a great OS. It's
>been around a long time, and there's lots of technical
>folks who know how to keep it running well.
>
>And I'd think Microsoft would learn from it's earlier
>mistake. Back in '97 it tried to migrate Hotmail to
>Windows NT. The project got so royally hung up, they put
>the FreeBSD servers back online and scrapped their own
>Windows NT systems. Now, here we are three years later--
>well, let's just say I'm not willing to sell my front row
>tickets to this show.
>
>I hate to see a great company fall down in public, and I'm
>a big fan of Microsoft's applications -- they're pretty easy
>to use, and they keep business users humming along. But
>in general, most Unix servers are more stable than
>Windows NT/2000 servers. The Windows servers just
>have too much OS overhead.
>
>I've got my seat, popcorn in hand. Somebody dim the
>houselights.
>
>Call for Comments
>What do you think? Leave your comments on the
>message center: http://itrain.org/msg/
>
>References
>Hotmail: http://www.hotmail.com/
>Microsoft: http://www.microsoft.com/
>Message Center: http://itrain.org/msg/
>
>This article is posted to http://itrain.org/itinfo/2000/it000802a.html
>
>Live well, do good,
>
>--Dave Murphy




ezmlm-idx QMQP support does not work

2000-08-02 Thread Wayne Chu

I installed ezmlm-0.53+ezmlm-idx-0.40.
Patched qmail-qmqpc as instructed in qmail-qmqpc.tar.gz
(I checked qmail-qmqpc.c,  it's patched.)
Put a "DIR/qmqpservers" file in my list directory. 

But ezmlm-send still uses qmail-queue instead of qmail-qmqpc 
to deliver posts.  The QMQP support in ezmlm-idx-0.40 does not
seem to work at all.

What was wrong?





Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Wed, Aug 02, 2000 at 10:10:02AM -0400, Dave Sill wrote:
! D'oh. Missed the "n". I forget: did he post ls output that showed
! "alias"?

Not one that I remembered.

! How about running qmail-pw2u under trace/truss/strace/par?

Yeah, that's something I'd suggest if include/exclude files aren't the
obvious culprits.

---Chris K.
-- 
 Chris, the Young One |_ Never brag about how your machines haven't been 
  Auckland, New Zealand |_ hacked, or your code hasn't been broken. It's 
http://cloud9.hedgee.com/ |_ guaranteed to bring the wrong kind of 
 PGP: 0xCCC6114E/0x706A6AAD |_ attention. ---Neil Schneider 



Re: Mailing list performance

2000-08-02 Thread Irwan Hadi

At 10:14 AM 8/2/00 -0400, Dave Sill wrote:
> >  http://www.kyoto.wide.ad.jp/mta/eval1/
>
>Just noticed that this is now available in English:
>
>   http://www.kyoto.wide.ad.jp/mta/eval1/eindex.html
>
>-Dave

I saw, at least at evaluation 3, postfix beat qmail ;)




Re: Qmail and redirecting mail

2000-08-02 Thread Gavin Cameron

smtproutes would probably do the trick.

man qmail-remote

Gavin

[]---+[]
| Gavin Cameron  |  ITworks Consulting |
| Ph: +61 3 9642 5477|   Level 8, 488 Bourke Street|
| Fax   : +61 3 9642 5499| Melbourne,  Victoria|
| Email : [EMAIL PROTECTED]   |   Australia,  3000  |
[]---+[]

On Thu, 3 Aug 2000, Wilson Fletcher wrote:

> I have 2 mail servers. One will be the MX for two domains (as far as the
> rest of the world is concerned).
> 
> When mail for domain mclachlanlister.com.au arrives I want it to be sent to
> the mail server that is located in our other building.
> 
> I've currently got it set up according to 7.4 in the FAQ BUT that means I
> have to create a tonne of aliases on my mailhost gateway for each user on
> the other server.
> 
> I would rather that mailhost.mclachlan.com.au receive ALL mail for both
> domains mclachlan.com.au and mclachlanlister.com.au and then forward ALL
> mclachlanlister.com.au mail to the other server which would then deliver it
> locally without the need to setup any aliases.
> 
> Is there a way of setting this up ?
> 
> TIA,
> 
> Wilson
> 
> 
> 




Qmail and redirecting mail

2000-08-02 Thread Wilson Fletcher

I have 2 mail servers. One will be the MX for two domains (as far as the
rest of the world is concerned).

When mail for domain mclachlanlister.com.au arrives I want it to be sent to
the mail server that is located in our other building.

I've currently got it set up according to 7.4 in the FAQ BUT that means I
have to create a tonne of aliases on my mailhost gateway for each user on
the other server.

I would rather that mailhost.mclachlan.com.au receive ALL mail for both
domains mclachlan.com.au and mclachlanlister.com.au and then forward ALL
mclachlanlister.com.au mail to the other server which would then deliver it
locally without the need to setup any aliases.

Is there a way of setting this up ?

TIA,

Wilson





Re: [Announce] oMail 0.90a - Completely redesigned version

2000-08-02 Thread Olivier M.

A new version with some bugfixes and 100% functional autoresponder
support is available. Please tell me if it is working right on your
system!

The file would be: http://download.sourceforge.net/oMail/omail-admin-0.90.2a.tar.gz

Homepage: http://omail.omnis.ch
CVSTree: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/admin2/?cvsroot=oMail

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland


 PGP signature


Re: maildirmake

2000-08-02 Thread Bryan Ischo

"qmail List" <[EMAIL PROTECTED]> writes:

> Not sure that I understand what you're asking, but
> /var/qmail/bin/maildirmake ~/Maildir will create ~/Maildir/new,
> ~/Maildir/tmp and ~/Maildir/cur for incoming mail.
> 
> A
> 
> - Original Message -
> From: "Eddie Greer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 02, 2000 2:56 PM
> Subject: maildirmake
> 
> 
> > Question to all the qmail professionals:
> >
> > when you issue the /var/qmail/bin/maildirmake command to create the
> Maildir
> > folder for a perspective user; where does store this information.  The
> > information that I am referring to is the location of the perspective
> user
> > newly created Maildir so that when incoming mail is sent, it is
> delivered
> > correctly to the user Maildir folder.
> >
> > Eddie Greer

I think what is being asked is, if your default mail delivery 
instructions (passed to qmail-start) are something like, "./Mailbox",
and you start creating Maildirs for users, how do you get the mail
to be delivered to the Maildirs instead of the Mailboxes?

And the answer is, there are several ways.  The two I am familiar with
are:

* Put:
./Maildir/

into the .qmail file of every user who is going to be using Maildirs,
or, if your whole site is switching over, just change the default
mail delivery to be "./Maildir/", by invoking qmail-start specifying
"./Maildir/" instead of "./Mailbox".

Hope his helps,
Bryan

-- 


p l u m b d e s i g n 
 
Bryan Ischo | Software Developer 
157 chambers st ny ny 10007
p.212-285-8600 x233 f.212-285-8999




Re: maildirmake

2000-08-02 Thread qmail List

Not sure that I understand what you're asking, but
/var/qmail/bin/maildirmake ~/Maildir will create ~/Maildir/new,
~/Maildir/tmp and ~/Maildir/cur for incoming mail.

A

- Original Message -
From: "Eddie Greer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 2:56 PM
Subject: maildirmake


> Question to all the qmail professionals:
>
> when you issue the /var/qmail/bin/maildirmake command to create the
Maildir
> folder for a perspective user; where does store this information.  The
> information that I am referring to is the location of the perspective
user
> newly created Maildir so that when incoming mail is sent, it is
delivered
> correctly to the user Maildir folder.
>
> Eddie Greer
>
> Network Systems Engineer
> University of California San Diego
>
> Ph: (858) 534.0526
> Fax: (858) 534.7758
> Pager: (619) 406.1055
> [EMAIL PROTECTED] 
>
>




Re: qmail - cyrus

2000-08-02 Thread Vince Vielhaber

On Wed, 2 Aug 2000, Wolfgang Wagner wrote:

> Hello,
> 
> does anyone know or has working the connection
> from qmail to IMAP-daemon Cyrus?
> 
> I am experimenting with these two, but qmail
> does not deliver mail to cyrus.
> 
> I want to use qmail as MTA and cyrus as IMAP-daemon
> for all users.

Go to www.qmail.org.  There's at least one pointer to how to set it
up, maybe more.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: Outlook choking on messages

2000-08-02 Thread Albert Hopkins


No the headers are fine.  

On Wed, 2 Aug 2000, Petr Novotny wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 2 Aug 00, at 10:44, Albert Hopkins wrote:
> 
> > Does anyone else experience this?  We randomly and unpredictably have
> > an occurrance whereby Outlook (2000) is unable to POP a message from
> > our (qmail) pop server.  When I look in the users Maildir I see that
> > it's always dying on the same message.
> 
> Isn't this the recent "malformed header" buffer overflow in Outlook? 
> Please check the Date: field whether it's malformed. If it is, 
> someone is intentionally sending messages to crash Outlook.
> 
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.0.2 -- QDPGP 2.60 
> Comment: http://community.wow.net/grt/qdpgp.html
> 
> iQA/AwUBOYg2Z1MwP8g7qbw/EQI7TQCgj+UTmSi/SoIXBCA2Fkh65bqD2N4AnRl1
> /XN+JG8g3D81Fm6IPcuieBjs
> =Lmpi
> -END PGP SIGNATURE-
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
>  [Tom Waits]
> 

-- 
 Albert Hopkins
 Sr. Systems Specialist
  Dynacare Laboratories 
  [EMAIL PROTECTED]

The man for whom law exists -- the man of forms, the Conservative, is a tame 
man. 
-Henry David Thoreau 
(contributed by Chris Johnston) 




qmail - cyrus

2000-08-02 Thread Wolfgang Wagner

Hello,

does anyone know or has working the connection
from qmail to IMAP-daemon Cyrus?

I am experimenting with these two, but qmail
does not deliver mail to cyrus.

I want to use qmail as MTA and cyrus as IMAP-daemon
for all users.

TIA

Wolfgang Wagner
--
[EMAIL PROTECTED]
3.Vorsitzender Bürgernetz Allgäu
Technischer Leiter



EZMLM Moderation Woes

2000-08-02 Thread JB


I have a moderated list that is not sending timely moderation notices. In
some cased it takes several (8 or more) hours for a moderator to get a
request. I've never had this problem before and could not find a reference
to it in the archive. Can someone offer some ideas why this is happing in
and how to correct it?

According to "top" the cpu is only using about 15% of its available
resource.

I'm using ezmlm + the idx extensions. I have several un-moderated list that
work fine.


John Burden






maildirmake

2000-08-02 Thread Eddie Greer

Question to all the qmail professionals:

when you issue the /var/qmail/bin/maildirmake command to create the Maildir
folder for a perspective user; where does store this information.  The
information that I am referring to is the location of the perspective user
newly created Maildir so that when incoming mail is sent, it is delivered
correctly to the user Maildir folder.

Eddie Greer

Network Systems Engineer
University of California San Diego

Ph: (858) 534.0526
Fax: (858) 534.7758
Pager: (619) 406.1055
[EMAIL PROTECTED] 




Re: how do you apply a patch?

2000-08-02 Thread Erwin Hoffmann

Hi,

alternatively you can you my SPAMCONTROL patch. It comes with an
(un)installation skript and an attempt to provide a good HOWTO.

htttp://www.fehcom.de/qmail_en.html

cheers.
eh.




At 10:34 2.8.2000 -0700, Russ Ringer wrote:
>I just got hold of the BADRCPTTO patch, but I don't know how to apply it.
Is there a HOWTO available for this?
>
>thnx,
>
>-->Russ Ringer
>
>
>
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



Re: SPAM BLOCKING

2000-08-02 Thread Robin S. Socha

* Slider  <[EMAIL PROTECTED]> writes:
> Please can someone drop me a hint as to the method of protecting
> myself from spam using the rblsmtpd?

Chris Hardie has written an extremely useful document called "qmail
Anti-Spam HOWTO" in which he explains various methods of thwarting
Spam. http://www.summersault.com/chris/techno/qmail/qmail-antispam.html
-- 
Robin S. Socha 



Re: Any special order of install for various qmail "tools" ?

2000-08-02 Thread Jack Barnett


> Hey All,
>
> I'm in the process of installing my first qmail server and I keep
> stumbling across more tools to install, like tcpserver, Qmailadmin,
> daemontools, ezmlm etc. Each problem\need I have leads me to a new
> "tool" and sometimes those new tools lead me other tools.
>
> Example:  I just read the README for qmailadmin which says it
> requires ezmlm.
>
> I was wondering if anyone could recommend a basic list of helpful
> files\tools that I should look for, and if applicable, the order in
> which I should be installing them. The server OS is Redhat Linux 6.2 and
> needs to support clients using Outlook 2000 on a 50-100 user network.
>
> Thanks,
> Andy Meuse
>
> $WITTYQUOTE
>

If you get the qmail tar ball, it should come with everything you need (and
probably more) expect for tcpservers.  You can run qmail without tcpservers
though inetd, but I would personally recommend switching over to tcpservers
when you put it in a productive envoriment (just for the fact that inetd
gets slammed pretty hard if your running both pop and smtp from it on mail
server).  If you got a decent proc inetd should be able to handle a 100
users.

Maybe you should just look first setting up the "minium requirements" of the
mail servers.  For example, if users don't need aliases right now, just work
on getting the accounts working and play with the bells and whistles onces
everything else is working properly.  If they don't need virtual domains,
just work with getting other "required" funcation of the mail server.  Then
once it is setup you can explore other feartures like mailing lists.

Jack





Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Michael T. Babcock

My pseudo code was supposed to infer that one would re-select (randomly, if
you wish) a server at a certain % of the time, based on how many times it
had been polled and turned out to be down.  Simply replace my first
(increment, go to #2) with (go to #1).

- Original Message -
From: "JuanE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 12:37 PM
Subject: Re: updated load balancing qmail-qmqpc.c mods


>
> I agree with you both (Jay and Michael), at least partially. I agree that
> altough what Jay proposes will work, it is too much computation and that a
> simpler round-robin (after picking initial position) would suffice.
>
> My comment is that in the event of a down server, the simple round robin
> will flood the next server in the chain with twice the load of the others.
> Jay's solution does not do this (at a high computational cost).




Re: New to list and to DNS - need just a little help

2000-08-02 Thread Ben Beuchler

On Wed, Aug 02, 2000 at 02:23:13PM -0400, Barton Grantham wrote:

> Ok.  I thought that maybe it should work this way, but this raises a new
> question - If I have dnscache on 127.0.0.1, how do I point my other boxes to
> it?  Or do I have to allocate two IP's for this box?  Should I have them the
> other way around: dnscache serving up dns requests and doing local lookups
> to tinydns running on localhost (ie. how John Steniger has it running; see
> next msg on list) ?

The FAQ for dnscache has a section on setting up an "external dnscache"
which is what you want to do.  I'm not clear on why you would need a
second IP, unless you are running tinydns on the same box.  If you are,
then you do need a second IP.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



change password via web

2000-08-02 Thread Mark Lo



Hi,
 
 I know there is a web page 
exits that teaches people how to use mysql with qmail for chainging password via 
the web.  Can anyone point me to the correct web site.  
 
Thanks
 
Mark


Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Michael T. Babcock

Since this seems to apply to everyone ...

I don't have a problem with polling the down server.  Its relatively simple
to ping or attempt a connection to a server with a short timeout.  If it
times out, move on.  Otherwise, you don't know when that server comes back
up.

Your random distribution was the only thing I was commenting on.  Your logic
of whether to 'keep polling' a down server has _nothing_ to do with whether
you use totally random selection or random select then round-robin.
Nothing!

That said, the best way to accomplish this well would be:

Store servers in an array of structs:
struct server {
ip_addr address;
int down = 0;
int try = 0;
}

struct server * servers; // malloc them ...

1) pick random start # from 0 to (num_servers - 1)
2) if servers[this_server].down > 0 then:
  - servers[this_server].try++;
  - if (try < down), increment, go to (2)
  - else, try = 0 ...
3) connect to server
  - if failed:
  - servers[this_server].down++;
4) (success) increment start, set server.down to 0.
5) if another message, increment, go to (2)

That's off the top of my head -- but it would allow for linear (not
exponential) decrease of use of down servers.  Over time, if a server was
down for a long time, it would stop being polled for a connection as often.

- Original Message -
From: "David Dyer-Bennet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 1:03 PM
Subject: Re: updated load balancing qmail-qmqpc.c mods


> JuanE <[EMAIL PROTECTED]> writes on 2 August 2000 at 16:37:36 GMT
>  >
>  > I agree with you both (Jay and Michael), at least partially. I agree
that
>  > altough what Jay proposes will work, it is too much computation and
that a
>  > simpler round-robin (after picking initial position) would suffice.
>  >
>  > My comment is that in the event of a down server, the simple round
robin
>  > will flood the next server in the chain with twice the load of the
others.
>  > Jay's solution does not do this (at a high computational cost).
>  >
>  > What I proposed earlier is just one of *many* solutions that addresses
the
>  > flood problem at a lower computational cost.
>  >
>  > Jay, I agree with you that selecting the same server many times in a
row is
>  > not an issue. This is guaranteed by the Law of Averages (for you math
>  > wizzes out there, the Law of Large Numbers).
>
> Sounds like making repeated random picks is the way to go.
>
> If no server is down, your one random pick will handle the mail (same
> cost as picking random starting point for round-robin).
>
> If a server is down *and you hit it*, you pay the cost of a second
> random pick.  This is slightly expensive, but you only pay it when
> you need it.  It's cheaper in elapsed time than trying the next server
> and having it refuse the connection due to overload, for example.  And
> it spreads the load more evenly.
>
> On the third hand, if the servers can manage their incoming
> connections intelligently (say with tcpserver :-) ), the one after a
> down one in a round-robin, while it will get hit a lot, can refuse
> some of the connections, which will then go on to the next after it.
> So you aren't really constrained to running all your servers at less
> than 50% capacity, and the one after the down one won't actually melt
> down.
> --
> Photos: http://dd-b.lighthunters.net/ Minicon:
http://www.mnstf.org/minicon
> Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b
> David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
>
>
>




Re: how do you apply a patch?

2000-08-02 Thread Jack Barnett


> I just got hold of the BADRCPTTO patch, but I don't know how to apply it.
Is there a HOWTO available for this?
>
> thnx,
>
> -->Russ Ringer
>
>
>

cd source_directory
patch -p1 < /tmp/patch.1.0.1

Not sure if this works or not ???

Try `man patch` or the readme file in the patch tarball

Jack




update Re: help - qmail rejecting mail. "no mailbox here by that name"

2000-08-02 Thread J

Okay,

I changed the alias to:
.qmail-joe:bob  

with the contents:  bobj

I restarted all qmail daemons.. and unfortunatly I
still get the "no mailbox here by that name".

Any other sugguestions?

Thanks a bunch.


--- J <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm trying to setup a mail server.. I've gotten
> qmail
> completely functional
> other than the fact it won't receive mail for users
> that have an "Alias"
> under /var/qmail/alias/ ..
> 
> Here is an example scenario:
> 
> Domain name: edronf.com
> 
> All the users have accounts on this qmail server,
> but
> the account names are
> different than their email address
> [EMAIL PROTECTED]
> ..  Job Bob's userid
> on the unix machine is "bobj" /home/bobj
> 
> Under the alias directory I created a .qmail-joe-bob
> (also tried
> .qmail-joe.bob) ..  the contents of this alias file
> is
> "bobj".
> 
> I restart qmail and attempt to send mail to
> [EMAIL PROTECTED] and that's
> when qmail reports "no mailbox here by that name".
> 
> Contents of setup files:
> 
>  locals
> Ogabot.edronf.com
> Localhost
> Edronf.com
>  locals
> 
>  rcpthosts
> ogabot.edronf.com
> localhost
> edronf.com
>  rcpthosts
> 
>  defaultdomain
> edronf.com
>  defaultdomain
> 
>  me
> ogabot.edronf.com
>  me
> 
>  plusdomain
> edronf.com
>  plusdomain
> 
> virtualdomains
> nothing at all
> virtualdomains
> 
> 
> Does anyone see anything obvious?   I appreciate
> your
> feedback!
> 
> 
> __
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



how do you apply a patch?

2000-08-02 Thread Russ Ringer

I just got hold of the BADRCPTTO patch, but I don't know how to apply it. Is there a 
HOWTO available for this?

thnx,

-->Russ Ringer





Re: Mailing list performance

2000-08-02 Thread Fernando Almeida

Dave Sill wrote:

> Fernando Almeida <[EMAIL PROTECTED]> wrote:
>
> >Im wondering what can I change to improve the performance of my
> >mailing list, I already read the documentation and found a lot of thinks
> >like the number of paralell proccess and other things.
> >I really need a great performance in this mailing list, so I would
> >like to know some tips and the best mailing list manager to use. I would
> >like to know also some statistics of performance in mailing list using
> >qmail
>
> Use dnscache (from djbdns).

Good.


>
>
> Can you tell about your lists and the configuration of the hardware
> that will be serving them? Does the h/w exist, or do you have a
> budget? How big are the lists? Where are the subscribers? How big are
> the messages? How quickly do you need to deliver them? Will you be
> using ezmlm or some other list manager?
>
> -Dave

I dont know yet the hardware configuration of the machine,
unfortunally The lists will be very big, let me explain better: we will
make a newsletter system, with msgs being sent to every our customer,
perhaps several messages per day.
   I dont think the messages will be big, just a few lines of text, but
I need that the messages cames to its destination in a few amount of time,
because they will be some kind of "last news".
  Im searching the mailing list manager to use, but Im thought in use
ezmlm... Any sugestions?


Thanks!

--
_
Fernando Costa de Almeida
ICQ - 72293951





Re: Duplicate Message-ID question

2000-08-02 Thread Dave Sill

Sten <[EMAIL PROTECTED]> wrote:

>> Dave Sill writes:
>
>DS> "message id" does the trick.
>
>   Not any better than 'message-id'.  It finds what it should,
>but also tosses in extraneous messages (like
>http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/03/msg00099.html 
>- 'id' doesn't even appear as a substring in that message).  I'm
>guessing that 'id' (and 'message-id') are matching the header field,
>which doesn't get displayed.

No, the search engine indexes what you see. I suspect it ignores the
"id" since it's only two characters. :-(

>DS> qmail's message ID's are of the form
>DS> timestamp.pid.qmail@hostname. The only way you could get a
>DS> duplicate would be if the same process ID is reused twice within
>DS> the same second (the resolution of the timestamp) to send
>DS> different messages to the same user.
>
>   Are you sure of that?

Yes. See the source code for msgidfmt in newfield.c.

>It looks like the headers may have been 
>lost (I should have known better than to leave the 'From ' lines
>unaltered), but the lines which would seem to be relevant are:
>
>Received: (qmail 28582 invoked by uid 99); 1 Aug 2000 02:20:39 - 
>Message-ID: <[EMAIL PROTECTED]>
>
>   and
>
>Received: (qmail 28583 invoked by uid 99); 1 Aug 2000 02:20:39 -
>Message-ID: <[EMAIL PROTECTED]>
>
>   I can see the timestamp in the message ID, but the process IDs
>doesn't seem to match up.

The process ID in the message ID is that of the process that created
the message ID. Since qmail is modular, many different processes may
touch a message before it's delivered. It's qmail-inject that calls
msgidfmt (indirectly).

>DS> One fix would be to increase the resolution of the timestamp to,
>DS> say, the millisecond.
>
>   Would that be something that can be changed in the
>configuration, or would it require a recompile?

It would take a source code change and recompile. Doesn't look too
hard, though.

-Dave



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread JuanE


David Dyer-Bennet writes:

> JuanE <[EMAIL PROTECTED]> writes on 2 August 2000 at 16:37:36 GMT
>  > 
>  > I agree with you both (Jay and Michael), at least partially. I agree that
>  > altough what Jay proposes will work, it is too much computation and that a
>  > simpler round-robin (after picking initial position) would suffice.
>  > 
>  > My comment is that in the event of a down server, the simple round robin
>  > will flood the next server in the chain with twice the load of the others.
>  > Jay's solution does not do this (at a high computational cost).
>  > 
>  > What I proposed earlier is just one of *many* solutions that addresses the
>  > flood problem at a lower computational cost.
>  > 
>  > Jay, I agree with you that selecting the same server many times in a row is
>  > not an issue. This is guaranteed by the Law of Averages (for you math
>  > wizzes out there, the Law of Large Numbers).
> 
> Sounds like making repeated random picks is the way to go.  
> 
> If no server is down, your one random pick will handle the mail (same
> cost as picking random starting point for round-robin).
> 
> If a server is down *and you hit it*, you pay the cost of a second
> random pick.  This is slightly expensive, but you only pay it when
> you need it.  It's cheaper in elapsed time than trying the next server
> and having it refuse the connection due to overload, for example.  And
> it spreads the load more evenly.
> 
> On the third hand, if the servers can manage their incoming
> connections intelligently (say with tcpserver :-) ), the one after a
> down one in a round-robin, while it will get hit a lot, can refuse
> some of the connections, which will then go on to the next after it.
> So you aren't really constrained to running all your servers at less
> than 50% capacity, and the one after the down one won't actually melt
> down. 
> -- 
> Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
> Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
> David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
> 

I did not think of that. Good suggestion.

It seems like it would be a good compropmise if you can take your down
server out of the rotation relatively quickly. If not, then you'll waste
considerable time polling the busy server (and consequently having your
connections rejected by tcpserver) while all other servers are breezing at
50% load.

JES



Re: rblsmtpd

2000-08-02 Thread Jon Rust

See 'man rblsmtpd'. Briefly, you don't set the var normally. If the var
is set, but empty, rblsmtpd won't block the mail in any case. If the var
is set to an actual value, it will block the mail. You can set the var
in your tcp.smtp CDB file like so:

  63.88.133.:allow,RBLSMTPD="-Yesmail email is not wanted here"

The 'allow' is misleading. It says to allow the TCP connection, but not
necessarily to allow the mail. The $RBLSMTPD var being set
tells rblsmtpd to reject the mail.

HTH,
jon

On Wed, Aug 02, 2000 at 12:31:21PM +0100, Slider wrote:
> 
> Hi,
> 
> Some rather basic questions
> 
> How do I set the $RBLSMTPD environment variable in order for rblsmtpd to
> block incoming rbl mails?
> Does rblsmtpd need it's own daemon or can it be integrated with the smtpd
> daemon if so how?
> 
> Thanks
> 
> AC
> 



Re: Outlook choking on messages

2000-08-02 Thread Henrik Öhman


Actually, I had this happen when someone sent a mail from an old Eudora client
(Eudora Lite 3.0.1 if I remember correctly) and (I think it was) Outlook 
Express
from IE4. I deemed it to be a bug in Outlook Express, removed the mail and 
told
the sender not to send any more mail of that type to the recipient.

The mails had a quite large To:-header; I think that was the problem. This
should not be a problem in Outlook 2000 though..

FWIW.

Henrik.

At 05:55 PM 8/2/00 +0200, you wrote:

>On 2 Aug 00, at 10:44, Albert Hopkins wrote:
>
> > Does anyone else experience this?  We randomly and unpredictably have
> > an occurrance whereby Outlook (2000) is unable to POP a message from
> > our (qmail) pop server.  When I look in the users Maildir I see that
> > it's always dying on the same message.
>
>Isn't this the recent "malformed header" buffer overflow in Outlook?
>Please check the Date: field whether it's malformed. If it is,
>someone is intentionally sending messages to crash Outlook.
>
>-BEGIN PGP SIGNATURE-
>Version: PGP 6.0.2 -- QDPGP 2.60
>Comment: http://community.wow.net/grt/qdpgp.html
>
>iQA/AwUBOYg2Z1MwP8g7qbw/EQI7TQCgj+UTmSi/SoIXBCA2Fkh65bqD2N4AnRl1
>/XN+JG8g3D81Fm6IPcuieBjs
>=Lmpi
>-END PGP SIGNATURE-
>--
>Petr Novotny, ANTEK CS
>[EMAIL PROTECTED]
>http://www.antek.cz
>PGP key ID: 0x3BA9BC3F
>-- Don't you know there ain't no devil there's just God when he's drunk.
>  [Tom Waits]




Any special order of install for various qmail "tools" ?

2000-08-02 Thread Andy Meuse

Hey All,

I'm in the process of installing my first qmail server and I keep
stumbling across more tools to install, like tcpserver, Qmailadmin,
daemontools, ezmlm etc. Each problem\need I have leads me to a new
"tool" and sometimes those new tools lead me other tools.

Example:  I just read the README for qmailadmin which says it
requires ezmlm.

I was wondering if anyone could recommend a basic list of helpful
files\tools that I should look for, and if applicable, the order in
which I should be installing them. The server OS is Redhat Linux 6.2 and
needs to support clients using Outlook 2000 on a 50-100 user network.

Thanks,
Andy Meuse

$WITTYQUOTE



Re: Mailing list performance

2000-08-02 Thread Dave Sill

Fernando Almeida <[EMAIL PROTECTED]> wrote:

>Im wondering what can I change to improve the performance of my 
>mailing list, I already read the documentation and found a lot of thinks
>like the number of paralell proccess and other things. 
>I really need a great performance in this mailing list, so I would 
>like to know some tips and the best mailing list manager to use. I would
>like to know also some statistics of performance in mailing list using 
>qmail 

Use dnscache (from djbdns).

Can you tell about your lists and the configuration of the hardware
that will be serving them? Does the h/w exist, or do you have a
budget? How big are the lists? Where are the subscribers? How big are
the messages? How quickly do you need to deliver them? Will you be
using ezmlm or some other list manager?

-Dave



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread David Dyer-Bennet

JuanE <[EMAIL PROTECTED]> writes on 2 August 2000 at 16:37:36 GMT
 > 
 > I agree with you both (Jay and Michael), at least partially. I agree that
 > altough what Jay proposes will work, it is too much computation and that a
 > simpler round-robin (after picking initial position) would suffice.
 > 
 > My comment is that in the event of a down server, the simple round robin
 > will flood the next server in the chain with twice the load of the others.
 > Jay's solution does not do this (at a high computational cost).
 > 
 > What I proposed earlier is just one of *many* solutions that addresses the
 > flood problem at a lower computational cost.
 > 
 > Jay, I agree with you that selecting the same server many times in a row is
 > not an issue. This is guaranteed by the Law of Averages (for you math
 > wizzes out there, the Law of Large Numbers).

Sounds like making repeated random picks is the way to go.  

If no server is down, your one random pick will handle the mail (same
cost as picking random starting point for round-robin).

If a server is down *and you hit it*, you pay the cost of a second
random pick.  This is slightly expensive, but you only pay it when
you need it.  It's cheaper in elapsed time than trying the next server
and having it refuse the connection due to overload, for example.  And
it spreads the load more evenly.

On the third hand, if the servers can manage their incoming
connections intelligently (say with tcpserver :-) ), the one after a
down one in a round-robin, while it will get hit a lot, can refuse
some of the connections, which will then go on to the next after it.
So you aren't really constrained to running all your servers at less
than 50% capacity, and the one after the down one won't actually melt
down. 
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]



Re: why qmail is more secure, was: Mailing list performance

2000-08-02 Thread David Dyer-Bennet

Ronny Haryanto <[EMAIL PROTECTED]> writes on 2 August 2000 at 09:35:52 -0500
 > On 02-Aug-2000, Dave Sill wrote:
 > > I don't think it's quite as secure as qmail
 > 
 > Would you care to shed some light on why you don't think so? Not to
 > ignite flames but for informational purposes. I use both qmail and
 > postfix and it is very interesting to understand not just the
 > strengths, but also the weaknesses of both.

The Postfix code is significantly larger, so if the bug rate per line
is the same, there are more bugs present.  

It's less partitioned than qmail -- qmail partitions its functions
among the 7 UIDs so that the extent of damage possible of one program
is insecure is quite limited.

However, as a recently-written piece of software, designed with
security in mind, and written by somebody who is good at security,
postfix should be quite safe, as such things go.
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]



Re: Mailing list performance

2000-08-02 Thread David Dyer-Bennet

Dave Sill <[EMAIL PROTECTED]> writes on 2 August 2000 at 10:14:56 -0400
 > >  http://www.kyoto.wide.ad.jp/mta/eval1/
 > 
 > Just noticed that this is now available in English:
 > 
 >   http://www.kyoto.wide.ad.jp/mta/eval1/eindex.html

His methodology looks reasonably sound, now that I can read the
description of it.  And he seems entirely aware of the shortcomings,
which leads me to trust his judgement on other matters as well.

Looks like qmail took 20 seconds and sendmail took 1750 seconds to
deliver his test load.  Not surprising!  (uncached case)

Also note that in the cached case postfix appears to beat qmail at
delivering all the mail, at least on one graph.

However, did people notice that sendmail actually did *fewer* DNS
queries?  I had understood that for total bandwidth use, qmail won
over sendmail partly for doing less DNS traffic, but this doesn't seem
to be the case in this study.

And unfortunately he only counts syn/fin and dns packets, there's
nothing that directly records bandwidth used.  I guess we can make
assumptions about data transmitted per SMTP connection to calculate
bandwidth, and not be too far off.  His graphs seem to show all
mailers making essentially the same number of SMTP connections, so it
sounds like his address mix doesn't allow for much multi-rcpt. 

(postfix took 30 seconds, exim 500, zmailer I can't tell.  Am I
reading the graphs wrong?  Zmailer shows increasing count of DNS
queries off to the end of the map, but no increase in SMTP syn or
fin.  Now I'm confused.)
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread JuanE


I agree with you both (Jay and Michael), at least partially. I agree that
altough what Jay proposes will work, it is too much computation and that a
simpler round-robin (after picking initial position) would suffice.

My comment is that in the event of a down server, the simple round robin
will flood the next server in the chain with twice the load of the others.
Jay's solution does not do this (at a high computational cost).

What I proposed earlier is just one of *many* solutions that addresses the
flood problem at a lower computational cost.

Jay, I agree with you that selecting the same server many times in a row is
not an issue. This is guaranteed by the Law of Averages (for you math
wizzes out there, the Law of Large Numbers).

JES

Austad, Jay writes:

> I agree with you, I forgot to mention that, sorry.  I didn't have enough
> Mountain Dew yet.  :)
> 
> -Original Message-
> From: Michael T. Babcock [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 02, 2000 10:44 AM
> To: Austad, Jay; [EMAIL PROTECTED]
> Subject: Re: updated load balancing qmail-qmqpc.c mods
> 
> 
> Re-read my point: its unnecessary.  I didn't say it wouldn't work.  I said
> the CPU use of doing it this way was unnecessary over a simpler round-robin
> approach (After picking an initial random server).
> 
> Note: I think using an array of pointers to server addresses would allow you
> to do your rotations a lot faster.  Think "point quicksort".
> 
> - Original Message -
> From: "Austad, Jay" <[EMAIL PROTECTED]>
> 
> 
> > Even if one server is getting hit multiple times in a row, I don't think
> it
> > will matter.  I put in 10 servers in my qmqpservers file and some well
> > placed printf's in qmqpc and ran it 100,000 times several times through.
> > Each server was getting picked about 10% of the time +/- 1% or so.  If
> we're
> > sending millions of messages, this +/- 1% isn't going to make a
> significant
> > difference.
> 






RE: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Austad, Jay

I agree with you, I forgot to mention that, sorry.  I didn't have enough
Mountain Dew yet.  :)

-Original Message-
From: Michael T. Babcock [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 10:44 AM
To: Austad, Jay; [EMAIL PROTECTED]
Subject: Re: updated load balancing qmail-qmqpc.c mods


Re-read my point: its unnecessary.  I didn't say it wouldn't work.  I said
the CPU use of doing it this way was unnecessary over a simpler round-robin
approach (After picking an initial random server).

Note: I think using an array of pointers to server addresses would allow you
to do your rotations a lot faster.  Think "point quicksort".

- Original Message -
From: "Austad, Jay" <[EMAIL PROTECTED]>


> Even if one server is getting hit multiple times in a row, I don't think
it
> will matter.  I put in 10 servers in my qmqpservers file and some well
> placed printf's in qmqpc and ran it 100,000 times several times through.
> Each server was getting picked about 10% of the time +/- 1% or so.  If
we're
> sending millions of messages, this +/- 1% isn't going to make a
significant
> difference.



Re: help - qmail rejecting mail. "no mailbox here by that name".

2000-08-02 Thread Dave Sill

J <[EMAIL PROTECTED]> wrote:

>All the users have accounts on this qmail server, but
>the account names are
>different than their email address [EMAIL PROTECTED]
>..  Job Bob's userid
>on the unix machine is "bobj" /home/bobj
>
>Under the alias directory I created a .qmail-joe-bob
>(also tried
>.qmail-joe.bob) ..  the contents of this alias file is
>"bobj".

Should be ~alias/.qmail-joe:bob. See:

  http://Web.InfoAve.Net/~dsill/lwq.html#dots-in-extensions

-Dave



help - qmail rejecting mail. "no mailbox here by that name".

2000-08-02 Thread J

Hello,

I'm trying to setup a mail server.. I've gotten qmail
completely functional
other than the fact it won't receive mail for users
that have an "Alias"
under /var/qmail/alias/ ..

Here is an example scenario:

Domain name: edronf.com

All the users have accounts on this qmail server, but
the account names are
different than their email address [EMAIL PROTECTED]
..  Job Bob's userid
on the unix machine is "bobj" /home/bobj

Under the alias directory I created a .qmail-joe-bob
(also tried
.qmail-joe.bob) ..  the contents of this alias file is
"bobj".

I restart qmail and attempt to send mail to
[EMAIL PROTECTED] and that's
when qmail reports "no mailbox here by that name".

Contents of setup files:

 locals
Ogabot.edronf.com
Localhost
Edronf.com
 locals

 rcpthosts
ogabot.edronf.com
localhost
edronf.com
 rcpthosts

 defaultdomain
edronf.com
 defaultdomain

 me
ogabot.edronf.com
 me

 plusdomain
edronf.com
 plusdomain

virtualdomains
nothing at all
virtualdomains


Does anyone see anything obvious?   I appreciate your
feedback!


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: Outlook choking on messages

2000-08-02 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2 Aug 00, at 10:44, Albert Hopkins wrote:

> Does anyone else experience this?  We randomly and unpredictably have
> an occurrance whereby Outlook (2000) is unable to POP a message from
> our (qmail) pop server.  When I look in the users Maildir I see that
> it's always dying on the same message.

Isn't this the recent "malformed header" buffer overflow in Outlook? 
Please check the Date: field whether it's malformed. If it is, 
someone is intentionally sending messages to crash Outlook.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOYg2Z1MwP8g7qbw/EQI7TQCgj+UTmSi/SoIXBCA2Fkh65bqD2N4AnRl1
/XN+JG8g3D81Fm6IPcuieBjs
=Lmpi
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



[Announce] oMail 0.90a - Completely redesigned version

2000-08-02 Thread Olivier M.


   oMail 0.90a - 02aug2k
   ---

   A PHP4 based qmail+vmailmgrd Maildomain Administration Web interface

   New in this version :  - complete redesign which now only need PHP4
   -  - no more needs for mysql and the suid perl wrapper
  - support for mail domain administrator, but also 
single users may login to change password, forwarders
and autoresponder.

   oMail is a web front end to qmail/vmailmgrd. It can be used by domain
   owners to easily administer their mail accounts without bothering the
   sysadmin. Working features: manage mailboxes (pop3) and aliases,
   change passwords, support for french, englich and german.

   URLs:
   -
   Download: http://download.sourceforge.net/oMail/omail-admin-0.90a.tar.gz
   Homepage: http://omail.omnis.ch
   Changelog: http://admin.omnis.ch/admin2/ChangeLog
   CVSTree: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/admin2/?cvsroot=oMail

   Please note that it is currently Alpha-state software. I know
   there are still bugs :)

   Working demo:  (domain = test.com / passwd = test)
 http://admin.omnis.ch/admin2/


   Know bugs:  - can't turn off the autoresponder in some conditions
   --

   Many thanks to Bruce & Mike for their great support!


Enjoy! Comments are of course welcome!
Olivier

-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland


 PGP signature


Outlook choking on messages

2000-08-02 Thread Albert Hopkins


Does anyone else experience this?  We randomly and unpredictably have an
occurrance whereby Outlook (2000) is unable to POP a message from our
(qmail) pop server.  When I look in the users Maildir I see that it's
always dying on the same message.  So what I've been doing is moving the
file over to /tmp so that the user can continue to get the other messages.

The contents of the file look fine.  And when I copy the message over to
my Maildir and POP it with fetchmail there's no problem.

-- 
 Albert Hopkins
 Sr. Systems Specialist
  Dynacare Laboratories 
  [EMAIL PROTECTED]

I always get what I want because I always want what I get. 
-Tim Bischoff 




Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Michael T. Babcock

Re-read my point: its unnecessary.  I didn't say it wouldn't work.  I said
the CPU use of doing it this way was unnecessary over a simpler round-robin
approach (After picking an initial random server).

Note: I think using an array of pointers to server addresses would allow you
to do your rotations a lot faster.  Think "point quicksort".

- Original Message -
From: "Austad, Jay" <[EMAIL PROTECTED]>


> Even if one server is getting hit multiple times in a row, I don't think
it
> will matter.  I put in 10 servers in my qmqpservers file and some well
> placed printf's in qmqpc and ran it 100,000 times several times through.
> Each server was getting picked about 10% of the time +/- 1% or so.  If
we're
> sending millions of messages, this +/- 1% isn't going to make a
significant
> difference.




Re: why qmail is more secure, was: Mailing list performance

2000-08-02 Thread Michael T. Babcock

The multiple UIDs provide a few failsafes, if nothing else, whereby one
broken / buggy / replaced binary can't do damage to files it doesn't own.
DJB has comments about this in the readmes, if I'm not mistaken.

- Original Message -
From: "Ronny Haryanto" <[EMAIL PROTECTED]>


> On 02-Aug-2000, Dave Sill wrote:
> > 1) Postfix only uses a single uid. qmail uses six.
>
> Why is using more than one uid better? What sort of security problem
> would using one uid potentially pose?




RE: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Austad, Jay

Even if one server is getting hit multiple times in a row, I don't think it
will matter.  I put in 10 servers in my qmqpservers file and some well
placed printf's in qmqpc and ran it 100,000 times several times through.
Each server was getting picked about 10% of the time +/- 1% or so.  If we're
sending millions of messages, this +/- 1% isn't going to make a significant
difference.

I could just use the following code to shuffle the array instead of just
rotating it:

void Shuffle(void *array, int n, size_t size)
{
int f,g;
char *temp,*p;
  
temp=malloc(size);
p=array;
for(f=0;fmailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 8:58 AM
To: JuanE; [EMAIL PROTECTED]
Subject: Re: updated load balancing qmail-qmqpc.c mods


Again, its unnecessary and does not add anything to the 'system' of
distributing load across servers.  Distributing in a true round-robin
fashion is sufficient if the servers are of equal quality (and/or drop
connections sooner if they are not).  True round-robin distribution cannot
easily be accomplished (without shared memory or a temporary file) and so
picking a random starting point is the closest that can be achieved.  Using
random servers each time though, especially from a near-true random number
source, could cause one server to be hit 3 or 4 (or, technically, an
infinite number of) times in a row.  There is no need to go to the expense
of randomly computing each successive server (for example:)

#1 #2 #3 #4 #5
1   3   4   1   2
2   4   1   2   3
3   1   3   4
4   4   1
1   2
2

"1,3,4,1,2" were picked as my random numbers and the number of messages sent
out in a round varying ... each server was hit almost evenly:

1 xx
2 x
3 
4 x

(Disclaimer: My old stats teacher would kill me for this insufficiently long
example and lack of mathematical proof)

- Original Message -
From: "JuanE" <[EMAIL PROTECTED]>
> A small modification to what you have done can get rid of the problem of
> banging one server. Instead of just sampling a random starting point for
> the search, just get a random number between 1 and N (N being the number
of
> servers) and if that server is down just sample again until you find a
> server that's up. This way, you will redistribute the load randomly to all
> servers and not just the next one on the list.




Re: why qmail is more secure, was: Mailing list performance

2000-08-02 Thread Ronny Haryanto

On 02-Aug-2000, Dave Sill wrote:
> 1) Postfix only uses a single uid. qmail uses six.

Why is using more than one uid better? What sort of security problem
would using one uid potentially pose?

> 2) Wietse's code is buggier than Dan's. Check the historical record.
> (To be fair, *everyone's* code is buggier than Dan's. :-)

Well, IMHO, nobody's perfect, period :). Although I'm sure Dan and
Wietse are two of the very best in the field.

> Postfix *can* be configured to run chrooted, which is a plus for
> it. But that doesn't outweigh the above.

Thanks for the insight.

Ronny



Re: why qmail is more secure, was: Mailing list performance

2000-08-02 Thread Dave Sill

Ronny Haryanto <[EMAIL PROTECTED]> wrote:

>On 02-Aug-2000, Dave Sill wrote:
>> I don't think it's quite as secure as qmail
>
>Would you care to shed some light on why you don't think so?

Two reasons:

1) Postfix only uses a single uid. qmail uses six.

2) Wietse's code is buggier than Dan's. Check the historical record.
(To be fair, *everyone's* code is buggier than Dan's. :-)

Postfix *can* be configured to run chrooted, which is a plus for
it. But that doesn't outweigh the above.

-Dave



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread JuanE


Here's an old post I forgot to cc the list to. Thanks to James for
forwarding it.

--Forwarded message --
From: [EMAIL PROTECTED]
To:  5@ @@ay4it.com
Date: 2 Aug 2000 14:44:14 -
Subject: failure notice
>
> Hi. This is the qmail-send program at muncher.math.uic.edu.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> I do not accept blind carbon copies. Please use To or Cc.
> 
> --- Below this line is a copy of the message.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 9238 invoked from network); 2 Aug 2000 14:44:13 -
> Received: from maybe.domainregistry.ie (193.1.142.4)
>   by muncher.math.uic.edu with SMTP; 2 Aug 2000 14:44:13 -
> Received: (qmail 8695 invoked by uid 1000); 2 Aug 2000 14:43:49 -
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 8382 invoked from network); 2 Aug 2000 14:13:26 -
> Received: from drno-int.domainregistry.ie (HELO smtp.domainregistry.ie) 
>(?hIO52HHLEyWUw4SKuCTAep5ydEYRa8/y?@193.1.142.18)
>   by maybe.domainregistry.ie with SMTP; 2 Aug 2000 14:13:26 -
> Received: (qmail 31881 invoked by uid 501); 2 Aug 2000 14:13:25 -
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 31878 invoked from network); 2 Aug 2000 14:13:25 -
> Received: from unknown (HELO fwder.com) (216.42.24.88)
>   by smtp0.domainregistry.ie with SMTP; 2 Aug 2000 14:13:25 -
> Received: (qmail 9113 invoked by uid 99); 2 Aug 2000 14:05:57 -
> Message-ID: <[EMAIL PROTECTED]>
> References: <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> In-Reply-To: <[EMAIL PROTECTED]>
> From: "JuanE" <[EMAIL PROTECTED]>
> To: James Raftery <[EMAIL PROTECTED]>
> Subject: Re: updated load balancing qmail-qmqpc.c mods
> Date: Wed, 02 Aug 2000 14:05:57 GMT
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Resent-From: [EMAIL PROTECTED]
> Resent-Date: Wed, 2 Aug 2000 15:43:49 +0100
> Resent-To: [EMAIL PROTECTED]
> 
> 
> Not quite. The possibility does exist, but the likelihood os not the same
> as choosing an even spread. If only one server is down, you will pick it
> twice with probability 1/N^2, 3 times with p = 1/N^3, etc...
> 
> The probability that you deliver the message in 2 or less attempts is
> (N-1)/N + (N-1)/N^2. So the odds of distributing the load evenly is much
> greater than acuatlly polling the same down server twice.
> 
> But, you bring up a valid point. If you want to absolutely avoid the
> possibility of polling the same down server twice, you need to keep track
> of the servers you poll. When you sample a random number, just check if it
> already came up and skip it. This can easily be accomplished with flags. If
> you have less than 32 servers (or is it 16, i don't remember), you can just
> use an integer (or long?) and use every bit as a flag servers you polled.
> If the bit for the server you are going to poll is on, it means you already
> polled it, so you should skip it and get a random sample again.
> 
> JES
> 
> James Raftery writes:
> 
> > On Wed, Aug 02, 2000 at 11:13:22AM +, JuanE wrote:
> > > This way, you will redistribute the load randomly to all
> > > servers and not just the next one on the list.
> > 
> > Not quite. If choose truly randomly the liklehood of you choosing the
> > same server /every/ time is the same as the liklihood of choosing a
> > nice even spread across the servers. This isn't what you want.
> > 
> > Regards,
> > 
> > james
> > -- 
> > James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
> >IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
> >   "Managing 4000 customer domains with BIND has been a lot like
> >herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
> > 
> 
> 
> 







Re: Cannot send mail thru SMTP

2000-08-02 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>>What do the qmail-send logs say? Did you look in ~alias/Mailbox for
>>bounces?
>
>There are no messages from the ~alias/Mailbox for bounces.
>About qmail-send logs, I don't know where to find the log file,

/var/log/qmail

>Now I have another problem, I cheked the
>/var/qmail/supervise/qmail-smtpd/run file and tried to edit it here
>is the file: 
>
>#!/bin/sh
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 400 \
>/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>   -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
>
>Then I saved it and restart qmail.

Hmm. What did you change?

>After restarting, a repeated message appears on the screen:
>
>> softlimit: fatal: unable to run : file does not exist
>
>I don't know what it means, so I just ignore it and tried testing
>mail thru smtp. 

softlimit is saying it can't find /usr/local/bin/tcpserver.

>Now I can't even connect.

Of course not.

-Dave



Re: why qmail is more secure, was: Mailing list performance

2000-08-02 Thread Ronny Haryanto

On 02-Aug-2000, Dave Sill wrote:
> I don't think it's quite as secure as qmail

Would you care to shed some light on why you don't think so? Not to
ignite flames but for informational purposes. I use both qmail and
postfix and it is very interesting to understand not just the
strengths, but also the weaknesses of both.

TIA.

Ronny



Re: Mailing list performance

2000-08-02 Thread Dave Sill

>  http://www.kyoto.wide.ad.jp/mta/eval1/

Just noticed that this is now available in English:

  http://www.kyoto.wide.ad.jp/mta/eval1/eindex.html

-Dave



Re: qmail-pw2u error

2000-08-02 Thread Dave Sill

"Chris, the Young One" <[EMAIL PROTECTED]> wrote:

>On Wed, Aug 02, 2000 at 09:12:27AM -0400, Dave Sill wrote:
>! >! This is the output of ls -dln...
>! >! 
>! >! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
>! >
>! >Looks good.
>! 
>! Yes and no. That's the right uid but it should display as "alias",
>! not "400". Sounds like either /etc/password or getpw* is broken.
>
>I said to type ``ls -dln''. -d means show directory (and not its
>contents), -l means long listing, and -n means show numeric user
>and group. If it showed ``alias'' instead of ``400'' I'd say ls
>was broken. :-)

D'oh. Missed the "n". I forget: did he post ls output that showed
"alias"?

How about running qmail-pw2u under trace/truss/strace/par?

-Dave



Re: Mailing list performance

2000-08-02 Thread Dave Sill

Fernando Almeida <[EMAIL PROTECTED]> wrote:

>Irwan Hadi wrote:
>
>> At 08:45 PM 8/1/00 -0300, you wrote:
>> >
>> > Im setting a mailing list system that will require a VERY good
>> >performance. After search for a lot of options, Ive decided to use qmail
>> >because I think it is the most quick and configurable MTA.
>>
>> you wrong.
>> postfix (Www.postfix.org) is 3 times faster then qmail.

You wrong. See:

  http://www.kyoto.wide.ad.jp/mta/eval1/

(Japanese text, but the graphics are labeled in English.)

>Ive just read the postfix documentation, and I would like to know about
>how secure it is.

I don't think it's quite as secure as qmail, but it's way better than
Sendmail.

-Dave



Re: Mailing list performance

2000-08-02 Thread Irwan Hadi

At 10:24 AM 8/2/00 -0300, Fernando Almeida wrote:
>Ive just read the postfix documentation, and I would like to know about
>how secure it is. Its know that qmail is a very secure system

qmail will not be a secure system anymore if you delete the rcpthosts file 
which makes it open relay.
the same will happens to postfix, if you don't set your main.cf correctly.
So it depends on the administrator to make whether a system is secure or not.




Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Wed, Aug 02, 2000 at 09:12:27AM -0400, Dave Sill wrote:
! >! This is the output of ls -dln...
! >! 
! >! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
! >
! >Looks good.
! 
! Yes and no. That's the right uid but it should display as "alias",
! not "400". Sounds like either /etc/password or getpw* is broken.

I said to type ``ls -dln''. -d means show directory (and not its
contents), -l means long listing, and -n means show numeric user
and group. If it showed ``alias'' instead of ``400'' I'd say ls
was broken. :-)

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Michael T. Babcock

Again, its unnecessary and does not add anything to the 'system' of
distributing load across servers.  Distributing in a true round-robin
fashion is sufficient if the servers are of equal quality (and/or drop
connections sooner if they are not).  True round-robin distribution cannot
easily be accomplished (without shared memory or a temporary file) and so
picking a random starting point is the closest that can be achieved.  Using
random servers each time though, especially from a near-true random number
source, could cause one server to be hit 3 or 4 (or, technically, an
infinite number of) times in a row.  There is no need to go to the expense
of randomly computing each successive server (for example:)

#1 #2 #3 #4 #5
1   3   4   1   2
2   4   1   2   3
3   1   3   4
4   4   1
1   2
2

"1,3,4,1,2" were picked as my random numbers and the number of messages sent
out in a round varying ... each server was hit almost evenly:

1 xx
2 x
3 
4 x

(Disclaimer: My old stats teacher would kill me for this insufficiently long
example and lack of mathematical proof)

- Original Message -
From: "JuanE" <[EMAIL PROTECTED]>
> A small modification to what you have done can get rid of the problem of
> banging one server. Instead of just sampling a random starting point for
> the search, just get a random number between 1 and N (N being the number
of
> servers) and if that server is down just sample again until you find a
> server that's up. This way, you will redistribute the load randomly to all
> servers and not just the next one on the list.





Re: Mailing list performance

2000-08-02 Thread Vince Vielhaber

On Wed, 2 Aug 2000, Fernando Almeida wrote:

> Irwan Hadi wrote:
> 
> > At 08:45 PM 8/1/00 -0300, you wrote:
> > >
> > > Im setting a mailing list system that will require a VERY good
> > >performance. After search for a lot of options, Ive decided to use qmail
> > >because I think it is the most quick and configurable MTA.
> >
> > you wrong.
> > postfix (Www.postfix.org) is 3 times faster then qmail.
> 
> Ive just read the postfix documentation, and I would like to know about
> how secure it is. Its know that qmail is a very secure system

Check the bugtraq archives at securityfocus.com

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: rblsmtpd

2000-08-02 Thread Paul Farber

www.qmail.org

download ucspi-tcp-0.88 its included in the package... docs are also on
the site.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Wed, 2 Aug 2000, Slider wrote:

> 
> Hi,
> 
> Some rather basic questions
> 
> How do I set the $RBLSMTPD environment variable in order for rblsmtpd to
> block incoming rbl mails?
> Does rblsmtpd need it's own daemon or can it be integrated with the smtpd
> daemon if so how?
> 
> Thanks
> 
> AC
> 
> 




Re: Mailing list performance

2000-08-02 Thread Fernando Almeida

Irwan Hadi wrote:

> At 08:45 PM 8/1/00 -0300, you wrote:
> >
> > Im setting a mailing list system that will require a VERY good
> >performance. After search for a lot of options, Ive decided to use qmail
> >because I think it is the most quick and configurable MTA.
>
> you wrong.
> postfix (Www.postfix.org) is 3 times faster then qmail.

Ive just read the postfix documentation, and I would like to know about
how secure it is. Its know that qmail is a very secure system


  Thanks,

--
_
Fernando Costa de Almeida
ICQ - 72293951





Re: qmail-pw2u error

2000-08-02 Thread Dave Sill

"Chris, the Young One" <[EMAIL PROTECTED]> wrote:

>On Tue, Aug 01, 2000 at 02:32:12PM -0400, Vincent Danen wrote:
>! user ids: 400, 401, 402, 0, 403, 404, 405, 406.
>
>Looks good.
>
>! This is the output of ls -dln...
>! 
>! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
>
>Looks good.

Yes and no. That's the right uid but it should display as "alias",
not "400". Sounds like either /etc/password or getpw* is broken.

-Dave



Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Tue, Aug 01, 2000 at 02:32:12PM -0400, Vincent Danen wrote:
! user ids: 400, 401, 402, 0, 403, 404, 405, 406.

Looks good.

! This is the output of ls -dln...
! 
! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/

Looks good.

! Could this be it?  It's owned by alias.qmail, maybe it should be
! alias.nofiles?  I'm guessing because the files in alias/ are owned by
! alias.nofiles.

It doesn't matter. qmail-pw2u doesn't care about the gid of the home
directory. It only cares that the uids match.

Okay, next step. Check to see if you have /var/qmail/users/include
or /var/qmail/users/exclude files. If you have an ``include'', make
sure that ``alias'' is listed. If you have an ``exclude'', make sure
that ``alias'' is not listed.

If you have neither of those files, then I'm going to have to look
deeper...

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread James Raftery

On Wed, Aug 02, 2000 at 11:13:22AM +, JuanE wrote:
> This way, you will redistribute the load randomly to all
> servers and not just the next one on the list.

Not quite. If choose truly randomly the liklehood of you choosing the
same server /every/ time is the same as the liklihood of choosing a
nice even spread across the servers. This isn't what you want.

Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



Re: build-rblsmtpd error

2000-08-02 Thread Gerrit Pape

On Wed, Aug 02, 2000 at 02:08:48PM +0200, Neil D. Roberts wrote:
> Hi !
> 
> Running Debian, I done the "build-rblsmtpd" which debian implements in a
> DEB rblsmtpd-source package. The only problem is that the
> "build-rblsmtpd" part exits with a rather nice error. These are the
> lines it does :
> 
> Press ENTER to continue...
> make
> make[1]: Entering directory `/tmp/rblsmtpd/rblsmtpd-0.70´
> nroff -man rblsmtpd.8 > rblsmtpd.0
> nroff -man antirbl.8 > antirbl.0
> ./compile rblsmtpd.c
> make[1]: execvp: ./compile: Permission Denied
> make[1]: *** [rblsmtpd.o] Error 127
> make[1]: Leaving directory `/tmp/rblsmtpd/rblsmtpd-0.70´
> make: *** [build] Error 2
> 
> I don´t know if anyone has come across this problem before, or if I have
> missed a step. Any ideas ?
>
You have wrong permissions on ./compile, execution not allowed. rblsmtpd is
now include in ucspi-tcp-0.88 . You should use this version and build from
source.

Gerrit.

-- 
[EMAIL PROTECTED]
  innominate AG
  networking people
tel: +49.30.308806-0 fax: -77  web: http://innominate.de  pgp: /pgp/gpa



Re: build-rblsmtpd error

2000-08-02 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2 Aug 00, at 14:08, Neil D. Roberts wrote:

> make
> make[1]: Entering directory `/tmp/rblsmtpd/rblsmtpd-0.70´
[snip]
> ./compile rblsmtpd.c
> make[1]: execvp: ./compile: Permission Denied
[snip]
> I don´t know if anyone has come across this problem before, or if I
> have missed a step. Any ideas ?

Two possibilities:
1. The source package is broken and "compile" is not marked as
executable.
2. Your /tmp directory is mounted as "noexec".

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOYgEulMwP8g7qbw/EQKEPgCgu16heeXY1O0bU1mRJ8UmU6dfzJIAniDc
ZrxwEuh4JtgHc4qMUtqUmZ1i
=jd5l
-END PGP SIGNATURE-



build-rblsmtpd error

2000-08-02 Thread Neil D. Roberts

Hi !

Running Debian, I done the "build-rblsmtpd" which debian implements in a
DEB rblsmtpd-source package. The only problem is that the
"build-rblsmtpd" part exits with a rather nice error. These are the
lines it does :

Press ENTER to continue...
make
make[1]: Entering directory `/tmp/rblsmtpd/rblsmtpd-0.70´
nroff -man rblsmtpd.8 > rblsmtpd.0
nroff -man antirbl.8 > antirbl.0
./compile rblsmtpd.c
make[1]: execvp: ./compile: Permission Denied
make[1]: *** [rblsmtpd.o] Error 127
make[1]: Leaving directory `/tmp/rblsmtpd/rblsmtpd-0.70´
make: *** [build] Error 2

I don´t know if anyone has come across this problem before, or if I have
missed a step. Any ideas ?

Thanks, Neil




Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread JuanE


I like the idea of statically listing them, but as you mentioned it is not
very scalable. The shuffling can be very expensive. I believe it would grow
with N^2. Instead of shuffling, just plain random sampling would be better
computationally. See me previous posting.

I think this is a "profile, don't speculate" scenario.

JES

Frank D. Cringle writes:

> "Austad, Jay" <[EMAIL PROTECTED]> writes:
> > From: JuanE [mailto:[EMAIL PROTECTED]]
> >> Assume you have 4 servers A, B, C, D, and that server C is down. When your
> >> random seed hits server A, B or D (with probability 1/4, respectively) the
> >> message will go through fine. When your random seeds hits server C (again
> >> with p=1/4), you will realize that it is down and proceed to D. So in
> >> effect you will hit servers A and B with probability 1/4 each, and server D
> >> with probability 1/2. This is not very good load balancing, because
> 
> > You are correct.  However, since qmail-qmqpc does not continually run, it is
> > not possible to do a non-random round robin (as far as I know).
> 
> Choose a permutation of the server list at random.  Then step through
> this list until you hit a good server or exhaust the list.
> 
>  1. A B C D
>  2. A B D C
>  3. A C B D
>  4. A C D B
>  
> 24. D C B A
> 
> If your random number is 4, you try A, then C, then D and finally B.
> 
> If the number of servers is reasonably small, say up to 7, you could
> enumerate all permutations as a static array in the code and then use
> a random index into the array to determine the order.  Generating a
> random permutation algorithmically is not too easy.  You can either
> approximate by shuffling or make a direct choice using some bignum
> arithmetic described in "Permutation Generation Methods", Robert
> Sedgewick, Computing Surveys, Vol. 9, No. 2, June 1997.
> 
> -- 
> Frank Cringle,  [EMAIL PROTECTED]
> voice: (+49 2304) 467101; fax: 943357
> 






rblsmtpd

2000-08-02 Thread Slider


Hi,

Some rather basic questions

How do I set the $RBLSMTPD environment variable in order for rblsmtpd to
block incoming rbl mails?
Does rblsmtpd need it's own daemon or can it be integrated with the smtpd
daemon if so how?

Thanks

AC




Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread JuanE


Jay,

A small modification to what you have done can get rid of the problem of
banging one server. Instead of just sampling a random starting point for
the search, just get a random number between 1 and N (N being the number of
servers) and if that server is down just sample again until you find a
server that's up. This way, you will redistribute the load randomly to all
servers and not just the next one on the list.

What I propose sounds very expensive computationally, but there might be a
way to bypass using rand. If there is a way to get the time down to
microseconds (I believe gettimeofday() will do this), then you can use the
microseconds in the time as your random variable. Just take the number of
microseconds mod N. This should be much faster than using rand and close
enough to uniform for this purpose (anybody disagree??).

If this is feasible, then it sounds much simpler than trying to deamonize
qmqpc.

Hope this helps.
JES

Austad, Jay writes:

> You are correct.  However, since qmail-qmqpc does not continually run, it is
> not possible to do a non-random round robin (as far as I know).  If qmqpc
> could be turned into a process that ran continuously, it would be possible
> to do regular round-robin and there would be no need for the random stuff at
> all, this may also increase performance because it wouldn't have to read
> /var/qmail/control/qmqpservers every time it started.  I haven't looked at
> it, but does qmail-inject work by just piping it's data into qmail-queue
> (qmail-queue is a link to qmail-qmqpc in a mini-qmail setup)?  If so,
> couldn't qmail-queue be turned into a named pipe, and qmqpc could be
> modified slightly to continously run and wait for input on that named pipe?
> Just a random thought.  Of course, I'm not a programmer and I may not have
> any idea what the hell I'm talking about. :)
> 
> This approach that I'm using obviously isn't going to spread the load
> between servers exactly evenly, but it should be close enough when mailing
> large amounts of mail, unless one qmqp server dies.  However, our qmqp
> servers have port 628 for QMQP monitored closely and I'll get paged within a
> couple of minutes if it goes down, so I'm not too worried about it.  I guess
> I could redo it so instead of just rotating the array by a random number, it
> would shuffle it it randomly.  That would keep it from banging on the server
> immediately after the dead one, and give everything an even chance again.
> 
> Jay
> 
> -Original Message-
> From: JuanE [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 01, 2000 6:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: updated load balancing qmail-qmqpc.c mods
> 
> 
> 
> Jay,
> 
> If I understand this correctly, then I think there is a flaw in this type
> of random round robin. I think I can best describe it with an example.
> 
> Assume you have 4 servers A, B, C, D, and that server C is down. When your
> random seed hits server A, B or D (with probability 1/4, respectively) the
> message will go through fine. When your random seeds hits server C (again
> with p=1/4), you will realize that it is down and proceed to D. So in
> effect you will hit servers A and B with probability 1/4 each, and server D
> with probability 1/2. This is not very good load balancing, because
> basically the load of the server that's down is inherited by the next
> server, which is not what you set out to accomplish.
> 
> With simple, non-random round-robin, when ever you hit server C, you will
> skip it and go to server D. The next message will go to server A, the next
> to B, etc... Thus, the probability of hitting server D is 1/3 (as well as A
> and B).
> 
> All this rests on my interpretation of what you have done, since I am not
> familiar with the code.
> 
> JES
> 
> Austad, Jay writes:
> 
> > Ok, I fixed it.  It now just rotates the serverindex.pos[] by a random
> > amount, and then loops through until it finds a good server. rand() is
> still
> > seeded with milliseconds from the system clock.  I used memcpy() to move
> the
> > array around instead of loops to make it more efficient.
> > 
> > Would it be possible to run qmqpc as some sort of daemon?  Then it could
> > have memory of which server it contacted last and make sure it went to the
> > next one, instead of having the chance of picking the same one again.
> > 
> > Jay
> > 
> > 
> > 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include 
> > #include "substdio.h"
> > #include "getln.h"
> > #include "readwrite.h"
> > #include "exit.h"
> > #include "stralloc.h"
> > #include "slurpclose.h"
> > #include "error.h"
> > #include "sig.h"
> > #include "ip.h"
> > #include "timeoutconn.h"
> > #include "timeoutread.h"
> > #include "timeoutwrite.h"
> > #include "auto_qmail.h"
> > #include "control.h"
> > #include "fmt.h"
> > 
> > #define PORT_QMQP 628
> > 
> > void die_success() { _exit(0); }
> > void die_perm() { _exit(31); 

qmail Digest 2 Aug 2000 10:00:01 -0000 Issue 1081

2000-08-02 Thread qmail-digest-help


qmail Digest 2 Aug 2000 10:00:01 - Issue 1081

Topics (messages 45933 through 45989):

Qmail problem
45933 by: FCP Wong
45934 by: Sylwester S. Biernacki

Cannot send mail thru SMTP
45935 by: markf.samsung.co.kr
45936 by: markf.samsung.co.kr
45939 by: Dave Sill
45986 by: markf.samsung.co.kr

Re: [offtopic?] RE: Encryption (was: Open letter)
45937 by: Dave Sill
45943 by: Michael T. Babcock

Re: many processes open
45938 by: Dave Sill

tcpserver delaying connections
45940 by: Ben Beuchler
45949 by: James Raftery
45951 by: Ben Beuchler
45958 by: James Raftery
45959 by: Ben Beuchler

Rctp hosts
45941 by: Alexander Meis
45944 by: Slider
45945 by: Slider

Re: Duplicate Message-ID question
45942 by: Dave Sill
45954 by: Sten

Re: tai64n -- why?
45946 by: Michael T. Babcock
45947 by: Petr Novotny
45950 by: Michael T. Babcock

Me retirem desta lista
45948 by: monicab

Re: Arguments in favor of djbdns?
45952 by: Ben Beuchler
45953 by: Bennett Todd
45956 by: Ben Beuchler

Qmail and MRTG
45955 by: Cedric Fontaine
45980 by: Russell Nelson

Re: How to requeue messages?
45957 by: Scott Gifford

smtproutes
45960 by: Jacob Scott
45961 by: John White

Re: Blocking Spam, badmailfrom not working
45962 by: Michael T. Babcock

Re: question ?
45963 by: Robin S. Socha

Re: MUA HTML support (was: question)
45964 by: Michael T. Babcock

Qmail and non-Linux clients
45965 by: Subba Rao
45966 by: Alexander Jernejcic

Header address info hiding
45967 by: Subba Rao

Re: (OT) MUA HTML support
45968 by: Ronny Haryanto

Re: qmail-pw2u error
45969 by: Vincent Danen

updated load balancing qmail-qmqpc.c mods
45970 by: Austad, Jay
45973 by: JuanE
45978 by: Austad, Jay
45988 by: Frank D. Cringle

Mailing list performance Im setting a mailing list system that will require a VERY 
good performance. After search for a lot of options, Ive decided to use qmail because 
I think it is the most quick and configurable MTA. Im wondering what can I change to 
improve the performance of my mailing list, I already read the documentation and found 
a lot of thinks like the number of paralell proccess and other things. I really need a 
great performance in this mailing list, so I would like to know some tips and the best 
mailing list manager to use. I would like to know also some statistics of performance 
in mailing list using qmail Best Regards, Im setting a mailing list system that 
will require a VERY good performance. After search for a lot of options, Ive decided 
to use qmail because I think it is the most quick and configurable MTA. Im wondering 
what can I change to improve the performance of my mailing list, I already read the 
documentation and found a lot of thinks like the number of paralell proccess and other 
things. I really need a great performance in this mailing list, so I would like to 
know some Mailing list performance
45971 by: Fernando Almeida

Copy and paste!!!
45972 by: Fernando Almeida

smtproutes and From-Address
45974 by: Moritz Jodeit
45982 by: Robin S. Socha

RFC 2645 server and client that is compatible with qmail?
45975 by: John Conover

send to group functionality ?
45976 by: Barry Smoke
45983 by: Robin S. Socha

ezmlm-send core dumped
45977 by: ¦¶ªÂ°¶
45979 by: J. Paul Reed

How do you add prog arguments using tcpserver
45981 by: Martin Searancke

Re: Sort maildir and send smallest first
45984 by: qmail.col7.metta.lk

ÔÙ´ÎÎÊÄúÓйØqmailµÄÎÊÌâ
45985 by: luo163-local

qmqp and fetchmail
45987 by: Oliver Koch

SPAM BLOCKING
45989 by: Slider

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--





Hi guys,
 
I had just set up qmail for testing and I keep 
receiving this email send to the root user :
 
---
 
From: [EMAIL PROTECTED] (Cron Daemon)To: [EMAIL PROTECTED]Subject: Cron     /sbin/rmmod 
-asX-Cron-Env: X-Cron-Env: 
X-Cron-Env: X-Cron-Env: 

 
rmmod: QM_MODULES: Function not 
implemented
 
rmmod: Function not implementedrmmod: 
QM_MODULES: Function not implemented

 
I checked the root crontab and nothing was being 
run there... anybody have any idea what is this? Currently mails I send to the 
server are not successfully delivered either but this is another problem I guess 
and I just haven't had the

SPAM BLOCKING

2000-08-02 Thread Slider



Hi,

Please can someone drop me a hint as to the method of protecting myself from
spam using the rblsmtpd?

Thanks

Slider




Re: updated load balancing qmail-qmqpc.c mods

2000-08-02 Thread Frank D. Cringle

"Austad, Jay" <[EMAIL PROTECTED]> writes:
> From: JuanE [mailto:[EMAIL PROTECTED]]
>> Assume you have 4 servers A, B, C, D, and that server C is down. When your
>> random seed hits server A, B or D (with probability 1/4, respectively) the
>> message will go through fine. When your random seeds hits server C (again
>> with p=1/4), you will realize that it is down and proceed to D. So in
>> effect you will hit servers A and B with probability 1/4 each, and server D
>> with probability 1/2. This is not very good load balancing, because

> You are correct.  However, since qmail-qmqpc does not continually run, it is
> not possible to do a non-random round robin (as far as I know).

Choose a permutation of the server list at random.  Then step through
this list until you hit a good server or exhaust the list.

 1. A B C D
 2. A B D C
 3. A C B D
 4. A C D B
 
24. D C B A

If your random number is 4, you try A, then C, then D and finally B.

If the number of servers is reasonably small, say up to 7, you could
enumerate all permutations as a static array in the code and then use
a random index into the array to determine the order.  Generating a
random permutation algorithmically is not too easy.  You can either
approximate by shuffling or make a direct choice using some bignum
arithmetic described in "Permutation Generation Methods", Robert
Sedgewick, Computing Surveys, Vol. 9, No. 2, June 1997.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357



qmqp and fetchmail

2000-08-02 Thread Oliver Koch

Hi all

Our institutes mailserver was made a qmqpserver yesterday. As I 
changed my workstaion to use qmqpc to queue the outgoing mails on 
the mailserver I produced a mailloop. Due to the mailaddresses I
collected over time I forward all to our universities central mail
server and use fetchmail to get them to my workstation. Maildrop
sorts the mail and uses qmail as local delivery agent. At this
point it queues the mail again to the institutes mailserver and
completes the loop:

institutes server --(forward)--> central server --(fetchmail)-->
workstation --(maildrop,qmail)--> institutes server ...

How can I break that loop? My workstations FQDN is in the 
control/locals.

Thanks for your help,

-- 
Oliver Koch   Registered Linux User 163952
 
"Virtual" means never knowing where your next byte is coming from.



Re: Cannot send mail thru SMTP

2000-08-02 Thread markf

[EMAIL PROTECTED] wrote:

>Then I tried the test.receive using the
>smtp.  I was able to follow the instructions given on the
>test.receive. But when I checked the mailbox, mail was not received,
>instead there was a mailer-daemon message...

>No, that's not really a mailer daemon message. As the Subject says,
>it's "FOLDER INTERNAL DATA". (Do I smell pine?)

Yes, I used pine mail.

>Then I checked the maillog it says:
>
>supervise: fatal: unable to acquire log/supervise/lock: temporary failure
>supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
>supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary failure

>I'm not sure why you got those, but apparently it *was* temporary
>since all the necessary daemons seem to be running.
Yes it's my mistake, it's not from maillog, it just appears on the screen after I 
execute
/usr/local/sbin/qmail start

>What do the qmail-send logs say? Did you look in ~alias/Mailbox for
>bounces?
There are no messages from the ~alias/Mailbox for bounces.
About qmail-send logs, I don't know where to find the log file, but what i did is I 
checked the status
using the /usr/local/sbin/qmail stat, it says:

qmail-send/log: up (pid 13777).

Now I have another problem, I cheked the /var/qmail/supervise/qmail-smtpd/run file and 
tried to edit it here is the file:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

Then I saved it and restart qmail.
After restarting, a repeated message appears on the screen:

> softlimit: fatal: unable to run : file does not exist

I don't know what it means, so I just ignore it and tried testing mail thru smtp.
Now I can't even connect. it says:

>telnet localhost 25

>Trying 127.0.0.1...
>telnet: Unable to connect to remote host: Connection refused.

Thanks for responding to my help, hope you could help me.

Mark





再次问您有关qmail的问题

2000-08-02 Thread luo163-local



Õæ³ÏµÄ¸ÐлÄúµÄ»Ø´ð,ÓÐʱ¼äµ½»ÆɽÀ´,Ò»¶¨ÈýÅã:³Ô,ºÈ,Íæ.½üÈÕÈôÓÐʱ¼ä,ÄÜ·ñÇ××Ôµ½ºÏ·ÊÀ´Ò»ÌË,·ÑÓÃÒ»ÇÐÓÐÎÒÃÇ°ü,»ÆɽÔÚÄÚ.ÄÜ·ñ°Ñ±àÒëºÃµÄqmail+mysql»ò¸Ä¶¯ºÃµÄqmail+mysqlµÄÔ­³ÌÐò·¢¸øÎÒÃÇ!
  ÔÙ´ÎÑûÇëÄúµÄ¹âÁÙ.
 
 
    
°²»ÕÅ©Íø(www.ahnw.gov.cn)