qmail Digest 24 Feb 2000 11:00:01 -0000 Issue 921

Topics (messages 37599 through 37647):

TZ for qmail
        37599 by: Aled Treharne
        37600 by: Brian Johnson
        37601 by: Soffen, Matthew
        37602 by: Anand Buddhdev
        37603 by: Dave Sill
        37606 by: Mikko Hänninen

Re: setting concurrencyremote/local and tcpserver -c
        37604 by: Dave Sill

Re: help please
        37605 by: Dave Sill

How do I set length of time deferrals last?
        37607 by: Bill Parker
        37608 by: Dave Sill

Header to tell qmail an email is in HTML format...
        37609 by: Guillermo Villasana Cardoza
        37610 by: Timothy L. Mayo
        37611 by: Guillermo Villasana Cardoza
        37612 by: schinder.leprss.gsfc.nasa.gov
        37613 by: Greg Owen
        37614 by: Timothy L. Mayo
        37615 by: Guillermo Villasana Cardoza
        37634 by: Sam

Low Priority: Qmail SMTP Dialogue
        37616 by: Aled Treharne
        37619 by: Uwe Ohse

Is X-Mailing-List an option to Reply-To?
        37617 by: Ronald Robson

problems after installing scan4virus
        37618 by: Mark E. Drummond
        37620 by: Dave Sill
        37621 by: Mark E. Drummond
        37626 by: Mark E. Drummond
        37630 by: Jason Haar
        37638 by: Mark E. Drummond

Queue-Sitters Anonymous
        37622 by: Micah Cowan
        37623 by: Greg Owen

Re: QMail and mail relays
        37624 by: Stephen Smith

Re: antirbl question
        37625 by: up.3.am

qmail-inject / env_get("USER")
        37627 by: ari
        37643 by: Magnus Bodin
        37646 by: ari

Re: Any tool for mbox to Maildir conversion?
        37628 by: Jason Haar

jbuce patch note for qmail 1.03
        37629 by: ari

having problem with new qmail install and fastforward
        37631 by: Jon Newman

deleting a mail from the queue
        37632 by: Guillermo Villasana Cardoza
        37633 by: Chris Johnson
        37635 by: smanjourides.corp.visto.com

Re: strangeness with qmail-smtpd
        37636 by: Ben Houston
        37637 by: Adam McKenna

Sorry,_message_has_wrong_owner._(#4.3.5)/
        37639 by: Mark E. Drummond
        37640 by: Uwe Ohse

Re: Managing the Queue
        37641 by: D. J. Bernstein
        37642 by: Peter Samuel
        37644 by: Ian Lance Taylor
        37645 by: Peter Samuel

Maildir and procmail
        37647 by: Tracy R Reed

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]


----------------------------------------------------------------------


Where can I set the TZ for qmail? It's currently using GMT (although both my
h/w clock and my TZ is set to EST). This kinda gets annoying. :)

Thanks,
Aled.




I believe by default qmail is supposed to always use GMT no matter what... this
is something of a feature?
anyway, there is a small patch here:
ftp://ftp.nlc.net.au/pub/unix/mail/qmail/qmail-date-localtime.patch to make
qmail  use your local timezone...

Aled Treharne wrote:

> Where can I set the TZ for qmail? It's currently using GMT (although both my
> h/w clock and my TZ is set to EST). This kinda gets annoying. :)





Yes. Since using GMT would allow better ease in tracking down mail problems
(if everyone used GMT instead of some using EST, EDT, PST, etc.).

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: Brian Johnson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 23, 2000 10:12 AM
> To:   Qmail-List
> Subject:      Re: TZ for qmail
> 
> I believe by default qmail is supposed to always use GMT no matter what...
> this
> is something of a feature?
> anyway, there is a small patch here:
> ftp://ftp.nlc.net.au/pub/unix/mail/qmail/qmail-date-localtime.patch to
> make
> qmail  use your local timezone...
> 
> Aled Treharne wrote:
> 
> > Where can I set the TZ for qmail? It's currently using GMT (although
> both my
> > h/w clock and my TZ is set to EST). This kinda gets annoying. :)




On Wed, Feb 23, 2000 at 10:02:09AM -0500, Aled Treharne wrote:

> Where can I set the TZ for qmail? It's currently using GMT (although both my
> h/w clock and my TZ is set to EST). This kinda gets annoying. :)

You can't. qmail does all its timestamping in UTC (GMT). If you're
interested to know why, search the recent archives - there was a long
discussion about this issue.

-- 
See complete headers for more info




Aled Treharne <[EMAIL PROTECTED]> wrote:

>Where can I set the TZ for qmail? It's currently using GMT (although both my
>h/w clock and my TZ is set to EST). This kinda gets annoying. :)

See:

  http://www.faqts.com/knowledge-base/view.phtml/aid/1167/fid/208/lang/en

-Dave




Aled Treharne <[EMAIL PROTECTED]> wrote on Wed, 23 Feb 2000:
> Where can I set the TZ for qmail? It's currently using GMT (although both my
> h/w clock and my TZ is set to EST). This kinda gets annoying. :)

<advert>

I'll just add a note that I've written a patch for the Mutt mailer
which will translate all Received header dates to the local TZ.  It's
not too pretty, but it works for me.
My patch can be found at http://www.iki.fi/wiz/mutt/
Mutt home page is at http://www.mutt.org/

</advert>


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Who is General Failure and why is he reading my disk drive?"




[EMAIL PROTECTED] wrote:

>When I checked the logfile, I found there are a lot of
>"status: local 10/10", "status: remote 20/20". and also
>many "tcpserver: status: 40/40" messages.
>
>My guess is it means that there are always many mails waiting for
>qmail-local and qmail-remote and many smtp requests waiting for
>connections. Am I right ?

