Re: High-load servers...

2000-01-20 Thread Mark Delany

On Fri, Jan 21, 2000 at 12:36:15PM +0800, Michael Boman wrote:
> I've seen someone post a question like this but didnt get a decent answer.
> 
> I am looking into hosting a mailservice that will handle around 1-3
> million SMTP transactions per day. What kind of hardware do I need to
> manage that?

As always, it depends.

Are these inbound or outbound transactions. Inbound and the concommitant
local delivery is usually a lot harder on a system than outbound.

I've seen a single Pentium class server with FreeBSD and 256M deliver
around 1million outbound mails per day.

I've also seen an inbound system that consisted of 2 front-end ultras
delivering to a NetApp and that was needed for something trivial like
100K inbound per day.

> I also wonder if there could be a change of the queue dir so it could
> be shared, as then any of the mailservers in the mailcluster can take
> the queued file and send it, and not only the one that recived it in
> the first place.

queues cannot be shared for at least two reasons. Firstly qmail-send
et al assume they have a lock on the queue for their own purposes and
secondly the structure of the queue is such that it cannot easily be
shared across a network using, eg, NFS.

You will need to have separate queues that are load-balanced in
some way. There are also NVRAM disks to consider as potential
queue disks with awesome performance, but I've not seen those
used on qmail.


Regards.



RE: Cannot creating user account with an & in qmailadmin

2000-01-20 Thread Stephen Mills
Title: RE: Cannot creating user account with an & in qmailadmin






never used qmailadmin, just use the shell.


to do this, create an alias like this :


useradd fb
passwd fb (set the passwd)
echo "&[EMAIL PROTECTED]" > "/var/qmail/alias/.qmail-f&b"


get your user to check mail on fb account,
users can email f&[EMAIL PROTECTED]


Cheers
--Stephen




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
iv0
Sent: Friday, January 21, 2000 3:03 PM
To: john
Cc: [EMAIL PROTECTED]
Subject: Re: Cannot creating user account with an & in qmailadmin



> john wrote:
> 
> Hi,
> 
> I am trying to create user account in qmail using qmailadmin and I am
> unable to create a user for example f&b.
> 
> Why does this have so much restriction ? Can I create it?
> 
> Regards
> John


f&b is not a valid user name. I think.


Ken Jones





High-load servers...

2000-01-20 Thread Michael Boman

I've seen someone post a question like this but didnt get a decent answer.

I am looking into hosting a mailservice that will handle around 1-3
million SMTP transactions per day. What kind of hardware do I need to
manage that?

I also wonder if there could be a change of the queue dir so it could
be shared, as then any of the mailservers in the mailcluster can take
the queued file and send it, and not only the one that recived it in
the first place.

Please advice
 Michael Boman

-- 
W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
email : [EMAIL PROTECTED]URL : http://www.wizoffice.com



Re: Timezone

2000-01-20 Thread Walt Mankowski

On Thu, Jan 20, 2000 at 04:43:55PM +0100, Mads E Eilertsen wrote:
> If you like to display the time stamps in a local timezone, ask your MUA
> author to make the MUA do so.  Or take a look at http://cr.yp.to/mess822.html

That's a cool idea!  Do you know of any MUA's that can do that?  I was
hoping mutt might be able to, but I couldn't find anything in the
manual.



Re: Cannot creating user account with an & in qmailadmin

2000-01-20 Thread iv0

> john wrote:
> 
> Hi,
> 
> I am trying to create user account in qmail using qmailadmin and I am
> unable to create a user for example f&b.
> 
> Why does this have so much restriction ? Can I create it?
> 
> Regards
> John

f&b is not a valid user name. I think.

Ken Jones



How to - Japanese version of Qmail

2000-01-20 Thread john



Hi,
 
I need to setup English and Japanese version of qmail. How do 
I go about installing for Japanese version.
 
Your reply would be much appreciated.
 
Thanks & Regards
John Francis
 


Cannot creating user account with an & in qmailadmin

2000-01-20 Thread john



Hi,
 
I am trying to create user account in qmail using qmailadmin 
and I am unable to create a user for example f&b.
 
Why does this have so much restriction ? Can I create 
it?
 
Regards
John


Re: TimeZone patch

2000-01-20 Thread Dave Stites

For the List,

My apologies for inadvertently injecting HTML into this list.  That will 
*not* happen again

For Dave Sill,

Thank you for your response.  It is now perfectly clear that for me to 
install said patch would be very inadvisable.  Also, THANK YOU, for "Life 
with qmail" which recently was invaluable to me!

Warm Regards,
-=dave=-



ORBS + MAPS + DUL

2000-01-20 Thread Todd A. Jacobs

Is it possible to use rblsmtpd to check more than one source at a
time? For example, I'd like to set it up to consult all of the above
services before accepting incoming mail. At the moment, I've got the
following in inetd.conf:

smtp stream tcp nowait qmaild /usr/sbin/tcpd \
/var/qmail/bin/tcp-env /usr/local/bin/rblsmtpd\
/var/qmail/bin/qmail-smtpd

which only consults MAPS. Advice, please.

-- 
Todd A. Jacobs
Network Systems Engineer



Oslo training reminder, and discount

2000-01-20 Thread Russell Nelson

Reminder: I will be giving a two-day training session on qmail and
BIND in Oslo on February 14 and 15.  That's a little under a month
now.  I've decided to offer a 20% discount for three or more people
billed to the same address, and a 10% discount for payment received
prior to February 1.

I'm going to cover dnscache on the second day.  Hopefully Dan won't
change it too much between now and then.  :)

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: TimeZone patch

2000-01-20 Thread Dave Sill

Dave Stites <[EMAIL PROTECTED]> wrote:

>
>Hi List,
>

Hi.  It's cold here, too.

>Sorry but I became a little lost here in following the gentle roasting
>and the only "reason" I found was one of those "if you
>don't already know why not - don't do it" variety which, since I do
>*not* "already know" causes me to raise the question.
>
>Is there any valid technical reason for *not* applying John Saunder's
>patch to date822fmt.c which causes it
>to emit dates in the local timezone which I found on
>http://www.qmail.org/" eudora="autourl">www.qmailhref="http://www.qmail.org/" eudora="autourl">.org?

1. Since Received timestamps are generated by sites all over the
   world, one can either log the local time, which is convenient for
   people who happen to be in that time zone, but inconvenient for
   everyone else--or one can log a "universal" time, which is mildly
   inconvenient for most people, but which makes it much easier to
   track delivery times in received header fields of messages that
   traverse timezones.

2. Dan went to great lengths to avoid *ever* linking against the
   standard C runtime library. Converting to localtime requires doing
   so. Dan had good (security, obesity) reasons for avoiding libc.

3. This has nothing to do with timezones: HTML mail is annoying.

-Dave



TimeZone patch

2000-01-20 Thread Dave Stites

Hi List,

Sorry but I became a little lost here in following the gentle roasting
and the only "reason" I found was one of those "if you
don't already know why not - don't do it" variety which, since I do
*not* "already know" causes me to raise the question.

Is there any valid technical reason for *not* applying John Saunder's
patch to date822fmt.c which causes it
to emit dates in the local timezone which I found on
www.qmail.org?

TIA

-=dave=-


RE: Negatives in grammar

2000-01-20 Thread Scott D. Yelich

-BEGIN PGP SIGNED MESSAGE-

> Which most of the English speaking world would interpret as "My mother
> can't do that", possibly with an implied "(but just about anyone else
> can)". This type of idiom leads to ambiguity, and is a barrier to
> communication--its only purpose is to be cute. -Dave

Hogwash.

I have spent the last ten years thinking about AI and learning how to
learn (as it applies to language).  Everything that I've come to
understand says that much of the points made in this argument/discussion
have been total crap.

My father asked me if I wanted a baar.
I said yes.
He asked me if I wanted it out of the bottle.
I said yes.
He brought it to me in a glass.
I was upset -- I wanted [to drink it] out
of the bottle.

I have many more examples of this.  English is *very* ambiguous, but
language in general is. We have to assume just to communicate on the 
most basic level and arguing about flavor only seems to take away
from our humanism.  This list has taught me new words, but
it has not taught me anything new about how to communicate.

One of my favorite new CDs is one that teaches me 51 spoken languages of
the world.  I have recntly had the pleasure of experiencing Swedish and
now Dutch.

