qmail Digest 21 Apr 2000 10:00:01 -0000 Issue 978

Topics (messages 40402 through 40434):

error when stopping qmail
        40402 by: Madhav

Re: delete messages in queue
        40403 by: Madhav
        40430 by: Madhav

forwarding question
        40404 by: Juan E Suris

Re: qmail deleting Maildir/cur directory (fwd)
        40405 by: Dave Sill

Re: qmail + Redhat6.2 + emacs rmail - outgoing messages
        40406 by: Dave Sill
        40413 by: Bob Rogers
        40414 by: David Dyer-Bennet
        40415 by: Erich
        40416 by: Bob Rogers

Re: opinion on my proposed setup!
        40407 by: Timothy L. Mayo
        40411 by: Greg Owen
        40425 by: David L. Nicol

Re: WebMail
        40408 by: Irwan Hadi

Re: Cannot send e-mail to the domain
        40409 by: Greg Owen

Internet mail
        40410 by: R.Ilker Gokhan

qmail + imap
        40412 by: BOFH

Re: can receive no transmit
        40417 by: Les Higger
        40418 by: Adam McKenna
        40419 by: Soffen, Matthew
        40420 by: Les Higger

Segmentation faults
        40421 by: Ian Shaughnessy
        40422 by: Len Budney
        40423 by: Andy Bradford
        40424 by: cfm.maine.com
        40432 by: Ian Shaughnessy

Qmail 1.03
        40426 by: Bob Ross
        40427 by: Paul Farber
        40428 by: Adam McKenna
        40429 by: Chris Johnson

qmailanalog bin z* and s* scripts usage
        40431 by: Abel Lucano

Re: qmail says #5.7.1
        40433 by: Max B. Khudik
        40434 by: Steffan Hoeke

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 am getting some errors when i try to stop the qmail. i was not getting
this previously, can anyone tell me what might be wrong??

[root@server1 qmail]# qmail start
Starting qmail : svscan .

[root@server1 qmail]# qmail stop
Stopping qmail : svscan qmail svc: warning: unable to chdir to
/var/qmail/superv
ise/control: not a directory
svc: warning: unable to chdir to /var/qmail/supervise/lock: not a directory
svc: warning: unable to chdir to /var/qmail/supervise/ok: not a directory
svc: warning: unable to chdir to /var/qmail/supervise/status: not a
directory
 Logging .





hi,

thanks.i did as per your suggestion but now i am getting this warning is
there anyway to remove this warning tooo(!).

#[root@server1 msk]# /var/qmail/bin/qmail-qread
warning: trouble with #45086: file does not exist
18 Apr 2000 10:39:22 GMT  #45070  1236  <>
        remote  [EMAIL PROTECTED]
18 Apr 2000 10:54:46 GMT  #45076  227  <[EMAIL PROTECTED]>
        remote  [EMAIL PROTECTED]

----- Original Message -----
From: Ismal Hisham Darus <[EMAIL PROTECTED]>
To: Madhav <[EMAIL PROTECTED]>
Sent: Thursday, April 20, 2000 1:03 PM
Subject: Re: delete messages in queue


> find /var/qmail/queue/info
> lookup for queue no.s in ur case it should be 45086 45070 45076
>
> type
> touch -t 01012000 /var/qmail/queue/#/45086
> this will set your queue file time to jan 1 2000.
> the message will be bounced to the
> sender on the next queue.
>
> From:           "Madhav" <[EMAIL PROTECTED]>
> To:             <[EMAIL PROTECTED]>
> Subject:        delete messages in queue
> Date sent:      Thu, 20 Apr 2000 11:47:57 +0530
>
> > hi
> > 1. is there any way by which i can delete a particular mail from queue.
for
> > instance
> >
> > #[root@server1 msk]# /var/qmail/bin/qmail-qread
> > 19 Apr 2000 07:16:27 GMT  #45086  677  <[EMAIL PROTECTED]>
> >         remote  [EMAIL PROTECTED]
> > 18 Apr 2000 10:39:22 GMT  #45070  1236  <>
> >         remote  [EMAIL PROTECTED]
> > 18 Apr 2000 10:54:46 GMT  #45076  227  <[EMAIL PROTECTED]>
> >         remote  [EMAIL PROTECTED]
> >
> > here if i want to delete the mail to [EMAIL PROTECTED] , one way
is to
> > manually delete it from the /var/qmail/queue/mess/.... is there any
other
> > way to do it?
>
> find /var/qmail/queue/info
> lookup for queue no.s in ur case it should be 45086 45070 45076
>
> type
> touch -t 01012000 /var/qmail/queue/#/45086
> this will set your queue file time to jan 1 2000.
> the message will be bounced to the
> sender on the next queue.
> >
> > 2. if a message cannot be delivered, it is kept in the queue and tried
at
> > periodic intervals for 7 days  according to the appendix e.1 of life
with
> > qmail. Can this time of 7 days be reduced to 4 days???
> >
> > thanks
> >
>
> edit your /var/qmail/control/queuelifetime
> put 345600
> restart your qmail.
> >
>
>
>
>
>
>
>
>
> Ismal Hisham Mohd Darus
> Asst. Manager, System Support
> John Hancock Life Insurance (Malaysia) Berhad
>
>
>





