qmail Digest 13 Aug 2000 10:00:00 -0000 Issue 1091

Topics (messages 46616 through 46630):

Re: [LIH] php query
        46616 by: kapil sharma

Switching MDA
        46617 by: Subba Rao
        46619 by: Chris, the Young One

Re: qmail + openldap
        46618 by: Magnus Bodin

Re: SSL pop access ?
        46620 by: Chris Johnson

Re: Outlook choking on messages
        46621 by: Cyril Bitterich

Re: Virtualdomians
        46622 by: Cyril Bitterich

Re: 4.7.1 error in qmail
        46623 by: Dale Miracle
        46625 by: Ben Beuchler
        46627 by: Dale Miracle

Re: logselect
        46624 by: Ben Beuchler

Logs - rotate, archive... ?
        46626 by: Brett Randall
        46628 by: Dale Miracle
        46629 by: Brett Randall
        46630 by: Sean C Truman

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,
I found from the remote server the following information:

Aug 11 16:50:29 dsf telnetd[17756]: ttloop:  peer died: Invalid or
incomplete multibyte or wide character

What can be the reson for this?
kapil

Eddie Strohmier wrote:

> Are you saying your trying to telnet an online server via a lanned
> machine or via net access.  Also what does /var/log/messages and
> /var/log/secure say when you attempt this on the telnet server and the

> online server. Could it be a hosts.allow problem? Usually if it is a
> hosts.allow entry problem you would see connection refused. Can you
give
> me some more info to go on and I may be able to help you.
>
> Eddie Strohmier
>
> On Fri, 11 Aug 2000 11:44:51 +0530 kapil sharma
<[EMAIL PROTECTED]>
> writes:
> > I have some strange problem with telnet server. On my online server
> > whenever i try to telnet it connects to the server but do not show
> > me
> > login prompt. What can be the reason for this? The session is as
> > follws:
> >
> > telnet foo.com
> > Trying 192.168.1.10...
> > Connected to foo.com.
> > Escape character is '^]'.
> >
> >
> > Please help!!!!!
> >
> > kapil
> >
> >





Until now, I have been using maildrop as my MDA. I have upgraded to a
newer version of maildrop. After the upgrade, one particular user account
gives me the following messages.

-------------
(0)localuser@caesar:~ => fetchmail -a -K -l 90000 -w 500 -t 60
../usr/local/bin/maildrop: Unable to open mailbox.
......./usr/local/bin/maildrop: Unable to open mailbox.
.../usr/local/bin/maildrop: Unable to open mailbox.
...(0)localuser@caesar:~ => /usr/local/bin/maildrop: Unable to open mailbox.
-------------

After compiling with dot-lock feature, I get this error.

-------------
(0)localuser@caesar:~ => fetchmail -a -K -l 90000 -w 500 -t 60
../usr/local/bin/maildrop: Unable to create a dot-lock.
......./usr/local/bin/maildrop: Unable to create a dot-lock.
-------------

Debbuging is not logging any information in maildrop log file.

After weeks of trying to get this to work, now I am ready to switch
to procmail. I have heard of patchs that need to be applied to procmail
to let it work with the Maildir system. Is this an easy patch to apply and
is it widely used over maildrop?

Thanks for any input.
-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com




On Sat, Aug 12, 2000 at 08:55:34AM -0400, Subba Rao wrote:
> After weeks of trying to get this to work, now I am ready to switch
> to procmail. I have heard of patchs that need to be applied to procmail
> to let it work with the Maildir system. Is this an easy patch to apply and
> is it widely used over maildrop?

Procmail 3.14 and newer versions support Maildir directly. Just specify
a slash at the end of the action line: e.g.,

:1
* ^Delivered-To:.* qmail@list\.cr\.yp\.to$
qmail/

        ---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  




On Tue, Aug 08, 2000 at 10:20:18AM +0530, rajat wrote:
>
>  we have AIX 4.3.3 on RS6000 B-50 m/c .... i have installed openldap
> 1.2.9 and is working perfectly with gdbm ...
> 
[..]
>
> patch -p1 < qmail-ldap-1_03-20000701_patch
> 
> but it always gives the error :
> 
> Processing... I cannot find a patch in there anywhere.

Which version of patch are you using? 

I recommend that you install and use GNU patch.
And be sure that this patch is called e.g. by placing the directories in your
path in the right order.

This is a known gotcha on Solaris and I expect this to be the problem on AIX
as well. 

/magnus

--
http://x42.com/




> but stunnel is pretty straighforward.

As is sslwrap (www.rickk.com/sslwrap). I've been using it for ages without
incident.

Chris





Hi Albert.

Albert Hopkins wrote:
> 
> No the headers are fine.

Have a look at the messages in the Maildir and check for s single dot in
a line taht is follwed by a linefeed.
Something like this:
.

You can search for it easily by executing the following command:
grep "^[\.]" *