Where are you parked?
(What does this mean?  How is a computer supposed to know this?)

I have bitched in the past about qmail doing what I felt
was stupid things -- but I have since come to expect this
from qmail and the list.

If you'd like to talk to me about any of this, please email
me directly so we won't bore the rest of the list with things
that will just be disagreement on anyway.

Scott
 


-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBOIdqER4PLs9vCOqdAQEQgQP9HPi7ZHOod2Uzh6Af2Yt/fzcVQOf7UCt0
DU8gxttHQsoCZ6JH4HYYoeG7pGDgH9jT57p94idHgsOwq+8rf1W4t+83lSlwBC5+
VoSHLtmi8jWuiKogn5BT5yfXZvQn/ffUQW6LikmYhtt1jq1cspiIXgKUrxvICc3X
JlWfOA5q4kM=
=RT+v
-END PGP SIGNATURE-



qmail sending multi messages

2000-01-20 Thread BoB Hope

I am having a problem with qmail sending the same messages to the same 
person 3 or more times.  The messages are not all being sent at the same 
time and it does not happen to all the users.  The logs show that it is the 
same from, to and the same message ID..

Could anyone give some thoughts feelings or concers with this.

Mike Poulson
[EMAIL PROTECTED]
208-947-1753
__
Get Your Private, Free Email at http://www.hotmail.com



Re: anonymous mailing lists

2000-01-20 Thread Bruce Guenter

On Thu, Jan 20, 2000 at 02:56:15PM -0500, Matthew B. Henniges wrote:
> echo "from" >> DIR/headerremove
> echo "From: Listname" >> DIR/headeradd
> 
> ought to do it under ezmlm idx

Better add sender, reply-to, return-path, return-receipt-to, and
errors-to, and possibly message-id and received to headerremove.
-- 
Bruce Guenter <[EMAIL PROTECTED]>   http://em.ca/~bruceg/



RE: anonymous mailing lists

2000-01-20 Thread Matthew B. Henniges

echo "from" >> DIR/headerremove
echo "From: Listname" >> DIR/headeradd

ought to do it under ezmlm idx

Matthew B. Henniges
Axl.net Communications
http://www.axl.net
(203) 552-1714

> -Original Message-
> From: Albert Hopkins [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 20, 2000 2:41 PM
> To: Qmail Mailing List
> Subject: anonymous mailing lists
>
>
>
> What's the easiest way to set up an "anonymous" mailing list?  What I mean
> is that the recipients do not know who the sender is.  I want the "From:"
> header to be the name of the list, etc.
>
>
> --
> Albert Hopkins
> Sr. Systems Specialist
> Dynacare, Inc
> [EMAIL PROTECTED]
>
>



RE: Negatives in grammar

2000-01-20 Thread Len Budney

Dave Sill <[EMAIL PROTECTED]> wrote:
> >
> >For example, if you boast, ``I can build a Linux mail server in under
> >an hour,'' I might reply, ``So can't my mother.''
> 
> Which most of the English speaking world would interpret as "My mother
> can't do that",

Perhaps. But who cares about ``most of the English speaking world'' when
I am speaking with fellow New Englanders?

> This type of idiom leads to ambiguity, and is a barrier to
> communication--its only purpose is to be cute.

Not. It's correct usage of the local dialect, and perfectly clear to its
native speakers.

In many contexts, standard American English is the correct dialect
for clear communication. But that hardly makes it the best choice in
every context. I've met speakers of many dialects who do not understand
standard English. You're free to call them slack-jawed morons if you
wish, and ignore them--but the best way to communicate with them is in
their native dialect.

As for ``That is true, isn't it?'' you are still wrong. The idiom is in
fact good standard American English. So despite your logicians quibble,
it causes no ambiguity--except for people who don't understand standard
English.

Len.

PS My last post on this thread. We've abused the list charter enough.



anonymous mailing lists

2000-01-20 Thread Albert Hopkins


What's the easiest way to set up an "anonymous" mailing list?  What I mean
is that the recipients do not know who the sender is.  I want the "From:"
header to be the name of the list, etc.


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



Re: Negatives in grammar

2000-01-20 Thread petervd

On Thu, Jan 20, 2000 at 02:23:54PM -0500, Dave Sill wrote:
> "Len Budney" <[EMAIL PROTECTED]> wrote:
> 
> >You are being pedantic, are you not? Yes--and you're mistaken.
> 
> I was clearly being pedantic. Next time I'll use a  tag.
> 
> >This particular use of 'not' is purely idiomatic.
> 
> Just because a particular grammatical butchery is in wide use and fits 
> the definition if "idiom" doesn't mean it's conducive to
> communication.

Amen!

> >PS We New Englanders use negatives in other contexts as particles of
> >emphasis. For example, if you boast, ``I can build a Linux mail server
> >in under an hour,'' I might reply, ``So can't my mother.''

I kinda like this one. It's not so ambiguous if you read the cinicism.

> Which most of the English speaking world would interpret as "My mother
> can't do that", possibly with an implied "(but just about anyone else
> can)". This type of idiom leads to ambiguity, and is a barrier to
> communication--its only purpose is to be cute.

Correct. I wholeheartedly agree with you about the "isn't it" thing, although in 
English
this thing is more widely accepted than in Dutch. I'm training my co-workers to
understand me when I say 'no' to a negative question. They're fast learners :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: checkpassword and ldap (was: Qmail with LDAP Auth)

2000-01-20 Thread Andre Oppermann

Andrzej Szydlo wrote:
> 
> Hi,
> 
> What bit of code was that?
> My checpassword still seems to take user and pass form commandline, which
> results in:
> 
>  parsing arguments: POP username is '/var/qmail/bin/qmail-pop3d'
>  parsing arguments: POP password is 'Maildir'
> 
> I use tcpserver for pop3:
> 
> tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup maciek.gv.edu.pl  \
> /bin/checkpassword  /var/qmail/bin/qmail-pop3d Maildir &
> 
> What am I doing wrong?

You compiled your checkpassword with debugging enabled. Turn it off,
recompile and install again.

-- 
Andre



RE: Negatives in grammar

2000-01-20 Thread Dave Sill

"Len Budney" <[EMAIL PROTECTED]> wrote:

>You are being pedantic, are you not? Yes--and you're mistaken.

I was clearly being pedantic. Next time I'll use a  tag.

>This particular use of 'not' is purely idiomatic.

Just because a particular grammatical butchery is in wide use and fits 
the definition if "idiom" doesn't mean it's conducive to
communication.

>PS We New Englanders use negatives in other contexts as particles of
>emphasis. For example, if you boast, ``I can build a Linux mail server
>in under an hour,'' I might reply, ``So can't my mother.''

Which most of the English speaking world would interpret as "My mother
can't do that", possibly with an implied "(but just about anyone else
can)". This type of idiom leads to ambiguity, and is a barrier to
communication--its only purpose is to be cute.

-Dave



RE: Time zone

2000-01-20 Thread Paul Trippett

For those of you that have missed this. I asked a simple question about UTC
and where it comes from and where now into POSIX not being Y2.1K Compliant,
and there is also a variant about Negatives in Grammar.

Don't you love it when this happens :)

Regards,

Paul Trippett

-Original Message-
From: Russell Nelson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 20, 2000 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Timezone


Ian Lance Taylor writes:
 >From: Russell Nelson <[EMAIL PROTECTED]>
 >Date: Thu, 20 Jan 2000 13:22:56 -0500 (EST)
 > 
 >Mark Delany writes:
 > > I walk around http://physics.nist.gov/GenInt/Time/world.html
 > > might be instructive.
 > 
 >Instructive, yes, but it says nothing about TAI.  TAI is simply a
 >counting of seconds, without UTC being taken into account.  TAI + leap

 >seconds == UTC.  Unix machines claim to run on UTC but really operate
 >on TAI.
 > 
 > This is one of those statement which punches my personal pedant
 > button.
 > 
 > I believe that machines which follow POSIX run on a mixture.

Me too.  Didn't I just say that?  Perhaps the most accurate way to say 
it is that the kernel naturally runs TAI, but it's sense of time it
coerced into UTC by people or other software external to the kernel.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



checkpassword and ldap (was: Qmail with LDAP Auth)

2000-01-20 Thread Andrzej Szydlo

Hi,

