RE: $HOME/Maildir

2001-08-13 Thread Yves Berthiaume


> You've got much more basic problems here.  Uninstall qmail and
> everything else related, and then re-install according to the
> instructions in "Life with qmail" at http://lifewithqmail.org .  Follow
> all of the instructions to the letter.

It *really* does work! Give it a try, You can almost do a cut and paste
install from this how-to since its so complete.

Cheers.




Re: $HOME/Maildir

2001-08-13 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> It's my first instalation of QMAIL and I am having one trouble to
> setup the POP3 users.
> 
> First: I have a Red Hat 7.0 running in a Pentium II computer, and I
> instaled QMAIL using RPM binnary:
 
> qmail-1.03-17

Never heard of it.  Or do you mean Bruce Guenter's
qmail-1.03+patches-17 source RPM?

> I instaled the checkpassword using the Tar file from the DJB home page, and
> then I started QMAIL and POP3 thought XINET.

qmail-pop3d, you mean.  inetd and xinetd are deprecated.
 
> Follow the instructions in the Life with qmail I added the ./Mailbox to the
> /var/qmail/control/defaultdelivery,

Can't do this -- qmail-pop3d only understands Maildirs, not mbox files.

> qmail-pw2u: fatal: unable to find alias user.

You've got much more basic problems here.  Uninstall qmail and
everything else related, and then re-install according to the
instructions in "Life with qmail" at http://lifewithqmail.org .  Follow
all of the instructions to the letter.

Charles 
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: $HOME/Maildir

2001-08-13 Thread Lukas Beeler

On Mon, Aug 13, 2001 at 05:16:21PM +, [EMAIL PROTECTED] wrote:
> First: I have a Red Hat 7.0 running in a Pentium II computer, and I 
> instaled
> QMAIL using RPM binnary:

mistake, follow live with qmail instead. http://www.lifewithqmail.org

> I instaled the checkpassword using the Tar file from the DJB home page, and
> then I started QMAIL and POP3 thought XINET.

good

> 
> For that, I configured the pop3 file in the /etc/xinet.d/pop3 :

xinetd is a bad thing

> server_args = inteliweb.com.br /bin/checkpassword
> /var/qmail/bin/qmail-pop3d /home/inteliweb

look at this mess... you are using checkpassword and trying to use 
vmailmgr ? i think you would go better with vchkpw here

> And using VMAILMGR (loged as inteliweb) I added the user test password 

vmailmgr & checkpassword _just doesnt work_
checkpassword is for "real" *nix users only

> I wrote the /var/qmail/control/rcpthosts to:
> localhost
unneccessary

> Follow the instructions in the Life with qmail I added the ./Mailbox to the
> /var/qmail/control/defaultdelivery, and tried to assign the user inteliweb

./Mailbox is false if you want to use vmailmgr...

> to /var/qmail/usres/assign without sucess receiving the error code:
> qmail-pw2u: fatal: unable to find alias user.
 
what does "id alias" say ?
most probably user not found

really: follow lwq EXACTLY, and not with that rpm bullshit


-- 
Lukas Beeler<[EMAIL PROTECTED]>
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



$HOME/Maildir

2001-08-13 Thread teste

Hi,

It's my first instalation of QMAIL and I am having one trouble to setup the
POP3 users.

First: I have a Red Hat 7.0 running in a Pentium II computer, and I 
instaled
QMAIL using RPM binnary:

qmail-1.03-17

I instaled the checkpassword using the Tar file from the DJB home page, and
then I started QMAIL and POP3 thought XINET.

For that, I configured the pop3 file in the /etc/xinet.d/pop3 :

service pop3
{
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /var/qmail/bin/qmail-popup
server_args = inteliweb.com.br /bin/checkpassword
/var/qmail/bin/qmail-pop3d /home/inteliweb
log_type= FILE /var/log/xinetd.log
log_on_success  = HOST
log_on_failure  = HOST RECORD
}

And using VMAILMGR (loged as inteliweb) I added the user test password 
test,
creating the /home/inteliweb/users/test/ ...tree (cur, new, tmp).

I wrote the /var/qmail/control/rcpthosts to:
localhost
inteliweb.com.br

And in the virtualdomains:
inteliweb.com.br:inteliweb

Where inteliweb was an user created to this domain.

Follow the instructions in the Life with qmail I added the ./Mailbox to the
/var/qmail/control/defaultdelivery, and tried to assign the user inteliweb
to /var/qmail/usres/assign without sucess receiving the error code:
qmail-pw2u: fatal: unable to find alias user.

With this trouble I manualy assigned writing to 
the /var/qmail/users/assign:

=inteliweb:inteliweb:519:505:/home/inteliweb:::
+inteliweb-:inteliweb:519:505:/home/inteliweb:=::



Re: Qmail IMAP4 for Maildir - best one??

2001-08-05 Thread arnie

Roger Arnold wrote:

Great one Tony,

Thank God that someone else thinks some (not all) people on this list are real
Jerks, would like to use stronger language but am trying to be polite.
A lot of the experts read the title and glance at the request, and then set
about running the person that asked into the ground by making un called for
remarks about why the question asked, when they think all the answers are in the
archives etc., without finding out what the question was really about.

Also many of the answers in the archives often don't answer what the searcher
was after (such as your query) and further answers are needed, which take many
hours rather than seconds to find, if at all.

One of the main reasons that I stay away from lists to do with qmail is because
of the attitude of a lot of these type of people, which if they don't want to
help, they would be best not to answer at all.

Regards
Roger

Tony Harris wrote:

> Thank you for such a wonderfully nice short response.
>
> I'm sorry if I sound like a jerk, but I had read several were out there -
> and I had read on here some people complaining about slowness and some
> moving from courier to UW, and some moving from UW to courier.
>
> I HAD searched the archives - most of the ones that had to do with opinions
> of IMAP that I saw were several months old - as you know software can change
> fast with new features and better stability.
>
> Reading the base faq (which I DID DO):
>
> 5.2.4. imap-maildir
> David R. Harris has cleaned up the patch that adds maildir support to the
> University of Washington IMAP server and documented the installation
> process. See http://www.davideous.com/imap-maildir/.
>
> 5.2.5. Courier-IMAP
> Sam Varshavchik has written an IMAP server that supports maildir mailboxes
> only. It's available from http://www.inter7.com/courierimap/.
>
> And I did not read *your* FAQ because I do not use QMail-LDAP - actually I
> use a combination of sendmail and qmail for the mail solution, so forgive me
> for not wanting to make a switch to move everything into an LDAP style
> solution.
>
> So, before you jump down someones throat for something you ASSUME (ie: not
> doing homework) - check first.
>
> -Tony
>
> - Original Message -
> From: Henning Brauer <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 30, 2001 3:33 PM
> Subject: Re: Qmail IMAP4 for Maildir - best one??
>
> > On Sun, Jul 29, 2001 at 09:35:05PM -0500, Tony Harris wrote:
> > > Hi,
> > >
> > > I'm looking at using a webmail program that requires the use of
> MAPv4  -  I
> > > see there are various imap packages available that works with qmail -
> which
> > > is really the most stable and seems to work the best with IMAP?
> >
> > How many seconds did you spent in searching the archives, reading
> > lifewithqmail.org and qmail.org?
> > In short: courier is the preferred one for most of us.
> >
> > > I'm looking at trying out squirrelmail (so any other tips one might be
> able
> > > to offer would be greatly appreciated as well ;)
> >
> > squirrel is fine, sqwebmail too.
> > I've written a short pargraph about the two in
> www.lifewithqmail.org/ldap/.
> >
> > Please do your homework next time.
> >
> > --
> > * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
> > * Roedingsmarkt 14, 20459 Hamburg, Germany   *
> > Unix is very simple, but it takes a genius to understand the simplicity.
> > (Dennis Ritchie)
> >
> >
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01




Re: Maildir/cur folder question

2001-08-05 Thread Peter van Dijk

On Sun, Aug 05, 2001 at 08:35:05AM -0700, Randolph S. Kahle wrote:
> I have noticed that sometimes email messages will appear in the
> /Maildir/cur folder that have the format:
> 
> ...;2,

This is normal.

> I believe they also have ownership set to root:root.

This is not normal. You have a misconfiguration or you are using buggy
software.

> When this happens, then email clients (such as Netscape) get "stuck" and
> retrieve the same message over and over again. To "fix" this, I have to
> copy the files back to the /Maildir/new folder, change ownership, and
> remove the ":2," from the file name.
> 
> What is the purpose of the /Maildir/cur folder?

It saves any messages that have been read at least once, but not
deleted.

> Why are email message left in this folder?

Because a client retrieved a message without deleting it.

> Is there a better way to handle this the next time it occurs?

Find out what's wrong with your setup. The behaviour you describe
(especially the root ownership) is not normal.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Maildir/cur folder question

2001-08-05 Thread Randolph S. Kahle

I have noticed that sometimes email messages will appear in the
/Maildir/cur folder that have the format:

...;2,

I believe they also have ownership set to root:root.

When this happens, then email clients (such as Netscape) get "stuck" and
retrieve the same message over and over again. To "fix" this, I have to
copy the files back to the /Maildir/new folder, change ownership, and
remove the ":2," from the file name.

What is the purpose of the /Maildir/cur folder?

Why are email message left in this folder?

Is there a better way to handle this the next time it occurs?

Randy







$maildir.....cjk

2001-08-03 Thread Constantine Koulis

Hello
I would like to know where i DEFINE the $maildir.
I went to www.vmailmgr.org site and i tried to follow the instructions of 
the
3.5 Enabling enforcement of virtual user quotas
and
3.6 Enabling processing of autoresponses

I did the following:in a .qmail-default in the /home/user/.qmail-default i 
have the following
|/usr/local/bin/vdeliver
|/usr/local/bin/vdeliver-predeliver
|/usr/local/bin/vdeliver-postdeliver

And in predeliver i have :
  #!/bin/sh
  /usr/bin/vcheckquota

and in postdeliver:

#!/bin/sh
  if test -s $MAILDIR/autoresponse/message.txt
  then
qmail-autoresponder $MAILDIR/autoresponse/message.txt 
$MAILDIR/autoresponse
  fi

When i use predeliver it says in maillog:

failure: vcheckquota:_MAILDIR_is_not_set/

and i postdeliver it does nothing

Anybody knows why???

Tks & Best Regards
Koulis Constantine.
Bucharest Romania
Business Phone :+4-093979131


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Qmail IMAP4 for Maildir - best one??

2001-07-30 Thread Tony Harris

Thank you for such a wonderfully nice short response.

I'm sorry if I sound like a jerk, but I had read several were out there -
and I had read on here some people complaining about slowness and some
moving from courier to UW, and some moving from UW to courier.

I HAD searched the archives - most of the ones that had to do with opinions
of IMAP that I saw were several months old - as you know software can change
fast with new features and better stability.

Reading the base faq (which I DID DO):

5.2.4. imap-maildir
David R. Harris has cleaned up the patch that adds maildir support to the
University of Washington IMAP server and documented the installation
process. See http://www.davideous.com/imap-maildir/.

5.2.5. Courier-IMAP
Sam Varshavchik has written an IMAP server that supports maildir mailboxes
only. It's available from http://www.inter7.com/courierimap/.


And I did not read *your* FAQ because I do not use QMail-LDAP - actually I
use a combination of sendmail and qmail for the mail solution, so forgive me
for not wanting to make a switch to move everything into an LDAP style
solution.

So, before you jump down someones throat for something you ASSUME (ie: not
doing homework) - check first.

-Tony

- Original Message -
From: Henning Brauer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 3:33 PM
Subject: Re: Qmail IMAP4 for Maildir - best one??


> On Sun, Jul 29, 2001 at 09:35:05PM -0500, Tony Harris wrote:
> > Hi,
> >
> > I'm looking at using a webmail program that requires the use of
MAPv4  -  I
> > see there are various imap packages available that works with qmail -
which
> > is really the most stable and seems to work the best with IMAP?
>
> How many seconds did you spent in searching the archives, reading
> lifewithqmail.org and qmail.org?
> In short: courier is the preferred one for most of us.
>
> > I'm looking at trying out squirrelmail (so any other tips one might be
able
> > to offer would be greatly appreciated as well ;)
>
> squirrel is fine, sqwebmail too.
> I've written a short pargraph about the two in
www.lifewithqmail.org/ldap/.
>
> Please do your homework next time.
>
> --
> * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
> * Roedingsmarkt 14, 20459 Hamburg, Germany   *
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01




Re: Qmail IMAP4 for Maildir - best one??