Just posting it in the list.... someone is interested...
----- Original Message -----
From: Ismal Hisham Darus <[EMAIL PROTECTED]>
To: Madhav <[EMAIL PROTECTED]>
Sent: Friday, April 21, 2000 6:44 AM
Subject: Re: delete messages in queue


> try patching this file .. to fix your queue. and please don't delete
> it manualy :). it will mess up everything.
>
> http://www.netmeridian.com/e-huss/queue-fix.tar.gz
>
> From:           "Madhav" <[EMAIL PROTECTED]>
> To:             <[EMAIL PROTECTED]>
> Copies to:      <[EMAIL PROTECTED]>
> Subject:        Re: delete messages in queue
> Date sent:      Thu, 20 Apr 2000 15:51:15 +0530
>
> > hi,
> >
> > thanks.i did as per your suggestion but now i am getting this warning is
> > there anyway to remove this warning tooo(!).
> >
> > #[root@server1 msk]# /var/qmail/bin/qmail-qread
> > warning: trouble with #45086: file does not exist
> > 18 Apr 2000 10:39:22 GMT  #45070  1236  <>
> >         remote  [EMAIL PROTECTED]
> > 18 Apr 2000 10:54:46 GMT  #45076  227  <[EMAIL PROTECTED]>
> >         remote  [EMAIL PROTECTED]
> >
> > ----- Original Message -----
> > From: Ismal Hisham Darus <[EMAIL PROTECTED]>
> > To: Madhav <[EMAIL PROTECTED]>
> > Sent: Thursday, April 20, 2000 1:03 PM
> > Subject: Re: delete messages in queue
> >
> >
> > > find /var/qmail/queue/info
> > > lookup for queue no.s in ur case it should be 45086 45070 45076
> > >
> > > type
> > > touch -t 01012000 /var/qmail/queue/#/45086
> > > this will set your queue file time to jan 1 2000.
> > > the message will be bounced to the
> > > sender on the next queue.
> > >
> > > From:           "Madhav" <[EMAIL PROTECTED]>
> > > To:             <[EMAIL PROTECTED]>
> > > Subject:        delete messages in queue
> > > Date sent:      Thu, 20 Apr 2000 11:47:57 +0530
> > >
> > > > hi
> > > > 1. is there any way by which i can delete a particular mail from
queue.
> > for
> > > > instance
> > > >
> > > > #[root@server1 msk]# /var/qmail/bin/qmail-qread
> > > > 19 Apr 2000 07:16:27 GMT  #45086  677  <[EMAIL PROTECTED]>
> > > >         remote  [EMAIL PROTECTED]
> > > > 18 Apr 2000 10:39:22 GMT  #45070  1236  <>
> > > >         remote  [EMAIL PROTECTED]
> > > > 18 Apr 2000 10:54:46 GMT  #45076  227  <[EMAIL PROTECTED]>
> > > >         remote  [EMAIL PROTECTED]
> > > >
> > > > here if i want to delete the mail to [EMAIL PROTECTED] , one
way
> > is to
> > > > manually delete it from the /var/qmail/queue/mess/.... is there any
> > other
> > > > way to do it?
> > >
> > > find /var/qmail/queue/info
> > > lookup for queue no.s in ur case it should be 45086 45070 45076
> > >
> > > type
> > > touch -t 01012000 /var/qmail/queue/#/45086
> > > this will set your queue file time to jan 1 2000.
> > > the message will be bounced to the
> > > sender on the next queue.
> > > >
> > > > 2. if a message cannot be delivered, it is kept in the queue and
tried
> > at
> > > > periodic intervals for 7 days  according to the appendix e.1 of life
> > with
> > > > qmail. Can this time of 7 days be reduced to 4 days???
> > > >
> > > > thanks
> > > >
> > >
> > > edit your /var/qmail/control/queuelifetime
> > > put 345600
> > > restart your qmail.
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Ismal Hisham Mohd Darus
> > > Asst. Manager, System Support
> > > John Hancock Life Insurance (Malaysia) Berhad
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
>
> Ismal Hisham Mohd Darus
> Asst. Manager, System Support
> John Hancock Life Insurance (Malaysia) Berhad
>
>
>