What bit of code was that?
My checpassword still seems to take user and pass form commandline, which 
results in:

 parsing arguments: POP username is '/var/qmail/bin/qmail-pop3d'
 parsing arguments: POP password is 'Maildir'

I use tcpserver for pop3:

tcpserver -v 0 pop3 /var/qmail/bin/qmail-popup maciek.gv.edu.pl  \
/bin/checkpassword  /var/qmail/bin/qmail-pop3d Maildir &

What am I doing wrong?

Andrzej

On Wed, Sep 22, 1999 at 01:19:52PM +1200, Jim Gilliver wrote:
> RGH!
> 
> Ok, my mistake... I missed a bit of code that needed commenting, and I can
> now get debugging info.  It is definitely checking the LDAP server
> correctly, and it acknowledges that it can set its UID and GID to mine,
> change to my $HOME/Mailbox directory correctly, so now it appears that
> qmail-pop3d is the problem, claiming that "this user has no $HOME/Maildir".
> I'm really going nuts over this, but I'll have to follow the pop3d code for
> a while now...
> 
> Sorry all, and thanks again to Jeffrey Skelton for his help.



Re: Timezone

2000-01-20 Thread petervd

On Thu, Jan 20, 2000 at 01:48:35PM -0500, Ian Lance Taylor wrote:
>Date: Thu, 20 Jan 2000 19:42:49 +0100
>From: [EMAIL PROTECTED]
> 
>Why? POSIX says 2000 is not a leap year :)
> 
> What makes you say that?

I read something along those lines somewhere..

> POSIX is incorrect because it says that 2100 is a leap year (just in
> case you were worried that there wouldn't be a Y2.1K problem).  POSIX
> does not say that 2000 is not a leap year.

Ah.. then that was the problem :)

> Here is the conversion rule that POSIX specifies:
> 
> time_t == tm_sec + tm_min * 60 + tm_hour * 3600 + tm_yday * 86400
>   + (tm_year - 70) * 31536000 + ((tm_year - 69) / 4) * 86400

Kewl.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



RE: Negatives in grammar

2000-01-20 Thread Len Budney

Dave Sill <[EMAIL PROTECTED]> wrote:
>
> UTC is GMT, right?
> 
> Since the assertion is false, the answer is clearly negative ("no" or
> "wrong"). Throwing the "not" before the assertion reverses it:
> 
> UTC is GMT, not right?

You are being pedantic, are you not? Yes--and you're mistaken.  This
particular use of 'not' is purely idiomatic. (Indeed, many languages
have an identical idiom. There is something linguistically significant
going on here.)

In English, ``Is that true?'' and ``Isn't that true?'' and ``Is that
not true?'' all mean exactly the same thing: the opposite of ``Is that
untrue?'' The 'not' in the latter two sentences is a particle of emphasis,
not a negation.

In other words, ``Is that true?'' carries no connotation concerning
whether you think it is or is not true. But ``Isn't that true?''
carries the connotation that, though you are asking, you already believe
it to be true. You are asking for confirmation, rather than information.
A look at the original post will confirm that this exactly how Mr. Yelich
was using the idiom.

Len.


PS We New Englanders use negatives in other contexts as particles of
emphasis. For example, if you boast, ``I can build a Linux mail server
in under an hour,'' I might reply, ``So can't my mother.''

(For non-New Englanders, the reply means, ``My mother also can, so
what's the big deal?'' The idiom is most often used in the sentence,
``So can't anybody!'' The usage is sarcastic, and for that reason
adults generally don't use it.)



Re: Timezone

2000-01-20 Thread Russell Nelson

Ian Lance Taylor writes:
 >From: Russell Nelson <[EMAIL PROTECTED]>
 >Date: Thu, 20 Jan 2000 13:22:56 -0500 (EST)
 > 
 >Mark Delany writes:
 > > I walk around http://physics.nist.gov/GenInt/Time/world.html
 > > might be instructive.
 > 
 >Instructive, yes, but it says nothing about TAI.  TAI is simply a
 >counting of seconds, without UTC being taken into account.  TAI + leap 
 >seconds == UTC.  Unix machines claim to run on UTC but really operate
 >on TAI.
 > 
 > This is one of those statement which punches my personal pedant
 > button.
 > 
 > I believe that machines which follow POSIX run on a mixture.

Me too.  Didn't I just say that?  Perhaps the most accurate way to say 
it is that the kernel naturally runs TAI, but it's sense of time it
coerced into UTC by people or other software external to the kernel.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: Timezone

2000-01-20 Thread Ian Lance Taylor

   Date: Thu, 20 Jan 2000 19:42:49 +0100
   From: [EMAIL PROTECTED]

   Why? POSIX says 2000 is not a leap year :)

What makes you say that?

POSIX is incorrect because it says that 2100 is a leap year (just in
case you were worried that there wouldn't be a Y2.1K problem).  POSIX
does not say that 2000 is not a leap year.

Here is the conversion rule that POSIX specifies:

time_t == tm_sec + tm_min * 60 + tm_hour * 3600 + tm_yday * 86400
  + (tm_year - 70) * 31536000 + ((tm_year - 69) / 4) * 86400

Ian



Re: Timezone

2000-01-20 Thread petervd

On Thu, Jan 20, 2000 at 01:32:53PM -0500, Ian Lance Taylor wrote:
>From: Russell Nelson <[EMAIL PROTECTED]>
>Date: Thu, 20 Jan 2000 13:22:56 -0500 (EST)
> 
>Mark Delany writes:
> > I walk around http://physics.nist.gov/GenInt/Time/world.html
> > might be instructive.
> 
>Instructive, yes, but it says nothing about TAI.  TAI is simply a
>counting of seconds, without UTC being taken into account.  TAI + leap 
>seconds == UTC.  Unix machines claim to run on UTC but really operate
>on TAI.
> 
> This is one of those statement which punches my personal pedant
> button.
> 
> I believe that machines which follow POSIX run on a mixture.

I wouldn't want to run any 100% POSIX-compliant OS.

Why? POSIX says 2000 is not a leap year :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: Timezone

2000-01-20 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>Heh, great message about expressing yourself unambiguously.
>
>Now if only you could teach us (well, me ;-) how to do so
>*tersely*.  ;-)

Simplify, but don't oversimplify.

-Dave



Re: Timezone

2000-01-20 Thread Ian Lance Taylor

   From: Russell Nelson <[EMAIL PROTECTED]>
   Date: Thu, 20 Jan 2000 13:22:56 -0500 (EST)

   Mark Delany writes:
> I walk around http://physics.nist.gov/GenInt/Time/world.html
> might be instructive.

   Instructive, yes, but it says nothing about TAI.  TAI is simply a
   counting of seconds, without UTC being taken into account.  TAI + leap 
   seconds == UTC.  Unix machines claim to run on UTC but really operate
   on TAI.

This is one of those statement which punches my personal pedant
button.

I believe that machines which follow POSIX run on a mixture.

POSIX specifies an exact relationship between a time_t value and UTC.
This relationship does not acknowledge leap seconds.  Therefore, POSIX
systems do not run on TAI.  However, since UTC includes leap seconds,
there are times which can be specified in UTC but which can not be
specified in a time_t value.

In other words, a POSIX time_t value will give you a UTC time, not a
TAI time, by definition.  But subtracting two POSIX time_t values will
not give you the precise difference between two UTC times, because
there may have been leap seconds in there which the time_t values do
not include.

Another way to think about it is to realize that when a UTC leap
second occurs, POSIX systems then appear to be running one second
fast, and their internal time gets adjusted.

Ian



Re: Timezone

2000-01-20 Thread Russell Nelson

[EMAIL PROTECTED] writes:
 > Heh, great message about expressing yourself unambiguously.
 > 
 > Now if only you could teach us (well, me ;-) how to do so
 > *tersely*.  ;-)

Easy.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



Re: Timezone

2000-01-20 Thread craig

Heh, great message about expressing yourself unambiguously.

Now if only you could teach us (well, me ;-) how to do so
*tersely*.  ;-)

tq vm, (burley)



Re: Timezone

2000-01-20 Thread Russell Nelson

Mark Delany writes:
 > I walk around http://physics.nist.gov/GenInt/Time/world.html
 > might be instructive.

Instructive, yes, but it says nothing about TAI.  TAI is simply a
counting of seconds, without UTC being taken into account.  TAI + leap 
seconds == UTC.  Unix machines claim to run on UTC but really operate
on TAI.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.