2001-07-30 Thread Henning Brauer

On Sun, Jul 29, 2001 at 09:35:05PM -0500, Tony Harris wrote:
> Hi,
> 
> I'm looking at using a webmail program that requires the use of IMAPv4  -  I
> see there are various imap packages available that works with qmail - which
> is really the most stable and seems to work the best with IMAP?

How many seconds did you spent in searching the archives, reading
lifewithqmail.org and qmail.org?
In short: courier is the preferred one for most of us.

> I'm looking at trying out squirrelmail (so any other tips one might be able
> to offer would be greatly appreciated as well ;)

squirrel is fine, sqwebmail too.
I've written a short pargraph about the two in www.lifewithqmail.org/ldap/.

Please do your homework next time.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Qmail IMAP4 for Maildir - best one??

2001-07-29 Thread Tony Harris

Hi,

I'm looking at using a webmail program that requires the use of IMAPv4  -  I
see there are various imap packages available that works with qmail - which
is really the most stable and seems to work the best with IMAP?

I'm looking at trying out squirrelmail (so any other tips one might be able
to offer would be greatly appreciated as well ;)

-Tony




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/01




Re: pop3d maildir problems...

2001-07-26 Thread erasor

I posted this problem  yesterday. Same problem, but using tcpserver instead of inetd.
(guessing we can possibly rule out either of these 2 being the cause?)

/usr/local/bin/tcpserver -R -H -l 0 0 110 \
  /var/qmail/bin/qmail-popup mail \ 
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

the message number in which they get stuck on is random.
both email programs are affected.
dialup users (connected @26000 - 44000+)
bad phone lines in the area

Only thing noticed is that all their messages would be in cur/, yet they didn't 
download them yet.

good pings across the ethernet interfaces.
load on the mail server is 1.39, 0.66, 0.59
not bad.

So im lost as well :c(



- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 9:22 AM
Subject: pop3d maildir problems...


: Hi all,
: 
: It's a fairly straight forward problem (I think I have written the list 
: about it before, and I believe someone posted last night that is having a 
: similar / same problem) 
: 
: Client connects to pop
: They start to download
: they get a few messages (somewhere between 1 and 5)
: It will just hang popping out at this point.  it will time out and claim the 
: pop3 server is not responding. 
: 
: This is happening with people with both outlook express and Netscape mail.  
: Some have virus scanners some don't.  The problem started appearing about 2 
: to 2.5 weeks ago.  Not everyone runs into this issue - but we have been 
: getting more and more complaints. 
: 
: qmail-popup is being started from xinetd. 
: 
: Any suggestions / help would be appreciated. 
: 
:  -Tony 
: 
: A safe place for Apple ]['s...
: http://www.a2haven.org 
: 
:  ---
: "Ugh - You mean I have to do that AGAIN??" 
: 




pop3d maildir problems...

2001-07-26 Thread tony

Hi all,

It's a fairly straight forward problem (I think I have written the list 
about it before, and I believe someone posted last night that is having a 
similar / same problem) 

Client connects to pop
They start to download
they get a few messages (somewhere between 1 and 5)
It will just hang popping out at this point.  it will time out and claim the 
pop3 server is not responding. 

This is happening with people with both outlook express and Netscape mail.  
Some have virus scanners some don't.  The problem started appearing about 2 
to 2.5 weeks ago.  Not everyone runs into this issue - but we have been 
getting more and more complaints. 

qmail-popup is being started from xinetd. 

Any suggestions / help would be appreciated. 

 -Tony 