Hi All,

This is more of a mail question than qmail.

I have customers who just want forwarding of their incomming mail to a
remote address. There is no local storage. In the event of a bounce (one of
my customer mispells the address, or the remote server goes down a while),
am I responsible for that message, or can I just pass the bounce along to
the original sender?

Thanks,
JES





Ian Shaughnessy <[EMAIL PROTECTED]> wrote:

>Actually I have tried that, but unfortunatly messenger is being sporadic
>as to when it decides to suddenly clear the entire directory.

Use recordio to log all POP commands.

-Dave




Erich <[EMAIL PROTECTED]> wrote:

>Also, there should be some kind of functioning executable in
>/bin/mail.  I just don't know what to put there on this system.

If your /bin/mail calls /usr/lib/sendmail or /usr/sbin/sendmail for
local deliveries, it'll work fine. The problem is /bin/mail's that do
local delivery themselves.

-Dave




   From: Erich <[EMAIL PROTECTED]>
   Date: Wed, 19 Apr 2000 21:17:52 -0700 (PDT)

   > I assume you mean your return address?  What is the value of the
   > user-mail-address emacs variable? . . .

   Well, that did the trick.  However, that line shouldn't be necessary.
   I still feel that if emacs is using the system MTA, which as you point
   out is sendmail, which is actually a link to qmail/bin/sendmail, then
   sendmail should do the right things to put in the correct From: and
   Return-Path: lines.

Well, to my mind, the "right thing" is to leave them alone, since I want
to set them in emacs; a user's preferred "From:" address often has
nothing to do with her user ID or the name of the local host.  In fact,
at the point where the sendmail-send-it function actually calls
sendmail, there is this comment:

        ;; Always specify who from,
        ;; since some systems have broken sendmails.
        ;; unless user has said no. 

So, by default, emacs sets up the "From:" header and envelope sender,
and tells sendmail to leave them alone.

   But the "unless user has said no" part reflects a hook:  If you put
in your .emacs file

        (setq message-from-style 'system-default)

then sendmail-send-it will give sendmail free rein.  So the usual
qmail-inject environment variables should work (though I haven't tried
this).

   I haven't customized emacs at all.

Then you don't know what you're missing.  ;-}

   This work-around is fine, but I really think I'm missing some part of
   the configuration.

I don't consider this a workaround; this is an important step in
configuring emacs as your MUA.  The fact that emacs has a default that
works for some people, so the step is sometimes optional, doesn't change
the nature or the importance of the step.  After all, you have to tell
Netscape who you are (user name & email address) before Netscape will
let you send email.  You are taking the default behavior of sendmail as
gospel, and it just ain't so.

   There was a discussion on this list about a month ago about the
difference between "injection agents" and "transport agents", and what
they were allowed to do to headers.  In my opinion, the MUA should take
full responsibility for the headers, and transport/injection agents
should only supply defaults for the benefit of low-powered MUAs.  RFC822
appears to imply that this is the right thing.

   Also, there should be some kind of functioning executable in
   /bin/mail.  I just don't know what to put there on this system.

   Maybe I should have gotten Correl Linux, which comes with qmail
   instead of rotten old sendmail.

   e