Right.

>I understand there is no single optimal setting for
>all machines but am wondering if there is any good way to find the
>right setting for my server.

Tighten the nut until the bolt strips, then back off half a turn. :-)

Seriously, increment them in unison until something breaks, then
decrement 10% or so.

-Dave




"kailash oswal" <[EMAIL PROTECTED]> wrote:

>Accidently I have deleted one of my users home directory,now when I am 
>trying to add it by linuxconf it is not accepting.

Restore it from backups. Just kidding. :-)

>Manually when I edit 
>username/.qmail and type ./Maildir

Should be ./Maildir/ (note the trailing slash).

>it does not accept it....

What doesn't accept it?

>how should I add the user to qmail...please write.

Users don't have to be added to qmail. However, if you want their mail
to go to some other place than the default mailbox, they need to have
a properly formatted .qmail file. And if their mailbox is a maildir,
it has to exist, be owned by them, and be a maildir--not just a
directory.

-Dave




Hi All,

        How does one set the amount of time a message is deferred before
it is returned to sender, I would like to chop it down to say 3 to 5 days,
etc?

-Bill





Bill Parker <[EMAIL PROTECTED]> wrote:

>       How does one set the amount of time a message is deferred before
>it is returned to sender, I would like to chop it down to say 3 to 5 days,
>etc?

http://Web.InfoAve.Net/~dsill/lwq.html#queuelifetime

-Dave




What headers should be added at the begining of an email so that qmail
shows it in HTML format.
Thanks.





On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:

> What headers should be added at the begining of an email so that qmail
> shows it in HTML format.
> Thanks.

None.  qmail doesn't look at the headers and doesn't care what format the
message is in as long as there are no bare line feeds.

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





Well... my problem is that qmail is adding the following at the end of the
email:
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
X-UIDL: 951326338.17800.ns

And all the HTML is before this 3 lines and when I look it in my mail client
I only get the Subject, Date, From and To lines....

Everything else is hidden as if it was part of the header of the email.
Thanks


"Timothy L. Mayo" wrote:

> On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:
>
> > What headers should be added at the begining of an email so that qmail
> > shows it in HTML format.
> > Thanks.
>
> None.  qmail doesn't look at the headers and doesn't care what format the
> message is in as long as there are no bare line feeds.
>
> ---------------------------------
> 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





On Wed, Feb 23, 2000 at 11:34:57AM -0600, Guillermo Villasana Cardoza wrote:
} Well... my problem is that qmail is adding the following at the end of the
} email:
} X-Mozilla-Status: 0000
} X-Mozilla-Status2: 00000000
} X-UIDL: 951326338.17800.ns

No, qmail isn't. (Why do people always blame this kind of garbage on
qmail?)  But it looks like Netscape (== Mozilla) is.


-- 
--------
Paul J. Schinder
NASA Goddard Space Flight Center
[EMAIL PROTECTED]




> Well... my problem is that qmail is adding the following at 
> the end of the email:
> X-Mozilla-Status: 0000
> X-Mozilla-Status2: 00000000
> X-UIDL: 951326338.17800.ns

        I don't think qmail is adding those, I think netscape is adding
those.

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





On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:

> Well... my problem is that qmail is adding the following at the end of the
> email:
> X-Mozilla-Status: 0000
> X-Mozilla-Status2: 00000000
> X-UIDL: 951326338.17800.ns
> 
> And all the HTML is before this 3 lines and when I look it in my mail client
> I only get the Subject, Date, From and To lines....
> 
> Everything else is hidden as if it was part of the header of the email.
> Thanks

No, qmail is NOT adding these lines.  Either your mail client is adding
those lines or the mail client that is sending the email is adding those
lines.  qmail ONLY adds a Delivered: and a Return-Path: header and those
are added at the top of the message.

> 
> 
> "Timothy L. Mayo" wrote:
> 
> > On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:
> >
> > > What headers should be added at the begining of an email so that qmail
> > > shows it in HTML format.
> > > Thanks.
> >
> > None.  qmail doesn't look at the headers and doesn't care what format the
> > message is in as long as there are no bare line feeds.
> >
> > ---------------------------------
> > 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
> 
> 

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





So... should I add a blank line after the normail headers???

"Timothy L. Mayo" wrote:

> On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:
>
> > Well... my problem is that qmail is adding the following at the end of the
> > email:
> > X-Mozilla-Status: 0000
> > X-Mozilla-Status2: 00000000
> > X-UIDL: 951326338.17800.ns
> >
> > And all the HTML is before this 3 lines and when I look it in my mail client
> > I only get the Subject, Date, From and To lines....
> >
> > Everything else is hidden as if it was part of the header of the email.
> > Thanks
>
> No, qmail is NOT adding these lines.  Either your mail client is adding
> those lines or the mail client that is sending the email is adding those
> lines.  qmail ONLY adds a Delivered: and a Return-Path: header and those
> are added at the top of the message.
>
> >
> >
> > "Timothy L. Mayo" wrote:
> >
> > > On Wed, 23 Feb 2000, Guillermo Villasana Cardoza wrote:
> > >
> > > > What headers should be added at the begining of an email so that qmail
> > > > shows it in HTML format.
> > > > Thanks.
> > >
> > > None.  qmail doesn't look at the headers and doesn't care what format the
> > > message is in as long as there are no bare line feeds.
> > >
> > > ---------------------------------
> > > 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
> >
> >
>
> ---------------------------------
> 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






Guillermo Villasana Cardoza writes:

> So... should I add a blank line after the normail headers???