RE: Timezone

2000-01-20 Thread Dave Sill

"Scott D. Yelich" <[EMAIL PROTECTED]> wrote:

>Oh, puhleeze do teach me how to be a pedantic asshole!

Looks like I'm halfway there already.

>ps: I book marked the url on writing good code.  I want to see 
>how much if the rules qmail breaks.

The one Craig posted? It's pretty high-level; not like a checklist you 
can run through to declare code either "good" or "bad".

qmail's record over its four year history is impressive. Compare the
handful of actual bugs to the scores found in other MTA's like
sendmail and even Postfix over the same time period.

The code may get demerits for lack of documention or whatnot, but in
fact, it's *extremely* solid code.

>pps: example, good software should do the right thing if left
>to its own and should not do stupid things unless severly
>cornered.

"right", "stupid"...hardly objective criteria. Both are determined by
whomever is doing the evaluation.

>Take shi!tty windows.  If you type  an IP
>into the network box, and you type "831" .. a popup window
>instantly pops up and states that this is not a valid
>input.  Of course, why doesn' the same system trigger on the
>second digit input and if its not 0, 1 or 2, simply procced
>to the next octet?  To me, that's an example of shitty software
>not doing the right thing.

I don't follow the "second digit should be 0/1/2" bit, but I catch
your drift. I think you're saying that if I enter a number > 255, the
pop-up should assume I skipped a ".". But maybe I just fumble fingered 
and hit two keys at once. If the pop-up rearranges things into a valid 
(but wrong) IP address--and I don't notice that--I'm going to be
plenty annoyed.

>ppps: I won't even go near all the blasted windows popups that 
>steal your focus.

OK.

-Dave



How do I change FROM filed of header.

2000-01-20 Thread Gustavo Arjones

Hi,

Sorry by lammer question, but I need setup my qmail to change the outgoing
FROM field to another mail, I'm using a simple announce list with .qmail, I
use this:

# begin .qmail file
|/usr/bin/grep '^From:.*@osite.net' || (/usr/local/tools/nopost.pl; exit
100)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
...

# end .qmail file


This look if this sender is from my domain, if don't sent a error back
(nopost.pl) or send msgs for all in list.


Can you help me ?

thanks,

Gustavo Arjones



RE: Timezone

2000-01-20 Thread Scott D. Yelich

-BEGIN PGP SIGNED MESSAGE-


On Thu, 20 Jan 2000, Dave Sill wrote:
> So my point is, unless you like reading silly analyses of grammatical
> constructs in the qmail list, you should be careful to express
> yourself unambiguously. -Dave

Oh, puhleeze do teach me how to be a pedantic asshole!

Do you get my meanin' ?

Scott
ps: I book marked the url on writing good code.  I want to see 
how much if the rules qmail breaks.

pps: example, good software should do the right thing if left
to its own and should not do stupid things unless severly
cornered.  Take shi!tty windows.  If you type  an IP
into the network box, and you type "831" .. a popup window
instantly pops up and states that this is not a valid
input.  Of course, why doesn' the same system trigger on the
second digit input and if its not 0, 1 or 2, simply procced
to the next octet?  To me, that's an example of shitty software
not doing the right thing.

ppps: I won't even go near all the blasted windows popups that 
steal your focus.



-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBOIdJfx4PLs9vCOqdAQHz8wP/YlsVA+5Fg3U+yuBp1Y55WE4hoI66kv2k
thB5KKx2H4hEsDE5PMAPJaL5HtNwqpPjR4wiBIA5WQE+7r2wUo2sTD00oRqgbgll
psiA8fc5Rdekx7a6rvDQEx0Psmxp1nkFBlvuc+n9xBcMRFiLb4wT4ViWBMQeK6Ek
DGZUwjxF6vc=
=u3tM
-END PGP SIGNATURE-



RE: Timezone

2000-01-20 Thread Dave Sill

"Scott D. Yelich" <[EMAIL PROTECTED]> wrote:

>I thought UTC was GMT... is that not correct?

Ah, two of my favorite peeves...and so concisely combined.

First, UTC is not GMT. There're close, but not the same. See various
net resources, if you're piqued.

Second, the phrase "is that not correct", and how to properly answer
it. If it were a simple assertion followed by a simple question, e.g.:

  UTC is GMT, right?

Since the assertion is false, the answer is clearly negative ("no" or
"wrong"). Throwing the "not" before the assertion reverses it:

  UTC is GMT, not right?

The assertion (UTC == GMT) is false, so the the answer to the question 
is affirmative ("yes" or "right").

But most people seem to use the "not" as syntactic sugar, not
intending it to reverse the sense of the question, so in response to:

  I thought UTC was GMT... is that not correct?

They want a negative if UTC <> GMT. E.g., a typical exchange:

  Bill: UTC is GMT, is it not?
  Joe: No, they're different.

Joe can't just say "No", because it's unclear if he's interpreting the 
question grammatically, or anticipating that Bill really doesn't mean
what he's saying.

So my point is, unless you like reading silly analyses of grammatical
constructs in the qmail list, you should be careful to express
yourself unambiguously.

-Dave



Re: Timezone

2000-01-20 Thread Mark Delany

On Thu, Jan 20, 2000 at 08:57:08AM -0700, Scott D. Yelich wrote:
> -BEGIN PGP SIGNED MESSAGE-
> 
> On Thu, 20 Jan 2000, Paul Trippett wrote:
> > But for Us European people EST stands for Eastern Summer Time
> > and what is UTC and where is the time zone for that ?
> 
> OIC, JIC, I use UTP at work at UPC which is in CET, ETC.
> 
> I thought UTC was GMT... is that not correct?

I walk around http://physics.nist.gov/GenInt/Time/world.html
might be instructive.


Regards.



Re: Timezone

2000-01-20 Thread Wolfgang Schemmel

On 20 Jan 00, at 8:57, Scott D. Yelich wrote:

> -BEGIN PGP SIGNED MESSAGE-
> 
> On Thu, 20 Jan 2000, Paul Trippett wrote:
> > But for Us European people EST stands for Eastern Summer Time
> > and what is UTC and where is the time zone for that ?
> 
> OIC, JIC, I use UTP at work at UPC which is in CET, ETC.
> 
> I thought UTC was GMT... is that not correct?

Yes it is, the Royal Observatory Greenwich has more:

http://www.rog.nmm.ac.uk/

"What time is it?"
http://www.rog.nmm.ac.uk/leaflets/time/time.html


HTH
Wolfi



Re: Maildir format

2000-01-20 Thread Matthew Schnierle

On 15 Jan 2000, Russ Allbery wrote:

RA>Russell Nelson <[EMAIL PROTECTED]> writes:
RA>
RA>> Because every such installation I've ever seen has used NFS.  I'm not
RA>> talking about what's good, or what's right.  I'm talking about what's
RA>> possible to do tomorrow.  Yes, it might be that a specialized mail
RA>> transfer protocol would work better; convince Netapp to support it.
RA>
RA>Um, how do you think we're scaling our mail system right now?  (And we
RA>don't need Netapps to do it.)
RA>
RA>If it's a matter of making it work tomorrow, I can do it faster with a
RA>farm of lighter-weight servers than with anything based on NFS.  NFS is
RA>the complicated and expensive solution.  If people are currently all doing
RA>it that way, it's either because they don't know better and are too used
RA>to throwing NFS at a problem or it's because they're using the *other*
RA>features of Netapps (snapshots, reliability, etc.) and therefore are stuck
RA>having to use NFS whether they like it or not.

To an extent, but keep in mind that the maildir/nfs solution is _simple_. 
Now, you can do things to make it more "robust" (read: complex) to add
functionality, but if you want "simple and scalable", maildir and nfs is a
clear winner.

RA>Give me a bunch of machines with DiskSuite and a couple of internal disks
RA>each any day.

Ack.  Veritas :-). 

(nothing wrong with disksuite until you start into 0+1 and the like...,
IMHO)

-- 
--Matt Schnierle
--mgs at stargate dot net
--Stargate Industries, LLC
--#include 
--"It's not that simple."



RE: Timezone

2000-01-20 Thread Scott D. Yelich

-BEGIN PGP SIGNED MESSAGE-