That would have left you in the same boat, or worse, since this is
really an MUA configuration issue than an MTA configuration issue
(ignoring religious skirmishing over who's responsible for what).
Besides, somebody said Corel doesn't ship qmail configured anyway.

                                        -- Bob Rogers




Bob Rogers <[EMAIL PROTECTED]> writes on 20 April 2000 at 
10:24:02 -0400

 >    But the "unless user has said no" part reflects a hook:  If you put
 > in your .emacs file
 > 
 >      (setq message-from-style 'system-default)
 > 
 > then sendmail-send-it will give sendmail free rein.  So the usual
 > qmail-inject environment variables should work (though I haven't tried
 > this).

I have; it works.
-- 
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]





> Erich <[EMAIL PROTECTED]> wrote:
> 
> >Also, there should be some kind of functioning executable in
> >/bin/mail.  I just don't know what to put there on this system.
> 
> If your /bin/mail calls /usr/lib/sendmail or /usr/sbin/sendmail for
> local deliveries, it'll work fine. The problem is /bin/mail's that do
> local delivery themselves.

Do you know a way to find out which is the case with RedHat 6.2?
There is no more active sendmail on the system, and I would like to
make sure that /bin/mail isn't attempting local deliveries.

e

-- 
This message was my two cents worth.  Please deposit two cents into my
e-gold account by following this link:
http://rootworks.com/twocentsworth.cgi?102861
275A B627 1826 D627 ED35  B8DF 7DDE 4428 0F5C 4454




   From: Erich <[EMAIL PROTECTED]>
   Date: Thu, 20 Apr 2000 09:00:16 -0700 (PDT)

   Do you know a way to find out which is the case with RedHat 6.2?
   There is no more active sendmail on the system, and I would like to
   make sure that /bin/mail isn't attempting local deliveries.

   e

I can vouch that the Red Hat 6.0 /bin/mail uses sendmail.  Just do

        echo Testing | /bin/mail $USER

and see whether or not it goes to /var/spool/mail/$USER, or your qmail
drop.

                                        -- Bob




qmail cannot share its mail queue in any manner.  Your system will NOT
work using qmail.  This is covered in several threads in the list
archives.

On Thu, 20 Apr 2000, Madhav wrote:

> hi,
> i already have my setup (with router) running for http, ftp and telnet
> services. and would like to add this mail service also for the same setup.
> This setup actually provides protection from any failure.
> 
> > You may be able to share maildirs, but I'm not sure what you gain by
> > sharing one installation between two servers. If the server with your
> > binaries crashes both servers go down. In your place I would probably just
> 
> i use a distributed file system (coda) for storing these qmail binaries and
> queues so even if the mach1 crashes mach2 can be still acess it without any
> problems.
> 
> my concern is if qmail-send is running on both mach1 and mach2 at the same
> time, trying to send the mails in the queue will i be having any problems?
> 
> 
> > -----Original Message-----
> > From: Madhav [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 19, 2000 23:12
> > To: [EMAIL PROTECTED]
> > Subject: opinion on my proposed setup!
> >
> >
> > hi all,
> >
> > i am planning to load balance my mail service using 2 servers. my proposed
> > set up is going to be something like the following,
> >
> >                                           |  --- Mach1  ---|
> > Mail clients  ---> Router1   |                         |-----/common/qmail
> >                                           |  --- Mach2 --- |
> >
> > i would install qmail in machine mach1 in the dir /common/qmail instead of
> > the default /var/qmail. Now i would share this directory with mach2 using
> > NFS or Coda file system. i would now start the qmail in both servers(mach1
> > and mach2). in mach2,  qmail will not be installed and only the qmail
> > startup script will be created (since it already has access to the qmail
> > utilities through the share).
> >
> > My mail clients are using only POP and smtp to connect to my setup. Access
> > to the mailservers are only through the router machine. The router will
> > redirect requests in a round robin fashion. the routing is done at
> > connection level. ie when my first clients connects to the router machine,
> > the connection is redirected to the machine1. for a second connection he
> > will be redirected to the mach2.
> >
> > since the 2 machines mach1 and mach2 share the same queues and control
> > files, both mach1 and mach2 will serve as load balancing mailservers.
> >
> > does anyone foresee any problems with this setup? i am a newbie to qmail
> and
> > would like the experts' opinion on this setup :)
> >
> > thanks
> >
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





> i would install qmail in machine mach1 in the dir 
> /common/qmail instead of the default /var/qmail.
> Now i would share this directory with mach2 using
> NFS or Coda file system. 
...
> since the 2 machines mach1 and mach2 share the same
> queues and control files, both mach1 and mach2 will
> serve as load balancing mailservers.

        As others have pointed out, you can't share queues with qmail.  The
queue requires a local filesystem.

        I'm not as sure about Coda, but I can tell you that NFS-sharing is
the exact opposite of what you want.  If your two machines are sharing qmail
binaries using NFS, and one of the machines goes down, then the chances are
greater than 50% that the second machine will quickly hang or become
unusable.


-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]





Madhav wrote:

> This setup actually provides protection from any failure.

Once it's running, pull the plug on the nfs server...




At 14:36 18/04/2000 -0700, Mordac wrote:
>sqwebmail is good stuff. www.inter7.com/sqwebmail

and combine it with vpopmail
www.inter7.com/vpopmail
-------
AFLHI 058009990407128029/089802---(102598//991024)




> But I tried to telnet to the server using smtp port and it does
> not work but seems like after DNS translation it points to the
> wrong IP address. Possibly MX record problem?

        If 'nslookup exchange-server-name' comes up with a different IP
address than that of your exchange-server, then DNS is incorrect.

        If the MX record for domain.com points to exchange-server-name and
you're trying 'telnet domain.com 25', then you're testing incorrectly.
Telnet to exchange-server-name 25 instead.

        If the MX record for domain.com points to something other than
exchange-server-name, then your MX record is pointing to the wrong place (or
perhaps the right place, but not Exchange).  This still shouldn't affect
your telnet testing.

        If you telnet to the ip address of the exchange-server ('telnet
192.168.3.4 25') and you still get connection refused, then you don't have
exchange configured to accept SMTP, or you have a firewall/network issue
somewhere in between the two hosts.

        It seems pretty likely, from what you've said, that qmail isn't the
problem, but that something is funky with your network or DNS.

--
      gowen -- Greg Owen -- [EMAIL PROTECTED]





Title: Internet mail

Hi to all,
I have a mail system that is MS Exchange server 5.5 at the local sites. I 'm using INC (Internet mail connector) on Exchange server for internet mail. . I'm using NT4.0 on local and remote sites. I 've wanted to use Qmail on the remote sides so I 've installed qmail1.03 (without any patch) to use on remote sites to posting and getting mail with the local sites via SMTP and POP3 protocol. Any user on the remote site can posting mail to any user on the local sites or getting. But remote site's user can't send any mail to the internet. In the same way they can't get any mail. I have MX entry for MS Exchange on DNS. I've scan FAQ but I couldn't find any information about this.

Shortly, I mean that:
site users-------------------->qmail server-------------------------->MS Exchange server----------------------->Internet

How can I set this smtproutes to internet mail?
Thanks for helps
Ilker G.





Hi!
is there any imap server ( or patch to imap ), that support qmail's spool
file - ~user/Mailbox?

__
Pozdrawiam,
Wojciech Smołkowski





YES... I cant believe I forgot to assign the correct DNS server..
qmail is working now..  just goes to show never install on 6 hrs sleep.


        *++++++++++++++++++++++++++++++++++++++*
        * Les Higger ITAF ,
        * Local Area Network Coord.  
        * [EMAIL PROTECTED]
        * Francisco Bravo Medical Magnet High School
        * Los Angeles Unified School District
 ---> Old men can give flawless advice, for they nolonger can set bad 
examples <--- 


On Wed, 19 Apr 2000, Tim Hunter wrote:

> look at your DNS server and look at the logs
> if you have them setup correctly you will see the error on why it cannot
> send it the logs.
> 
> 
> 
> -----Original Message-----
> From: Les Higger [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 19, 2000 4:55 PM
> To: [EMAIL PROTECTED]
> Subject: can receive no transmit
> 
> 
> well I ve done my first install of qmail.. I can receive mail from outside
> wld but cannot send.. I can send to my self ie. TEXT.deliver its just #5
> local to remote that fails..
> where should I look..?
> 
> 
>         *++++++++++++++++++++++++++++++++++++++*
>         * Les Higger ITAF ,
>         * Local Area Network Coord.
>         * [EMAIL PROTECTED]
>         * Francisco Bravo Medical Magnet High School
>         * Los Angeles Unified School District
>  ---> Old men can give flawless advice, for they nolonger can set bad
> examples <---
> 
> 
> 
> 





On Thu, Apr 20, 2000 at 09:07:04AM -0700, Les Higger wrote:
> YES... I cant believe I forgot to assign the correct DNS server..
> qmail is working now..  just goes to show never install on 6 hrs sleep.

You generally get more than six hours sleep?  Impressive.. :)

--Adam




6 hours ? Man.. I'm lucky to get 4 hours on an average night (Weekends and
holidays not withholding [since I can sleep 12 hours and not feel guilty
about it] *g*').

Matt Soffen 
        Web Intranet Developer
        http://www.iso-ne.com/
==============================================
Boss    - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss    - "Well, if the company nurse comes by, tell her I said 
             never mind."
                                       - Dilbert -
==============================================


> -----Original Message-----
> From: Adam McKenna [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 20, 2000 12:16 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: can receive no transmit
> 
> On Thu, Apr 20, 2000 at 09:07:04AM -0700, Les Higger wrote:
> > YES... I cant believe I forgot to assign the correct DNS server..
> > qmail is working now..  just goes to show never install on 6 hrs sleep.
> 
> You generally get more than six hours sleep?  Impressive.. :)
> 
> --Adam




we ll at my age I need lots of sleep and good food.. a movie, a good win
at majong on kde and of course 15-30 min. with my two golden retrivers or
i ll have chewed furiture.. ;-)
how do i make qmail into a pop server.. all my people will pop from there
clients.. 

        *++++++++++++++++++++++++++++++++++++++*
        * Les Higger ITAF ,
        * Local Area Network Coord.  
        * [EMAIL PROTECTED]
        * Francisco Bravo Medical Magnet High School
        * Los Angeles Unified School District
 ---> Old men can give flawless advice, for they nolonger can set bad 
examples <--- 


On Thu, 20 Apr 2000, Soffen, Matthew wrote:

> 6 hours ? Man.. I'm lucky to get 4 hours on an average night (Weekends and
> holidays not withholding [since I can sleep 12 hours and not feel guilty
> about it] *g*').
> 
> Matt Soffen 
>       Web Intranet Developer
>       http://www.iso-ne.com/
> ==============================================
> Boss    - "My boss says we need some eunuch programmers."
> Dilbert - "I think he means UNIX and I already know UNIX."
> Boss    - "Well, if the company nurse comes by, tell her I said 
>              never mind."
>                                        - Dilbert -
> ==============================================
> 
> 
> > -----Original Message-----
> > From:       Adam McKenna [SMTP:[EMAIL PROTECTED]]
> > Sent:       Thursday, April 20, 2000 12:16 PM
> > To: [EMAIL PROTECTED]
> > Subject:    Re: can receive no transmit
> > 
> > On Thu, Apr 20, 2000 at 09:07:04AM -0700, Les Higger wrote:
> > > YES... I cant believe I forgot to assign the correct DNS server..
> > > qmail is working now..  just goes to show never install on 6 hrs sleep.
> > 
> > You generally get more than six hours sleep?  Impressive.. :)
> > 
> > --Adam
> 





One of my users has been signed up to a number of mailing lists, and he is
now unable to access his Maildir/cur or Maildir/new directories.  I as
root can not touch them either.. ls reports a segmentation fault.  Du does
as well, and rm -rf also.  Basically this is a pretty big problem, as I
have no access to his directories with any standard binary tools.  my
question is, what the heck is happening here, and why would an extremely
large load of messages completely kill my binary tools?  I doubt he has
over a few thousand messages, which granted is alot, but I would assume
qmail is able to handle that.  Has qmail gone and written something funny
into the directory inode?  You have all of the information i can give
you.. like I said I cannot determine anything about what else is going
on.  Any ideas?


// Ian Shaughnessy
// [EMAIL PROTECTED]






Ian Shaughnessy <[EMAIL PROTECTED]> wrote:
>
> ...ls reports a segmentation fault.  Du does as well, and rm -rf also...

There you go, blaming qmail again! :)