No, you need to educate yourself a bit more how E-mail works.  Until you
have a fairly good understanding how an arbitrary E-mail message gets from
point A to point B, what software is involved, and what each piece of
software does, you will only confuse yourself even more.

Start with the following documents:  RFC 821, RFC 822, RFC 2045.

-- 
Sam





Hi there.

This might be a weird question, but I need to change the text in the
responses that qmail gives to the remote MUA when in an SMTP/ESMTP dialogue.
I just want to be able to edit the text, not the numeric codes. Is there an
easy way to do this? If not, can someone point me to the right source file
so I can edit and recompile.

Thanks!
Aled.




On Wed, Feb 23, 2000 at 01:01:41PM -0500, Aled Treharne wrote:
 
> This might be a weird question, but I need to change the text in the
> responses that qmail gives to the remote MUA when in an SMTP/ESMTP dialogue.
> I just want to be able to edit the text, not the numeric codes. Is there an
> easy way to do this? If not, can someone point me to the right source file
> so I can edit and recompile.

qmail-1.03/qmail-smtpd.c

Regards, Uwe




I've noticed in another list that I am subscribed to that hitting 'Reply' on
the email always goes back to the list, but there is no 'Reply-To:' header,
however, there are two other mysterious headers; 'X-Mailing-List' and
'X-Loop'.

Do these or a combination of them allow mail clients to get the 'Reply-To'
going to the list without getting vacation programs and the like to bounce
mail back to the list?

Can they be used with 'headeradd' to get qmail to do the same thing?

If these do what I think they do, do most mail clients understand them?

An example from the other list follows:

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 11290 invoked from network); 5 Jan 2000 20:23:53 -0000
Received: from mta221.mail.yahoo.com (128.11.23.241)
  by aldevron.com with SMTP; 5 Jan 2000 20:23:53 -0000
MBOX-Line: From [EMAIL PROTECTED] Wed Jan 05 19:14:49
2000
Received: from mta221.mail.yahoo.com for [EMAIL PROTECTED]; Jan  5
11:14:49 2000 -0800
X-Track2: 2
X-Track: 1: 40
Received: from lists.linuxppc.org (169.207.161.3)
  by mta221.mail.yahoo.com with SMTP; 5 Jan 2000 19:14:48 -0000
Received: from localhost (majordomo@localhost)
    by lists.linuxppc.org (8.9.1a/8.9.1) with ESMTP id NAA21128;
    Wed, 5 Jan 2000 13:10:57 -0600
Received: by lists.linuxppc.org (TLB v0.11a (1.26 tibbs 1998/09/22
04:41:41)); Wed, 05 Jan 2000 13:10:37 -0600 (CST)
Date: Wed, 05 Jan 2000 14:10:31 -0500
From: Geoffrey C Kinnel <[EMAIL PROTECTED]>
Subject: Re: Location of HOWTO for AppleTalk network laser printer printing?
To: [EMAIL PROTECTED]
Cc: "linux-user lists.linuxppc.org" <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
Organization: Bristol-Myers Squibb
MIME-version: 1.0
X-Mailer: Mozilla 4.5 [en]C-BMY  (WinNT; U)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en
References: <[EMAIL PROTECTED]>
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Precedence: bulk
X-Mailing-List: <[EMAIL PROTECTED]>           <---**********
X-Loop: [EMAIL PROTECTED]                     <---**********
Content-Transfer-Encoding: 7bit
X-Mozilla-Status: 8015
X-Mozilla-Status2: 00000000
X-UIDL: 947103834.11292.tyr.ignus.com

-- 
Ronald Robson
Aldevron, LLC
Phone: 701-297-9256
Email: [EMAIL PROTECTED]
http://www.aldevron.com/





I just installed scan4virus (plus the QMAILQUEUE patch, and Time-HiRes)
on my Slackware 7 (kernel 2.2.14) box with mcaffee's viruscanner. Now,
when my mail hub tries to send me my mail I get:

@4000000038b427ec28cacd6c tcpserver: status: 1/40
@4000000038b427ec2a95bdb4 tcpserver: pid 7050 from 137.94.1.134
@4000000038b427ec2bce784c tcpserver: ok 7050
signals.rmc.ca:137.94.5.88:25 sol4.rmc.ca:137.94.1.134::54202
@4000000038b427ed044f820c perl: error in loading shared libraries:
libc.so.6: failed to map segment from shared object: Cannot allocate
memory
@4000000038b427ef10f623e4 tcpserver: end 7050 status 0
@4000000038b427ef10f6a0e4 tcpserver: status: 0/40
@4000000038b428b6120df89c tcpserver: status: 1/40
@4000000038b428b61211d0fc tcpserver: pid 7092 from 137.94.1.134
@4000000038b428b61249a5f4 tcpserver: ok 7092
signals.rmc.ca:137.94.5.88:25 sol4.rmc.ca:137.94.1.134::54216
@4000000038b428b70187e62c Out of memory!
@4000000038b428b70194694c Callback called exit at
/var/qmail/bin/antivirus-qmail-queue.pl line 157.
@4000000038b428b7019697e4 BEGIN failed--compilation aborted at
/var/qmail/bin/antivirus-qmail-queue.pl line 157.

Perhaps this has something to do with the softlimit in my
/var/qmail/supervise/qmail-smtpd/run file?

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

Any ideas?

-- 
______________________________________________________
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
         Gang Warily|http://signals.rmc.ca/
Kingston Linux Users Group|http://signals.rmc.ca/klug/




"Mark E. Drummond" <[EMAIL PROTECTED]> wrote:

>Perhaps this has something to do with the softlimit in my
>/var/qmail/supervise/qmail-smtpd/run file?

Bingo. Raise the limit.

-Dave