On Thu, 20 Jan 2000, Paul Trippett wrote:
> But for Us European people EST stands for Eastern Summer Time
> and what is UTC and where is the time zone for that ?

OIC, JIC, I use UTP at work at UPC which is in CET, ETC.

I thought UTC was GMT... is that not correct?

Scott


-BEGIN PGP SIGNATURE-
Version: 2.6.2

iQCVAwUBOIcwVB4PLs9vCOqdAQFUYgP+PZSGYFxaj8Sz07d9u1thqZe633+xnCQ+
29kYOBv7bSBhudQZxdvGL3gztukrRC5MzuvDA4sr2eXefxMG7Eqjs4YDdX8SpFNJ
NNTtV1AlNguEu5F9sxZi4ZQ91pFn/9vX8NjIb2HGRJsSLnCnCOdIITgHuQwFTgfC
2+K2g7jQYXc=
=gBFf
-END PGP SIGNATURE-



RE: Timezone

2000-01-20 Thread Paul Trippett

But for Us European people EST stands for Eastern Summer Time and what is
UTC and where is the time zone for that ?

Regards

Paul T

-Original Message-
From: Mads E Eilertsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 20, 2000 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Timezone


On Thu, 20 Jan 2000, Walt Mankowski wrote:

> But there's a patch available that will use your local timezone
> instead.  [...]

Sure, but why tamper with qmail's approach?  When tracking down
delivery problems it's easier for humans and programs to read the
Received:-lines when all time stamps are in the same timezone rather
than 10 different ones.

To make it even harder some systems add strange symbolic names like EST,
which don't tell me much.  E might indicate east, and T probably means Time.
East of me is Sweden, so EST must be Eastern Swedish Time.

Dan made life easier.  IMHO applying such patches makes it harder again.

If you like to display the time stamps in a local timezone, ask your MUA
author to make the MUA do so.  Or take a look at
http://cr.yp.to/mess822.html

Mads



Re: Timezone

2000-01-20 Thread Mads E Eilertsen

On Thu, 20 Jan 2000, Walt Mankowski wrote:

> But there's a patch available that will use your local timezone
> instead.  [...]

Sure, but why tamper with qmail's approach?  When tracking down
delivery problems it's easier for humans and programs to read the
Received:-lines when all time stamps are in the same timezone rather
than 10 different ones.

To make it even harder some systems add strange symbolic names like EST,
which don't tell me much.  E might indicate east, and T probably means Time.
East of me is Sweden, so EST must be Eastern Swedish Time.

Dan made life easier.  IMHO applying such patches makes it harder again.

If you like to display the time stamps in a local timezone, ask your MUA
author to make the MUA do so.  Or take a look at http://cr.yp.to/mess822.html

Mads



MIME trouble or what?

2000-01-20 Thread Tony Gottfridsson

This is the first time qmail is giving me a headache
Mail sent to my qmail server from 1 person in norway get stuck somehow. I'm
sending along one of the replys this person got from qmail. But as I get it
the problem is "=?iso-8859-1?Q?Johansson=2C_G=F6ran?=
<[EMAIL PROTECTED]" that should go to "[EMAIL PROTECTED]"
gets interpreted as "Johansson" and qmail tries to deliver it to a local
user called "Johansson". What can I do about this?

/Regards Tony Gottfridsson <[EMAIL PROTECTED]>

Error reply from qmail:

Hi. This is the qmail-send program at kurs.
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.