In answer, the problem you describe is (as far as I know) unheard of with
qmail. And qmail does _nothing_ to directories except through the side
effects of open(), link(), unlink() and rename().

> You have all of the information i can give you...

Not quite: What OS, what filesystem, local or NFS? That's all I can think
of...now here's my speculation:

Did some tool create a file with a humongous name? On my Linux box,
all of the programs you mentioned catch the error "ENAMETOOLONG" and
exit with an intelligible message. Are you using NFS? Are two systems
disagreeing about what ``too long'' is?

The number of files should not be a problem--at least not to ls, which
you indicated segfaults.

Len.

--
Frugal Tip #17:
Visit the Ford Foundation while disguised as a large, charitable
organization.




Thus said Ian Shaughnessy on Thu, 20 Apr 2000 10:24:00 PDT:

> One of my users has been signed up to a number of mailing lists, and he is
> now unable to access his Maildir/cur or Maildir/new directories.  I as
> root can not touch them either.. ls reports a segmentation fault.  Du does
> as well, and rm -rf also.  Basically this is a pretty big problem, as I
> have no access to his directories with any standard binary tools.  my
> question is, what the heck is happening here, and why would an extremely
> large load of messages completely kill my binary tools?  I doubt he has
> over a few thousand messages, which granted is alot, but I would assume
> qmail is able to handle that.  Has qmail gone and written something funny