Usually the dot followed by the newline is the sign for the pop-client
that the end of the message is reached. But in some cases the message
goes on and the mailer gets stuck.
Usually every MUA sending such a line in the middle of a message should
exchange it with a 
..
And the receiving Mailer should convert it back to 
.
again.

I know this to be a problem with certain Versions of Outlook. But I
didn't find the mailer that sends the malformed lines.

> > > 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.

I hope that this helpes you.

Cyril Bitterich




> BTW, does anyone know how to make MS outlook to check mail before
> sending.... is there a FAQ for all the mail clients on how to make them
> check mail before sending?? I'm assuming this is frequantly asked but
> haven't seen anything on it.... Of course, the reason is allowing valid
> customers to relay and deny all others....

Use a recent version of outlook. There should be an option in the
properties of the E-Mail settings under "Server". It's called something
like "Server needs authentification". Mark that checkbox and maybe
change the Properties to it.

I usually only do it with german versions. But there I can now tell you
the whole damned thing without looking it up anywhere. Maybe somebody
should write a virus propagating it. ;-) (Well not really)

Ciao,

Cyril






Magnus Bodin wrote:
> 
> On Fri, Aug 11, 2000 at 07:27:19PM -0400, Dale Miracle wrote:
> > I have one person that is inconsistently getting the following error
> > when trying to send mail.
> >
> > mail server responded
> > 4.7.1 please try again later
> > please verfy that your email address is correct
> > in your mail perferences and try again
> 
> Is it really _your_ qmail server that gives this status code? If so - some
> patches must have been applied to vanilla qmail 1.03 as this code is not included
> in the original distribution.
> 
> And how is she getting this error? With a bounce or as a status code when
> sending via SMTP?
> 
> According to RFC1893 <http://rfc1893.x42.com/> status code (#4.7.1) means
> a combination of the following paragraphs, i.e.
> "Persistent Transient Failure; Delivery not authorized, message refused".
> 
>     4.X.X   Persistent Transient Failure
>        A persistent transient failure is one in which the message as
>        sent is valid, but some temporary event prevents the successful
>        sending of the message.  Sending in the future may be successful.
> 
>        X.7.1   Delivery not authorized, message refused
>           The sender is not authorized to send to the destination.
>           This can be the result of per-host or per-recipient
>           filtering.  This memo does not discuss the merits of any
>           such filtering, but provides a mechanism to report such.
>           This is useful only as a permanent error.
> 
> /magnus
> 
> --
> http://x42.com/

Well since I haven't personally seen it and went on what the user said
he is getting I would say it is either his e-mail program or something
connection wise between him and my server.
I couldn't find any error like this in my logs. Tcpserver grants access
to him but some interaction between his netscape comm. mail program and
the smtp daemon don't agree sometime.  I have quite a few people using
the mail server in this roaming mode and he is the only person that is
getting this.  I use netscape daily and have been since the .8 versions
and never seen this error on my server or any one else's.
According to the above description of the error you sent I should see a
message being rejected by qmail.  I have compared the time/date when
this happens to my logs and I see tcpserver make a connection, I see his
ip in my tcp relay list.  When I look at maillog for that date and time
there is nothing there...no message was processed at all.
>From what he described the message isn't a relayed message but a dialog
box in netscape.  When I asked him to forward me a copy of the message
he said it can't be forwarded it is a small box that pops up. 
I sent him a message to keep me informed.

                        Thanks for the reply,
                           Dale




On Fri, Aug 11, 2000 at 09:16:41PM -0400, Sean C Truman wrote:

> I Believe you get this message when you max out your SMTP connection
> if your are using ucspi tools the default on tcpserver is set to 40..
> use the flag -c (# of connections).

I don't believe that is the case.  In my experience when the tcpserver
managing smtp runs out of connections it just hangs.  It will accept
connections but will not actually launch qmail-smtpd.  When this has
happened to me, no error messages at all were generated.

Ben

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




Ben Beuchler wrote:
> 
> On Fri, Aug 11, 2000 at 09:16:41PM -0400, Sean C Truman wrote:
> 
> > I Believe you get this message when you max out your SMTP connection
> > if your are using ucspi tools the default on tcpserver is set to 40..
> > use the flag -c (# of connections).
> 
> I don't believe that is the case.  In my experience when the tcpserver
> managing smtp runs out of connections it just hangs.  It will accept
> connections but will not actually launch qmail-smtpd.  When this has
> happened to me, no error messages at all were generated.
> 
> Ben
> 
> --
> Ben Beuchler                                         [EMAIL PROTECTED]
> MAILER-DAEMON                                         (612) 321-9290 x101
> Bitstream Underground                                   www.bitstream.net

Hmmmm could be what is happening to the guy using my server...the only
record I have for him is the ip address that tcpserver log's when this
problem occurs.  This is definately for me anyway one for the books.
                        Take Care,
                        Dale




On Fri, Aug 11, 2000 at 11:45:58PM -0400, Russell Nelson wrote:

> I've released my logselect program as a patch to daemontools-0.70.
> It's at http://www.qmail.org/logselect-0.70.patch .  If you guessed
> that logselect was used to select parts of a log, you're a happy
> winner!  It's intended to be used in a multi-server environment.  By
> itself it is of little use.  It's just a back-end.  It needs a client
> program (as yet unwritten) to be useful.

I'm sorry if this seems like a silly question, but what is the intended
uuse for this program?  Remote log retrieval?

I guess a better question would be: What are YOU using it for?

Ben

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




Hi there

I am curious what most people do with their qmail logs (generated by
multilog, running under the supervise and tcpserver daemons). Do most people
rotate them and have old ones automatically erased, or do you archive them
for later usage, or even weirder do many people just leave their logs for
all eternity to grow up to the current size of the net? I use qmail-mrtg-1.0
(love it! the boss can't get enough of it...) to report on the logs, just as
a piece of off-hand information.

Thanks!

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/






Brett Randall wrote:
> 
> Hi there
> 
> I am curious what most people do with their qmail logs (generated by
> multilog, running under the supervise and tcpserver daemons). Do most people
> rotate them and have old ones automatically erased, or do you archive them
> for later usage, or even weirder do many people just leave their logs for
> all eternity to grow up to the current size of the net? I use qmail-mrtg-1.0
> (love it! the boss can't get enough of it...) to report on the logs, just as
> a piece of off-hand information.
> 
> Thanks!
> 
> /BR
> 
> Manager
> InterPlanetary Solutions
> http://ipsware.com/

I archive my qmail logs every month and keep them for reference in case
someone asks about a e-mail or date of something.  I used it not to long
ago when a person's pc crashed and they lost their address book and
needed a certain address.  I was able to use grep (handy small program)
and search for the address.  They knew what month and what week they
last sent a message to that address so it wasn't to hard to find.  I
haven't used a report program on them what type of reports can you get?

                        Thanks,
                        Dale




> last sent a message to that address so it wasn't to hard to find.  I
> haven't used a report program on them what type of reports can you get?

There are two reporting programs that I know of. qmail-mrtg (v0.1 and then
v1.0, developed by different people I think but still the same project), and
qmailanalog. qmailanalog offers a lot of text-based information but from my
first looks at it, it didn't really summarise things up quite as neatly as
qmail-mrtg, and it works in a text-based interface anyway so without
creating a few scripts to make it a bit 'prettier', management would have
just said 'so what'. qmail-mrtg on the other hand offers daily, weekly,
monthly and yearly graphs (via the web).

Reports that may be generated (in one or the other) include number of
messages transferred, number of bytes transferred, remote and local
concurrency, statistics on who is sending and receiving e-mail through your
relay (qmailanalog), number of successes and failures, size of the queue
(very good on a mailing list machine)...

Our main benefit with logging is to show management how costs and needs are
increasing over time so we can obtain a little (lot? :> ) more money from
them in our department (BTW my sig says Manager IPS, but this is my own
entity not who I work for).

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/





The mrtg make it easier to tune a email system. You can tell which hubs are
being overload and which ones are not. btw qmail-mrtg-1.1 is going to
contain abunch more graphs (CPU utilization, Load Averages, pop connections,
smtp connections).. As for logs right now, on some of my customers systems I
am using a expermintal multilog that logs everything to a oracle(or mysql)
database so that management can run their crystal reports wizard..


Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]

----- Original Message -----
From: Brett Randall <[EMAIL PROTECTED]>
To: Dale Miracle <[EMAIL PROTECTED]>
Cc: qmail list <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2000 9:54 PM
Subject: RE: Logs - rotate, archive... ?


> > last sent a message to that address so it wasn't to hard to find.  I
> > haven't used a report program on them what type of reports can you get?
>
> There are two reporting programs that I know of. qmail-mrtg (v0.1 and then
> v1.0, developed by different people I think but still the same project),
and
> qmailanalog. qmailanalog offers a lot of text-based information but from
my
> first looks at it, it didn't really summarise things up quite as neatly as
> qmail-mrtg, and it works in a text-based interface anyway so without
> creating a few scripts to make it a bit 'prettier', management would have
> just said 'so what'. qmail-mrtg on the other hand offers daily, weekly,
> monthly and yearly graphs (via the web).
>
> Reports that may be generated (in one or the other) include number of
> messages transferred, number of bytes transferred, remote and local
> concurrency, statistics on who is sending and receiving e-mail through
your
> relay (qmailanalog), number of successes and failures, size of the queue
> (very good on a mailing list machine)...
>
> Our main benefit with logging is to show management how costs and needs
are
> increasing over time so we can obtain a little (lot? :> ) more money from
> them in our department (BTW my sig says Manager IPS, but this is my own
> entity not who I work for).
>
> /BR
>
> Manager
> InterPlanetary Solutions
> http://ipsware.com/



Reply via email to