Dave Sill wrote:
> 
> Bingo. Raise the limit.

'k, raised it to 5000000 and the out of memory errors are gone. Next
question ... now I get:

@4000000038b43283236535ec tcpserver: status: 1/40
@4000000038b4328323691234 tcpserver: pid 7436 from 137.94.1.134
@4000000038b4328323b482b4 tcpserver: ok 7436
signals.rmc.ca:137.94.5.88:25 sol4.rmc.ca:137.94.1.134::54395
@4000000038b4328404c104a4 X-Scan4Virus: cannot open
/var/spool/qmailscan/antivirus-qmail-queue-version.txt - did you
initialise the system by running
"/var/qmail/bin/antivirus-qmail-queue.pl -z"? - Permission denied
@4000000038b432840511c86c /bin/rm: cannot remove
`/var/spool/qmailscan/signals9513334987437': Permission denied
@4000000038b4328405156e04 /bin/rm: cannot remove
`/var/spool/qmailscan/working/new/signals9513334987437': Permission
denied
@4000000038b4328608561244 tcpserver: end 7436 status 0
@4000000038b432860856932c tcpserver: status: 0/40

and every time I try running `/var/qmail/bin/antivirus-qmail-queue.pl
-z` I get:

[root@signals:/usr/local/src/qmail/scan4virus-0.17]#
/var/qmail/bin/antivirus-qmail-queue.pl -z
sh: find: No such file or directory
[root@signals:/usr/local/src/qmail/scan4virus-0.17]# 

and here is the result in qmail-queue.log:

23/02/2000 14:20:13:7440: +++ starting debugging for process 7440
23/02/2000 14:20:13:7440: setting UID to EUID so subprocesses can access
files generated by this script
23/02/2000 14:20:13:7440: program name is
/var/qmail/bin/antivirus-qmail-queue.pl
23/02/2000 14:20:13:7440: re-create the antivirus version file
23/02/2000 14:20:13:7440: scan_queue: detecting version of uvscan
23/02/2000 14:20:13:7440: no files to clean up!

`/var/qmail/bin/antivirus-qmail-queue.pl -g` seems to work just fine
though.

the /var/spool/qmailscan dir and everything in it is chown qmailq:qmail.

-- 
______________________________________________________
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
         Gang Warily|http://signals.rmc.ca/
Kingston Linux Users Group|http://signals.rmc.ca/klug/




Just for the heck of it, I nixed everything, started from scratch and
made absolutely sure I followed the install instructions to a 't' ...
and I am still getting:

@4000000038b43d8c23bf449c X-Scan4Virus: cannot open
/var/spool/qmailscan/antivirus-qmail-queue-version.txt - did you
initialise the system by running
"/var/qmail/bin/antivirus-qmail-queue.pl -z"? - Permission denied
@4000000038b43d8c240f9b04 /bin/rm: cannot remove
`/var/spool/qmailscan/signals9513363227712': Permission denied
@4000000038b43d8c2412eaac /bin/rm: cannot remove
`/var/spool/qmailscan/working/new/signals9513363227712': Permission
denied

every time someone tries to deliver mail to my smtpd.

-- 
______________________________________________________
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
         Gang Warily|http://signals.rmc.ca/
Kingston Linux Users Group|http://signals.rmc.ca/klug/




You did install it setuid qmailq like the docs said?

You did run "/var/qmail/bin/antivirus-qmail-queue.pl -z" like it says?

Are all the files under /var/spool/qmailscan/ owned by qmailq, group qmail
like they should be? 

Is /var/spool/qmailscan/ writable by qmailq?

Let me know (as I'm the author) - if there are some instructions that aren't
intuiative - let me know as I certainly don't like hearing about this sort
of thing happening.

Also, I surprised you didn't test it before going live!!! :-)

Jason


On Wed, Feb 23, 2000 at 03:06:13PM -0500, Mark E. Drummond wrote:
> Just for the heck of it, I nixed everything, started from scratch and
> made absolutely sure I followed the install instructions to a 't' ...
> and I am still getting:
> 
> @4000000038b43d8c23bf449c X-Scan4Virus: cannot open
> /var/spool/qmailscan/antivirus-qmail-queue-version.txt - did you
> initialise the system by running
> "/var/qmail/bin/antivirus-qmail-queue.pl -z"? - Permission denied
> @4000000038b43d8c240f9b04 /bin/rm: cannot remove
> `/var/spool/qmailscan/signals9513363227712': Permission denied
> @4000000038b43d8c2412eaac /bin/rm: cannot remove
> `/var/spool/qmailscan/working/new/signals9513363227712': Permission
> denied
> 
> every time someone tries to deliver mail to my smtpd.
> 
> -- 
> ______________________________________________________
> Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
>          Gang Warily|http://signals.rmc.ca/
> Kingston Linux Users Group|http://signals.rmc.ca/klug/

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               




Jason Haar wrote:
> 
> You did install it setuid qmailq like the docs said?

yup

> You did run "/var/qmail/bin/antivirus-qmail-queue.pl -z" like it says?

ja

> Are all the files under /var/spool/qmailscan/ owned by qmailq, group qmail
> like they should be?

hie

> Is /var/spool/qmailscan/ writable by qmailq?

oui

> Also, I surprised you didn't test it before going live!!! :-)

I didn't. I'm testing it on my PC, not my MX or mailhub. Eek, I can't
imagine having my ~2300 users storming into my office ... ;-)

To answer the email you sent me as well, yes, I think it was 0.17 that I
installed. I did follow the instructions, and they were quite clear, or
I thought so anyway. Everything seemed to go fine. Part of the problem
was my stupidity, when I installed the first time, well, my default
umask is 077, so that screwed the install.