This doesn't really sound like a qmail problem at all.  It sounds more 
like you have run out of space on your root partition (which is 
commonly where /home is left).  This is a bad thing because when you 
run out of space there, things can get funky.  However, if ls and a few 
other binarys are segfaulting then maybe you should consider the fact 
that you may have been hacked.  At any rate, see if you can run df and 
possibly free (maybe you're out of memory to boot).

Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+


PGP signature





On Thu, Apr 20, 2000 at 12:51:56PM -0600, Andy Bradford wrote:
> Thus said Ian Shaughnessy on Thu, 20 Apr 2000 10:24:00 PDT:
> 
> > One of my users has been signed up to a number of mailing lists, and he is
> > now unable to access his Maildir/cur or Maildir/new directories.  I as
> > root can not touch them either.. ls reports a segmentation fault.  Du does
> > as well, and rm -rf also.  Basically this is a pretty big problem, as I
> > have no access to his directories with any standard binary tools.  my
> > question is, what the heck is happening here, and why would an extremely
> > large load of messages completely kill my binary tools?  I doubt he has
> > over a few thousand messages, which granted is alot, but I would assume
> > qmail is able to handle that.  Has qmail gone and written something funny
> 
> This doesn't really sound like a qmail problem at all.  It sounds more 
> like you have run out of space on your root partition (which is 
> commonly where /home is left).  This is a bad thing because when you 
> run out of space there, things can get funky.  However, if ls and a few 
> other binarys are segfaulting then maybe you should consider the fact 
> that you may have been hacked.  At any rate, see if you can run df and 
> possibly free (maybe you're out of memory to boot).


I've also seen this happen if a process hangs.  I think waiting on IO is
what ps says.  That might apply to mail.


-- 

Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.




no.. i know i have plenty of available space.  i am just going to unmount
the partition (unfortunately its /home) asap, and run e2fsck on
it.  however, i am still very much interested in what caused this, and if
it could be replicated.  because this could be a possible root hole in
ext2, although how i would find out more about exploiting this i dont
know.  all i know is that a segfault is probably exploitable.  Thanks
all for the help though :)


// Ian Shaughnessy
// [EMAIL PROTECTED]


On Thu, 20 Apr 2000, Andy Bradford wrote:

> Thus said Ian Shaughnessy on Thu, 20 Apr 2000 10:24:00 PDT:
> 
> > One of my users has been signed up to a number of mailing lists, and he is
> > now unable to access his Maildir/cur or Maildir/new directories.  I as
> > root can not touch them either.. ls reports a segmentation fault.  Du does
> > as well, and rm -rf also.  Basically this is a pretty big problem, as I
> > have no access to his directories with any standard binary tools.  my
> > question is, what the heck is happening here, and why would an extremely
> > large load of messages completely kill my binary tools?  I doubt he has
> > over a few thousand messages, which granted is alot, but I would assume
> > qmail is able to handle that.  Has qmail gone and written something funny
> 
> This doesn't really sound like a qmail problem at all.  It sounds more 
> like you have run out of space on your root partition (which is 
> commonly where /home is left).  This is a bad thing because when you 
> run out of space there, things can get funky.  However, if ls and a few 
> other binarys are segfaulting then maybe you should consider the fact 
> that you may have been hacked.  At any rate, see if you can run df and 
> possibly free (maybe you're out of memory to boot).
> 
> Andy
> -- 
>         +====== Andy ====== TiK: garbaglio ======+
>         |    Linux is about freedom of choice    |
>         +== http://www.xmission.com/~bradipo/ ===+
> 
> 
> 





I have just installed Qmail on a new Slackware 7.0 system. I have not worked
with 7.0, and don't know what is causing this error. I have installed qmail
on several other system and have never had this problem.

I can send mail to myself on this new system and it shows up, you can also
telnet to port 25 and perform the test to verify that it's working.

The real problem is when I try to check or collect the mail for this server
I get the following error. Please note that this domain is only reachable
from local machines untill the internic updates the zone files and makes the
switch. The ip 216.173.146.217 does work with [ ] around it top send email.

I'm using inetd for this one because it will only have maybe 5 email address
on it any way, sdo not much of a load at all.

Your server has unexpectedly terminated the connection. Possible causes for
this include server problems, network problems, or a long period of
inactivity. Account: 'beginners101.com', Server: 'beginners101.com',
Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F

Thanks
Bob Ross

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Now offering Wireless Internet service
in the Kingman Area. Starting at $39.95/Monthly
(Includes Equipment Usage)

Call 520-718-1781
for more information or visit
http://www.kingman.com/wireless
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=






Use another MUA.  Outlook Express has TONS of problems... it simply
dosen't work half the time.


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

On Thu, 20 Apr 2000, Bob Ross wrote:

> I have just installed Qmail on a new Slackware 7.0 system. I have not worked
> with 7.0, and don't know what is causing this error. I have installed qmail
> on several other system and have never had this problem.
> 
> I can send mail to myself on this new system and it shows up, you can also
> telnet to port 25 and perform the test to verify that it's working.
> 
> The real problem is when I try to check or collect the mail for this server
> I get the following error. Please note that this domain is only reachable
> from local machines untill the internic updates the zone files and makes the
> switch. The ip 216.173.146.217 does work with [ ] around it top send email.
> 
> I'm using inetd for this one because it will only have maybe 5 email address
> on it any way, sdo not much of a load at all.
> 
> Your server has unexpectedly terminated the connection. Possible causes for
> this include server problems, network problems, or a long period of
> inactivity. Account: 'beginners101.com', Server: 'beginners101.com',
> Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F
> 
> Thanks
> Bob Ross
> 
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
> Now offering Wireless Internet service
> in the Kingman Area. Starting at $39.95/Monthly
> (Includes Equipment Usage)
> 
> Call 520-718-1781
> for more information or visit
> http://www.kingman.com/wireless
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
> 
> 
> 





Bad answer.

The correct answer is a question.

And that question is "what do the logs say?"

--Adam

On Thu, Apr 20, 2000 at 09:20:23PM -0400, Paul Farber wrote:
> Use another MUA.  Outlook Express has TONS of problems... it simply
> dosen't work half the time.
> 
> 
> Paul Farber
> Farber Technology
> [EMAIL PROTECTED]
> Ph  570-628-5303
> Fax 570-628-5545




On Thu, Apr 20, 2000 at 09:15:56PM -0400, Adam McKenna wrote:
> Bad answer.
> 
> The correct answer is a question.
> 
> And that question is "what do the logs say?"

It was a very bad answer. But the question I'd ask is, "What does the pop3 line
in inetd.conf look like?"

Chris





After processing mail log files with matchup, i'm trying to see more
detailed pictures of the logs with /usr/local/qmailanalog/bin z*
and x* scripts

if my log after processing with matchup is 15apr.log, the following would
work? (i try to keep results in "mysend" file):

< 15apr.log /usr/local/qmailanalog/bin/zsenders > mysend


The only output i could obtain was with zoverall script: a general report,

< 1-15abr00.log /usr/local/qmailanalog/bin/zoverall >general 


But i would need senders, recipients, etc
Please anyone could post usage of zscripts and xscripts? (or mail me
directly if it's not of general interest)
Thanks in advance

regards,

--------------------------------------------------------------------
Abel Lucano                      DeCode SA
e-mail: [EMAIL PROTECTED]              Av Independencia 1355 1A
        [EMAIL PROTECTED]       Buenos Aires-Argentina
                                 TE/FAX: +5411 43831161







> > It says "553 sorry, this domain is not in the list of allowed rcpthost
> > (#5.7.1.)."
> What's the contents of your rcpthosts ?
the contents are only one line with name of my domain e.g.:

<start of file>
infocomsc.net
<endof file>

> > However, it normally sends and receives messages to and from
hotmail.com.
> Seems one of the entries in rcpthosts is hotmail ;-)
Nope, no hotmail there
or I should tell qmail somehow that it must receive any messages for any
host from clients. But how?
I've read english and russian versions of qmail install-HOWTO but in vain.
> > I almost got desperate.
> <G> I know the feeling ...
So you have gone through these stage and you surely know how I do want to be
helped.

Regards,
Maximorus






On Fri, Apr 21, 2000 at 12:29:38PM +0200, Max B. Khudik wrote:
> > > It says "553 sorry, this domain is not in the list of allowed rcpthost
> > > (#5.7.1.)."
> > What's the contents of your rcpthosts ?
> the contents are only one line with name of my domain e.g.:
> 
> <start of file>
> infocomsc.net
> <endof file>
> 
> > > However, it normally sends and receives messages to and from
> hotmail.com.
> > Seems one of the entries in rcpthosts is hotmail ;-)
> Nope, no hotmail there
> or I should tell qmail somehow that it must receive any messages for any
> host from clients. But how?
> I've read english and russian versions of qmail install-HOWTO but in vain.
> > > I almost got desperate.
> > <G> I know the feeling ...
> So you have gone through these stage and you surely know how I do want to be
> helped.
;-) Yep, the people in this list are usually fast to help newbies ;-)
They usually ask for the output of qmail-showctl, it gives an overview of the config 
options used...
There _must_ be some reference to HotMail in one of the config-files, otherwise qmail 
would _never_ send to it...

So what's the output of qmail-showctl ? 
 
> Regards,
> Maximorus
> 
> 
Greetz,
 Steffan
-- 
http://therookie.dyndns.org


Reply via email to