:
Sorry, no mailbox here by that name. (#5.1.1)

:
Sorry, no mailbox here by that name. (#5.1.1)

:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 11975 invoked from network); 18 Jan 2000 10:07:03 -
Received: from ppp-212.125.161.225.sensewave.com (HELO oemcomputer)
(212.125.161.225)
  by spektakel.sandviken.perceptive.se with SMTP; 18 Jan 2000 10:07:03 -
Message-ID: <00f301bf619b$7b55a9e0$e1a17dd4@oemcomputer>
From: "Kjetil Barfelt" <[EMAIL PROTECTED]>
To: =?iso-8859-1?Q?Johansson=2C_G=F6ran?= <[EMAIL PROTECTED]>,
=?iso-8859-1?Q?Hildell=2C_Bj=F6rn?= <[EMAIL PROTECTED]>,
"Austad, Paal" <[EMAIL PROTECTED]>
Cc: =?iso-8859-1?Q?J=E4rnland=2C_Hans?= <[EMAIL PROTECTED]>
Subject: VECKORAPPORT -  KAHR - v2/00
Date: Tue, 18 Jan 2000 11:04:41 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_NextPart_000_00E5_01BF61A3.D1E0D700"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

Dette er en flerdelt melding i MIME-format.

--=_NextPart_000_00E5_01BF61A3.D1E0D700
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

--- snip ---



Re: Timezone

2000-01-20 Thread Dave Sill

Walt Mankowski <[EMAIL PROTECTED]> wrote:

>On Thu, Jan 20, 2000 at 02:54:00PM +0100, Mads E Eilertsen wrote:
>> On Thu, 20 Jan 2000, Martin Renner wrote:
>> 
>> [...] qmail is setting the time 
>> > to "11:55:06 -".
>> 
>> Yes, qmail always uses UTC.
>
>But there's a patch available that will use your local timezone
>instead.  Search on one the www.qmail.org mirrors for "timezone".

But there are good reasons qmail works the way it does. If you don't
understand them, you shouldn't apply the patch.

-Dave



Error Starting qmail-pop3d

2000-01-20 Thread Andrea Verni

Hi guys,

as reported in QMAIL FAQ I tried to start qmail-pop3d from inetd and
from tcpserver but when I try to read my mail telnetting port 110 I get
the following error:

>check for illegal characters   : failed, POP username contains illegal characters

infact le username and password passed to pop3d are:

>action: parsing arguments

> parsing arguments: POP username is'/var/qmail/bin/qmail-pop3d'
> parsing arguments: POP password is 'Maildir'

> `-ERR authorization failed

I think something is wrong in my inetd.conf starup line:

pop3   stream  tcp nowait  root/var/qmail/bin/qmail-popup
qmail-popup asterix.area.telital.com /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir

or from tcpserver: 

tcpserver 0 pop3 /var/qmail/bin/qmail-popup asterix.area.telital.com
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

I'm using SuSE Linux 6.2.

Does anyone can help me?

TIA

Andrea Verni



Re: Help,-ERR this user has no $HOME/Maildir?

2000-01-20 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>I am using RH6.0 with qmail server!
>All other thing is OK, but pop3 service?
>I use Maildir format, I use maildirmake Maildir:
>drwx--   2 stingusers1024 Jan 20 21:18 cur
>drwx--   2 stingusers1024 Jan 21 00:21 new
>drwx--   2 stingusers1024 Jan 21 00:21 tmp

What does the top level of the maildir look like? And all of the
directories from / to ~sting?

>-ERR this user has no $HOME/Maildir

Misleading error message. Should say "unreadable $HOME/Maildir"--and I 
think the "$HOME/Maildir" part is hardcoded, so it's wrong if you're
really using "Mail".

>I use tcpserver, in qmail-pop3.init:
>if [ -e $CDB ]; then
>supervise $DIR \
>tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT \
>qmail-popup $HOST $CHKPASS $COMMAND Maildir \
>2>&1 | setuser $LOGUSER accustamp \
>| setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR &
>else
>supervise $DIR \
>tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT \
>qmail-popup $HOST $CHKPASS $COMMAND Maildir \
>2>&1 | setuser $LOGUSER accustamp \
>| setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR &
>fi

I could $VERB1 your $NOUN1, but you $VERB2 all the $NOUN2. What I can
see looks OK, though.

-Dave



Re: POP and pine/elm

2000-01-20 Thread Dave Sill

jay <[EMAIL PROTECTED]> wrote:

>Here's the deal.  I set up vpopmail (or vchkpass, whatever
>you want to call it) for pop mail.  It keeps everything in
>/home/vpopmail.  But some of my users want to be able to
>check their mail with pine if they need to, or be able to
>download it if they need to. (like if they are on the road,
>pine is more convenient)

Users who need to log in and run pine or ftp aren't "virtual", they're 
real. Give them accounts in the system password file, and don't
deliver their mail to vpopmail.

-Dave



Re: how to improve mailing lists performance

2000-01-20 Thread Dave Sill

"Haifeng Guo" <[EMAIL PROTECTED]> wrote:

>I use ezmlm+ezmlm-idx as our mailling lists server,I have a lot of
>mailing lists on my server,some lists subscribe is over 3,I use
>this lists to send our news,I found when I sent a message to the
>lists,the subscribe will take a long time to receive the mail(over
>serveral hours),I have compile qmail to support 255 qmail-remote and
>run qmail under tcpserver with 400 concurrent smtp connetion,how
>about it?

Does concurrencyremote stay near 255 during these times when
subscribers are waiting for messages? If so, and you have I/O capacity
to spare, apply the big-concurrency patch available from
www.qmail.org. (I'm running with a concurrencyremote of 500.) If not,
you may be I/O bound, or suffering from the qmail-send bottleneck,
whereby new injections (such as bounces) throttle outgoing mail. If
you're I/O bound, you'll have to rearrange or upgrade your hardware.
If you're hitting the qmail-send bottleneck, try a dual installation
where you have one qmail for sending list messages and another for
handling SMTP injections.

Do you run a caching nameserver (DJB's dnscache is the best) on the
list server?

Are you logging with daemontools?

-Dave



Re: Timezone

2000-01-20 Thread Walt Mankowski

On Thu, Jan 20, 2000 at 02:54:00PM +0100, Mads E Eilertsen wrote:
> On Thu, 20 Jan 2000, Martin Renner wrote:
> 
> [...] qmail is setting the time 
> > to "11:55:06 -".
> 
> Yes, qmail always uses UTC.

But there's a patch available that will use your local timezone
instead.  Search on one the www.qmail.org mirrors for "timezone".



Re: bounces

2000-01-20 Thread Abel Lucano

On Thu, 20 Jan 2000, Anand Buddhdev wrote:

> On Thu, Jan 20, 2000 at 11:07:18AM +, Abel Lucano wrote:
> 
> Maybe you have a ~alias/.qmail-default. That traps mail for all unknown
> users.
> 

indeed!
that's the answer; sorry!
best regards

-
 Abel Lucano
 E-mail: [EMAIL PROTECTED]
 Aolsa




Re: bounces

2000-01-20 Thread Anand Buddhdev

On Thu, Jan 20, 2000 at 11:07:18AM +, Abel Lucano wrote:

Maybe you have a ~alias/.qmail-default. That traps mail for all unknown
users.

> Hi all
> 
> Why could be the cause of the bounces "doesn't bounce"?;
> I mean: all the bounces goes directly to ~alias/Mailbox without notify to
> sender. (TEST.deliver #4 give me a "success", not a "__#5.1.1_/" error
> message.
> 
> All the bounces goes with a "success" to ~alias/Mailbox
> 
> .qmail-mailer-daemon is defined, etc

-- 
See complete headers for more info



bounces

2000-01-20 Thread Abel Lucano

Hi all

Why could be the cause of the bounces "doesn't bounce"?;
I mean: all the bounces goes directly to ~alias/Mailbox without notify to
sender. (TEST.deliver #4 give me a "success", not a "__#5.1.1_/" error
message.

All the bounces goes with a "success" to ~alias/Mailbox

.qmail-mailer-daemon is defined, etc

Everything is working fine besides this point.
I've another qmail installations without this problem;

Thanks for any advice, regards

-
 Abel Lucano  
 E-mail: [EMAIL PROTECTED]
 Aolsa





Re: Timezone

2000-01-20 Thread Mads E Eilertsen

On Thu, 20 Jan 2000, Martin Renner wrote:

[...] qmail is setting the time 
> to "11:55:06 -".

Yes, qmail always uses UTC.

Mads



forward returns hard error on "DTLINE not set" - why?

2000-01-20 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

why exactly does "forward" return a hard error when it finds no 
DTLINE in the environment?

If forward is invoked from .qmail file, it probably means that
qmail-local is mis-patched - then a temporary error is enough 
(admin notices and fixes, and the mail stays in queue meanwhile). 
If it's invoked by other means, the invoking app probably doesn't 
care if forward returns 100 or 111.

excerpt from forward.c:

>   dtline = env_get("DTLINE");
>   if (!dtline)
> strerr_die2x(100,FATAL,"DTLINE not set");


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

iQA/AwUBOIcgq1MwP8g7qbw/EQKiUwCbBPlsjw9ydT5Watvji4p1t6F3tvsAn3nC
4jAXEU3KWltrT3LUNwAZgrXU
=8ppH
-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]



Re: SMTP From MSN.COM ?

2000-01-20 Thread hsilver



On Thu, 20 Jan 2000, Sam hath penned;

> On Thu, 20 Jan 2000 [EMAIL PROTECTED] wrote:
> 
> > However, when the employee in on the road and dials into msn.com 
> > from various locations around the country, SMTP attempts at relaying
> > through my client's server and the result in a #553 message. 
> > 
> > The employee and I tried setting the SMTP server to msn.com in the
> > outgoing SMTP server setting in Eudora without success at sending 
> > out email. We then tried email.msn.com and then smtp.email.msn.com 
> > and were also not successful at sending out email.
> 
> So why don't you simply call msn.com's technical support, and have them
> tell you what is the name of their mail server.


After spending 19 minutes on hold to a long distance "technical
support" number last evening with no answer and Musak, I hung up.

Regards,

Harley Silver



Re: SMTP From MSN.COM ?

2000-01-20 Thread Chris Johnson

> > The employee and I tried setting the SMTP server to
> > msn.com in the outgoing SMTP server setting in Eudora
> > without success at sending out email. We then tried
> > email.msn.com and then smtp.email.msn.com and were also
> > not successful at sending out email.
>
> So why don't you simply call msn.com's technical support,
> and have them tell you what is the name of their mail server.

I don't know if this is still the case, but at one point in time msn.com
would *silently* discard any mail sent through their SMTP servers with a
non-msn.com envelope address.

Chris



Timezone

2000-01-20 Thread Martin Renner


Hi.

We are using qmail on Sun Solaris 7. When we are sending mails, the header 
of them is looking like this:

--
Received: from a.b.c (mailsrvr [192.168.230.23])
   by email.tiscon.de (8.9.3/8.9.3) with SMTP id MAA03719
   for <[EMAIL PROTECTED]>; Thu, 20 Jan 2000 12:58:04 +0100
Received: (qmail 11852 invoked from network); 20 Jan 2000 11:55:06 -
Received: from b.b.c (HELO websrvr) (192.168.230.22)
   by a.b.c with SMTP; 20 Jan 2000 11:55:06 -
Date: Thu, 20 Jan 2000 12:57:25 +0100 (GMT+01:00)
--

The "Date" field is set correctly, our email server "email.tiscon.de" is 
setting the time correctly (12:58:04 +0100), but qmail is setting the time 
to "11:55:06 -".

How can we instruct qmail to insert the correct time and timezone?

BTW: We are in Europe/Berlin, so +0100 is correct.

Martin



how to improve mailing lists performance

2000-01-20 Thread Haifeng Guo

Hi:

I use ezmlm+ezmlm-idx as our mailling lists server,I have a lot of mailing lists on my 
server,some lists subscribe is over 3,I use this lists to send our news,I found 
when I sent a message to the lists,the subscribe will take a long time to receive the 
mail(over serveral hours),I have compile qmail to support 255 qmail-remote and run 
qmail under tcpserver with 400 concurrent smtp connetion,how about it?




Corrupt to: header

2000-01-20 Thread Thies Edeling (Cessnalaan)

Hello all,

I'm using qmail with ezmlm(-idx) on Redhat 6.1. Works excellent and stuff
until a few days ago when I
added a few more pop-accounts. Sometimes the to: header is totally corrupt,
see below. This also happens
with local deliveries, mail sent from a local to user to a local user.
Anyone has any idea what's going on ?
It's for sure not a corrupt sector on my HD - it would be a bit too much
coincidence if just the to:
field would be corrupt. 

regards, Thies Edeling

btw. node1f46.a2000.nl = eternal.rrm.net

> Hi. This is the qmail-send program at eternal.rrm.net.
> 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.
>
> :
> Sorry, no mailbox here by that name. (#5.1.1)
>
> --- Below this line is a copy of the message.
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 13665 invoked from network); 20 Jan 2000 11:02:32 -
> Received: from unknown (HELO eternity) (192.168.1.2)
>   by node1f46.a2000.nl with SMTP; 20 Jan 2000 11:02:32 -
> Message-ID: <002801bf6335$9a83ab00$[EMAIL PROTECTED]>
> From: "Marscha van Bentum" <[EMAIL PROTECTED]>
> To: "Thies Edeling" 
> Subject: Re:
> Date: Thu, 20 Jan 2000 12:00:46 +0100
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.00.2919.6700
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700



[arb@anand.org: Re: SMTP From MSN.COM ?]

2000-01-20 Thread Anand Buddhdev

Some other people asked for my scripts, so I'm posting them to the list.

-- 
See complete headers for more info



On Thu, Jan 20, 2000 at 06:42:03AM -0500, [EMAIL PROTECTED] wrote:

> Yes. I'd like more details please.

OK. The basic idea is to allow relaying from a certain IP, after the
users POP their email. The way I do it on my system is this:

1. The POP server is wrapped in a shell script that captures the
user's IP address, and sends it to a special perl script on the
same machine; this perl script adds the IP address to a file used
by tcpserver and then rebuilds the CDB database. The perl script is
launched out of a tcpserver listening on port 5 on IP 127.0.0.1, so
I don't really have to worry about arbitrary users adding IP addresses
to the file.

run the POP server like this:

tcpserver [options] 0 110 /var/qmail/bin/qmail-popup hostname
checkpassword /var/qmail/scripts/popb4smtp.sh &

run the other daemon like this:

tcpserver [options] 127.0.0.1 5 /var/qmail/scripts/allow-relay.sh &

2. A second script running out of cron every 15 minutes, looks up the
file being written above, and removes old entries, where "old" is
configurable. The scripts are attached below: Look through them: If you
still have questions, let me know.

Some assumptions:

1. you have perl installed on your system. You'll have to look through
the scripts to make sure the path to perl is correct.
2. You have setlock installed on your system. You can get this from the
serialmail package. Alternatively, if you use FreeBSD, you can use the
lockf utility, which does a similar job. Read the man page of lockf for
more info (it might be easier to just compile and install setlock).
3. make a directory called scripts inside /var/qmail and put all the
scripts there. Also create a /var/qmail/etc directory, and put your
tcpserver.smtp file in there (this one has your normal IP's which allow
relaying - if you don't use this, you might want to just touch it
anyway, or edit the scripts not to use it - they're very simple).

-- 
See complete headers for more info

 allow-relay.sh
 cleanup-dynamic-relays.sh
 popb4smtp.sh



Re: SMTP From MSN.COM ?

2000-01-20 Thread Anand Buddhdev

On Thu, Jan 20, 2000 at 07:11:43PM +0800, Michael Boman wrote:

> > So what I am wondering is without having to recompile and re-install 
> > the entire qmail package with various patches, is there a relatively
> > simple solution ? What are msn.com users doing with Eudora Pro that 
> > allows them to use yahoo.com and hotmail.com as second email boxes ?
> 
> There is a way and that is to use "roaming users" (exist in vpopmail
> and you im quite sure you will find a independent patch on the qmail's
> homepage). This allow people that has successfully auth. themself for
> POP3 download to use your SMTP server for X minutes, where X is something
> you decide when you compile. I think this is what you are looking for.

No need to recompile anything. I have a standard qmail installation, and
using some simple perl and shell scripts, I'm doing POP-before-SMTP
relaying for my roaming users. If you want some more help, let me know,
and I'll send you details.

-- 
See complete headers for more info



Re: SMTP From MSN.COM ?

2000-01-20 Thread Michael Boman

On Thu, Jan 20, 2000 at 05:39:59AM -0500, [EMAIL PROTECTED] wrote:
> 
> One of my clients has an employee that travels quite a bit
> with a notebook computer. That employee uses Windows 95 and
> Eudora Pro email client software. That employee also uses
> msn.com for his ISP.
> 
> My client runs qmail-1.03. The pop3 services works very well
> for receiving email when the employee is on the road. pop3
> and SMTP works well locally on my clients LAN.
> 
> However, when the employee in on the road and dials into msn.com 
> from various locations around the country, SMTP attempts at relaying
> through my client's server and the result in a #553 message. 
> 
> The employee and I tried setting the SMTP server to msn.com in the
> outgoing SMTP server setting in Eudora without success at sending 
> out email. We then tried email.msn.com and then smtp.email.msn.com 
> and were also not successful at sending out email. He can not 
> successfully send email out with my client's company email address 
> in the From: field.
> 
> I've read and re-read section 5.4 of the qmail FAQ and I concluded
> that because the employee dials in from various locations, he doesn't 
> have a static IP address to add to /etc/hosts.allow as RELAYCLIENT
> or as described in section 5.4 of the FAQ.
> 
> Obviously, putting all of .msn.com in the /etc/hosts.allow in
> RELAYCLIENT at the client site is out of the question.
> 
> So what I am wondering is without having to recompile and re-install 
> the entire qmail package with various patches, is there a relatively
> simple solution ? What are msn.com users doing with Eudora Pro that 
> allows them to use yahoo.com and hotmail.com as second email boxes ?

There is a way and that is to use "roaming users" (exist in vpopmail
and you im quite sure you will find a independent patch on the qmail's
homepage). This allow people that has successfully auth. themself for
POP3 download to use your SMTP server for X minutes, where X is something
you decide when you compile. I think this is what you are looking for.

I am confident that you will be able to install it, else bug the list =)

You have to recompile, sorry.

BTW:
vpopmail is a great package, so you might want to take a look at it. You
can read about it at http://www.inter7.com/vpopmail/ (no, I don't get
any money for this from inter7 =p)


Best regards
 Michael Boman

-- 
W I Z O F F I C E . C O M   P T E   L T D  -  Your Online Wizard
16 Tannery Lane, Crystal Time Building, #06-00, Singapore 347778
Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
email : [EMAIL PROTECTED]URL : http://www.wizoffice.com



qmail Digest 20 Jan 2000 11:00:00 -0000 Issue 886

2000-01-20 Thread qmail-digest-help


qmail Digest 20 Jan 2000 11:00:00 - Issue 886

Topics (messages 35708 through 35773):

How to implement different outgoing queues according to size
35708 by: Petr Novotny
35711 by: Anand Buddhdev

Qmail-Vpopmail-Qmailadmin  Alias problem
35709 by: john

bouncing Unknown users
35710 by: Marcelo Costa
35713 by: Anand Buddhdev
35716 by: Marcelo Costa
35717 by: Marcelo Costa
35720 by: Marek Narkiewicz

pb delivering messages
35712 by: Pierre-Yves DESLANDES
35715 by: Pierre-Yves DESLANDES
35725 by: Dave Sill

Ms Exhange server 5.5
35714 by: Hassan Housrom
35743 by: Oscar Arranz

Re: Databytes?
35718 by: thomas.erskine-dated-04e644c689decc9e.crc.ca

How to get the deferral messages
35719 by: zhjyu.km169.net

Relaying for selective users, keeping address constant
35721 by: James Berry
35724 by: Dave Sill
35727 by: petervd.vuurwerk.nl

Re: recipientmap?
35722 by: jackmc-qmail.lorentz.com
35723 by: Russell Nelson

store and forward? - firewall - not final destination
35726 by: Jennifer Tippens
35729 by: Petr Novotny
35731 by: petervd.vuurwerk.nl
35732 by: Greg Owen
35733 by: Len Budney

Re: 822bis
35728 by: Dave Sill

Re: About concurrencyremote control file
35730 by: Dave Sill

recipientmap: a patch
35734 by: jackmc-qmail.lorentz.com

Re: SMTP not responding
35735 by: Patterner
35737 by: Patterner

Re: Maildir format
35736 by: Bruce Guenter
35738 by: Tracy R Reed
35739 by: Greg Owen
35741 by: Bruce Guenter
35742 by: Bruce Guenter
35744 by: Anthony DeBoer
35751 by: Greg Owen
35755 by: Magnus Bodin
35759 by: Bruno Wolff III
35766 by: Bruce Guenter
35768 by: Bruce Guenter

Fastforward question
35740 by: Adil Tahiri

Re: passwd and user quota
35745 by: richard.illuin.org

Choosing a queue according to length - solution
35746 by: Petr Novotny
35749 by: richard.illuin.org
35752 by: cmikk.uswest.net
35754 by: Mark Delany
35770 by: Petr Novotny
35771 by: Petr Novotny

smtp problem
35747 by: Patterner

Re: passwd and user quota [off-topic]
35748 by: Tomek Lipski

storage down.
35750 by: Michael Boyiazis
35753 by: Russell Nelson
35757 by: Michael Boyiazis
35758 by: Russell Nelson
35763 by: Juan E Suris
35765 by: Michael Boyiazis

Re: Crispin v. Bernstein (was Re: Maildir format)
35756 by: craig.jcb-sc.com

Re: Help! Qmail not listening on all IP addresses
35760 by: Brian Baquiran
35761 by: Mark Delany
35762 by: Brian Baquiran
35767 by: Anand Buddhdev

POP and pine/elm
35764 by: jay

Help,-ERR this user has no $HOME/Maildir?
35769 by: michael

SMTP From MSN.COM ?
35772 by: hsilver.pyx.net

Re: Maildir setup
35773 by: Jose Pedro Pereira

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]


--



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

it seems that my users (at a site in Italy I administer) would not 
obey the rules and would keep on trying to send out 
simultaneously large e-mails (about 5MB) - it congests the line, 
and the connections time out, and many retries are neccessary.

I therefore consider imposing some kind of policy on outgoing mail.

The idea is to have _two_ outgoing queues: One is without 
limitations, with concurrencyremote at 20 or 40, and is used for 
small mails (where the latency - roundtrip time - plays a large role 
in the speed of delivery). The other is for outgoing files larger than a 
certain size (like 512kB or 1MB) and concurrencyremote is set to 1.

I believe it would solve most of the problems I am seeing. (The line 
upgrade is being discussed for the last two years, with no avail 
whatsoever.)

Now how do I implement this policy? (The users inject the mail by 
SMTP, never by qmail-inject.)

What I could think of has to do with three qmail installations: One 
accepting SMTP connections, and having a catch-all virtual 
domain. The .qmail-catchall-default would then check the size of 
the message, and invoke qmail2/forward or qmail3/forward 
accordingly. (What should the forward line look like BTW?)

I am not sure if it can't be done more efficiently (with less qmail 
installations and/or with more effective switch).


Could you please comment? Thanks

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

iQA/AwUBOIWryVMwP8

Re: Maildir setup

2000-01-20 Thread Jose Pedro Pereira



On Wed, 19 Jan 2000, Kevin Waterson wrote:

> Jose Pedro Pereira wrote:
> 
> > Try /etc/skel ...
> > The name says it all...
> 
> hmm, there is nothing in this dir?
> What should be there?
> Could I be missing something?
> 
> Kind regards
> Kevin
> 
> 
Yap... This is the default directory for creating user areas... That
means...
You you issue adduser, Linux searches for /etc/skel and puts the contents
of this directory on the user homedir... SO if you put Maildir into this
directory, every user you add to your system will have a Maildir directory
by default...
This is for RedHat based systems... For Debian I think the default
directory is not /etc/skel... issue 
locate skel
and you'll find out where the directory is...
Hope it helps
JP



SMTP From MSN.COM ?

2000-01-20 Thread hsilver


One of my clients has an employee that travels quite a bit
with a notebook computer. That employee uses Windows 95 and
Eudora Pro email client software. That employee also uses
msn.com for his ISP.

My client runs qmail-1.03. The pop3 services works very well
for receiving email when the employee is on the road. pop3
and SMTP works well locally on my clients LAN.

However, when the employee in on the road and dials into msn.com 
from various locations around the country, SMTP attempts at relaying
through my client's server and the result in a #553 message. 

The employee and I tried setting the SMTP server to msn.com in the
outgoing SMTP server setting in Eudora without success at sending 
out email. We then tried email.msn.com and then smtp.email.msn.com 
and were also not successful at sending out email. He can not 
successfully send email out with my client's company email address 
in the From: field.

I've read and re-read section 5.4 of the qmail FAQ and I concluded
that because the employee dials in from various locations, he doesn't 
have a static IP address to add to /etc/hosts.allow as RELAYCLIENT
or as described in section 5.4 of the FAQ.

Obviously, putting all of .msn.com in the /etc/hosts.allow in
RELAYCLIENT at the client site is out of the question.

So what I am wondering is without having to recompile and re-install 
the entire qmail package with various patches, is there a relatively
simple solution ? What are msn.com users doing with Eudora Pro that 
allows them to use yahoo.com and hotmail.com as second email boxes ?

Thanks in advance,

Harley Silver



Re: Choosing a queue according to length - solution

2000-01-20 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20 Jan 00, at 10:41, Petr Novotny wrote:
> Now I am trying to get rid of the mid-inserted
> Delivered-To: alias-mailsize-something@somewhere
> line. I wouldn't care about this line, but it matters for forwarding
> (This_message_is_looping:_It_already_has_my_Delivered_To_line) a lot.
> 
> Who actually appends the line then? forward? How do I get rid of it?
> Deleting DTLINE and/or RPLINE from environment?

It seems that setting DTLINE to an empty string did the trick. 
(Warning to followers: Do not unset DTLINE - forward would throw 
up and bounce the messages.)

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

iQA/AwUBOIboQ1MwP8g7qbw/EQLSZgCfRZp8tteB6BYny6r2C2NZMnaO6QoAn2S3
vaKT84bZLYQe0NmKnLyHJxH/
=AySI
-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]



Re: Choosing a queue according to length - solution

2000-01-20 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19 Jan 00, at 14:29, [EMAIL PROTECTED] wrote:
> ugh... two seeks?  Stat() is sooo much nicer ;-)
> 
> #include 
> #include 
> #include 
> #include 
> 
> int main(void) {
>   struct stat st;
>   if (fstat(0, &st) < 0) _exit(111);
>   if (lseek(0,0,SEEK_SET)< 0) _exit(111);
>   if (st.st_size >= 128000L)
> system("/var/qmail3/bin/forward \"$DEFAULT@$HOST\"");
>   else
> system("/var/qmail2/bin/forward \"$DEFAULT@$HOST\"");
>   return 0;
> }

Yeah, it works, thanks.

Now I am trying to get rid of the mid-inserted
Delivered-To: alias-mailsize-something@somewhere
line. I wouldn't care about this line, but it matters for forwarding 
(This_message_is_looping:_It_already_has_my_Delivered_To_line) 
a lot.

I tried to filter out the Delivered-To: line before piping the text to 
/var/qmail?/bin/forward, but it doesn't help. (When I piped the 
message to "tee test.log | /var/qmail?/bin/forward", I saw no 
Delivered-To line in test.log.)

Who actually appends the line then? forward? How do I get rid of 
it? Deleting DTLINE and/or RPLINE from environment?


Thanks

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

iQA/AwUBOIbma1MwP8g7qbw/EQKXswCg/cG319bpDMYfWeg6DvG2f1OyK0YAoJTC
XIqMrnUhabTUgH4zJmuB9aJy
=TyOL
-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]



Help,-ERR this user has no $HOME/Maildir?

2000-01-20 Thread michael



I am using RH6.0 with qmail server!
All other thing is OK, but 
pop3 service?
I use Maildir format, I use maildirmake 
Maildir:
drwx--   2 sting    
users    1024 Jan 20 21:18 
curdrwx--   2 sting    
users    1024 Jan 21 00:21 
newdrwx--   2 sting    
users    1024 Jan 21 00:21 tmp
Telnet result:
Connected to localhost.Escape character is 
'^]'.+OK <2123.948385520@/bin/checkpassword>user sting+OK 
pass -ERR this user has no $HOME/MaildirConnection closed by 
foreign host.
I use tcpserver, in qmail-pop3.init:
    if [ -e $CDB ]; 
then    
supervise $DIR 
\    
tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT 
\    
qmail-popup $HOST $CHKPASS $COMMAND Maildir 
\    
2>&1 | setuser $LOGUSER accustamp 
\    | 
setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR 
&    
else    
supervise $DIR 
\    
tcpserver $VERBOSE -c$CONCURRENT -u$USERID -g$GROUPID 0 $PORT 
\    
qmail-popup $HOST $CHKPASS $COMMAND Maildir 
\    
2>&1 | setuser $LOGUSER accustamp 
\    | 
setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR 
&    fi
What is wrong with my qmail-pop3?
Who can help me?