A safe place for Apple ]['s...
http://www.a2haven.org 

 ---
"Ugh - You mean I have to do that AGAIN??" 



Re: Maildir problem

2001-07-23 Thread Martin Kong

Adding Maildir to /etc/skel is only good for users you'll be creating in
the future.  For all existing users, you need to run
/var/qmail/bin/maildirmake in each of the $HOME directory.

> Helena Zhang wrote:
> 
> Hi,
> 
> I installed qmail version 1.03 on my Red Hat 6.0 machine, and it is
> working fine. I selected Maildir as the default delivery method. The
> manual told me to add the directoy Maildir/ in to /etc/skel and to all
> other users, and so I did. but when I telnet my port 110, the
> following error will appear:
> 
> Trying 216.237.57.142...
> Connected to 216.237.57.142.
> escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user helena
> pass 123*
> -ERR this user has no $HOME/Maildir
> Connection closed by foreign host.
> 
> * not the real password
> 
> but the $HOME/Maildir/ directory is there. After that I removed the
> user and create it again, which worked. Now I want to do it to the
> user root, but I can't remove root and created one again. Can anyone
> help me with that?
> 
> Regards,
> 
> Helena Zhang



Re: Maildir problem

2001-07-23 Thread Dushyanth Harinath

hi,
for root u dont create Maildir ...create a dot qmail file for root in
/var/qmail/alias and do whatever u want with it.
man dot-qmail for more details

regards
dushyanth

> Hi,
> 
> I installed qmail version 1.03 on my Red Hat 6.0 machine, and it is
> working fine. I selected Maildir as the default delivery method. The
> manual told me to add the directoy Maildir/ in to /etc/skel and to all
> other users, and so I did. but when I telnet my port 110, the following
> error will appear:
> 
>Trying 216.237.57.142...
>Connected to 216.237.57.142.
>escape character is '^]'.
>+OK <[EMAIL PROTECTED]> 
>user helena
>pass 123*
>-ERR this user has no $HOME/Maildir
>Connection closed by foreign host.
> 
> * not the real password
> 
> but the $HOME/Maildir/ directory is there. After that I removed the
> user and create it again, which worked. Now I want to do it to the user
> root, but I can't remove root and created one again. Can anyone help me
> with that?
> 
> Regards,
> 
> Helena Zhang


-- 
Dushyanth Harinath
Archean Infotech Limited
Ph No:091-040-3228666,6570704,3228674
http://www.archeanit.com



-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





Maildir problem

2001-07-23 Thread Helena Zhang



Hi,
 
I installed qmail version 1.03 on my Red Hat 6.0 
machine, and it is working fine. I selected Maildir as the default delivery 
method. The manual told me to add the directoy Maildir/ in to /etc/skel and 
to all other users, and so I did. but when I telnet my port 110, the following 
error will appear:
 
    Trying 
216.237.57.142...
    Connected to 
216.237.57.142.
    escape character is 
'^]'.
    +OK <3094.995952119@mail.astroburst.com> 
    user 
helena
pass 123*
    -ERR this user has no 
$HOME/Maildir
    Connection closed by foreign 
host.
 
* not the real password
 
but the $HOME/Maildir/ directory is there. 
After that I removed the user and create it again, which worked. Now I want to 
do it to the user root, but I can't remove root and created one again. Can 
anyone help me with that?
 
Regards,
 
Helena Zhang


FW: Converting Maildir to Mailbox

2001-07-20 Thread Doogie


Hi all,

Newbie question.  I've been using qmail for a while, and now has come
requirement for a webmail package.  The one I really want to use is
Neomail, but it seems that it only supports Mailbox format, not maildir.

Hence I was wondering if there was a way to convert back the maildir to
mailbox, or run a process that does it.  I've had a look at the
maildir2mbox and gotten thoroughly confused.

Cheers,
Doogie




RE: qmail, Maildir, IMAP, and MS Outlook

2001-07-11 Thread Chris Herrmann

We use O2k & courier-imap sitting on top of vpopmail - works fine. Allows
webmail to plug in nicely too.

-Original Message-
From: Ricardo SIGNES [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 July 2001 23:04
To: David Talkington
Cc: Sam Carleton; [EMAIL PROTECTED]
Subject: Re: qmail, Maildir, IMAP, and MS Outlook


In a message dated Wed, Jul 11, 2001 at 01:33:13AM -0500, David Talkington
wrote:
> Sam Carleton wrote:
> >Does anyone know of a IMAP server that get along with Outlook 2000 and
that
> >works with Maildir/?
> We have no trouble with Outlook Express and Courier, and I believe
> Outlook uses the same mail subsystem as Outlook Express IF the former
> is in "internet mail" mode, and not MAPI (I think they call that
> "corporate/workgroup mode").  MAPI is an abomination anyway.
> At least that was true of Outlook when last I dealt with it, which I'm
> happy to say was about 18 months ago.

That's true for Outlook 2000, yes.  Outlook 2002 is happy to run IMAP -and-
MAPI, so I've switched to that at work.  Sadly, we use the abomination.

--
rjbs




Re: qmail, Maildir, IMAP, and MS Outlook

2001-07-11 Thread Ricardo SIGNES

In a message dated Wed, Jul 11, 2001 at 01:33:13AM -0500, David Talkington wrote:
> Sam Carleton wrote:
> >Does anyone know of a IMAP server that get along with Outlook 2000 and that
> >works with Maildir/?
> We have no trouble with Outlook Express and Courier, and I believe
> Outlook uses the same mail subsystem as Outlook Express IF the former
> is in "internet mail" mode, and not MAPI (I think they call that
> "corporate/workgroup mode").  MAPI is an abomination anyway.
> At least that was true of Outlook when last I dealt with it, which I'm
> happy to say was about 18 months ago.

That's true for Outlook 2000, yes.  Outlook 2002 is happy to run IMAP -and- 
MAPI, so I've switched to that at work.  Sadly, we use the abomination.

-- 
rjbs

 PGP signature


Re: qmail, Maildir, IMAP, and MS Outlook

2001-07-10 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Sam Carleton wrote:

>Does anyone know of a IMAP server that get along with Outlook 2000 and that
>works with Maildir/?

We have no trouble with Outlook Express and Courier, and I believe
Outlook uses the same mail subsystem as Outlook Express IF the former
is in "internet mail" mode, and not MAPI (I think they call that
"corporate/workgroup mode").  MAPI is an abomination anyway.

At least that was true of Outlook when last I dealt with it, which I'm
happy to say was about 18 months ago.
- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0vzK71ZYOtSwT+tAQGpdAgA0b0HOE98NrBJEwssf40La3PX50ibiMUE
SlsFRu96q6qKhakJqD7Yw5ugbEcZnmZb6wL15S3zbcJXZpXGjfnVcM7IoJT4Aygo
b3Nh1xZWscsxTbsKhMSkv3SasyTN/AKdfhmnZnBnQNHFCdfUbBDyxw0D0mn0MBrM
Zbt/ZhiTKOc6jb5XfsnuRXG6/3P78+84BUprqrwV/mLALZLomJaEze8Gme61+Feg
7rtyVldZLVjegp65hp37mfrSO2gMRzn+69RW4OWCgA7JdLDeni6l7asgwxh7ZnUj
/LQNHBw03XkRXchwQeRv6je42AGpoCKGLvl1W2YQe3a+fLXLaAkdoQ==
=+XNF
-END PGP SIGNATURE-





Re: qmail, Maildir, IMAP, and MS Outlook

2001-07-10 Thread Will Yardley

we use courier-imapd with no problems on our office mailserver, and some
people here use Outlook with no problems.  While courier can be a pain at
times it's probably the best solution.  You could also try UW imapd with the
(unofficial) Maildir patches.

i don't think anyone has problems moving folders around or whatever; we
usually make all the folders subfolders of 'Maildir' so if I wanted to make a
folder called foo The directory for foo would then be Maildir/.foo/ and if it
had a subdirectory bar it would be Maildir/.foo/.bar/

I think you have to play around with the settings in OE a little to get them
to recognize the folders but it should definitely work.  It's not going to be
as easy to configure as another MS product since, as you mentioned, but it
should definitely work.

perhaps you could let us know the settings you're using and the exact errors
you're getting.

You might try creating folders on the server and see if you can get outlook
to recognize them.  for instance, (not as root):
% cd Maildir/
% /var/qmail/bin/maildirmake .foo

will

On Tue, Jul 10, 2001 at 10:18:51PM -0400, Sam Carleton wrote:
> Before folks start flaming me, I know Outlook sucks and I know that
> Microsoft has never written a decent piece of code.  With that said...
> 
> I am using qmail, because it is the best mail server out there.  I would
> like to be able to configure MS Outlook so that it interacts with qmail the
> same way it does with Exchange.  Or at least similar in the respect that one
> can manage folders and move mail around and it all stays on the server.  My
> understanding is that IMAP is the solution.  I have installed courier-IMAP,
> but from that mailing list I have learned that Outlook is not a standard MUA
> with respect it IMAP, or anything else for that matter.
> 
> Does anyone know of a IMAP server that get along with Outlook 2000 and that
> works with Maildir/?
> 
> Sam
> 



qmail, Maildir, IMAP, and MS Outlook

2001-07-10 Thread Sam Carleton

Before folks start flaming me, I know Outlook sucks and I know that
Microsoft has never written a decent piece of code.  With that said...

I am using qmail, because it is the best mail server out there.  I would
like to be able to configure MS Outlook so that it interacts with qmail the
same way it does with Exchange.  Or at least similar in the respect that one
can manage folders and move mail around and it all stays on the server.  My
understanding is that IMAP is the solution.  I have installed courier-IMAP,
but from that mailing list I have learned that Outlook is not a standard MUA
with respect it IMAP, or anything else for that matter.

Does anyone know of a IMAP server that get along with Outlook 2000 and that
works with Maildir/?

Sam




re: maildir

2001-07-06 Thread cyberruz

>#pwd
>/var/qmail/boot/
>#grep Maildir *
>#

>There is no file in boot containing a Maildir delivery instruction.
There
>are ./Mailbox examples, and this is correct, but MailBOX and not
MailDIR
>format.


My mistake..sorry...no wonder I can't get the Maildir to work :-)

Rob..







Re: Maildir

2001-07-06 Thread Henning Brauer

On Fri, Jul 06, 2001 at 10:02:12PM -0500, cyberruz wrote:
> Interesting...especially when the scripts in /var/qmail/boot   don't
> have a trailing '/' after ./Maildir
> (ie. that's how they come with qmail)

#pwd
/var/qmail/boot/
#grep Maildir *
#

There is no file in boot containing a Maildir delivery instruction. There
are ./Mailbox examples, and this is correct, but MailBOX and not MailDIR
format.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Maildir

2001-07-06 Thread cyberruz

>qmail-lspawn ./Maildir
>qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00

>Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
>@40003b4528aa1125e674 status: local 0/10 remote 0/20

>Add a trailing slash to ./Maildir/ ...

>Cheers -d

Interesting...especially when the scripts in /var/qmail/boot   don't
have a trailing '/' after ./Maildir
(ie. that's how they come with qmail)

In answer to the other post, Maildir works well, especially when you get
heaps of email in one mailbox!

Rob..






Re: Qmail tries to deliver to /home/usr/Maildir

2001-07-06 Thread GIC MLs

> > I still don't see why qmail is trying to put the mail in
/home/usr/Maildir
> > instead of under the vpopmail/domains directory...
>
> Repeating myself:  your virtualdomains configuration.  Post the contents
of
> virtualdomains.
>
> Charles

Apologies to Charles and the list -

I was working on this problem at a couple of different occaisions, but had
left Outlook Express open at this location in the meantime, so this machine
was grabbing responses to my posts before I could see them at the other
place. I did subscrible to the vpopmail mailing list in the meantime though,
thanks.

I never really did find out what the root of the problem was, but fixed it
by removing and re-adding the domain. I backed up vpopmail/domains/mydomain,
removed the original, added it again, then wrote a perl script to add the
200 users back into the new domain, check the copy of the original domain
subdirectories for leftover user mails and copy them to the new domain.
Things seem to be working so far...

Thanks again to Charles and everyone else for their help.

Shawn




Re[2]: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Lars Hansson

> 
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> +OK riga POP3 Server (Version 1.006d) ready at 
> USER essy
> +OK please send PASS command
> PASS essy
> +OK 0 messages ready for essy in /var/spool/mail/essy
> 
> where's my email gone to ??
> 
> 

Seems like your pop3 server is looking for mail in /var/spool/mail but you
are delivering to a Maildir. You need a pop3 server that can handle
maildir.
There is one with the qmail distribution and it should be in your
/var/qmail/bin directory. look for qmail-pop3d.

Cheers
Lars





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hi thanks for all at qmail list for the quick reply 
finally i can send the messages
and the report at /var/log/qmail/current is like this :

@40003b45473506367634 delivery 3: success: did_0+1+0/qp_23115/
@40003b454735063c5dec status: local 1/10 remote 0/20
@40003b45473506442234 end msg 191482
@40003b4547350caecda4 delivery 4: success: did_1+0+0/
@40003b4547350caf277c status: local 0/10 remote 0/20
@40003b4547350caf4e8c end msg 191483

But when I check to my Maildir (~essy/Maildir)
it's still empty, my email actually never back to my inbox  I can't
receive the email 
here's the output when i do telnet 127.0.0.1 110

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK riga POP3 Server (Version 1.006d) ready at 
USER essy
+OK please send PASS command
PASS essy
+OK 0 messages ready for essy in /var/spool/mail/essy

where's my email gone to ??





RE: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Joshua Nichols


> Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
> @40003b4528aa1125e674 status: local 0/10 remote 0/20
>
> eventhough i set the mode to 777 at my Maildir, it didn't take any effect

Listen to the error.  It is not a DNS problem.  Post the contents of
/var/qmail/rc.  Chances are REALLY good there's a typo there.

Here's mine:

#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward ./Maildir/'


Oh, and change your permissions back.  They should be 700.  While you're at
it, make sure the user owns the Maildir.

This problem is all over the archives.  Look there.


--joshua.





RE: Quick question re maildir

2001-07-05 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Joshua Nichols wrote:

>> weeks, and as part of the planning process am wondering if the
>> general consensus is that the "maildir" method is the way to
>> go.  Appreciate comments/advice.
>
>Absolutely.
>
>Check the archives, there's alot of info there about the benefits of
>Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
>mbox.

I don't remember the post, but was this the information to which it
referred?

http://www.courier-mta.org/mbox-vs-maildir

It's a very thorough set of benchmarks.  Good reading.

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0Usor1ZYOtSwT+tAQGixAgAo2BnWtUxHXuvA9odsoa/OmE8wshYfhBe
k0ePargg81ft0/pPMv1uoVD/DaecExh/Fyj0QyNv1TuWcHNFgxWaALt11FTnSQif
Tj3hM2lVmtRoSISHN/IDWKbHqS4HLohMNHa6D/AzQx3QlZO1HVq9jX7Fow8PszQe
FL5OmHAJPN83uEvNdO+MnRxKDi9710R8HNc2KwGqALnMJTX5tmTnp8dEx5yh1P3Z
s8nSru49H29dFAqw2/YfwIj4Hw/QffwWmCNlfitB3VWtInHvwhxSlcsobmAuyFGZ
PqPCoj8LZj5J6Wbbaosqd0kekFz9uZ5CKjH1f/r9B+a8IAV0F5PYig==
=S5LR
-END PGP SIGNATURE-





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Daniel Kelley


you're probably starting qmail with and argument that looks like this:

qmail-start ./Maildir

instead of this:

qmail-start ./Maildir/

the trailing slash tells qmail that it should to a Maildir, and not
a file.  


> But when I try to send myself an email, it show line like this at my
> /var/log/qmail/current file :
> @40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
> [EMAIL PROTECTED]
> @40003b4528aa0eba7c24 status: local 1/10 remote 0/20
> @40003b4528aa1125658c delivery 4: deferral:
> Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
> @40003b4528aa1125e674 status: local 0/10 remote 0/20





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

>qmail-lspawn ./Maildir
>qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00

>Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
>@40003b4528aa1125e674 status: local 0/10 remote 0/20

Add a trailing slash to ./Maildir/ ...

Cheers -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0Uqx71ZYOtSwT+tAQFW0Af/UmUeOmW+3kURmau+ai2aHykRQUEhNVic
wilBCKu9G8Z7TGuVuXVLKHZgIuWdKdXq8glr7QdnP+/SVsvpxAoCDt0ZSSKyVGM1
6MPzMcntDbAIvsFxytWLL6jQbDetF6QS6jLyO5mp2cVfpeNmAqTEsSdLCFmtDqX0
dGUIWDM68u6+I3OTfmyXu7ENlhqZcplvDg/wztrfn5LoxhVTekajIFGJizRobZdU
NfxhqHqsIK7txpEgTeMr657lPvXXbAy1n6jiVVUsRAUAHqS1QBMsWk4OqGwpBUNh
0j+db9Jzw7hTD5t5dR78kNZKasnPc//o3kIOeiyzM43E6Qrdkf2v8Q==
=GrYF
-END PGP SIGNATURE-





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Charles Cazabon

Essy Ren <[EMAIL PROTECTED]> wrote:

> Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
> @40003b4528aa1125e674 status: local 0/10 remote 0/20

You're trying to do mbox delivery to a Maildir, or something similar.  Check
your default delivery instruction (argument to qmail-start, possibly stored in
a file somewhere), any .qmail files used, and the man page for qmail-local for
details.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hello again
I've installed qmail-1.03 and using bind 9
I've made the MX record like this in my db.test.local file :
mailIN  MX10 riga.test.local
mailIN  A 192.168.1.31


When I run the ps aux the qmail seems to run :
qmails 134  0.0  0.3  1088  392 ?S09:51   0:00
qmail-send
qmaill 139  0.1  0.2  1052  364 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill 141  0.0  0.2  1044  336 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail
root   142  0.0  0.2  1048  336 ?S09:51   0:00
qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00
qmail-rspawn
qmailq 144  0.0  0.2  1040  348 ?S09:51   0:00
qmail-clean

But when I try to send myself an email, it show line like this at my
/var/log/qmail/current file :
@40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
[EMAIL PROTECTED]
@40003b4528aa0eba7c24 status: local 1/10 remote 0/20
@40003b4528aa1125658c delivery 4: deferral:
Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

eventhough i set the mode to 777 at my Maildir, it didn't take any effect
...
can someone help me ... ?
thanks






Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hello again
I've installed qmail-1.03 and using bind 9
I've made the MX record like this in my db.test.local file :
mailIN  MX10 riga.test.local
mailIN  A 192.168.1.31


When I run the ps aux the qmail seems to run :
qmails 134  0.0  0.3  1088  392 ?S09:51   0:00
qmail-send
qmaill 139  0.1  0.2  1052  364 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill 141  0.0  0.2  1044  336 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail
root   142  0.0  0.2  1048  336 ?S09:51   0:00
qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00
qmail-rspawn
qmailq 144  0.0  0.2  1040  348 ?S09:51   0:00
qmail-clean

But when I try to send myself an email, it show line like this at my
/var/log/qmail/current file :
@40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
[EMAIL PROTECTED]
@40003b4528aa0eba7c24 status: local 1/10 remote 0/20
@40003b4528aa1125658c delivery 4: deferral:
Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

eventhough i set the mode to 777 at my Maildir, it didn't take any effect
...
can someone help me ... ?
thanks





Re: Quick question re maildir

2001-07-05 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> Maildirs are incredibly easy to manipulate with shell or Perl or
> Python, more reliable than mailbox, and can be locked over NFS.

Small correction:  Maildirs need no locking, even over NFS.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Quick question re maildir

2001-07-05 Thread dsr

On Wed, Jul 04, 2001 at 12:30:52PM +1200, Steve Reed wrote:
> Hi all,
> 
> Thanks for the great help from this group in the past.  I plan 
> to begin the migration process to qmail in the coming days and 
> weeks, and as part of the planning process am wondering if the 
> general consensus is that the "maildir" method is the way to 
> go.  Appreciate comments/advice.

Basically, the only reasons not to go to maildir are shell users
who are set in their ways (and have been for years).

Maildirs are incredibly easy to manipulate with shell or Perl or
Python, more reliable than mailbox, and can be locked over NFS.

Shell users will generally fall into the mutt or emacs camps; you
should wean your Pine users anyway; you already know if you have
a population of mh users.

POP users will never notice the difference, except that when someone
mails them a 400MB PowerPoint preso, you can ls their maildir, note
the 400MB monstrosity, and delete it or move it for them without
disturbing any other mail.

-dsr-



RE: Quick question re maildir

2001-07-05 Thread Joshua Nichols


> weeks, and as part of the planning process am wondering if the
> general consensus is that the "maildir" method is the way to
> go.  Appreciate comments/advice.

Absolutely.

Check the archives, there's alot of info there about the benefits of
Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
mbox.


--joshua.




Quick question re maildir

2001-07-05 Thread Steve Reed

Hi all,

Thanks for the great help from this group in the past.  I plan 
to begin the migration process to qmail in the coming days and 
weeks, and as part of the planning process am wondering if the 
general consensus is that the "maildir" method is the way to 
go.  Appreciate comments/advice.

Cheers,

Steve




Re: Qmail tries to deliver to /home/usr/Maildir

2001-07-05 Thread Charles Cazabon

lists <[EMAIL PROTECTED]> wrote:

> I have the following file:
> warabi# cat /usr/local/vpopmail/domains/nca.or.jp/.qmail-default
> | /usr/local/vpopmail/bin/vdelivermail ''
> /usr/local/vpopmail/domains/nca.or.jp/1/04awano
> 
> Which I assume means that bounced mail goes to [EMAIL PROTECTED] . Is this
> correct?
> I still don't see why qmail is trying to put the mail in /home/usr/Maildir
> instead of under the vpopmail/domains directory...

Repeating myself:  your virtualdomains configuration.  Post the contents of
virtualdomains.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Qmail tries to deliver to /home/usr/Maildir

2001-07-05 Thread lists



Hello,
My saga continues...
I'm having a problem where qmail is attempting to deliver 
mail to/home/usr/Maildir instead 
of/usr/local/vpopmail/domain/mydomain/user/Maildir.Most of the users are 
vpopmail users and therefore do not have a /home/usrdirectory, so I get the 
dreaded 'Unable_to_chdir_to_maildir' on incomingmail to them.After 4 hrs 
sleep in the last 24 hrs straight trying to get this problemsolved, I'm 
getting a little frustrated. Any feedback would be appreciated.Here are 
my files:warabi# cat 
/usr/local/etc/rc.d/svscan.sh#!/bin/sh -e# 
startup script from:# http://www.flounder.net/qmail/qmail-howto.html#8#ln 
-s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3dcase "$1" 
in 
start)    echo -n "Startng djb 
services: svscan "    cd 
/service    env - 
PATH="/usr/local/bin:$PATH" svscan 
&    echo $! > 
/var/run/svscan.pid    echo 
"."    ;; 
stop)    echo -n "Stopping djb 
services: svscan "    kill `cat 
/var/run/svscan.pid`    echo -n 
"services "    svc -dx 
/service/*    echo -n " logging 
"    svc -dx 
/service/*/log    echo 
"."    ;; 
restart|reload|force-reload)    $0 
stop    $0 
start    
;; *)    
echo 'Usage: /usr/local/etc/rc.d/svscan 
(start|stop|restart)'    exit 
1;esacexit 0warabi#   
cat /service/qmail-send/run 
(->/var/qmail/supervise/qmail-send/run)#!/bin/shexec 
/var/qmail/rcwarabi# cat 
/service/qmail-smtpd/run 
(->/var/qmail/supervise/qmail-smtp/run)#!/bin/shQMAILDUID=`id 
-u qmaild`NOFILESGID=`id -g qmaild`exec /usr/local/bin/softlimit -m 
200 \ /usr/local/bin/tcpserver -v -p -x 
/usr/local/vpopmail/etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 
smtp /var/qmail/bin/qmail-smtpd 
2>&1warabi# cat 
/service/qmail-pop3d/run 
(->/var/qmail/supervise/qmail-pop3d/run)#!/bin/sh env 
- PATH="/var/qmail/bin:/usr/local/bin" \ /usr/local/bin/tcpserver -H -R 
-u vpopmail -g vchkpw 0 pop3/var/qmail/bin/qmail-popup 
\ warabi.nca.or.jp /usr/local/vpopmail/bin/vchkpw 
\ /var/qmail/bin/qmail-pop3d Maildir 
2>&1warabi# cat 
/var/qmail/rc#!/bin/shexec env - 
PATH="/var/qmail/bin:$PATH" \qmail-start "`cat 
/var/qmail/control/defaultdelivery`" 
2>&1warabi# cat 
/var/qmail/control/defaultdelivery./Maildir/warabi# 
cat 
/var/qmail/control/defaultdomainwarabi.nca.or.jpwarabi# 
cat 
/usr/local/vpopmail/etc/tcp.smtp127.0.0.1:allow,RELAYCLIENT=""warabi# 
cat 
/var/qmail/users/assign+nca.or.jp-:nca.or.jp:1227:65535:/usr/local/vpopmail/domains/nca.or.jp:-::
.All files/dirs under 
/usr/local/vpopmail are chown vpopmail.vchkpw.All subdirs are chmod 
755.
According to http://www.lifewithqmail.org/lwq.html ,
"3.6.2. Wildcard assignmentA wildcard assignment looks 
like:
 
+prefix:user:uid:gid:directory:dash:prepend:
 
What this means is that messages received for addresses of the 
form prefixrest will run as user user, with the specified uid and gid, and the 
file directory/.qmaildashprependrest will specify how the messages are to be 
delivered."
 
I have the following file:warabi# cat 
/usr/local/vpopmail/domains/nca.or.jp/.qmail-default| 
/usr/local/vpopmail/bin/vdelivermail '' 
/usr/local/vpopmail/domains/nca.or.jp/1/04awano
 
Which I assume means that bounced mail goes to [EMAIL PROTECTED] . Is this 
correct?I still don't see why qmail is trying to put the 
mail in /home/usr/Maildir instead of under the vpopmail/domains 
directory...
Can anyone see what I am missing here?Thanks for 
any help.Shawn


Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 03:22:43AM -0700, Will Yardley wrote:
> i installed the .deb binary packages (very nervously) and i think that
> has fixed the problem *knocks wood* 
> 
> thanks to everyone who responded.  one other little question.  is there
> anywhere else i should check permissions of besides /var/qmail/ ?  i had
> to change the uids and gids of some system users to get the package to
> install, and so i used 'find' to change the permissions to the correct
> user(s) in /var/qmail.  there isn't anywhere else i need to change,
> right?


I don't think so but keep an eye on the queue.
 
 
> has anyone had good luck with these binary packages?
> http://innominate.org/~pape/Debian/ (listed on the main qmail page)?
> aside from installing dot-forward and fastforward which I don't need
> since the system already uses .qmail files and qmail style aliases it
> seemed to work pretty well.


I haven't tried them -- I use Debian's package when I don't compile it
myself :)

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

i installed the .deb binary packages (very nervously) and i think that
has fixed the problem *knocks wood* 

thanks to everyone who responded.  one other little question.  is there
anywhere else i should check permissions of besides /var/qmail/ ?  i had
to change the uids and gids of some system users to get the package to
install, and so i used 'find' to change the permissions to the correct
user(s) in /var/qmail.  there isn't anywhere else i need to change,
right?

has anyone had good luck with these binary packages?
http://innominate.org/~pape/Debian/ (listed on the main qmail page)?
aside from installing dot-forward and fastforward which I don't need
since the system already uses .qmail files and qmail style aliases it
seemed to work pretty well.

w

Will Yardley wrote:
> 
> sweet thanks for pointing this out. sorry to be so obtuse, but can
> you explain how it should be?
> 
> make check didn't fix it (although it did notice that there was a
> problem).
> 
> i also tried:
> make trigger
> 
> zugzug# make trigger
> cc   trigger.o   -o trigger
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> trigger.o: In function `trigger_set':
> trigger.o(.text+0x25): undefined reference to `open_read'
> collect2: ld returned 1 exit status
> make: *** [trigger] Error 1
> 
> so perhaps there's an error with either the source (as i mentioned it's
> from the debian source package for 1.03) or with the library mentioned
> (crt1.0).  the machine is debian / potato (2.2) GNU / Linux
> 
> w
> Jörgen Persson wrote:
> >
> > On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> > > zugzug# ll
> > > total 16
> > > drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> > > drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> > > -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> > > -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> > > -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
> >
> > Bingo...
> >
> > trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)
> >
> > Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 02:02:31AM -0700, Will Yardley wrote:
> sweet thanks for pointing this out. sorry to be so obtuse, but can
> you explain how it should be?


The server I'm currently on looks like this:

total 12
drwxr-x---2 qmailq   qmail4096 Jul  1  2000 .
drwxr-x---   11 qmailq   qmail4096 Jul  1  2000 ..
-rw---1 qmails   qmail   0 Jul  1  2000 sendmutex
-rw-r--r--1 qmailr   qmail1024 Jun 28 08:13 tcpto
prw--w--w-1 qmails   qmail   0 Jul  3 10:52 trigger


> make check didn't fix it (although it did notice that there was a
> problem).
> 
> i also tried:
> make trigger
> 
> zugzug# make trigger
> cc   trigger.o   -o trigger
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> trigger.o: In function `trigger_set':
> trigger.o(.text+0x25): undefined reference to `open_read'
> collect2: ld returned 1 exit status
> make: *** [trigger] Error 1



I get the same error myself if I try ''make trigger'' but ''make'' with
the original source works fine under libc 2.2.3 and gcc 2.95.4. Try to 
recompile the entire source.


> so perhaps there's an error with either the source (as i mentioned it's
> from the debian source package for 1.03) or with the library mentioned
> (crt1.0).  the machine is debian / potato (2.2) GNU / Linux


I've been running the binary qmail package to Debian Potato successfully 
on several servers. Though I prefer to compile it myself :)


An alternative solution is:
1) shut down qmail
2) mv trigger /tmp
3) mknod trigger p
4) chown qmails.qmail trigger
5) chmod 644 trigger
6) start qmail

I moved trigger to tmp as a backup if something goes wrong but I'm quite
certain it'll work though.

The CPU problem might remain if the queue inodes are wrong...


A third solution is queue-fix[1] which is mentioned on the ''qmail
home page''[2]. It is supposed to fix the entire queue structure but I
haven't tested that utility myself.


Jörgen
[1] http://www.netmeridian.com/e-huss/queue-fix.tar.gz
[2] http://www.qmail.org/



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

sweet thanks for pointing this out. sorry to be so obtuse, but can
you explain how it should be?

make check didn't fix it (although it did notice that there was a
problem).

i also tried:
make trigger

zugzug# make trigger
cc   trigger.o   -o trigger
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
trigger.o: In function `trigger_set':
trigger.o(.text+0x25): undefined reference to `open_read'
collect2: ld returned 1 exit status
make: *** [trigger] Error 1

so perhaps there's an error with either the source (as i mentioned it's
from the debian source package for 1.03) or with the library mentioned
(crt1.0).  the machine is debian / potato (2.2) GNU / Linux

w 
Jörgen Persson wrote:
> 
> On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> > zugzug# ll
> > total 16
> > drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> > drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> > -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> > -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> > -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
> 
> Bingo...
> 
> trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)
> 
> Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> zugzug# ll
> total 16
> drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger


Bingo...

trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

yeah but there is barely anything there.  we don't send out very much
mail at all (the machine is only for internal use).  in fact the entire
/var/qmail/queue directory tree is pretty much empty, as is
/var/spool/qmail

this is why it's perplexing... i think it must be a problem with the
install or something; qmail has been acting that way since it was
installed - even when there was barely anyone on the machine.

zugzug# ll
total 16
drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
-rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
-rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
-rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
zugzug# pwd
/var/qmail/queue/lock

and from roughly the same time...

  1:21am  up 55 days, 10:22,  2 users,  load average: 1.20, 1.24, 1.25
61 processes: 54 sleeping, 2 running, 5 zombie, 0 stopped
CPU states:  0.1% user,  0.6% system,  0.0% nice,  0.5% idle
Mem:  516576K av, 383872K used, 132704K free,  19700K shrd, 257452K buff
Swap: 1020116K av,   3340K used, 1016776K free 93692K
cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
32076 qmails20   0   396  396   308 R   0 90.5  0.0 778:11
qmail-send
19851 root   2   0  1276 1276   680 R   0  2.8  0.2   0:00 top

Jörgen Persson wrote:
> 
> On Mon, Jul 02, 2001 at 10:39:43AM -0700, Will Yardley wrote:
> > Jörgen Persson wrote:
> > >
> > > On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > > > i've heard from a couple people that the qmail-send process is
> > > > supposed to take up all the avail cpu when nothing else is using it;
> > > > is that right?
> > >
> > > Hardly -- what does the log say?
> > >
> > > Jörgen
> > well the logs aren't really spitting out any errors; they look like this
> > (and a lot of procmail backtraces from various peoples' mail delivery).
> > we do have a lot of people using procmail to filter their mail (probably
> > about 20 or so out of 40 users) and a bunch of people using spambouncer
> > (a bunch of procmail scripts) but the machine itself doesn't have that
> > many users, and the load did the same thing when less people were using
> > procmail and almost noone was using spambouncer.
> 
> Procmail may cause it but I doubt it since your problem concerns
> outgoing mail.
> 
> Check your queue -- what does ''/var/qmail/queue/lock'' look like?
> 
> Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Mon, Jul 02, 2001 at 10:39:43AM -0700, Will Yardley wrote:
> Jörgen Persson wrote:
> > 
> > On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > > i've heard from a couple people that the qmail-send process is
> > > supposed to take up all the avail cpu when nothing else is using it;
> > > is that right?
> > 
> > Hardly -- what does the log say?
> > 
> > Jörgen
> well the logs aren't really spitting out any errors; they look like this
> (and a lot of procmail backtraces from various peoples' mail delivery).
> we do have a lot of people using procmail to filter their mail (probably
> about 20 or so out of 40 users) and a bunch of people using spambouncer
> (a bunch of procmail scripts) but the machine itself doesn't have that
> many users, and the load did the same thing when less people were using
> procmail and almost noone was using spambouncer.


Procmail may cause it but I doubt it since your problem concerns 
outgoing mail.

Check your queue -- what does ''/var/qmail/queue/lock'' look like?

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-02 Thread Will Yardley

Jörgen Persson wrote:
> 
> On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > i've heard from a couple people that the qmail-send process is
> > supposed to take up all the avail cpu when nothing else is using it;
> > is that right?
> 
> Hardly -- what does the log say?
> 
> Jörgen
well the logs aren't really spitting out any errors; they look like this
(and a lot of procmail backtraces from various peoples' mail delivery).
we do have a lot of people using procmail to filter their mail (probably
about 20 or so out of 40 users) and a bunch of people using spambouncer
(a bunch of procmail scripts) but the machine itself doesn't have that
many users, and the load did the same thing when less people were using
procmail and almost noone was using spambouncer.


Jul  2 10:20:26 zugzug qmail: 994094426.896253 starting delivery 860880:
msg 32818 to local x
Jul  2 10:20:26 zugzug qmail: 994094426.897151 status: local 1/10 remote
0/20
Jul  2 10:20:31 zugzug qmail: 994094431.062349 new msg 32821
Jul  2 10:20:31 zugzug qmail: 994094431.063532 info msg 32821: bytes
1030 from  qp 25920 uid 1001
Jul  2 10:20:31 zugzug qmail: 994094431.125982 starting delivery 860881:
msg 32821 to local x
Jul  2 10:20:31 zugzug qmail: 994094431.126914 status: local 2/10 remote
0/20
Jul  2 10:20:31 zugzug qmail: 994094431.529032 delivery 860881: success:
did_0+0+1/
Jul  2 10:20:31 zugzug qmail: 994094431.530214 status: local 1/10 remote
0/20
Jul  2 10:20:31 zugzug qmail: 994094431.530522 end msg 32821
Jul  2 10:20:41 zugzug qmail: 994094441.513518 new msg 32821
Jul  2 10:20:41 zugzug qmail: 994094441.514655 info msg 32821: bytes
1058 from  qp 25927 uid 1001
Jul  2 10:20:41 zugzug qmail: 994094441.592107 starting delivery 860882:
msg 32821 to local x
Jul  2 10:20:41 zugzug qmail: 994094441.593109 status: local 2/10 remote
0/20
Jul  2 10:20:42 zugzug qmail: 994094442.094698 delivery 860882: success:
did_0+0+1/
Jul  2 10:20:42 zugzug qmail: 994094442.095894 status: local 1/10 remote
0/20
Jul  2 10:20:42 zugzug qmail: 994094442.096184 end msg 32821
Jul  2 10:21:05 zugzug qmail: 994094465.081823 new msg 32821
Jul  2 10:21:05 zugzug qmail: 994094465.082982 info msg 32821: bytes
4870 from <> qp 25934 uid 1001
Jul  2 10:21:05 zugzug qmail: 994094465.145353 starting delivery 860883:
msg 32821 to local x
Jul  2 10:21:05 zugzug qmail: 994094465.146323 status: local 2/10 remote
0/20
Jul  2 10:21:05 zugzug qmail: 994094465.590657 delivery 860883: success:
did_0+0+1/
Jul  2 10:21:05 zugzug qmail: 994094465.591874 status: local 1/10 remote
0/20
Jul  2 10:21:05 zugzug qmail: 994094465.592132 end msg 32821

here's a more complete 'top' output:


 10:27am  up 54 days, 19:28,  1 user,  load average: 1.17, 1.36, 1.25
68 processes: 60 sleeping, 3 running, 5 zombie, 0 stopped
CPU states: 36.2% user, 63.7% system,  0.0% nice,  0.0% idle
Mem:  516576K av, 507756K used,   8820K free,  18776K shrd, 449500K buff
Swap: 1020116K av,   4528K used, 1015588K free 20308K
cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
  168 qmails16   0   212  188   108 R   0 99.0  0.0 75304m
qmail-send
26309 root   2   0  1284 1284   688 R   0  0.9  0.2   0:00 top
1 root   0   0   108   6448 S   0  0.0  0.0   0:28 init
2 root   0   0 00 0 SW  0  0.0  0.0   0:02
kflushd
3 root   0   0 00 0 SW  0  0.0  0.0   0:48
kupdate
4 root   0   0 00 0 SW  0  0.0  0.0   0:00 kpiod
5 root   0   0 00 0 SW  0  0.0  0.0   0:13
kswapd
  172 qmaill 0   0   208  200   160 S   0  0.0  0.0   8:54
splogger
  173 root   0   0   156  12056 S   0  0.0  0.0   5:33
qmail-lspawn
  174 qmailr 0   0   140  11284 S   0  0.0  0.0   0:19
qmail-rspawn
  175 qmailq 0   0   116  10076 S   0  0.0  0.0   1:03
qmail-clean
  179 root   0   0   388  372   300 S   0  0.0  0.0 216:46
syslogd
  186 root   0   0   4480 0 SW  0  0.0  0.0   0:00 klogd
  204 root   0   0  1716 1292   528 S   0  0.0  0.2   5:06 named
  224 root   0   0   112   6040 S   0  0.0  0.0   0:01
couriertcpd
  232 root   0   0   200  192   160 S   0  0.0  0.0   0:02
logger
  233 root   0   0   112   6040 S   0  0.0  0.0   0:20
couriertcpd
  236 root   0   0   200  192   160 S   0  0.0  0.0   0:19
logger
  275 root   0   0   492  408   340 S   0  0.0  0.0   0:54 sshd
  285 root   0   0  1552 1552  1320 S   0  0.0  0.3   0:00 ntpd
  327 root   0   0640 0 SW  0  0.0  0.0   0:00 getty
  328 root   0   0640 0 SW  0  0.0  0.0   0:00 getty
  329 root   0   0640 0 SW  0  0.0  0.0   0:00 getty
  330 root   0   0640 0 SW  0  0.0  0.0   0:00 getty
  331 root   0   0640 0 SW  0  0.0  0.0   0:00 getty
23917 root   0   0   244  224   184 S   0  0.0  

Re: qmail-send cpu and imapd / Maildir

2001-07-02 Thread Will Yardley

well (in reference to the first person's query) the logs don't seem to
show anything too strange as far as i can see;

dns is resolving pretty quick; in fact it's resoving to a caching
install of bind at the moment (i think someone did that in case that was
the problem. as you can see, localhost is the default resolver and this
particular query took 2 msec. the other two nameservers are on the same
lan.

zugzug # dig yahoo.com

; <<>> DiG 8.3 <<>> yahoo.com
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 3
;; QUERY SECTION:
;;  yahoo.com, type = A, class = IN

;; ANSWER SECTION:
yahoo.com.  23m55s IN A 216.115.108.243
yahoo.com.  23m55s IN A 216.115.108.245

;; AUTHORITY SECTION:
yahoo.com.  1d23h53m55s IN NS  NS3.EUROPE.yahoo.com.
yahoo.com.  1d23h53m55s IN NS  NS1.yahoo.com.
yahoo.com.  1d23h53m55s IN NS  NS5.DCX.yahoo.com.

;; ADDITIONAL SECTION:
NS3.EUROPE.yahoo.com.   4h55m21s IN A   217.12.4.71
NS1.yahoo.com.  4h55m21s IN A   204.71.200.33
NS5.DCX.yahoo.com.  4h55m21s IN A   216.32.74.10

;; Total query time: 2 msec
;; FROM: zugzug.hq.newdream.net to SERVER: default -- 127.0.0.1
;; WHEN: Mon Jul  2 09:54:48 2001
;; MSG SIZE  sent: 27  rcvd: 172

here's the startup script:
zugzug # cat /etc/init.d/qmail-start
csh -cf '/var/qmail/rc &'
zugzug # cat /var/qmail/rc
#!/bin/sh

# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by
default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

i suppose the fact that it's using procmail as a delivery agent might be
part of the problem.

Mike Peppard wrote:
> 
> Qmail takes hardly any cpu or memory.  It's VERY disk and
> interrupt intensive by design.  Also you shouldn't see
> your system cpu usage higher then your user usage.  That
> indicates a badly written application somewhere.  You know
> that though.
> 
> You can take portmap off.  You don't need it.  Portmap wouldn't
> make it 3 days without being broken into if it were on the
> Internet.  That's not the problem though.
> 
> Do you have how you start off qmail-send?
> My guess is that your DNS isn't resolving very well.  You have
> a stub resolver on this machine?  I don't see one.
> 
> -Mike
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Will Yardley
> > Sent: Monday, July 02, 2001 4:25 AM
> > To: [EMAIL PROTECTED]
> > Subject: qmail-send cpu and imapd / Maildir



Re: qmail-send cpu and imapd / Maildir

2001-07-02 Thread Jörgen Persson

On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> i've heard from a couple people that the qmail-send process is
> supposed to take up all the avail cpu when nothing else is using it;
> is that right?

Hardly -- what does the log say?

Jörgen



qmail-send cpu and imapd / Maildir

2001-07-02 Thread Will Yardley

I'm new to the list so feel free to flog me if these questions are
archived somewhere (i haven't been able to turn up anything on a couple
of searches).

1)
I'm running qmail on a debian box; i'm pretty sure it was built from the
qmail-src 1.03-14 debian source package.  there has been some debate as
to whether this is normal; i've heard from a couple people that the
qmail-send process is supposed to take up all the avail cpu when nothing
else is using it; is that right? here's a typical output of 'top'... as
you can see the load is a bit high for a machine that's doing nothing
but accept mail for 30-40 people and provide imap / ssl imap service. 
the load rarely gets too high, and qmail does seem to allow other procs
to take up some cpu, but generally qmail-send is taking up at least
40-50 percent of the cpu, and the load is often between 1 and 2 even in
the evening when the box is being used for very little.

  1:05am  up 54 days, 10:06,  1 user,  load average: 1.28, 1.32, 1.24
67 processes: 58 sleeping, 4 running, 5 zombie, 0 stopped
CPU states: 33.0% user, 66.9% system,  0.0% nice,  0.0% idle
Mem:  516576K av, 461880K used,  54696K free,  14500K shrd, 398160K buff
Swap: 1020116K av,   5496K used, 1014620K free 27264K
cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
  168 qmails13   0   212  188   108 R   0 98.6  0.0 74778m
qmail-send
 8046 william2   0  1284 1284   688 R   0  0.9  0.2   0:00 top
  446 dallas 0   0  1008 1000   336 S   0  0.3  0.1   0:12 imapd
1 root   0   0   108   6448 S   0  0.0  0.0   0:28 init
2 root   0   0 00 0 SW  0  0.0  0.0   0:02
kflushd
3 root   0   0 00 0 SW  0  0.0  0.0   0:47
kupdate
4 root   0   0 00 0 SW  0  0.0  0.0   0:00 kpiod
5 root   0   0 00 0 SW  0  0.0  0.0   0:13
kswapd
   84 daemon 0   0840 0 SW  0  0.0  0.0   0:00
portmap
  172 qmaill 0   0   208  200   160 S   0  0.0  0.0   8:49
splogger
  173 root   0   0   156  12056 S   0  0.0  0.0   5:30
qmail-lspawn
  174 qmailr 0   0   140  11284 S   0  0.0  0.0   0:19
qmail-rspawn
  175 qmailq 0   0   116  10076 S   0  0.0  0.0   1:02
qmail-clean
  179 root   0   0   388  372   300 S   0  0.0  0.0 214:40
syslogd
  186 root   0   0   4480 0 SW  0  0.0  0.0   0:00 klogd

2)
has anyone had much luck with any type of imapd other than courier for
qmail using Maildir?  i was able to get the uw Maildir patches to work,
but it didn't seem to work well with 'dot' subfolders.  When creating
folders from netscape the new folders were created in the main home
directory, and '.' subfolders and sub-subfolders didn't show up.



Re: Maildir directory layout

2001-06-28 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> > You could also just do echo "./Mail/Inbox" > ~/.qmail -- this would
> > accomplish the same thing, and then you don't need procmail any more.
> 
> Ah, but then I have to figure out how to use it.  I already know (just
> about) how to use procmail :-)

dot-qmail is trival -- the man page for dot-qmail has full details.  It's a
heck of a lot easier to do mail sorting with .qmail files and extension
addresses than any postprocessing system.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Maildir directory layout

2001-06-28 Thread roger

On Thu, Jun 28, 2001 at 08:55:59AM -0600, Charles Cazabon wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I'm going to be redoing my qmail installation over the next couple of
> > days, preparatory to installing Courier IMAP or similar.
> > 
> > Currently, however, I have my mail directory arranged like this:
> > 
> > ~roger/Mail/Inbox
> > ~roger/Mail/Sent
> > ~roger/Mail/Lists/qmail
> > 
> > ...etc.
> 
> Nothing wrong with that.

What I didn't point out, is that these are Maildirs -- I forgot the trailing /

> You could also just do echo "./Mail/Inbox" > ~/.qmail -- this would accomplish
> the same thing, and then you don't need procmail any more.

Ah, but then I have to figure out how to use it.  I already know (just
about) how to use procmail :-)

> I have something similar, but I don't use mbox files.

Yeah, as I forgot to mention, I don't use mbox, either.

> I then have a symbolic link from ~/Maildir/ to ~/Mail/inbox/, so
> qmail-pop3d still works with my mail as well.

Now, that sounds like a good idea.

Cheers,
Roger.



Re: Maildir directory layout

2001-06-28 Thread Peter van Dijk

On Thu, Jun 28, 2001 at 03:34:36PM +0100, [EMAIL PROTECTED] wrote:
[snip]
> My question: Is this a sensible layout for Maildir?  Are there any
> docs about preferred layouts, etc.?

I have ~/mail/INBOX/, ~/mail/lists/qmail/, ~/mail/lists/ezmlm/
etcetera. Works like a charm. Do whatever pleases you :)

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Maildir directory layout

2001-06-28 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm going to be redoing my qmail installation over the next couple of
> days, preparatory to installing Courier IMAP or similar.
> 
> Currently, however, I have my mail directory arranged like this:
> 
> ~roger/Mail/Inbox
> ~roger/Mail/Sent
> ~roger/Mail/Lists/qmail
> 
> ...etc.

Nothing wrong with that.

> The default is for qmail to deliver to ~/Maildir, but I use procmail
> to deliver to ~/Mail/Inbox by default.  This works fine with mutt.

You could also just do echo "./Mail/Inbox" > ~/.qmail -- this would accomplish
the same thing, and then you don't need procmail any more.

> Most of the other users on this box have left the default -- which is
> good, because then it works with qmail-pop3d.

Yes, good.

> My question: Is this a sensible layout for Maildir?  Are there any
> docs about preferred layouts, etc.?

I have something similar, but I don't use mbox files.  I then have a symbolic
link from ~/Maildir/ to ~/Mail/inbox/, so qmail-pop3d still works with my mail
as well.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Maildir directory layout

2001-06-28 Thread roger

I'm going to be redoing my qmail installation over the next couple of
days, preparatory to installing Courier IMAP or similar.

Currently, however, I have my mail directory arranged like this:

~roger/Mail/Inbox
~roger/Mail/Sent
~roger/Mail/Lists/qmail

...etc.

The default is for qmail to deliver to ~/Maildir, but I use procmail
to deliver to ~/Mail/Inbox by default.  This works fine with mutt.

Most of the other users on this box have left the default -- which is
good, because then it works with qmail-pop3d.

My question: Is this a sensible layout for Maildir?  Are there any
docs about preferred layouts, etc.?

Cheers,
Roger.




Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Charles Cazabon

Please don't cc: me; I'm on the mailing list.

Stephen Froehlich <[EMAIL PROTECTED]> wrote:
> > The only reason they need .qmail files is because your qmail-start default
> > delivery argument is broken:
> >
> >   qmail-start 'dot-forward .forward |
> > ./Maildir/'
> >
> > If you really want to use dot-forward, followed by ./Maildir/ if .forward
> > doesn't exist, it'll have to be:
> >
> >   qmail-start '|dot-forward .forward
> > ./Maildir/'
> >
> > Note your pipe symbol is in the wrong place.
> 
> I see.  Should the newline still be in there?

Yes.  Each delivery instruction has to be on a separate line in the .qmail
file, and the argument to qmail-start follows this format.  That's one of the
reasons you need to quote the whole thing.

> On the other hand, now that .qmail is in /etc/skel, that gives me some added
> flexibility without the trouble.  I should still fix it--to make assurance
> double sure.

You should change it.  In fact, not having a .qmail file in /etc/skel is
usually a good idea -- it makes it easier to change the default delivery
instructions -- you don't have to grep through every user's files.

> If I change rc to what you have above, will .qmail files in users homedirs
> still be honored?

Yes.  A user's .qmail file always overrides the default delivery instructions;
that's why putting .qmail files in these users' directories worked when the
qmail-start argument wasn't correct.

> I must say that I like the feature that qmail will hold the messages in
> the queue until you fix things (as opposed to bouncing them), I'm sure that
> it has covered a multitude of sins (i.e. users only notice when they get
> confirmation that mail isn't being delivered instantly).

Note that qmail will only hold it in the queue for queuelifetime seconds;
after that, the mail will bounce.

> Thanks again for all of your help - honestly, this mailing list, though
> it is a little slower than picking up the phone and calling is of more
> consistent quality than most tech support organizations.

If you want pick-up-the-phone responsiveness _and_ accuracy, hire Russell
Nelson as your qmail consultant.  He does phone support, and takes credit
cards too :).

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

> The only reason they need .qmail files is because your qmail-start default
> delivery argument is broken:
>
>   qmail-start 'dot-forward .forward |
> ./Maildir/'
>
> If you really want to use dot-forward, followed by ./Maildir/ if .forward
> doesn't exist, it'll have to be:
>
>   qmail-start '|dot-forward .forward
> ./Maildir/'
>
> Note your pipe symbol is in the wrong place.

I see.  Should the newline still be in there?  On the other hand, now
that .qmail is in /etc/skel, that gives me some added flexibility without
the trouble.  I should still fix it--to make assurance double sure.  If I
change rc to what you have above, will .qmail files in users homedirs still
be honored?

I must say that I like the feature that qmail will hold the messages in
the queue until you fix things (as opposed to bouncing them), I'm sure that
it has covered a multitude of sins (i.e. users only notice when they get
confirmation that mail isn't being delivered instantly).

Thanks again for all of your help - honestly, this mailing list, though
it is a little slower than picking up the phone and calling is of more
consistent quality than most tech support organizations.




Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Charles Cazabon

Stephen Froehlich <[EMAIL PROTECTED]> wrote:
> Solved - the difference was that these two users also didn't have a .qmail
> in their home directory at all.  (I had set them up before I had /etc/skel
> fleshed out.)  Thanks again for your help.

The only reason they need .qmail files is because your qmail-start default
delivery argument is broken:

  qmail-start 'dot-forward .forward |
./Maildir/'

If you really want to use dot-forward, followed by ./Maildir/ if .forward
doesn't exist, it'll have to be:

  qmail-start '|dot-forward .forward
./Maildir/'

Note your pipe symbol is in the wrong place.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Charles Cazabon

Stephen Froehlich <[EMAIL PROTECTED]> wrote:
> 
> No, neither of these users have .qmail files in their home directory.

As Russ said, check your default delivery argument -- it has the same format
as a .qmail file, but is supplied on the commandline to qmail-start.  This
should be located in your /var/qmail/rc or /service/{qmail,qmail-send}/run
scripts.

> They have .qmail files in /var/qmail/alias referring to the usernames e.g..
> "echo admin_email > .qmail-postmaster", however many of those are working
> just fine, just not the ones pointing to these two users.

Note that forwarding lines really should begin with a '&' -- it works if you
leave it off only if the first character of the username is a letter or
number.  You mentioned there were underscores in these users' names; they
wouldn't _start_ with an underscore, would they?

If so, I claim another victory for the "post _all_ information right from the
start, because you don't know what's relevant" camp.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

Solved - the difference was that these two users also didn't have a .qmail
in their home directory at all.  (I had set them up before I had /etc/skel
fleshed out.)  Thanks again for your help.




Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

OK, I may be a little confused.

/var/qmail/rc reads
---
#!/bin/sh

exec env - PATH = "/var/qmail/bin:$PATH" \
qmail-start 'dot-forward .forward |
./Maildir/'
---

None of the users have .qmail files in their home directories.  In addition,
most users are working, including others that are going through .qmail
files.  For example, I recieve email at [EMAIL PROTECTED] just fine, and
there exists a file "echo froehlik > /var/qmail/alias/.qmail-froehlichs".

- Original Message -
From: "Williams, Paul (OTS-EDH)" <[EMAIL PROTECTED]>
To: "'Stephen Froehlich'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 10:32 AM
Subject: RE: deferral: /bin/sh:_./Maildir/:_is_a_directory/


> Check their .qmail files (and the system qmail-local default) and see if
you
> mistakenly put "./Maildir" instead of "./Maildir/".
>
> -Original Message-
> From: Stephen Froehlich [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/
>
>
> The other thing that makes these users unique is that they have an "_" in
> their usernames.  Is this a no_no?
>
> - Original Message -
> From: "Stephen Froehlich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 26, 2001 9:41 AM
> Subject: deferral: /bin/sh:_./Maildir/:_is_a_directory/
>
>
> > I have a couple of users who aren't receiving mail with the following
> error
> > message
> >
> > delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
> >
> > These users are somewhat unique in that they were created before I had a
> > maildir in /etc/skel, however, I su'ed to them and ran maildirmake to
give
> > them maildirs.
> >
> > Their home dirs (/home/uname) have permissions of 700 (owned by the
user)
> > The Maildir is also 700, and owned by the user
> >
> > Any idears?
> >
> > Thanx,
> > Stephen
> >
>
>
>
> Notice:  This e-mail and any attachments are intended only for the
> individual or company to which it is addressed and may contain information
> which is privileged, confidential and prohibited from disclosure or
> unauthorized use under applicable law.  If you are not the intended
> recipient of this e-mail, you are hereby notified that any use,
> dissemination, or copying of this e-mail or the information contained in
> this e-mail is strictly prohibited by the sender.  If you have received
this
> transmission in error, please return the material received to the sender
and
> delete all copies from your system.  Thank you.
>




RE: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Williams, Paul (OTS-EDH)

Check their .qmail files (and the system qmail-local default) and see if you
mistakenly put "./Maildir" instead of "./Maildir/".

-Original Message-
From: Stephen Froehlich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:01 AM
To: [EMAIL PROTECTED]
Subject: Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/


The other thing that makes these users unique is that they have an "_" in
their usernames.  Is this a no_no?

- Original Message -
From: "Stephen Froehlich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 9:41 AM
Subject: deferral: /bin/sh:_./Maildir/:_is_a_directory/


> I have a couple of users who aren't receiving mail with the following
error
> message
>
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
>
> These users are somewhat unique in that they were created before I had a
> maildir in /etc/skel, however, I su'ed to them and ran maildirmake to give
> them maildirs.
>
> Their home dirs (/home/uname) have permissions of 700 (owned by the user)
> The Maildir is also 700, and owned by the user
>
> Any idears?
>
> Thanx,
> Stephen
>



Notice:  This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain information
which is privileged, confidential and prohibited from disclosure or
unauthorized use under applicable law.  If you are not the intended
recipient of this e-mail, you are hereby notified that any use,
dissemination, or copying of this e-mail or the information contained in
this e-mail is strictly prohibited by the sender.  If you have received this
transmission in error, please return the material received to the sender and
delete all copies from your system.  Thank you.



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

> That would be fine if you wanted email delivered to a mbox-format file
> named "Maildir", confusing as that would be.  I rather expect, though,
> that you forgot the slash at the end of ./Maildir/.

No, neither of these users have .qmail files in their home directory.  They
have .qmail files in /var/qmail/alias referring to the usernames e.g.. "echo
admin_email > .qmail-postmaster", however many of those are working just
fine, just not the ones pointing to these two users.




Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Russell Nelson

Stephen Froehlich writes:
 > I have a couple of users who aren't receiving mail with the following error
 > message
 > 
 > delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/

Sounds like they have a .qmail file that looks like this:

./Maildir

That would be fine if you wanted email delivered to a mbox-format file 
named "Maildir", confusing as that would be.  I rather expect, though, 
that you forgot the slash at the end of ./Maildir/.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude 
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Henning Brauer

On Tue, Jun 26, 2001 at 09:41:18AM -0500, Stephen Froehlich wrote:
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/

correct you /var/qmail/rc. Hint: a / is missing.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Greg White

On Tue, Jun 26, 2001 at 09:41:18AM -0500, Stephen Froehlich wrote:
> I have a couple of users who aren't receiving mail with the following error
> message
> 
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
> 

Here's a tip -- _directory_ delivery instructions end in a trailing
slash. _File_ delivery instructions do not. Check .qmail files and the
default delivery method

-- 
Greg White



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Charles Cazabon

Stephen Froehlich <[EMAIL PROTECTED]> wrote:
> I have a couple of users who aren't receiving mail with the following error
> message
> 
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
> 
> These users are somewhat unique in that they were created before I had a
> maildir in /etc/skel, however, I su'ed to them and ran maildirmake to give
> them maildirs.
> 
> Their home dirs (/home/uname) have permissions of 700 (owned by the user)
> The Maildir is also 700, and owned by the user
> 
> Any idears?

It appears that the delivery instruction for those users (in their .qmail
files) contain an mbox delivery line (no trailing slash).  qmail looks for an
mbox file, finds a directory, and complains.

Fix the contents of their .qmail files and it should be fine.  `man dot-qmail`
for details.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

The other thing that makes these users unique is that they have an "_" in
their usernames.  Is this a no_no?

- Original Message -
From: "Stephen Froehlich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 9:41 AM
Subject: deferral: /bin/sh:_./Maildir/:_is_a_directory/


> I have a couple of users who aren't receiving mail with the following
error
> message
>
> delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/
>
> These users are somewhat unique in that they were created before I had a
> maildir in /etc/skel, however, I su'ed to them and ran maildirmake to give
> them maildirs.
>
> Their home dirs (/home/uname) have permissions of 700 (owned by the user)
> The Maildir is also 700, and owned by the user
>
> Any idears?
>
> Thanx,
> Stephen
>




deferral: /bin/sh:_./Maildir/:_is_a_directory/

2001-06-26 Thread Stephen Froehlich

I have a couple of users who aren't receiving mail with the following error
message

delivery XX: deferral: /bin/sh:_./Maildir/:_is_a_directory/

These users are somewhat unique in that they were created before I had a
maildir in /etc/skel, however, I su'ed to them and ran maildirmake to give
them maildirs.

Their home dirs (/home/uname) have permissions of 700 (owned by the user)
The Maildir is also 700, and owned by the user

Any idears?

Thanx,
Stephen




RE: Need help with Maildir

2001-06-26 Thread Tim Hunter

Post the line your are using to start qmail-pop3d and the contents of ls -la
in the $HOME in question.

-Original Message-
From: Per-fredrik Pollnow (EPK)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: Need help with Maildir


Hi,

First I want to say that I want to use Maildir. But I got this problem I
can't get rid of, I probably have missed something in the INSTALL.* file. I
have put the MAIL=$HOME/Maildir ; export MAIL in my .profile (using sh)),
then I exec the makemaildir and after that I crated the .qmail. and so on..

This is the error message:

-ERR this user has no $HOME/Maildir', Port: 110, Secure (SSL): Nej,
Serverfel: 0x800CCC90, Fel nummer: 0x800CCC92

any suggestion's ?




Re: Need help with Maildir

2001-06-26 Thread Brett Randall

> <[EMAIL PROTECTED]>> writes:

> any suggestion's ?

Install as per www.lifewithqmail.org and experience a trouble-free life!
-- 
"Indeed, it would not be an exaggeration to describe the history of
the computer industry for the past decade as a massive effort to keep
up with Apple."

- Byte, December 1994



Need help with Maildir

2001-06-26 Thread Per-fredrik Pollnow (EPK)

Hi,

First I want to say that I want to use Maildir. But I got this problem I can't get rid 
of, I probably have missed something in the INSTALL.* file. I have put the 
MAIL=$HOME/Maildir ; export MAIL in my .profile (using sh)), then I exec the 
makemaildir and after that I crated the .qmail. and so on..

This is the error message:

-ERR this user has no $HOME/Maildir', Port: 110, Secure (SSL): Nej,
Serverfel: 0x800CCC90, Fel nummer: 0x800CCC92

any suggestion's ?



Re: Looking for a good Maildir capable web based mail client

2001-06-25 Thread Rick Stanley

It's not the fanciest, but there is sqwebmail from Inter7.  It does handle 
Maildir's very well.  The URL is:

http://inter7.com/freesoftware/index.html

I also use their courier-imap, qmailadmin, and vpopmail.  I have been very 
happy with the software and the support.

Rick

At 08:57 AM 6/25/2001 -0400, David Gartner wrote:
>Hey all,
>
>Up until we switched over to qmail, we were using some web based mail 
>client.  It will only work
>with Mbox format, and reads directly from the file itself.  Of course, 
>when we switched over, we
>switched to Maildir, so the old mail client doesn't work anymore.  The 
>only web based mail we can
>find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've 
>seen several webmail
>programs out there, but don't know which to chose.  Is anyone currently 
>using any good web mail
>software they would suggest?  Thanks for the help.
>
>David





Re: Looking for a good Maildir capable web based mail client

2001-06-25 Thread Gary MacKay

www.squirrelmail.org is about the best I've found and it's free.

David Gartner wrote:
> 
> Hey all,
> 
> Up until we switched over to qmail, we were using some web based mail client.  It 
>will only work
> with Mbox format, and reads directly from the file itself.  Of course, when we 
>switched over, we
> switched to Maildir, so the old mail client doesn't work anymore.  The only web 
>based mail we can
> find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've seen 
>several webmail
> programs out there, but don't know which to chose.  Is anyone currently using any 
>good web mail
> software they would suggest?  Thanks for the help.
> 
> David



Looking for a good Maildir capable web based mail client

2001-06-25 Thread David Gartner

Hey all,

Up until we switched over to qmail, we were using some web based mail client.  It will 
only work
with Mbox format, and reads directly from the file itself.  Of course, when we 
switched over, we
switched to Maildir, so the old mail client doesn't work anymore.  The only web based 
mail we can
find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've seen 
several webmail
programs out there, but don't know which to chose.  Is anyone currently using any good 
web mail
software they would suggest?  Thanks for the help.

David




Re: Procmail + Maildir

2001-06-22 Thread Charles Cazabon

Fábio Gomes <[EMAIL PROTECTED]> wrote:
> 
> Does Procmail work with Qmail maildir format?

Newer versions of procmail have Maildir support built-in, but they don't
adhere to djb's naming convention -- you could run into problems.

You'd be better off to use maildrop, or if you must use procmail, use
"safecat" to deliver into maildirs.  See qmail.org for links.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Procmail + Maildir

2001-06-22 Thread Fábio Gomes

Hi folks,

Does Procmail work with Qmail maildir format?

Thx
Fábio Gomes
-- 
@_{2**2..6*6}=split//,"áiGsDDbooe  eoin m-IsvveoF Tenlmt";print
values%_,"\n"



Re: Troubles with mailbox ( or maildir )

2001-06-22 Thread Charles Cazabon

Andrei Tihonov <[EMAIL PROTECTED]> wrote:

> i have /usr/local/qmail/users/assign with
> [EMAIL PROTECTED]:ti-an:888:888:/usr/local/qmail/users/ti-an:::

That looks bogus to me.  The first field is supposed to be the local part of
the address -- no @, no domain.

You want to use virtualdomains for something like this, I think.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Troubles with mailbox ( or maildir )

2001-06-22 Thread Andrei Tihonov

Hi,
I have problem:
i install qmail-103 in /usr/local/qmail
and i have virtual POP3 users in /usr/local/qmail/users
i have /usr/local/qmail/users/assign with
[EMAIL PROTECTED]:ti-an:888:888:/usr/local/qmail/users/ti-an:::
and i use Maildir format.
home for ti-an have ./Maildir/ directory by maildirmake
/usr/local/qmail/users/ti-an/Maildir
i have user popuser and group popuser for all POP3 accounts.
Owner for /Maildir/ is popuser

And if i echo "to:[EMAIL PROTECTED]" | qmail-inject

i see following messages in /var/log/messages :
Jun 22 15:37:43 goodwin qmail: 993224263.737639 status: local 0/10 remote 0/20
Jun 22 15:37:48 goodwin qmail: 993224268.159698 new msg 848681
Jun 22 15:37:48 goodwin qmail: 993224268.160277 info msg 848681: bytes 192 from 
<[EMAIL PROTECTED]> qp 2731 uid 0
Jun 22 15:37:48 goodwin qmail: 993224268.163319 starting delivery 1: msg 848681 to 
local [EMAIL PROTECTED]
Jun 22 15:37:48 goodwin qmail: 993224268.163877 status: local 1/10 remote 0/20
Jun 22 15:37:48 goodwin qmail: 993224268.173644 delivery 1: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Jun 22 15:37:48 goodwin qmail: 993224268.174205 status: local 0/10 remote 0/20
Jun 22 15:37:48 goodwin qmail: 993224268.179983 bounce msg 848681 qp 2734
Jun 22 15:37:48 goodwin qmail: 993224268.180625 end msg 848681

Why ?
Why delivery isn't work ?

That is my troubles ?

Andrei





RE: Maildir permissions

2001-06-20 Thread Joshua Nichols

> I want to take the general precaution of making the maildirs 
> readable only to their owners (700).  Will this cause qmail
> any fits?
 
No.  In fact, it's the default.


--joshua. 



Maildir permissions

2001-06-20 Thread Stephen Froehlich

My mail server will be located in the office with all of the staff.  Some or
all of them may have a need for terminal access to the box.  While I
generally trust them (enough that I seriously doubt that they'll try to
truly hack the machine, plus none of them have the skills to hack it), I
want to take the general precaution of making the maildirs readable only to
their owners (700).  Will this cause qmail any fits?




Re: Migrating a Maildir to another qmail box

2001-06-15 Thread Charles Cazabon

Al Sparks <[EMAIL PROTECTED]> wrote:
> It comes time to move my email, located in a $HOME/Maildir to another
> machine, also running qmail.  I tar the $HOME/Maildir transfer it to
> the new machine (with a different name btw) and restore it to the new
> $HOME/Maildir.
> 
> What else do I need to do to make qmail on the new machine see it?  

Nothing -- qmail per se doesn't need to see it at all.  The only program
included with qmail that will even care about what's in your Maildir is
qmail-pop3d.  This process should be sufficient, provided you untar it as
yourself (not root or someone else) or chown it all to yourself afterwords.

> When I do a file listing of $HOME/Maildir/cur, I notice that the
> machine name is included in the filenames.  Do I need to change all
> those filenames so it reflects the new machine name?

No.  The machine name is part of the Maildir naming convention to make it safe
for multiple machines to be delivering into the Maildir over NFS.  Programs
don't/shouldn't care about it.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Migrating a Maildir to another qmail box

2001-06-14 Thread hari_bhr

hi

take a back of all 

/var/qmail/control  directry
/var/qmail/usersdirectry

and restore
- Original Message - 
From: Al Sparks <[EMAIL PROTECTED]>
To: qmail list <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 4:07 AM
Subject: Migrating a Maildir to another qmail box


> It comes time to move my email, located in a $HOME/Maildir to another
> machine, also running qmail.  I tar the $HOME/Maildir transfer it to
> the new machine (with a different name btw) and restore it to the new
> $HOME/Maildir.
> 
> What else do I need to do to make qmail on the new machine see it?  
> 
> When I do a file listing of $HOME/Maildir/cur, I notice that the
> machine name is included in the filenames.  Do I need to change all
> those filenames so it reflects the new machine name?
> 
> Realizing this isn't the courier group, are there any changes I need to
> make to the various courierimapuiddb files?
> 
> Anything else I should look for?
> === Al
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Migrating a Maildir to another qmail box

2001-06-14 Thread Al Sparks

It comes time to move my email, located in a $HOME/Maildir to another
machine, also running qmail.  I tar the $HOME/Maildir transfer it to
the new machine (with a different name btw) and restore it to the new
$HOME/Maildir.

What else do I need to do to make qmail on the new machine see it?  

When I do a file listing of $HOME/Maildir/cur, I notice that the
machine name is included in the filenames.  Do I need to change all
those filenames so it reflects the new machine name?

Realizing this isn’t the courier group, are there any changes I need to
make to the various courierimapuiddb files?

Anything else I should look for?
=== Al

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



RE: MailDir stopped working

2001-06-02 Thread Adrian Ho

On Fri, 1 Jun 2001, Robert Schmid wrote:

> So, why am I no longer able to access Mailboxes without symlinks?

First remove one symlink (say, yours).  Then send yourself some test mail,
and manually check your Mailbox file.  If it's in there, then your POP
daemon config is broken, as Tim Hunter suggested.

If not, then something's probably changed with your qmail setup, in which
case the output of qmail-showctl is a first step towards solving your
problem.

-- 
Adrian Ho   [EMAIL PROTECTED]




RE: MailDir stopped working

2001-06-01 Thread Robert Schmid

Yes, mail is still being delivered properly, to the 
~user/Mailbox.  However, I had to add symlinks to get it recognized.

The rc script I use is the default --> from /usr/local/qmail/rc:

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/usr/local/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail

So, why am I no longer able to access Mailboxes without symlinks?


At 6/1/2001 05:37 PM -0400, you wrote:
>Actually my guess is that mail is still being delivered properly, but the
>popper configuration has changed.
>
>-Original Message-
>From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
>Sent: Friday, June 01, 2001 5:21 PM
>To: [EMAIL PROTECTED]
>Subject: Re: MailDir stopped working
>
>
>Robert Schmid <[EMAIL PROTECTED]> wrote:
> > > > For some reason I can no longer get my mail (pop or IMAP) using
> > > > ~user/Mailbox.  In order to access my mail again I had to add a
>symbolic
> > > > link to users mailbox in /var/mail.
> > >
> > >The server configuration changed, then.
> > >
> > > > I thought this was a result of a bug in Eudora - but since it's
> > > > happening to other users too, I have to look at the server.
> > >
> > >Yes, you have to look at the server.
> > >
> > >Did you have an actual question to ask the list?
>
> > This is what I'm using to start qmail -
> >
> > exec env - PATH="/usr/local/qmail/bin:$PATH" \
> > qmail-start ./Mailbox splogger qmail
>
>You still haven't asked a question.  I'm assuming you want to know why you
>need symlinks from /var/spool/$USER to $USER/Mailbox.
>
>This is controlled by the script you use to start qmail-smtpd, not qmail
>proper.  Post that script, and we'll show you what you've done wrong.
>
>Charles
>--
>---
>Charles Cazabon<[EMAIL PROTECTED]>
>GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>---




RE: MailDir stopped working

2001-06-01 Thread Tim Hunter

Actually my guess is that mail is still being delivered properly, but the
popper configuration has changed.

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: MailDir stopped working


Robert Schmid <[EMAIL PROTECTED]> wrote:
> > > For some reason I can no longer get my mail (pop or IMAP) using
> > > ~user/Mailbox.  In order to access my mail again I had to add a
symbolic
> > > link to users mailbox in /var/mail.
> >
> >The server configuration changed, then.
> >
> > > I thought this was a result of a bug in Eudora - but since it's
> > > happening to other users too, I have to look at the server.
> >
> >Yes, you have to look at the server.
> >
> >Did you have an actual question to ask the list?

> This is what I'm using to start qmail -
>
> exec env - PATH="/usr/local/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail

You still haven't asked a question.  I'm assuming you want to know why you
need symlinks from /var/spool/$USER to $USER/Mailbox.

This is controlled by the script you use to start qmail-smtpd, not qmail
proper.  Post that script, and we'll show you what you've done wrong.

Charles
--
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---




Re: MailDir stopped working

2001-06-01 Thread Charles Cazabon

Robert Schmid <[EMAIL PROTECTED]> wrote:
> > > For some reason I can no longer get my mail (pop or IMAP) using
> > > ~user/Mailbox.  In order to access my mail again I had to add a symbolic
> > > link to users mailbox in /var/mail.
> >
> >The server configuration changed, then.
> >
> > > I thought this was a result of a bug in Eudora - but since it's
> > > happening to other users too, I have to look at the server.
> >
> >Yes, you have to look at the server.
> >
> >Did you have an actual question to ask the list?

> This is what I'm using to start qmail -
> 
> exec env - PATH="/usr/local/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail

You still haven't asked a question.  I'm assuming you want to know why you
need symlinks from /var/spool/$USER to $USER/Mailbox.

This is controlled by the script you use to start qmail-smtpd, not qmail
proper.  Post that script, and we'll show you what you've done wrong.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: MailDir stopped working

2001-06-01 Thread Robert Schmid

This is what I'm using to start qmail -

exec env - PATH="/usr/local/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail

This has not changed since it was installed and the MailDir worked until 
recently.



At 6/1/2001 02:21 PM -0600, you wrote:
>Robert Schmid <[EMAIL PROTECTED]> wrote:
> > For some reason I can no longer get my mail (pop or IMAP) using
> > ~user/Mailbox.  In order to access my mail again I had to add a symbolic
> > link to users mailbox in /var/mail.
>
>The server configuration changed, then.
>
> > I thought this was a result of a bug in Eudora - but since it's happening
> > to other users too, I have to look at the server.
>
>Yes, you have to look at the server.
>
>Did you have an actual question to ask the list?
>
>Charles
>--
>---
>Charles Cazabon<[EMAIL PROTECTED]>
>GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>---




Re: MailDir stopped working

2001-06-01 Thread Charles Cazabon

Robert Schmid <[EMAIL PROTECTED]> wrote:
> For some reason I can no longer get my mail (pop or IMAP) using 
> ~user/Mailbox.  In order to access my mail again I had to add a symbolic 
> link to users mailbox in /var/mail.

The server configuration changed, then.

> I thought this was a result of a bug in Eudora - but since it's happening 
> to other users too, I have to look at the server.

Yes, you have to look at the server.

Did you have an actual question to ask the list?

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



MailDir stopped working

2001-06-01 Thread Robert Schmid

For some reason I can no longer get my mail (pop or IMAP) using 
~user/Mailbox.  In order to access my mail again I had to add a symbolic 
link to users mailbox in /var/mail.

I thought this was a result of a bug in Eudora - but since it's happening 
to other users too, I have to look at the server.




Re: switch from mailbox to maildir format

2001-05-29 Thread Santosh Pasi

Hi,


---Original Message--
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Date: Tue, 29 May 2001 12:43:49 +0200
>Subject: switch from mailbox to maildir format
>From: "Franco Vecchiato" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Content-Transfer-Encoding: 7bit
>
>Hi,
>I want to switch from mailbox to maildir format. In INSTALL.maildir I 
read>the instructions:
>
>----begin text --------
>% maildirmake $HOME/Maildir
>% echo ./Maildir/ > ~/.qmail
>
>Make sure you include the trailing slash on Maildir/.
>
>The system administrator can setup Maildir as the default for everybody
>by creating a maildir in the new-user template directory and replacing
>./Mailbox with ./Maildir/ in /var/qmail/rc.
>
>-end text--
>
>what's the "new-user template directory"? (where is it?)

Like in RedHat it is /etc/skel directory where you can create
Maildir, Maildir/new, Maildir/cur, Maildir/tmp ..and whatever directory 
and files you want to be created by default in user's home directory when 
ever you add new user



>
>Thanks in advance
>
>Franco Vecchiato
>


Santosh Pasi




RE: Maildir delivery problem

2001-05-29 Thread Russell Nelson

Daniel Bakken writes:
 > My Qmail rc script (/var/qmail/rc) reads like this:
 > 
 > #!/bin/sh
 > 
 > exec env - PATH="/var/qmail/bin:$PATH" qmail-start '|dot-forward .forward
 > ./Maildir/'

 >  > delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory

Somehow the newline after ".forward" is getting destroyed, because
dot-forward is attempting to read ./Maildir/ as if it were another
file containing forwarding instructions.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



Re: Maildir delivery problem

2001-05-29 Thread Charles Cazabon

Charles Cazabon <[EMAIL PROTECTED]> wrote:
> > 
> > delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory

Correcting myself:  I didn't even notice the dot-forward in this line.  That
changes the diagnosis somewhat, of course :).

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: Maildir delivery problem

2001-05-29 Thread Daniel Bakken

My Qmail rc script (/var/qmail/rc) reads like this:

#!/bin/sh

exec env - PATH="/var/qmail/bin:$PATH" qmail-start '|dot-forward .forward
./Maildir/'

-Original Message-
From: Russell Nelson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 3:42 PM
To: Qmail List
Subject: Re: Maildir delivery problem


Daniel Bakken writes:
 > I am using Qmail with Maildir and pop3d. After Qmail receives a message,
It
 > seems to not be able to deliver it. I usually see the following (roughly)
in
 > my log:
 >
 > Starting delivery 4 . . .
 >
 > delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory

Sounds like you are missing the / at the end of "./Maildir", so it's
trying to deliver to a Mailbox.

--
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets
everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose
screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.




RE: Maildir delivery problem

2001-05-29 Thread Daniel Bakken

Sorry about that. I use tcpserver by way of svscan to start Qmail. I have a
script in /etc/rc.d/init.d that runs the necessary commands. Attached is the
unedited output of qmail-showctl, the startup script (called qmail) and the
log fragment(qmail-log).

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 3:33 PM
To: Qmail List
Subject: Re: Maildir delivery problem


Daniel Bakken <[EMAIL PROTECTED]> wrote:
> I am using Qmail with Maildir and pop3d. After Qmail receives a message,
It
> seems to not be able to deliver it. I usually see the following (roughly)
in
> my log:
>
> delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory
>
> I hope that's enough information to be useful.

It isn't, usually, but we can take a stab at it.  I would guess that you're
trying to deliver to Maildirs in $HOME as your default delivery policy, but
the argument to qmail-start is missing the trailing slash, so qmail is
looking
for an mbox named "Maildir" -- not quite what you want.  This argument might
be encoded in a file in /var/qmail/control, or might be in whatever script
you
use to start qmail (an rc script, or a svscan-style script).

In future, you probably want to supply the following information with
reports.
It would have made it possible to diagnose this problem with certainty:

  -unedited output of `qmail-showctl`
  -cut & paste copies of relevant log entries from qmail and/or qmail-smtpd
  -a copy of the script you use to start qmail
  -general information on how you installed and configured qmail

Charles
--
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---

 QMAIL

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is puerta.encoretrading.vvm.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is encoretrading.vvm.com.

defaulthost: Default host name is encoretrading.com.

doublebouncehost: (Default.) 2B recipient host: puerta.encoretrading.vvm.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is puerta.encoretrading.vvm.com.

helohost: (Default.) SMTP client HELO host name is puerta.encoretrading.vvm.com.

idhost: (Default.) Message-ID host name is puerta.encoretrading.vvm.com.

localiphost: (Default.) Local IP address becomes puerta.encoretrading.vvm.com.

locals: 
Messages for localhost.0.0.127.in-addr.arpa are delivered locally.
Messages for puerta.encoretrading.vvm.com are delivered locally.
Messages for encoretrading.com are delivered locally.

me: My name is puerta.encoretrading.vvm.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is vvm.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at localhost.0.0.127.in-addr.arpa.
SMTP clients may send messages to recipients at puerta.encoretrading.vvm.com.
SMTP clients may send messages to recipients at encoretrading.com.
SMTP clients may send messages to recipients at encoretrading.vvm.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: SMTP greeting: 220 +OK ESMTP Qmail 1.0.3 Mail Server - Encore Trading 
International.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: 

 QMAIL-LO


RE: Maildir delivery problem

2001-05-29 Thread Daniel Bakken

I'm not sure what files you are talking about. What directory are .qmail and
.forward located in? I just set up Qmail and am new to mailserver
administration. So far I do not have a production server, just a test.

Daniel Bakken

-Original Message-
From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 3:27 PM
To: Qmail List
Subject: Re: Maildir delivery problem


On Tue, May 29, 2001 at 03:19:42PM -0500, Daniel Bakken wrote:
> I am using Qmail with Maildir and pop3d. After Qmail receives a message,
It
> seems to not be able to deliver it. I usually see the following (roughly)
in
> my log:
>
> Starting delivery 4 . . .
>
> delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory

Looks like you put ./Maildir/ in .forward. Try putting it in .qmail
instead.

Greetz, Peter.




Re: Maildir delivery problem

2001-05-29 Thread Russell Nelson

Daniel Bakken writes:
 > I am using Qmail with Maildir and pop3d. After Qmail receives a message, It
 > seems to not be able to deliver it. I usually see the following (roughly) in
 > my log:
 > 
 > Starting delivery 4 . . .
 > 
 > delivery 4: deferral: dot-forward:_fatal: ./Maildir/:_is_a_directory

Sounds like you are missing the / at the end of "./Maildir", so it's
trying to deliver to a Mailbox.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



  1   2   3   4   5   6   7   8   9   10   >