I fixed all the permissions problems (which was causing the `rm`
commands to fail) and the issue with find (I just put the full path into
the script). But I am still getting the errors about:

X-Scan4Virus: cannot open
/var/spool/qmailscan/antivirus-qmail-queue-version.txt - did you
initialise the system by running
"/var/qmail/bin/antivirus-qmail-queue.pl -z"? - Permission denied

To answer the error ... yes I did run that command and it worked just
fine. I have reinstalled, from scratch, 3 times now, followed the
instructions exactly, and made sure to install with my umask set to 022.
But I still get that one error in my smtpd logs.

I will try out the stuff you sent me and get back to you.

-- 
______________________________________________________
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
         Gang Warily|http://signals.rmc.ca/
Kingston Linux Users Group|http://signals.rmc.ca/klug/




OK... I have a problem with qmail receiving deliverables into the
queue/mess, and then they sit there without being delivered to the
appropriate Maildir for anywhere from 10 to 45 minutes!  I have recently
switched to linux/qmail from NT/Exchange, and the employees here are used to
instantaneous delivery - at least within our own company!  I'm trying to aim
for 1- or 2-minute delays at most (since that's what is configured as their
mailbox-checking interval in their Outlooks).

Help?

Also - I keep getting "warning: unable to stat mess/14/375328" messages in
my
/var/log/maillog.

Micah Cowan
Systems Administrator
Adams Group, Inc.
Arbuckle, CA





> OK... I have a problem with qmail receiving deliverables into the
> queue/mess, and then they sit there without being delivered to the
> appropriate Maildir for anywhere from 10 to 45 minutes!  I 
> have recently switched to linux/qmail from NT/Exchange, and the
> employees here are used to instantaneous delivery - at least within
> our own company!  I'm trying to aim for 1- or 2-minute delays at
> most (since that's what is configured as their mailbox-checking
> interval in their Outlooks).

        Sounds like a classic case of a broken trigger.  See
http://web.infoave.net/~dsill/lwq.html#trigger.

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






I installed tcpserver so that I can run qmail under it.  I start it with

/usr/local/bin/tcpserver -R -u 505 -g 504 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \
 | /var/qmail/bin/splogger smtpd &

505 is the qmaild ID and 504 is the nofiles ID.

I rebooted the system and can see with ps auxfw:

 qmaild     445  0.0  0.3  1196  492 ?        S    10:52   0:00
       /usr/local/bin/tcpserver -v -u 505 -g 504 0 smtp /var/qmail/bin/qmail
 root       446  0.0  0.2  1084  304 ?        S    10:52   0:00
       /var/qmail/bin/splogger smtpd 3

When running under inetd I could send mail using the "mail" program.  Now I can't.

Any suggestion?

Stephen




On Wed, 23 Feb 2000 [EMAIL PROTECTED] wrote:

> 
> I have a couple of local competitors here that managed to get themselves
> on the MAPS RSS.  In the interest of community cooperation, I'd like to
> let us exchange email without taking down the RSS filter.  I checked the
> man pages on antirbl, rblsmtpd and tcpserver, but my IQ is simply to low
> to glean for sure just how to best do this.
> 
> Do I put this in my rc file for tcpserver?  If so, where exactly?  Right
> now, it's:
> 
> /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -u 1003 -g 1002 0 25 \
> /usr/local/bin/rblsmtpd /usr/local/bin/rblsmtpd -b -rdul.maps.vix.com \
> /usr/local/bin/rblsmtpd -b -rrelays.mail-abuse.org \
> /var/qmail/bin/qmail-smtpd &
> 
> <snip irrelevent qmail-popup stuff>
> 
> secondly, wouldn't it work to just put something like this in
> /etc/tcp.smtp: 
> 
> open.relay.ip:allow,RELAYCLIENT=""
> 
> ?
> 
> TIA,
> 
> James Smallacombe                   PlantageNet, Inc. CEO and Janitor
> [EMAIL PROTECTED]                                                           http://3.am
> =========================================================================
> 
> 

James Smallacombe                     PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]                                                     http://3.am
=========================================================================





Is there any particular reason that qmail-inject uses env_get("*USER") instead
of getuid and getpwuid (or just cuserid)?

If anyone is familiar with qualcomm qpopper (2.53, at least), using POP-send
changes the UID to the proper user and the GID to mail, but leaves the
environment as root's.  Under sendmail this is not a problem, but since
qmail-inject uses the environment alone, all messages end up with a return-path
of root.

If no one has a good reason that i should leave it alone, please let me know.

ari

-- 

.------------------------Ari Edelkind--------------------------.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute         (212) Phone: 578 0822
 New York, NY [USA]                             Fax  : 576 8442
`--------------------------------------------------------------'




On Wed, Feb 23, 2000 at 04:23:33PM -0500, ari wrote:
> Is there any particular reason that qmail-inject uses env_get("*USER") instead
> of getuid and getpwuid (or just cuserid)?
> 
> If anyone is familiar with qualcomm qpopper (2.53, at least), using POP-send
> changes the UID to the proper user and the GID to mail, but leaves the
> environment as root's.  Under sendmail this is not a problem, but since
> qmail-inject uses the environment alone, all messages end up with a return-path
> of root.
> 
> If no one has a good reason that i should leave it alone, please let me know.


When will you be able to inject mail via the POP protocol? 
qmail-inject is only used for local injection. 

You can do the exact same thing on the command line:

/var/qmail/bin/qmail-inject -f root

What is the security problem here?

http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif

/magnus

-- 
http://x42.com/




There wouldn't be any security problem... since qmail-inject is not setuid,
users would have the same privileges and could do the same thing themselves if
they so desired.  That was not my point.

qmail-inject is called by the sendmail wrapper.  Using XMIT, qpopper calls
sendmail, or in this case, the wrapper (XMIT comes in handy for user
authentication with eudora for sending mail).  qpopper sets the user to the
person logging in, and the group to mail, but it leaves the user environment
(usually the calling user would be root) untouched.  You then have a user
sending mail with uid <user_id>, gid mail, and USER and LOGNAME variables of
'root'.  This is where my point comes into play -- qmail-inject checks
environment variables _only_, and finds root.  The message is then sent out
with a return-path of [EMAIL PROTECTED], and any bounced messages are sent to
root, and _not_ to the actual sender.  Some broken mail clients even use the
return-path for replying to mail, ignoring the inserted "From:" header.

I have two choices in this case:
        1. i can modify qpopper (again) and add a calling argument of '-f
<user>', or change the USER variable after setuid().
        2. i can modify qmail-inject to check the user itself if it finds no
QMAILUSER (and perhaps MAILUSER) variable(s).

The second option will probably help more in the long run, though the first
does certainly improve qpopper's style.

Based on some short tests, cuserid() seems to work improperly on some platforms
(i.e. irix), so getpwuid(getuid())->pw_name would be the (portable) way to go.

Again, if anyone has any serious reasons why changing this is a bad idea,
please let me know.

ari


[EMAIL PROTECTED] said this stuff:

> On Wed, Feb 23, 2000 at 04:23:33PM -0500, ari wrote:
> > Is there any particular reason that qmail-inject uses env_get("*USER") instead
> > of getuid and getpwuid (or just cuserid)?
> > 
> > If anyone is familiar with qualcomm qpopper (2.53, at least), using POP-send
> > changes the UID to the proper user and the GID to mail, but leaves the
> > environment as root's.  Under sendmail this is not a problem, but since
> > qmail-inject uses the environment alone, all messages end up with a return-path
> > of root.
> > 
> > If no one has a good reason that i should leave it alone, please let me know.
> 
> 
> When will you be able to inject mail via the POP protocol? 
> qmail-inject is only used for local injection. 
> 
> You can do the exact same thing on the command line:
> 
> /var/qmail/bin/qmail-inject -f root
> 
> What is the security problem here?
> 
> http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif
> 
> /magnus
> 
> -- 
> http://x42.com/

-- 

.------------------------Ari Edelkind--------------------------.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute         (212) Phone: 578 0822
 New York, NY [USA]                             Fax  : 576 8442
`--------------------------------------------------------------'




Speaking of that mbox2maildir tool - I notice that it doesn't attempt to
retain read status of messages - i.e. they all go into "new" instead of into
both "new" and "cur".

Here's my cut on this script. It runs as 

"mbox2maildir /full/path/mboxfile /full/path/maildir"

...AND it doesn't delete the original like some of these others do! (owch!)



-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               

mbox2maildir.pl





jbuce.diff (qmail 1.03, 12/11/98, "Birthday Edition"), as found from
ftpsearch.lycos.com has a minor typo, which results in all (non-relaying) mails
being allowed through, even if they're listed in badmailfrom, have no dns
entry, or are incorrectly formatted.

To correct the typo, change line 881 from

        +  if (str_len(mailfrom) == 0) return 0;

to
        +  if (str_len(mailfrom.s) == 0) return 0;

(initial tab inserted for clarity).

Otherwise, all mails will be considered as having a null return-path, and this
function (bmfcheck()) will return immediately, boding acceptance.

I searched through the archives and could find nothing relating to this
point.

ari

-- 

.------------------------Ari Edelkind--------------------------.
 Unix Systems and Network Administrator   [EMAIL PROTECTED]
 Public Health Research Institute         (212) Phone: 578 0822
 New York, NY [USA]                             Fax  : 576 8442
`--------------------------------------------------------------'




I am trying to see if qmail can do what I want but am having some problems
getting started.
question:

1) I would like to keep using /var/spool/mail as the directory to hold mail.
How can I get this     to work? I read the docs but they are unclear to me.
2) When I try and do a local-local test I get this error, what is going on?
that user DOES exist:

Feb 23 17:20:44 mail qmail: 951348044.257751 new msg 344075
Feb 23 17:20:44 mail qmail: 951348044.257896 info msg 344075: bytes 208 from
<[EMAIL PROTECTED]> qp 28927 uid 0
Feb 23 17:20:44 mail qmail: 951348044.271487 starting delivery 10: msg
344075 to local [EMAIL PROTECTED]
Feb 23 17:20:44 mail qmail: 951348044.271580 status: local 1/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.288632 delivery 10: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Feb 23 17:20:44 mail qmail: 951348044.288763 status: local 0/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.299432 bounce msg 344075 qp 28931
Feb 23 17:20:44 mail qmail: 951348044.299527 end msg 344075
Feb 23 17:20:44 mail qmail: 951348044.299955 new msg 344076
Feb 23 17:20:44 mail qmail: 951348044.300036 info msg 344076: bytes 746 from
<> qp 28931 uid 599
Feb 23 17:20:44 mail qmail: 951348044.313097 starting delivery 11: msg
344076 to local [EMAIL PROTECTED]
Feb 23 17:20:44 mail qmail: 951348044.313175 status: local 1/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.330856 delivery 11: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Feb 23 17:20:44 mail qmail: 951348044.331006 status: local 0/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.343612 bounce msg 344076 qp 28935
Feb 23 17:20:44 mail qmail: 951348044.343704 end msg 344076
Feb 23 17:20:44 mail qmail: 951348044.344122 new msg 344075
Feb 23 17:20:44 mail qmail: 951348044.344204 info msg 344075: bytes 1199
from <#@[]> qp 28935 uid 599
Feb 23 17:20:44 mail qmail: 951348044.355442 starting delivery 12: msg
344075 to local [EMAIL PROTECTED]
Feb 23 17:20:44 mail qmail: 951348044.355521 status: local 1/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.376973 delivery 12: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Feb 23 17:20:44 mail qmail: 951348044.377097 status: local 0/10 remote 0/20
Feb 23 17:20:44 mail qmail: 951348044.377158 triple bounce: discarding
bounce/344075
Feb 23 17:20:44 mail qmail: 951348044.377214 end msg 344075

anyone have an idea of whats going on? Thanks...

Jon

--------------------------------------------------------
Jon Newman ([EMAIL PROTECTED])
Systems Admin./Software Engineer
The Optimal Link Inc.
--------------------------------------------------------





which command is used to delete a message manualy from the queue?

Thanks





On Wed, Feb 23, 2000 at 04:37:37PM -0600, Guillermo Villasana Cardoza wrote:
> which command is used to delete a message manualy from the queue?

This question comes up about every six hours.

The best way to remove something from the queue is to allow time to pass.
Eventually, qmail will bounce the message and remove it from the queue itself.

If really want it out now, locate the message in /var/qmail/queue/info/*, and
use touch -t to make the file appear to be really old (maybe touch -t
01010000). qmail will attempt one more delivery, and then the message will
bounce.

Chris




/var/qmail/bin/qmHandle -dN

What it does is stop qmail, delete all files for msg N
(mess,info,remote,local), and restart qmail.

- Scott

> -----Original Message-----
> From: Guillermo Villasana Cardoza [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 23, 2000 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: deleting a mail from the queue
> 
> 
> which command is used to delete a message manualy from the queue?
> 
> Thanks
> 




I used snoop on Solaris to capture the packets on port 25... The first
exchange seems fine, I see a DATA command, qmail says "354 go ahead". Then
there's a packet whose data ends with \r\n from the client, empty response
from server, then there's a packet with this in it:

"X-EM-Version: 4, 5, 0, 6\r\nX-EM-Registration: #3113420714600B"

Immediately following this packet is the 451 See blah blah... response from
the server.

Does this seem right? Does that packet need to end with \r\n? Should the
\r\n in the middle of the line not be followed with more information? It
doesn't seem like it should matter (especially since we're in the DATA part,
and smtp shouldn't be taking commands...)

-ben


on 2/23/00 1:18 AM, Anand Buddhdev at [EMAIL PROTECTED] wrote:

> On Tue, Feb 22, 2000 at 05:06:00PM -0800, Ben Houston wrote:
> 
>> I think there's a problem with the software he's using... could it be the
>> Bare LF problem? I know I haven't been able to supply much information here,
>> but that's because I can't seem to find log entries (apparently qmail-smtpd
>> doesn't have any), and I'm not sure how to continue. Any similar experiences
>> or suggestions for a course of action? Thanks for your help...
> 
> You can use recordio from the ucspi-tcp package to record the entire
> conversation from that database application. Then you'll know if it's a
> bare LF problem or something else.





If you read the "blah, blah", and go to the website mentioned, you will find
out exactly what the problem is.

--Adam

On Wed, Feb 23, 2000 at 03:41:00PM -0800, Ben Houston wrote:
> I used snoop on Solaris to capture the packets on port 25... The first
> exchange seems fine, I see a DATA command, qmail says "354 go ahead". Then
> there's a packet whose data ends with \r\n from the client, empty response
> from server, then there's a packet with this in it:
> 
> "X-EM-Version: 4, 5, 0, 6\r\nX-EM-Registration: #3113420714600B"
> 
> Immediately following this packet is the 451 See blah blah... response from
> the server.
> 
> Does this seem right? Does that packet need to end with \r\n? Should the
> \r\n in the middle of the line not be followed with more information? It
> doesn't seem like it should matter (especially since we're in the DATA part,
> and smtp shouldn't be taking commands...)
> 
> -ben
> 
> 
> on 2/23/00 1:18 AM, Anand Buddhdev at [EMAIL PROTECTED] wrote:
> 
> > On Tue, Feb 22, 2000 at 05:06:00PM -0800, Ben Houston wrote:
> > 
> >> I think there's a problem with the software he's using... could it be the
> >> Bare LF problem? I know I haven't been able to supply much information here,
> >> but that's because I can't seem to find log entries (apparently qmail-smtpd
> >> doesn't have any), and I'm not sure how to continue. Any similar experiences
> >> or suggestions for a course of action? Thanks for your help...
> > 
> > You can use recordio from the ucspi-tcp package to record the entire
> > conversation from that database application. Then you'll know if it's a
> > bare LF problem or something else.
> 




Anyone tell me what that message means? I just installed qmail on a
SPARC5 running solaris 7. This is the first time I have come across this
error.

-- 
______________________________________________________
Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
         Gang Warily|http://signals.rmc.ca/
Kingston Linux Users Group|http://signals.rmc.ca/klug/




On Wed, Feb 23, 2000 at 10:49:49PM -0500, Mark E. Drummond wrote:

> Anyone tell me what that message means? I just installed qmail on a
> SPARC5 running solaris 7. This is the first time I have come across this
> error.

a file in /var/qmail/queue/mess doesn't belong to the user qmailq.
This is usually an installation problem, but could also be a sign of a
security problem.
You might find qmail-lint (see www.qmail.org) useful.

Regards, Uwe




Peter Samuel writes:
> Under certain conditions it can leave the queue in a corrupt state.

No, it can't. See INTERNALS in the qmail package for the complete story.

---Dan




On 24 Feb 2000, D. J. Bernstein wrote:

> Peter Samuel writes:
> > Under certain conditions it can leave the queue in a corrupt state.
> 
> No, it can't. See INTERNALS in the qmail package for the complete story.

I _know_ what INTERNALS says Dan, but try this test and you'll see that
it does leave the queue in a corrupt state

    echo "echo "Fpsamuel\0Tpsamuel\0" > /tmp/envelope
    echo hello | qmail-queue 1</tmp/envelope

Because the envelope details do NOT end with two NULL characters,
qmail-queue exits with a 91 and does NOT unlink the mess or intd file.
Here is the relevant part of my truss output:

    alarm(86400)                                    = 0
    open("pid/26826.951372231.1", O_WRONLY|O_CREAT|O_EXCL, 0644) = 3
    fstat(3, 0x000246EC)                            = 0
    link("pid/26826.951372231.1", "mess/21/227882") = 0
    unlink("pid/26826.951372231.1")                 = 0
    read(0, " h e l l o\n", 2048)                   = 6
    read(0, 0x00024780, 2048)                       = 0
    write(3, " R e c e i v e d :   ( q".., 75)      = 75
    fdsync(3, O_RDONLY|O_SYNC)                      = 0
    open("intd/227882", O_WRONLY|O_CREAT|O_EXCL, 0644) = 4
    read(1, " F p s a m u e l\0 T p s".., 2048)     = 19
    _exit(91)

And this is what happens when the envelope details are empty

    echo hello | qmail-queue 1</dev/null

You'll note that the intd and mess files are unlinked. ie qmail-queue
does the right thing.

    open("pid/27027.951372320.1", O_WRONLY|O_CREAT|O_EXCL, 0644) = 3
    fstat(3, 0x000246EC)                            = 0
    link("pid/27027.951372320.1", "mess/14/227898") = 0
    unlink("pid/27027.951372320.1")                 = 0
    read(0, " h e l l o\n", 2048)                   = 6
    read(0, 0x00024780, 2048)                       = 0
    write(3, " R e c e i v e d :   ( q".., 75)      = 75
    fdsync(3, O_RDONLY|O_SYNC)                      = 0
    open("intd/227898", O_WRONLY|O_CREAT|O_EXCL, 0644) = 4
    read(1, 0x00024780, 2048)                       = 0
    fcntl(4, F_FREESP, 0xEFFFF484)                  = 0
    unlink("intd/227898")                           = 0
    fcntl(3, F_FREESP, 0xEFFFF484)                  = 0
    unlink("mess/14/227898")                        = 0
    _exit(54)


I'm running qmail-1.03, Solaris 2.5.1

I can repeat this with qmail-1.03 running Linux 2.0.36 as well.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"





   From: "Peter Samuel" <[EMAIL PROTECTED]>
   Date: Thu, 24 Feb 2000 17:09:10 +1100 (EST)

   I _know_ what INTERNALS says Dan, but try this test and you'll see that
   it does leave the queue in a corrupt state

       echo "echo "Fpsamuel\0Tpsamuel\0" > /tmp/envelope
       echo hello | qmail-queue 1</tmp/envelope

   Because the envelope details do NOT end with two NULL characters,
   qmail-queue exits with a 91 and does NOT unlink the mess or intd file.

But that's not a corrupt state according to INTERNALS.  That is state
S3.  According to INTERNALS, qmail-send will clean it up after 36
hours.

It may not be what you want, but it's not corrupt.

Ian




On 24 Feb 2000, Ian Lance Taylor wrote:

>    From: "Peter Samuel" <[EMAIL PROTECTED]>
>    Date: Thu, 24 Feb 2000 17:09:10 +1100 (EST)
> 
>    I _know_ what INTERNALS says Dan, but try this test and you'll see that
>    it does leave the queue in a corrupt state
> 
>        echo "echo "Fpsamuel\0Tpsamuel\0" > /tmp/envelope
>        echo hello | qmail-queue 1</tmp/envelope
> 
>    Because the envelope details do NOT end with two NULL characters,
>    qmail-queue exits with a 91 and does NOT unlink the mess or intd file.
> 
> But that's not a corrupt state according to INTERNALS.  That is state
> S3.  According to INTERNALS, qmail-send will clean it up after 36
> hours.
> 
> It may not be what you want, but it's not corrupt.

OK. I'll grant you that it's not corrupt per se. However, the original
thread of this discussion was (to paraphrase the original poster):

    why does qmail-qstat show messages in the queue, while qmail-qread
    doesn't show anything

My example shows one such way in which this might occur.

So, instead of saying the queue is corrupt (which is incorrect), how
about I say:

    qmail-queue is not consistent in its behaviour when processing
    invalid envelope details.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"





I have finally decided to start experimenting with Maildirs. I rely heavily on
procmail to do my mail sorting for me. I set up a test rule:

:0
* ^[EMAIL PROTECTED]
* ^Subject: test
test.`/bin/date +%m%y`/new

Mail to me with a subect of test goes to the specified maildir. Is it really
necessary to append /new to the name of the Maildir? If I don't the mail gets
dropped into directory test.`/bin/date +%m%y`. But I notice in procmail's
config.h it specified the names of the different directories that make up a
Maildir so procmail should know to drop it into Maildir/new instead of
Maildir. 

Also, I find my little `/bin/date +%m%y` trick to be quite handy for
preventing mailboxes from growing to unmanageable sizes. Automatically rolling
over each month is nifty. Before procmail would create the new mbox files for
me automatically. It won't automatically create Maildirs for me. Anyone have a
solution?

--
Tracy Reed      http://www.ultraviolet.org
"Every artist is a cannibal, every poet is a thief.
 They all kill their inspiration, and sing about the grief." - U2


Reply via email to