qmail Digest 2 Nov 2000 11:00:01 -0000 Issue 1172

Topics (messages 51435 through 51493):

Re: dot-qmail
        51435 by: Jenny Holmberg

Re: Serialmail bounce messages
        51436 by: Ruprecht Helms

Re: Can't get POP3 Authorisation to work
        51437 by: Howard Miller
        51445 by: Tim Hunter

Shit, ILOVEYOU script paid a visit at our site :(
        51438 by: Jeroen ten Berge
        51448 by: Albert Hopkins

relaying
        51439 by: max
        51441 by: Alexander Jernejcic
        51479 by: David Dyer-Bennet

maildir2mbox doesn't work
        51440 by: Howard Miller

Re: how do I install the qmail-virusscanner
        51442 by: Milen Petrinski

Don't understand
        51443 by: Howard Miller
        51444 by: Johan Almqvist
        51446 by: Chris Johnson
        51449 by: Howard Miller
        51454 by: markd.bushwire.net
        51457 by: Howard Miller

Newsletter
        51447 by: Fernando Costa de Almeida
        51450 by: Charles Cazabon
        51451 by: Fernando Costa de Almeida
        51452 by: Johan Almqvist
        51453 by: Austad, Jay
        51455 by: Charles Cazabon
        51456 by: Anthony Abby

Re: Maildir-Aware /bin/mail Replacement?
        51458 by: Toni Mueller
        51468 by: Kai MacTane

Re: How can i run multiple virtual qmail servers
        51459 by: Toni Mueller

Prolem (carefully) explained
        51460 by: Howard Miller
        51462 by: Brett Randall
        51463 by: Timo Geusch
        51465 by: Charles Cazabon
        51466 by: Tim Burden
        51478 by: Howard Miller
        51480 by: David Dyer-Bennet
        51482 by: David Dyer-Bennet
        51492 by: Howard Miller

multi-rcpt for qmail
        51461 by: Bruce Guenter
        51467 by: Florent Guillaume
        51470 by: Bruce Guenter
        51471 by: Charles Cazabon
        51472 by: markd.bushwire.net
        51474 by: Bruce Guenter
        51475 by: Bruce Guenter

Sendmail to Qmail Conversion
        51464 by: Warren Small

Installed and can't use it though perl
        51469 by: jon
        51476 by: Peter Green

Re: Wildcard MX Obsolescence
        51473 by: best.atoka-software.com
        51485 by: Peter van Dijk

Help with username is different from email address.
        51477 by: Eric Walters

Re: high performance configs [was: Blocked pipe to qmail-queue]
        51481 by: Greg Cope

Re: qmail-scanner + which antivirus ?
        51483 by: Olivier M.

Help!!!, Several newbie QMail questions....
        51484 by: Javier Morquecho Morquecho

Yahoo delivery failure - short test and proposal
        51486 by: Brett Randall
        51488 by: Peter van Dijk

World's largest mailing list?
        51487 by: John Conover

Problem with Log File
        51489 by: Christophe.Andreoli.nse.de

creating a .qmail
        51490 by: Ruprecht Helms
        51493 by: Cyril Bitterich

qmail-send sitting idle, doing nothing
        51491 by: Stanislav Grozev

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


Alan Chung <[EMAIL PROTECTED]> writes:

> I have a question about .qmail file.
> 
> I want to leaf the mails in local Mailbox and also deliver to some other 
> addresses.  I setup the following lines in .qmail under my home directory,
> 
> alan@localhost
> [EMAIL PROTECTED]

> How do I perform this?

When you are telling qmail to deliver to alan@localhost, it will again
try to deliver according to your .qmail, i.e. it will again deliver to
alan@localhost, who has a .qmail telling it to deliver to
[EMAIL PROTECTED] you get the idea.

Instead of telling it to deliver to alan@localhost, you need to tell
it which file you want to store the mails in - e.g.
/home/alan/Mailbox, or /mail/alan/Maildir/, or whatever.

-- 
"I live in the heart of the machine. We are one." 




Hi Brian,

> 
> Has anyone written a patch for serialmail to allow it to use other MTAs?
> Also, is there any documentation other than the man pages for serialmail and
> qmail-queue as the code itself is not rich in comments?  

Possible this page will help http://www.nb.net/~lbudney/linux/software/maildircmd.html

Regards,
Ruprecht

-----------------------------
INTERNOLIX     Standards for Ebusiness
-----------------------------

Systemengineer




I started again and installed as per Life with Qmail...

things are now MUCH worse. I selected Maildirs as the default delivery BTW.

Now when I do the qmail-inject test the message just sits in the queue but 
saying it is for root, not the user I sent it to!

smtp works, I can send to any user but those messages just sit on the queue 
as well. It claims that none are "preprocessed" if that makes any difference.

What is going on now?

Howard
(getting most unimpressed with qmail)

At 11:46 31/10/00 -0500, you wrote:
>Wow..Ok, have you looked at Life with Qmail?
>
>http://web.infoave.net/~dsill/lwq.html
>
>It's good. And long.
>
>Ok, if fred is also a regular user on your system, this might be giving you
>trouble. userdel fred or vadduser some_other_fred
>
>So you are using vpopmail and its passwd checking program vchkpw?
>
>Could be your inetd.conf screwing you. Here's mine:
>
>pop3   stream  tcp     nowait  root    /var/qmail/bin/tcp-env tcp-env
>/var/qmail/bin/qmail-popup your.realhostname.com /home/bin/vchkpw
>/var/qmail/bin/qmail-pop3d Maildir
>
>yeah, that's all one line.
>Notice you must tell it to use vchkpw and not checkpassword or some other.
>
>I agree, the docs are suckful, but let's be fair, qmail and vpopmail are
>totally separate programs that do  a lot of complicated things. Once you get
>this running you will love how easy it is to admin.
>
>-----Original Message-----
>From: Howard Miller <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Tuesday, October 31, 2000 11:16 AM
>Subject: Re: Can't get POP3 Authorisation to work
>
>
> >I'm sorry... I'm losing the plot here completely.
> >
> >I got vpopmail. Installed it no problems, and off we go...
> >
> >added a user 'fred' with password 'pass' using vadduser.. worked/
> >
> >tried POP3 access from a PC on the network....made no difference
> >whatsoever, password/username incorrect still.
> >
> >What might I be doing wrong?
> >
> >I frankly don't understand this virtual domain thing, and I have been
> >reading about it for days. If you can indulge me...
> >
> >We currently have a mailserver called (names changed to protect the
> >innocent) mail.somedomain.com. This machine has (a) problems and (b) no
> >documentation and needs to go. So I set up a machine at
> >test.somedomain.com. I installed qmail and can send mail from the new
> >machine to the old and back again, using an ordinary user on the new
> >machine to an arbitrary user on the old. I do this using the ordinary mail
> >program, it doesn't work with these "Maildir" things, something else that
> >isn't explained very well.
> >
> >I won't be using local users on test.somedomain.com, users will connect
> >using SMTP and POP3 and don't need to have IDs on the linux box. I will
> >want their usernames to be [EMAIL PROTECTED]
> >
> >What is the easiest way to do this? I have been at this for a week, and am
> >no further forward. I am ceasing to be impressed with qmail as it is FAR
> >too hard to set up. Win2000 and Exchange will have to be the answer if I
> >can't get this working very soon.
> >
> >Cheers... Howard
> >PS Sorry if I sound grumpy... I just need to get this working and its like
> >hitting my head of a brick wall. Is there no decent documentation for this
> >stuff?
> >
> >
> >At 11:00 31/10/00 -0500, you wrote:
> >>Oh...you need to get the vpopmail package to do virtuals. Really, it's
> >>great.
> >>
> >>-----Original Message-----
> >>From: Howard Miller <[EMAIL PROTECTED]>
> >>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >>Date: Tuesday, October 31, 2000 10:30 AM
> >>Subject: Re: Can't get POP3 Authorisation to work
> >>
> >>
> >> >Errr... thanks,
> >> >
> >> >BUT I don't have any executables call "vadduser" or "vadddomain"!!!
> >> >
> >> >Where do I find these? Does this work with the password checking program
> >> >that comes with the standard download of wmail?
> >> >
> >> >Thanks again.
> >> >
> >> >At 09:25 31/10/00 -0500, you wrote:
> >> >>If you've run
> >> >>vadduser some_user
> >> >>then it asked you for a password and that's how you will authenticate.
> >> >>user: user
> >> >>pass: pass
> >> >>
> >> >>If you've run
> >> >>vadddomain some_domain
> >> >>vadduser some_user@some_domain
> >> >>
> >> >>then you authenticate as follows:
> >> >>user: some_user%some_domain
> >> >>pass: pass
> >> >>
> >> >>Make sense?
> >> >>
> >> >>-----Original Messag
> >> >>e-----
> >> >>From: Howard Miller <[EMAIL PROTECTED]>
> >> >>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> >>Date: Tuesday, October 31, 2000 8:28 AM
> >> >>Subject: Re: Can't get POP3 Authorisation to work
> >> >>
> >> >>
> >> >> >Sorry, I'm very new to setting mail servers and I'm not sure what you
> >>mean!
> >> >> >
> >> >> >Where do I put these settings? I don't really understand what is
>meant
> >>by a
> >> >> >virtual domain in this context.
> >> >> >
> >> >> >My goal is to pruduce a mail server for a windows 98 network. All my
> >>users
> >> >> >will access by SMTP and POP3 and will not have IDs on the unix box. I
> >> >> >assume this makes them virtual users (yes?). I am having a lot of
> >>trouble
> >> >> >understanding how to do this. Any help at all will be appreciated.
> >> >> >
> >> >> >Howard
> >> >> >
> >> >> >At 11:13 31/10/00 +0100, you wrote:
> >> >> >>Hello Howard,
> >> >> >>
> >> >> >>Tuesday, October 31, 2000, 6:27:30 PM, you wrote:
> >> >> >>
> >> >> >> > I have installed qmail and it seems to more or less work.
> >> >> >>
> >> >> >> > I can connect to POP3 but my usernames/passwords are never
> >>authorised.
> >> >> >> I am
> >> >> >> > using the setup as described in the FAQ.
> >> >> >>
> >> >> >>If you run a virtuell domain you probably have to set the user login
> >> >> >>format like  user%domain.com
> >> >> >>
> >> >> >>Hans-Juergen
> >> >> >
> >> >
> >





I have used LWQ ever since my second install of qmail and if followed word
for word it has worked for me an everyone I ever pointed to it.

My guess is that you are not following it correctly, if you are not
understanding something, ask.

BTW installing a MTA is not for a newbie, whatever MTA it is, however LWQ
makes it much easier to try.

Just my .02

-- Tim

-----Original Message-----
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 2:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Can't get POP3 Authorisation to work


I started again and installed as per Life with Qmail...

things are now MUCH worse. I selected Maildirs as the default delivery BTW.

Now when I do the qmail-inject test the message just sits in the queue but
saying it is for root, not the user I sent it to!

smtp works, I can send to any user but those messages just sit on the queue
as well. It claims that none are "preprocessed" if that makes any
difference.

What is going on now?

Howard
(getting most unimpressed with qmail)

At 11:46 31/10/00 -0500, you wrote:
>Wow..Ok, have you looked at Life with Qmail?
>
>http://web.infoave.net/~dsill/lwq.html
>
>It's good. And long.
>
>Ok, if fred is also a regular user on your system, this might be giving you
>trouble. userdel fred or vadduser some_other_fred
>
>So you are using vpopmail and its passwd checking program vchkpw?
>
>Could be your inetd.conf screwing you. Here's mine:
>
>pop3   stream  tcp     nowait  root    /var/qmail/bin/tcp-env tcp-env
>/var/qmail/bin/qmail-popup your.realhostname.com /home/bin/vchkpw
>/var/qmail/bin/qmail-pop3d Maildir
>
>yeah, that's all one line.
>Notice you must tell it to use vchkpw and not checkpassword or some other.
>
>I agree, the docs are suckful, but let's be fair, qmail and vpopmail are
>totally separate programs that do  a lot of complicated things. Once you
get
>this running you will love how easy it is to admin.
>
>-----Original Message-----
>From: Howard Miller <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Tuesday, October 31, 2000 11:16 AM
>Subject: Re: Can't get POP3 Authorisation to work
>
>
> >I'm sorry... I'm losing the plot here completely.
> >
> >I got vpopmail. Installed it no problems, and off we go...
> >
> >added a user 'fred' with password 'pass' using vadduser.. worked/
> >
> >tried POP3 access from a PC on the network....made no difference
> >whatsoever, password/username incorrect still.
> >
> >What might I be doing wrong?
> >
> >I frankly don't understand this virtual domain thing, and I have been
> >reading about it for days. If you can indulge me...
> >
> >We currently have a mailserver called (names changed to protect the
> >innocent) mail.somedomain.com. This machine has (a) problems and (b) no
> >documentation and needs to go. So I set up a machine at
> >test.somedomain.com. I installed qmail and can send mail from the new
> >machine to the old and back again, using an ordinary user on the new
> >machine to an arbitrary user on the old. I do this using the ordinary
mail
> >program, it doesn't work with these "Maildir" things, something else that
> >isn't explained very well.
> >
> >I won't be using local users on test.somedomain.com, users will connect
> >using SMTP and POP3 and don't need to have IDs on the linux box. I will
> >want their usernames to be [EMAIL PROTECTED]
> >
> >What is the easiest way to do this? I have been at this for a week, and
am
> >no further forward. I am ceasing to be impressed with qmail as it is FAR
> >too hard to set up. Win2000 and Exchange will have to be the answer if I
> >can't get this working very soon.
> >
> >Cheers... Howard
> >PS Sorry if I sound grumpy... I just need to get this working and its
like
> >hitting my head of a brick wall. Is there no decent documentation for
this
> >stuff?
> >
> >
> >At 11:00 31/10/00 -0500, you wrote:
> >>Oh...you need to get the vpopmail package to do virtuals. Really, it's
> >>great.
> >>
> >>-----Original Message-----
> >>From: Howard Miller <[EMAIL PROTECTED]>
> >>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >>Date: Tuesday, October 31, 2000 10:30 AM
> >>Subject: Re: Can't get POP3 Authorisation to work
> >>
> >>
> >> >Errr... thanks,
> >> >
> >> >BUT I don't have any executables call "vadduser" or "vadddomain"!!!
> >> >
> >> >Where do I find these? Does this work with the password checking
program
> >> >that comes with the standard download of wmail?
> >> >
> >> >Thanks again.
> >> >
> >> >At 09:25 31/10/00 -0500, you wrote:
> >> >>If you've run
> >> >>vadduser some_user
> >> >>then it asked you for a password and that's how you will
authenticate.
> >> >>user: user
> >> >>pass: pass
> >> >>
> >> >>If you've run
> >> >>vadddomain some_domain
> >> >>vadduser some_user@some_domain
> >> >>
> >> >>then you authenticate as follows:
> >> >>user: some_user%some_domain
> >> >>pass: pass
> >> >>
> >> >>Make sense?
> >> >>
> >> >>-----Original Messag
> >> >>e-----
> >> >>From: Howard Miller <[EMAIL PROTECTED]>
> >> >>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> >>Date: Tuesday, October 31, 2000 8:28 AM
> >> >>Subject: Re: Can't get POP3 Authorisation to work
> >> >>
> >> >>
> >> >> >Sorry, I'm very new to setting mail servers and I'm not sure what
you
> >>mean!
> >> >> >
> >> >> >Where do I put these settings? I don't really understand what is
>meant
> >>by a
> >> >> >virtual domain in this context.
> >> >> >
> >> >> >My goal is to pruduce a mail server for a windows 98 network. All
my
> >>users
> >> >> >will access by SMTP and POP3 and will not have IDs on the unix box.
I
> >> >> >assume this makes them virtual users (yes?). I am having a lot of
> >>trouble
> >> >> >understanding how to do this. Any help at all will be appreciated.
> >> >> >
> >> >> >Howard
> >> >> >
> >> >> >At 11:13 31/10/00 +0100, you wrote:
> >> >> >>Hello Howard,
> >> >> >>
> >> >> >>Tuesday, October 31, 2000, 6:27:30 PM, you wrote:
> >> >> >>
> >> >> >> > I have installed qmail and it seems to more or less work.
> >> >> >>
> >> >> >> > I can connect to POP3 but my usernames/passwords are never
> >>authorised.
> >> >> >> I am
> >> >> >> > using the setup as described in the FAQ.
> >> >> >>
> >> >> >>If you run a virtuell domain you probably have to set the user
login
> >> >> >>format like  user%domain.com
> >> >> >>
> >> >> >>Hans-Juergen
> >> >> >
> >> >
> >






Call me a stupid or lazy bastard for not having installed patches on the
server, but it just slipped my mind, I'm very busy dealing with other
issue's and I was wondering if one of you hardcore qmail'ers have something
for me that delete's attachments from any mail comming in via SMTP that
contain the extension's in /etc/forbidden_extensions or something like that
?!? It has to happen directly after receiving the message via smtp, so
probably the qmail-queue needs to be patched ?

Thanks in advance,
Jeroen.






Install qmail-scanner.


On Wed, Nov 01, 2000 at 01:02:35PM +0100, Jeroen ten Berge wrote:
> Call me a stupid or lazy bastard for not having installed patches on the
> server, but it just slipped my mind, I'm very busy dealing with other
> issue's and I was wondering if one of you hardcore qmail'ers have something
> for me that delete's attachments from any mail comming in via SMTP that
> contain the extension's in /etc/forbidden_extensions or something like that
> ?!? It has to happen directly after receiving the message via smtp, so
> probably the qmail-queue needs to be patched ?
> 
> Thanks in advance,
> Jeroen.
> 

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

Extreme feminine beauty is always disturbing. 
-Spock, "The Cloud Minders", stardate 5818.4 




Hi,
im new to qmail and i have a slight problem with it. I cant stop it from relaying. I read something in the documentation, and it mentioned some variable named $RELAYCLIENT, but i have no clue where that variable is. Is my assumption correct, anyway? Is that var the only thing i have to change to stop relaying?
 
Thanks,
 
max




hi,

max wrote:
> I cant stop it from relaying. I read something in the documentation, and
it
> mentioned some variable named $RELAYCLIENT, but i have no clue where that
> variable is. Is my assumption correct, anyway? Is that var the only thing
i
> have to change to stop relaying?

put domains you want to receive mails for into ~/qmail/controls/rcpthosts
and magicaly qmail will stop to relay.
and now what with clients who want to send mail to other domains in the
internet? here is the point $RELAYCLIENT appears. assuming you start
qmail-smtpd with tcpserver, you have to put the ip's of your clients to
/etc/smtp.tcp. e.g.:

127.0.0.:allow,RELAYCLIENT=""
172.16.10.:allow,RELAYCLIENT=""
:allow

convert them with tcprules and call tcpserver with arg -x
/etc/tcp.smtp.cdb.
man tcpserver and man tcprules will help. i also would suggest
dave sill's excelent "life with qmail" for reading
 http://web.infoave.net/~dsill/lwq.html

;) a





max <[EMAIL PROTECTED]> writes on 1 November 2000 at 07:06:44 -0500

 > im new to qmail and i have a slight problem with it. I cant stop it
 > from relaying. I read something in the documentation, and it
 > mentioned some variable named $RELAYCLIENT, but i have no clue
 > where that variable is. Is my assumption correct, anyway? Is that
 > var the only thing i have to change to stop relaying?

No, that var is what you have to change to *allow* relaying.  And you
probably need to allow *some* relaying; people using POP to read their
mail generally need an SMTP server to relay through for outbound as
well. 

What you need to do to stop relaying is create the control/rcpthosts
file, and list in it the hosts you want to accept mail for.  Normally
what you put in rcpthosts is the host names from locals plus the host
names from virtualdomains.   That's it; having defined which host
names are handled by this mail server, everything else is rejected.  

Now, as I say, you probably *need* to support some relaying.  Hosts on
the lan, and any other hosts that should be allowed to use you as a
"smart host" (which means relay through you) need to be identified.
You do that by having tcpserver recognize their IP addresses set
RELAYCLIENT before invoking qmail-smtpd.  Then those specific IP
addresses will be allowed to relay through you, but no other senders
will; this, *selective* relaying.

All this is explained in great and exact detail in Life With Qmail and
also in the FAQ, by the way.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




When running maildir2mbox it complains the MAILTMP is not set. It 
is!  Seems like a bug.

e.g.

 >MAILDIR=$HOME/Maildir/
 >MAIL=$HOME/mbox
 >MAILTMP=$HOME/.mailtemp
 >maildir2mbox
Error. MAILTMP not set   (or something like that)


HM





Hi,

I asked the same question a week ago and recieved the nessesary instructions
for applying the QMAILQUEUE patch, but couldn't make it work. Other people
wrote about problems with the patch, suggesting manual editing the sources
or renaming qmail-queue and coping qmail-queue-scanner executable into
qmail-queue. I prefer the second solution, which is described in the
qmail-scanner documentation, but qmail-scanner can't be compiled without the
patch. Third solution is to use AMaVis (www.qmail.org) (or other - AVP...),
but I haven't tryed it yet. The disadvantage of this is that you have to
install commercial vairus-scanner, which AMaVis will use to scan the
attachments.

I realy need anti-virus protection, so I want to know what to do to compile
qmail-scanner without QMAILQUEUE patch.

Milen

----- Original Message -----
From: Ruprecht Helms <[EMAIL PROTECTED]>
To: qmail liste <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 1:59 PM
Subject: how do I install the qmail-virusscanner


> Hi,
>
> is there a good tutorial to install the qmail-scanner. The page linked in
qmail.org
> contents only the requirements and the patch QMAILQUEUE. By replacing
> qmail-queue after the lines mentioned in the page the setup stops with an
> error that it could not find QMAILQUEUE.
>
> Which files must to be edit to find QMAILQUEUE?
> Is there a good virusscanner based on Linux for qmail (good if it easy to
> install)?
>
> Regards,
> Ruprecht
>





If I install qmail as per basic instructions (I am using uspci and 
daemontools package)

I have set the default delivery to be a ./Maildir/. I can created (using 
maildircreate) the directory /home/fred/Maildir.

Can I (a) use mail to send a messsage like this.

    >mail fred
    Subject?   and so on

... it doesn't object, but nothing appears in my maildir.

I set up Eudora on a pc and sent a message to [EMAIL PROTECTED] Sent 
OK but dissapeared.

Checked the queue and the messages are sat there and are marked as not 
prepocessed. hmmm.

Check the processes. Processing running..

        svsscan
        supervise qmail-send
        supervise log
        supervise qmail-smtpd
        supervise log
        qmail-lspawn ./Maildir/

what is (or is not going on).

I had it running yesterday using xinetd and it worked, but nothing I could 
do would persuade authorisation for POP3 to work.

I really need some help. qmail is going in the bin after today. I have 
heard loads of good things about it but I just can't make it work. Every 
time I follow somebody elses installation advise (and there seems to be no 
agreement on how to do it at all) something else doesn't work! I need a 
mail server up and running, if qmail is no good can anybody recommend 
something that actually works properly.

HM





On Wed, Nov 01, 2000 at 01:27:54PM -0800, Howard Miller wrote:
> If I install qmail as per basic instructions (I am using uspci and 
> daemontools package)

What do the logs say? (TM)

-Johan
-- 
Johan Almqvist




> if qmail is no good can anybody recommend something that actually
> works properly.

That attitude will get you a long way on this list.

qmail works properly. If you follow the completely straightforward
installation documents that come with the tarball, or follow Dave Sill's
excellent "Life with qmail," you too can have a working qmail installation,
just like thousands of others have before you. If your attitude is that any
failure on your part to understand qmail right off the bat is a shortcoming
of qmail, rather than a shortcoming of Howard Miller, then you might as well
look elsewhere for an MTA.

You may want to look at http://web.infoave.net/~dsill/lwq.html#trigger . If
that's not your problem, you might consider looking at the log files, which
hold the answers to many of these mysteries.

Chris





Sorry, sorry, sorry.....

I am not really a newbie as such, but I am to MTAs. I can usually get 
things going but I have been at this for nearly two weeks and I simply 
can't get it to work. It is at best confusing that the INSTALL 
documentation in the tarball suggests a different installation from the 
Howto, and is different again from "Living with qmail" (which DOES have 
some mistakes that even I spotted).

I have by now tried all of them, reloading Linux on my test machine each 
time. In each case something doesn't work and I am frustrated that 
documentation seems (to me anyway) to be lacking. I don't think that my 
requirements are in anyway strange (I need an ISP style setup - all local 
lan users though - with smtp and pop3).

I am using SuSE V7 linux, if anybody out there has got a simillar 
arangement on a similar platform to work correctly I would be most 
interested to hear from them how they did it.

Sorry to everybody again, for getting stroppy - you know what its like when 
you foolishly promise something in a few days...... oh well.

Might I be better just using sendmail, which is built in to SuSE and seems 
to work out of the box. There does not seem to be a POP3 as standard but 
there may be something on the disks (I haven't looked yet). Its just that 
everything I have read claims that qmail is MUCH better. If only I could 
get it to work.

Howard


At 09:05 01/11/00 -0500, you wrote:
> > if qmail is no good can anybody recommend something that actually
> > works properly.
>
>That attitude will get you a long way on this list.
>
>qmail works properly. If you follow the completely straightforward
>installation documents that come with the tarball, or follow Dave Sill's
>excellent "Life with qmail," you too can have a working qmail installation,
>just like thousands of others have before you. If your attitude is that any
>failure on your part to understand qmail right off the bat is a shortcoming
>of qmail, rather than a shortcoming of Howard Miller, then you might as well
>look elsewhere for an MTA.
>
>You may want to look at http://web.infoave.net/~dsill/lwq.html#trigger . If
>that's not your problem, you might consider looking at the log files, which
>hold the answers to many of these mysteries.
>
>Chris





On Wed, Nov 01, 2000 at 02:24:51PM -0800, Howard Miller wrote:
> Sorry, sorry, sorry.....
> 
> I am not really a newbie as such, but I am to MTAs. I can usually get 

In which case you will have understood why an earlier poster asked that
you send the logs so we can see what's happening. In spite of that and
you "not really (being) a newbie", you still haven't supplied them.

Without logs we can offer no opinion at all.

> things going but I have been at this for nearly two weeks and I simply 
> can't get it to work. It is at best confusing that the INSTALL 
> documentation in the tarball suggests a different installation from the 
> Howto, and is different again from "Living with qmail" (which DOES have 
> some mistakes that even I spotted).

In which case, please send your observations to the author of that document,
he wants to hear feedback that improves his work.
 
> I have by now tried all of them, reloading Linux on my test machine each 
> time. In each case something doesn't work and I am frustrated that 
> documentation seems (to me anyway) to be lacking. I don't think that my 
> requirements are in anyway strange (I need an ISP style setup - all local 
> lan users though - with smtp and pop3).

Your requirements are absolutely normal and many thousands of people
have installed qmail without a glitch in such environments. The experience
of this list is that most people who come to it saying "it doesn't work",
usually end up finding they have not follow instructions to the letter. And,
be warned - if you claim that you have you'll need to support that claim
with proof.
 
> I am using SuSE V7 linux, if anybody out there has got a simillar 
> arangement on a similar platform to work correctly I would be most 
> interested to hear from them how they did it.
> 
> Sorry to everybody again, for getting stroppy - you know what its like when 
> you foolishly promise something in a few days...... oh well.
> 
> Might I be better just using sendmail, which is built in to SuSE and seems 

Whatever floats your boat. You're the one who lives with your choice,
not us. But if you want to persist with qmail, then you will need to
give details. Like logs files, config settings, what is and isn't working,
that sort of thing.


Regards.




Point is taken.....

I am currently going through the install again making sure I exactly 
understand everything that is done. (This may take some time!)

I am hopefull that it will mysteriously work after that. If it doesn't I 
will hit you with the gory details and see what you think.

Thanks again.

PS It took me about 10 minutes to get sendmail/pop3/smtp working.... and 
then I started reading about setting up virtual users... ok, I see!!




At 07:35 01/11/00 -0800, you wrote:
>On Wed, Nov 01, 2000 at 02:24:51PM -0800, Howard Miller wrote:
> > Sorry, sorry, sorry.....
> >
> > I am not really a newbie as such, but I am to MTAs. I can usually get
>
>In which case you will have understood why an earlier poster asked that
>you send the logs so we can see what's happening. In spite of that and
>you "not really (being) a newbie", you still haven't supplied them.
>
>Without logs we can offer no opinion at all.
>
> > things going but I have been at this for nearly two weeks and I simply
> > can't get it to work. It is at best confusing that the INSTALL
> > documentation in the tarball suggests a different installation from the
> > Howto, and is different again from "Living with qmail" (which DOES have
> > some mistakes that even I spotted).
>
>In which case, please send your observations to the author of that document,
>he wants to hear feedback that improves his work.
>
> > I have by now tried all of them, reloading Linux on my test machine each
> > time. In each case something doesn't work and I am frustrated that
> > documentation seems (to me anyway) to be lacking. I don't think that my
> > requirements are in anyway strange (I need an ISP style setup - all local
> > lan users though - with smtp and pop3).
>
>Your requirements are absolutely normal and many thousands of people
>have installed qmail without a glitch in such environments. The experience
>of this list is that most people who come to it saying "it doesn't work",
>usually end up finding they have not follow instructions to the letter. And,
>be warned - if you claim that you have you'll need to support that claim
>with proof.
>
> > I am using SuSE V7 linux, if anybody out there has got a simillar
> > arangement on a similar platform to work correctly I would be most
> > interested to hear from them how they did it.
> >
> > Sorry to everybody again, for getting stroppy - you know what its like 
> when
> > you foolishly promise something in a few days...... oh well.
> >
> > Might I be better just using sendmail, which is built in to SuSE and seems
>
>Whatever floats your boat. You're the one who lives with your choice,
>not us. But if you want to persist with qmail, then you will need to
>give details. Like logs files, config settings, what is and isn't working,
>that sort of thing.
>
>
>Regards.







    Two questions:

    1) Is there a specific newsletter software that works together
qmail?

    2) Has anyone applied the big-concurrency patch in a Red-Hat 6.2
System?

    Thanks,

    Fernando


--
Failure is not an option. It comes bundled with your Microsoft product.







Fernando Costa de Almeida <[EMAIL PROTECTED]> wrote:
> 
> 
>     1) Is there a specific newsletter software that works together
> qmail?

Yes.  ezmlm, ezmlm-idx both work natively with qmail.  Majordomo can be made
to work with qmail.  See www.qmail.org; mailing lists are mentioned a few
times there.
 
>     2) Has anyone applied the big-concurrency patch in a Red-Hat 6.2
> System?

Yes.  Or did you want some specific piece of information?

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




Charles Cazabon wrote:

> Fernando Costa de Almeida <[EMAIL PROTECTED]> wrote:
> >
> >
> >     1) Is there a specific newsletter software that works together
> > qmail?
>
> Yes.  ezmlm, ezmlm-idx both work natively with qmail.  Majordomo can be made
> to work with qmail.  See www.qmail.org; mailing lists are mentioned a few
> times there

   Ok, but if the user that receives the email see the header: Delivered-To or
Mailing-List and sends a email to this address, he will send a email to MY
newsletter.


>
>
> >     2) Has anyone applied the big-concurrency patch in a Red-Hat 6.2
> > System?
>
> Yes.  Or did you want some specific piece of information?

    Yes, I cant do this because when I try to recompile qmail, it shows a msg
like this "Your system has a hidden FD_SET() limit"... I dont know what to
change in the kernel to made this work.... This is the piece Im looking
for.....

    Thanks,


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

--
              To boldly go where I surely don't belong.







On Wed, Nov 01, 2000 at 01:22:59PM -0200, Fernando Costa de Almeida wrote:
>    Ok, but if the user that receives the email see the header: Delivered-To or
> Mailing-List and sends a email to this address, he will send a email to MY
> newsletter.

No, ezmlm (correctly configured) is very good at prohibiting this.

-Johan
-- 
Johan Almqvist




Not if you set the security options.  I have mine set up so that only
moderators can post, others get a message that tells them they don't have
permission.

It's in the FAQ at http://www.ezmlm.org.

Jay

> -----Original Message-----
> From: Fernando Costa de Almeida [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 01, 2000 9:23 AM
> To: Charles Cazabon
> Cc: qmaillist
> Subject: Re: Newsletter
> 
> 
> Charles Cazabon wrote:
> 
> > Fernando Costa de Almeida <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >     1) Is there a specific newsletter software that works together
> > > qmail?
> >
> > Yes.  ezmlm, ezmlm-idx both work natively with qmail.  
> Majordomo can be made
> > to work with qmail.  See www.qmail.org; mailing lists are 
> mentioned a few
> > times there
> 
>    Ok, but if the user that receives the email see the 
> header: Delivered-To or
> Mailing-List and sends a email to this address, he will send 
> a email to MY
> newsletter.
> 
> 
> >
> >
> > >     2) Has anyone applied the big-concurrency patch in a 
> Red-Hat 6.2
> > > System?
> >
> > Yes.  Or did you want some specific piece of information?
> 
>     Yes, I cant do this because when I try to recompile 
> qmail, it shows a msg
> like this "Your system has a hidden FD_SET() limit"... I dont 
> know what to
> change in the kernel to made this work.... This is the piece 
> Im looking
> for.....
> 
>     Thanks,
> 
> 
> >
> >
> > 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.
> -----------------------------------------------------------------------

--
              To boldly go where I surely don't belong.






Fernando Costa de Almeida <[EMAIL PROTECTED]> wrote:
> Charles Cazabon wrote:
> 
> > >
> > >     1) Is there a specific newsletter software that works together
> > > qmail?
> >
> > Yes.  ezmlm, ezmlm-idx both work natively with qmail.  Majordomo can be made
> > to work with qmail.  See www.qmail.org; mailing lists are mentioned a few
> > times there
> 
>    Ok, but if the user that receives the email see the header: Delivered-To or
> Mailing-List and sends a email to this address, he will send a email to MY
> newsletter.
 
No.  ezmlm and ezmlm-idx are easily configured to prevent anyone but the owner
from submitting messages to them.  We run several lists this way.  It's in the
ezmlm-idx FAQ.

>     Yes, I cant do this because when I try to recompile qmail, it shows a msg
> like this "Your system has a hidden FD_SET() limit"... I dont know what to
> change in the kernel to made this work.... This is the piece Im looking
> for.....

You need to edit one of the system header files where the limit is
specified.  If you raise it more than a factor of four or so (IIRC), you will
need to recompile your kernel.  This was brought up on this mailing list
some time in the last two weeks, with specific pointers to files/line numbers,
etc.  Search the archives for details.

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




>    Ok, but if the user that receives the email see the header:
> Delivered-To or
> Mailing-List and sends a email to this address, he will send a email to MY
> newsletter.

Set the list to moderated and closed.  That way no one can subscribe without
your persmission and no one would be able to send an email to the list for
all your subscribers to see.

Anthony








Hi,

On Mon, Oct 23, 2000 at 02:57:48PM -0700, Kai MacTane wrote:
> What are the security problems with it? And will using it allow my shell 
> users to type "mail" and either get a "no new mail" message or show them 
> the contents of their mailbox if they do have something?

no, imho. Why not write a small script like (no warranties here):

#!/bin/sh
cd $HOME
CNT=`find Maildir/new -type f | wc -l`

if [ $CNT -eq 0 ]; then
        echo "no new mail"
else
        mutt
fi
exit $?


call it 'mail' and put it early in the PATH ?


Best Regards,
--Toni++





At 11/1/00 09:03 AM , Toni Mueller wrote:

>On Mon, Oct 23, 2000 at 02:57:48PM -0700, Kai MacTane wrote:
> > What are the security problems with it? And will using it allow my shell
> > users to type "mail" and either get a "no new mail" message or show them
> > the contents of their mailbox if they do have something?
>
>no, imho. Why not write a small script like (no warranties here):

As it turned out, "mutt -Z -f ./Maildir/" worked just beautifully -- with 
one tiny exception: at least one user claimed "the interface on /bin/mail 
made her want to pull her hair out". :)

So, what I really need is an actual version of /bin/mail that supports 
Maildirs. If there's anyone out there who also thinks this would be a 
useful thing to have around, and who has the C skills to code it, I can 
offer testing on an actual production machine, as well my eternal 
gratitude. (At this point, I think it really *would* be a useful thing and 
a good idea, and would be coding it myself if I spoke C.)

                                                 --Kai MacTane
----------------------------------------------------------------------
"Uh-oh... Gravity works."
                                                 --Batty Koda, "Ferngully"
                                                   (Hey, bats are gothic.)







Hi,

On Tue, Oct 24, 2000 at 04:15:23PM +0100, Jonathan McDowell wrote:
> On Tue, Oct 24, 2000 at 08:27:34PM +0630, [EMAIL PROTECTED] wrote:
> > Can anybody tell me how can i run multiple virtual qmail servers on a
> > single physical server.
> What are you trying to achieve that can't be done with one copy of
> qmail?

I don't know what the original poster wanted, but having several instances
of qmail, or at least the chance to tag a message with a "virtual server"
to be delivered through that could then take one of several ip addresses
would make accounting easier. qmail-analog isn't for me :( but with
the possibility outlined above the problem would just be solved
through standard IP accounting tools. Incoming mail is no problem now,
but outgoing mails are, as are 'wrong' connected POP3 users.


Best Regards,
--Toni++





OK I need your help, and I will be polite this time.

I have installed qmail as per Adam McKenna's howto. I have checked my work, 
and unless I have severely not understood something it is correct.

I have used maildirs as I wish to use qmail-pop3d, but I haven't done 
anything about that at the moment. My /var/qmail/rc script is as described 
in the howto. I have run the daemontools stuff, qmail is running with lots 
of nice looking processes.

I have a user id 'howard' home directory /home/howard/. I have used 
makemaildir (logged on as howard) to create /home/howard/Maildir (same 
capitilisation as in the rc script - yes?)

If I type >mail [EMAIL PROTECTED] (existing sendmail server) the 
message promptly gets there.

If I try the test line in TEST.deliver, i.e. >echo to: howard | 
/var/qmail/bin/qmail-inject the message vanishes.

I have checked the log which is a bit big but I will add to the end of the 
message. The crux seems to be that it can't find a delivery mailbox 
anywhere and the message bounces around until it deletes it. My Maildir 
directory permissions are read and write for me only. I tried making then 
read/write for everybody but it made no difference... what should the 
permissions be?

Anyway here are the logs, and thank you in advance for any ideas. I think 
myself that I have not quite got the idea of setting up Maildirs, an idiots 
explanation might not go far wrong!

(PS This is just a bit of the log but you should get the idea, most of this 
is for ONE message, even though it looks like there is more than one - 
odd!..... note that it is trying to deliver to something called 
__/.Maildir/ what is that?)


@400000003a0045093331184c status: local 0/10 remote 0/20
@400000003a0045e80101975c new msg 828393
@400000003a0045e80101d9c4 info msg 828393: bytes 223 from 
<[EMAIL PROTECTED]> qp 9697 uid 0
@400000003a0045e803ac6054 starting delivery 1: msg 828393 to local 
[EMAIL PROTECTED]
@400000003a0045e803ac8f34 status: local 1/10 remote 0/20
@400000003a0045e807f3c634 new msg 828395
@400000003a0045e807f400cc info msg 828395: bytes 333 from 
<[EMAIL PROTECTED]> qp 9701 uid 500
@400000003a0045e809f0b744 starting delivery 2: msg 828395 to local 
[EMAIL PROTECTED]
@400000003a0045e809f0ea0c status: local 2/10 remote 0/20
@400000003a0045e809f1017c delivery 1: success: did_0+1+1/qp_9701/
@400000003a0045e809f118ec status: local 1/10 remote 0/20
@400000003a0045e809f1305c end msg 828393
@400000003a0045e80a6cc12c delivery 2: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a0045e80a6d1334 status: local 0/10 remote 0/20
@400000003a0045e80ce39d2c bounce msg 828395 qp 9704
@400000003a0045e80ce5c3f4 end msg 828395
@400000003a0045e80cecb164 new msg 828393
@400000003a0045e80cef3204 info msg 828393: bytes 907 from <> qp 9704 uid 508
@400000003a0045e80f90c39c starting delivery 3: msg 828393 to local 
[EMAIL PROTECTED]
@400000003a0045e80f925dc4 status: local 1/10 remote 0/20
@400000003a0045e813d8a67c new msg 828395
@400000003a0045e813dba804 info msg 828395: bytes 1017 from <> qp 9708 uid 500
@400000003a0045e815d3844c starting delivery 4: msg 828395 to local 
[EMAIL PROTECTED]
@400000003a0045e815d52644 status: local 2/10 remote 0/20
@400000003a0045e815d7935c delivery 3: success: did_0+1+1/qp_9708/
@400000003a0045e815da8544 status: local 1/10 remote 0/20
@400000003a0045e815de4e04 end msg 828393
@400000003a0045e81646d3d4 delivery 4: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a0045e8164ca804 status: local 0/10 remote 0/20
@400000003a0045e818cd57a4 bounce msg 828395 qp 9711
@400000003a0045e818cf66fc end msg 828395
@400000003a0045e818d66bdc new msg 828393
@400000003a0045e818d8e894 info msg 828393: bytes 1499 from <#@[]> qp 9711 
uid 508
@400000003a0045e81b7a5ed4 starting delivery 5: msg 828393 to local 
[EMAIL PROTECTED]
@400000003a0045e81b7bf514 status: local 1/10 remote 0/20
@400000003a0045e81ec3f80c new msg 828395
@400000003a0045e81ec6c2e4 info msg 828395: bytes 1611 from <#@[]> qp 9714 
uid 502
@400000003a0045e8213e1fcc starting delivery 6: msg 828395 to local 
[EMAIL PROTECTED]
@400000003a0045e8213fb60c status: local 2/10 remote 0/20
@400000003a0045e821427914 delivery 5: success: did_0+1+0/qp_9714/
@400000003a0045e82145632c status: local 1/10 remote 0/20
@400000003a0045e82149241c end msg 828393
@400000003a0045e8253830cc new msg 828393
@400000003a0045e8253b269c info msg 828393: bytes 1721 from <#@[]> qp 9718 
uid 500
@400000003a0045e827e3dc54 starting delivery 7: msg 828393 to local 
[EMAIL PROTECTED]
@400000003a0045e827e58234 status: local 2/10 remote 0/20
@400000003a0045e827e7ef4c delivery 6: success: did_0+1+1/qp_9718/
@400000003a0045e827eadd4c status: local 1/10 remote 0/20
@400000003a0045e827eea60c end msg 828395
@400000003a0045e82856b6ac delivery 7: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a0045e8285c7b3c status: local 0/10 remote 0/20
@400000003a0045e82860151c triple bounce: discarding bounce/828393
@400000003a0045e8286193ec end msg 828393






On Wed, 01 Nov 2000, [EMAIL PROTECTED] wrote:

> @400000003a0045e80f90c39c starting delivery 3: msg 828393 to local
> [EMAIL PROTECTED]
> @400000003a0045e80f925dc4 status: local 1/10 remote 0/20
> @400000003a0045e813d8a67c new msg 828395
> @400000003a0045e813dba804 info msg 828395: bytes 1017 from <> qp 9708 uid 500
> @400000003a0045e815d3844c starting delivery 4: msg 828395 to local
> [EMAIL PROTECTED]
> @400000003a0045e815d52644 status: local 2/10 remote 0/20

Just for our sake, could you please give us:
~alias/.qmail-*
~howard/.qmail
/var/qmail/rc (yes, yes, I know you said you typed exactly correct but
please put it here anyway).

Mail SHOULD NOT be getting delivered to __./Maildir/...it appears as
if a character is out of place somewhere (ie have you used two single
apostrophes like ` ` together or ' ' together instead of a single
double apostrophe/quotation mark ie " ?  This could cause the error.
-- 
"I wonder what Jesus would do if HE had to reload Windows 95 for the
eighth time today ?"

- Mirabour Gilbride




On Wed, Nov 01, 2000 at 05:16:39PM -0800, Howard Miller wrote:
<big snip>

> @400000003a0045093331184c status: local 0/10 remote 0/20
> @400000003a0045e80101975c new msg 828393
> @400000003a0045e80101d9c4 info msg 828393: bytes 223 from 
> <[EMAIL PROTECTED]> qp 9697 uid 0
> @400000003a0045e803ac6054 starting delivery 1: msg 828393 to local 
> [EMAIL PROTECTED]
> @400000003a0045e803ac8f34 status: local 1/10 remote 0/20
> @400000003a0045e807f3c634 new msg 828395
> @400000003a0045e807f400cc info msg 828395: bytes 333 from 
> <[EMAIL PROTECTED]> qp 9701 uid 500
> @400000003a0045e809f0b744 starting delivery 2: msg 828395 to local 
> [EMAIL PROTECTED]

Can you post your /var/qmail/rc file (or however you start qmail) here? This 
line is totally wrong. No surprise you are not getting any mail...

-- 
Timo Geusch

Empower Interactive Group Ltd
5/7 St. Helen's Place
London EC3A 6AU





Howard Miller <[EMAIL PROTECTED]> wrote:
> 
> I have a user id 'howard' home directory /home/howard/. I have used 
> makemaildir (logged on as howard) to create /home/howard/Maildir (same 
> capitilisation as in the rc script - yes?)

maildirmake, I think you mean.
 
> If I type >mail [EMAIL PROTECTED] (existing sendmail server) the 
> message promptly gets there.
> 
> If I try the test line in TEST.deliver, i.e. >echo to: howard | 
> /var/qmail/bin/qmail-inject the message vanishes.
[...]
> @400000003a0045e809f0b744 starting delivery 2: msg 828395 to local 
> [EMAIL PROTECTED]
[...]
> @400000003a0045e80a6cc12c delivery 2: failure: 
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

This looks suspicious, as if the .qmail file contained spaces before what
you intend to be a Maildir delivery -- qmail sees a character which is not
a path and tries to forward the message.

Remove the spaces in the appropriate .qmail file for howard.

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




Those are beautiful logs. I wish I could get logs like that. I have a
perfectly functional qmail installation and I am using it now, but I don't
get any logs to look at to reassure me.

Sorry, I don't have any logs to post to help with the diagnosis, but if
someone could tell me what files they need to see, by God I'll produce.

-----Original Message-----
From: Howard Miller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, November 01, 2000 12:22 PM
Subject: Prolem (carefully) explained


>OK I need your help, and I will be polite this time.
>
>I have installed qmail as per Adam McKenna's howto. I have checked my work,
>and unless I have severely not understood something it is correct.
>
>I have used maildirs as I wish to use qmail-pop3d, but I haven't done
>anything about that at the moment. My /var/qmail/rc script is as described
>in the howto. I have run the daemontools stuff, qmail is running with lots
>of nice looking processes.
>
>I have a user id 'howard' home directory /home/howard/. I have used
>makemaildir (logged on as howard) to create /home/howard/Maildir (same
>capitilisation as in the rc script - yes?)
>
>If I type >mail [EMAIL PROTECTED] (existing sendmail server) the
>message promptly gets there.
>
>If I try the test line in TEST.deliver, i.e. >echo to: howard |
>/var/qmail/bin/qmail-inject the message vanishes.
>
>I have checked the log which is a bit big but I will add to the end of the
>message. The crux seems to be that it can't find a delivery mailbox
>anywhere and the message bounces around until it deletes it. My Maildir
>directory permissions are read and write for me only. I tried making then
>read/write for everybody but it made no difference... what should the
>permissions be?
>
>Anyway here are the logs, and thank you in advance for any ideas. I think
>myself that I have not quite got the idea of setting up Maildirs, an idiots
>explanation might not go far wrong!
>
>(PS This is just a bit of the log but you should get the idea, most of this
>is for ONE message, even though it looks like there is more than one -
>odd!..... note that it is trying to deliver to something called
>__/.Maildir/ what is that?)
>
>
>@400000003a0045093331184c status: local 0/10 remote 0/20
>@400000003a0045e80101975c new msg 828393
>@400000003a0045e80101d9c4 info msg 828393: bytes 223 from
><[EMAIL PROTECTED]> qp 9697 uid 0
>@400000003a0045e803ac6054 starting delivery 1: msg 828393 to local
>[EMAIL PROTECTED]
>@400000003a0045e803ac8f34 status: local 1/10 remote 0/20
>@400000003a0045e807f3c634 new msg 828395
>@400000003a0045e807f400cc info msg 828395: bytes 333 from
><[EMAIL PROTECTED]> qp 9701 uid 500
>@400000003a0045e809f0b744 starting delivery 2: msg 828395 to local
>[EMAIL PROTECTED]
>@400000003a0045e809f0ea0c status: local 2/10 remote 0/20
>@400000003a0045e809f1017c delivery 1: success: did_0+1+1/qp_9701/
>@400000003a0045e809f118ec status: local 1/10 remote 0/20
>@400000003a0045e809f1305c end msg 828393
>@400000003a0045e80a6cc12c delivery 2: failure:
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>@400000003a0045e80a6d1334 status: local 0/10 remote 0/20
>@400000003a0045e80ce39d2c bounce msg 828395 qp 9704
>@400000003a0045e80ce5c3f4 end msg 828395
>@400000003a0045e80cecb164 new msg 828393
>@400000003a0045e80cef3204 info msg 828393: bytes 907 from <> qp 9704 uid
508
>@400000003a0045e80f90c39c starting delivery 3: msg 828393 to local
>[EMAIL PROTECTED]
>@400000003a0045e80f925dc4 status: local 1/10 remote 0/20
>@400000003a0045e813d8a67c new msg 828395
>@400000003a0045e813dba804 info msg 828395: bytes 1017 from <> qp 9708 uid
500
>@400000003a0045e815d3844c starting delivery 4: msg 828395 to local
>[EMAIL PROTECTED]
>@400000003a0045e815d52644 status: local 2/10 remote 0/20
>@400000003a0045e815d7935c delivery 3: success: did_0+1+1/qp_9708/
>@400000003a0045e815da8544 status: local 1/10 remote 0/20
>@400000003a0045e815de4e04 end msg 828393
>@400000003a0045e81646d3d4 delivery 4: failure:
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>@400000003a0045e8164ca804 status: local 0/10 remote 0/20
>@400000003a0045e818cd57a4 bounce msg 828395 qp 9711
>@400000003a0045e818cf66fc end msg 828395
>@400000003a0045e818d66bdc new msg 828393
>@400000003a0045e818d8e894 info msg 828393: bytes 1499 from <#@[]> qp 9711
>uid 508
>@400000003a0045e81b7a5ed4 starting delivery 5: msg 828393 to local
>[EMAIL PROTECTED]
>@400000003a0045e81b7bf514 status: local 1/10 remote 0/20
>@400000003a0045e81ec3f80c new msg 828395
>@400000003a0045e81ec6c2e4 info msg 828395: bytes 1611 from <#@[]> qp 9714
>uid 502
>@400000003a0045e8213e1fcc starting delivery 6: msg 828395 to local
>[EMAIL PROTECTED]
>@400000003a0045e8213fb60c status: local 2/10 remote 0/20
>@400000003a0045e821427914 delivery 5: success: did_0+1+0/qp_9714/
>@400000003a0045e82145632c status: local 1/10 remote 0/20
>@400000003a0045e82149241c end msg 828393
>@400000003a0045e8253830cc new msg 828393
>@400000003a0045e8253b269c info msg 828393: bytes 1721 from <#@[]> qp 9718
>uid 500
>@400000003a0045e827e3dc54 starting delivery 7: msg 828393 to local
>[EMAIL PROTECTED]
>@400000003a0045e827e58234 status: local 2/10 remote 0/20
>@400000003a0045e827e7ef4c delivery 6: success: did_0+1+1/qp_9718/
>@400000003a0045e827eadd4c status: local 1/10 remote 0/20
>@400000003a0045e827eea60c end msg 828395
>@400000003a0045e82856b6ac delivery 7: failure:
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>@400000003a0045e8285c7b3c status: local 0/10 remote 0/20
>@400000003a0045e82860151c triple bounce: discarding bounce/828393
>@400000003a0045e8286193ec end msg 828393
>
>





I forgot to mention that all of the /var/qmail/alias files point to 'Howard'
so if it can't deliver to me then it will bounce like mad (as it is doing).

I don't have a .qmail file. I thought that I wouldn't need one, as Maildir
delivery is supposed to be the default.

I will have a close look at the /var/qmail/rc file tomorrow when I get to
work, if I don't spot anything I will post it and see if anybody can spot the
problem.

Thanks so far for everybody's input

Howard

Charles Cazabon wrote:

> Howard Miller <[EMAIL PROTECTED]> wrote:
> >
> > I have a user id 'howard' home directory /home/howard/. I have used
> > makemaildir (logged on as howard) to create /home/howard/Maildir (same
> > capitilisation as in the rc script - yes?)
>
> maildirmake, I think you mean.
>
> > If I type >mail [EMAIL PROTECTED] (existing sendmail server) the
> > message promptly gets there.
> >
> > If I try the test line in TEST.deliver, i.e. >echo to: howard |
> > /var/qmail/bin/qmail-inject the message vanishes.
> [...]
> > @400000003a0045e809f0b744 starting delivery 2: msg 828395 to local
> > [EMAIL PROTECTED]
> [...]
> > @400000003a0045e80a6cc12c delivery 2: failure:
> > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> This looks suspicious, as if the .qmail file contained spaces before what
> you intend to be a Maildir delivery -- qmail sees a character which is not
> a path and tries to forward the message.
>
> Remove the spaces in the appropriate .qmail file for howard.
>
> 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.
> -----------------------------------------------------------------------





Howard Miller <[EMAIL PROTECTED]> writes on 1 November 2000 at 22:26:51 
+0000
 > I forgot to mention that all of the /var/qmail/alias files point to 'Howard'
 > so if it can't deliver to me then it will bounce like mad (as it is doing).
 > 
 > I don't have a .qmail file. I thought that I wouldn't need one, as Maildir
 > delivery is supposed to be the default.

The default delivery instructions are provided on the qmail-start
command line, and may be maildir or mailbox or some specific program.
You don't need a .qmail file if you don't want to override that
default.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




Howard Miller <[EMAIL PROTECTED]> writes on 1 November 2000 at 17:16:39 
-0800
 > OK I need your help, and I will be polite this time.
 > 
 > I have installed qmail as per Adam McKenna's howto. I have checked my work, 
 > and unless I have severely not understood something it is correct.
 > 
 > I have used maildirs as I wish to use qmail-pop3d, but I haven't done 
 > anything about that at the moment. My /var/qmail/rc script is as described 
 > in the howto. I have run the daemontools stuff, qmail is running with lots 
 > of nice looking processes.
 > 
 > I have a user id 'howard' home directory /home/howard/. I have used 
 > makemaildir (logged on as howard) to create /home/howard/Maildir (same 
 > capitilisation as in the rc script - yes?)
 > 
 > If I type >mail [EMAIL PROTECTED] (existing sendmail server) the 
 > message promptly gets there.

 > @400000003a0045e809f0b744 starting delivery 2: msg 828395 to local 
 > [EMAIL PROTECTED]

This is definitely wrong.

Mine look like this:

    Nov  1 01:02:08 gw qmail: 973062128.597515 starting delivery 5290: msg 39065 to 
local [EMAIL PROTECTED]

(This is syslog plus straight TAI, is the difference at the start of
the lines.  Note how the address is shown in my case -- it actually
makes sense.)

Here's an example of an incoming message (in this case to a virtual
domain) which fails because there's no such mailbox:

    Nov  1 05:56:53 gw qmail: 973079813.011391 starting delivery 5561: msg 39065 to 
local [EMAIL PROTECTED]
    Nov  1 05:56:53 gw qmail: 973079813.012058 status: local 1/10 remote 0/50
    Nov  1 05:56:53 gw qmail: 973079813.105976 delivery 5561: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

 > (PS This is just a bit of the log but you should get the idea, most of this 
 > is for ONE message, even though it looks like there is more than one - 
 > odd!..... note that it is trying to deliver to something called 
 > __/.Maildir/ what is that?)

This looks like you have a .qmail file which says "&  /.Maildir/" in
it; which would definitely be wrong.
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




OK,

my system is set up as

 >cat /var/qmail/alias/.qmail*
howard
howard
howard

 >cat /var/qmail/rc
#!/bin/sh

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

I do NOT have a .qmail file in my home directory.


the rc script is copied as is from the HOWTO. I must confess that the 
parameters of the qmail-start are completely beyond me, so I have no way 
myself of verifying their correctness. I have read the man page for 
qmail-start, but it doesn't help me at all.

Hope somebody can work out what the problem is from this.

Thanks.


At 17:37 01/11/00 +0000, you wrote:
>On Wed, Nov 01, 2000 at 05:16:39PM -0800, Howard Miller wrote:
><big snip>
>
> > @400000003a0045093331184c status: local 0/10 remote 0/20
> > @400000003a0045e80101975c new msg 828393
> > @400000003a0045e80101d9c4 info msg 828393: bytes 223 from
> > <[EMAIL PROTECTED]> qp 9697 uid 0
> > @400000003a0045e803ac6054 starting delivery 1: msg 828393 to local
> > [EMAIL PROTECTED]
> > @400000003a0045e803ac8f34 status: local 1/10 remote 0/20
> > @400000003a0045e807f3c634 new msg 828395
> > @400000003a0045e807f400cc info msg 828395: bytes 333 from
> > <[EMAIL PROTECTED]> qp 9701 uid 500
> > @400000003a0045e809f0b744 starting delivery 2: msg 828395 to local
> > [EMAIL PROTECTED]
>
>Can you post your /var/qmail/rc file (or however you start qmail) here? This
>line is totally wrong. No surprise you are not getting any mail...
>
>--
>Timo Geusch
>
>Empower Interactive Group Ltd
>5/7 St. Helen's Place
>London EC3A 6AU





Greetings.

A while back, somebody sent a patch to the qmail mailing list that
implemented multiple RCPT support in qmail-send and qmail-rspawn.  This
patch worked by sorting the domain names and transating the NUL bytes
between recipients with the same domain name into another byte, and then
treating the entire group of recipients as one unit.  Does anybody know
where I can locate that patch?  I've looked but I can't find it.

I'm looking at doing something similar, but still treating the
recipients seperately (one recip could bounce independant of the rest),
which is a good deal more complex, as well as not altering the data
structure of the remotes lists.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





Hi Bruce,

I believe you're talking about the patch I did.

See
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00678.html
or
http://www.egroups.com/message/djb-qmail/35717

Actually, as you'll see, the patch is unfinished, I just wanted to share
what I had and listen for input. But it's a pretty good beginning I think.

Florent


In article <[EMAIL PROTECTED]> you write:
> 
> Greetings.
> 
> A while back, somebody sent a patch to the qmail mailing list that
> implemented multiple RCPT support in qmail-send and qmail-rspawn.  This
> patch worked by sorting the domain names and transating the NUL bytes
> between recipients with the same domain name into another byte, and then
> treating the entire group of recipients as one unit.  Does anybody know
> where I can locate that patch?  I've looked but I can't find it.
> 
> I'm looking at doing something similar, but still treating the
> recipients seperately (one recip could bounce independant of the rest),
> which is a good deal more complex, as well as not altering the data
> structure of the remotes lists.
> -- 
> Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/




> I'm looking at doing something similar, but still treating the
> recipients seperately (one recip could bounce independant of the rest),

This brings me to a question: should the grouping of recipients by
domain name be done in qmail-send or qmail-queue?  The sending algorithm
used by qmail-send (after sorting, when processing the list to send)
would still be the same: if the domain name of the next undelivered
recipient is the same as the current domain name, add it to the list of
recipients to send to qmail-rspawn.

Another question: is it legal in SMTP to temporarily defer one recipient
and not another?
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





Bruce Guenter <[EMAIL PROTECTED]> wrote:
> 
> This brings me to a question: should the grouping of recipients by
> domain name be done in qmail-send or qmail-queue?

My gut reaction would be in qmail-queue.  However, that might make it a little
more difficult to do this optimization when mail comes in via qmail-smtpd.

> Another question: is it legal in SMTP to temporarily defer one recipient
> and not another?

Doesn't this currently happen with qmail anyways, because each recipient is
handled as a separate message and can be deferred, while others go through?

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




On Wed, Nov 01, 2000 at 02:04:54PM -0600, Charles Cazabon wrote:
> Bruce Guenter <[EMAIL PROTECTED]> wrote:
> > 
> > This brings me to a question: should the grouping of recipients by
> > domain name be done in qmail-send or qmail-queue?
> 
> My gut reaction would be in qmail-queue.  However, that might make it a little
> more difficult to do this optimization when mail comes in via qmail-smtpd.

Why? qmail-smtpd feeds the mail into qmail-queue, just as all injection
programs (ie, qmail-inject, qmail-smtpd, qmail-qmqpd, ezmlm-send).

> 
> > Another question: is it legal in SMTP to temporarily defer one recipient
> > and not another?
> 
> Doesn't this currently happen with qmail anyways, because each recipient is
> handled as a separate message and can be deferred, while others go through?

I think he means by way of a non-"250 ok" response during the SMTP conversation.

The answer is that the protocol allows it, but many programs that talk smtp
don't handle it - especially MUAs.

But how is that relevant to qmail-queue sorting the recipients?


Regards.




On Wed, Nov 01, 2000 at 02:04:54PM -0600, Charles Cazabon wrote:
> > This brings me to a question: should the grouping of recipients by
> > domain name be done in qmail-send or qmail-queue?
> My gut reaction would be in qmail-queue.  However, that might make it a little
> more difficult to do this optimization when mail comes in via qmail-smtpd.

Why?  The interface between qmail-queue and qmail-smtpd is the same as
beetween qmail-queue and anything else.

> > Another question: is it legal in SMTP to temporarily defer one recipient
> > and not another?
> Doesn't this currently happen with qmail anyways, because each recipient is
> handled as a separate message and can be deferred, while others go through?

My question was in the course of a single SMTP conversation.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





On Wed, Nov 01, 2000 at 12:11:11PM -0800, [EMAIL PROTECTED] wrote:
> I think he means by way of a non-"250 ok" response during the SMTP conversation.

I was specifically referring to 4xx codes in response to a RCPT command.

> The answer is that the protocol allows it, but many programs that talk smtp
> don't handle it - especially MUAs.
> 
> But how is that relevant to qmail-queue sorting the recipients?

It has nothing to do with the sorting question, but everything to do
with the range of communication necessary between qmail-send and
qmail-rspawn.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





I have managed to convert one of our less used servers from sendmail to
qmail. Very straight forward, no problems to speak of. My next task will be
a server that is handling a few thousand pieces of mail per day. After
that, we will be setting up a brand new system that will replace our main
email server. If I have anything to say about it, sendmail will not be
used.

My question is this. Has anyone put in writing how to configure qmail
analogs of sendmail functions? I am not a trained unix administrator,
merely one who has picked up bits and pieces over the last few years and
has no complete picture of how sendmail works. Our system right now handles
mail for multiple domains, uses /etc/aliases and .forward files, and
supports about 40 majordomo email lists (a couple of those contain almost
30,000 addresses each). We have a few users utilizing pine still, but most
are POP or IMAP. 

I will admit to not having read all of the various files that explain
qmail. Frankly, some of what I have read is confusing and makes assumptions
that the reader's level of expertise is higher than mine. I am in the
process of trying to plow through "Life with Qmail". That's what prompted
this email to begin with.

If anyone can point me in the direction of a document that says "in
Sendmail you do this, In Qmail you do this", I will walk away a happy man.
And please, if you have need some specific information on what our current
system does, please do not hesitate to ask.

Thank you.

Warren Small




Hi,

I have now installed qmail and started it up (followed the install
document).  I tried one of the tests -

% echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

And I got a blank email though - so it worked.  Now when I tried using qmail
in a perl script -

$mailprog = "/var/qmail/bin/sendmail";
$to ="me\@mydomainname.com";
$subject = "Test";
$msg = "It works";
open (MAIL, "|$mailprog") || die "Can't open $mailprog!\n";
print MAIL "To: $to\n";
print MAIL "From: $to\n";
print MAIL "Subject: $subject\n\n";
print MAIL "$msg";
close (MAIL);

The location to the qmail sendmail program is ok, but no emails are sent.
Any ideas?

Thanks,

Jon





also sprach jon:
> Hi,
> 
> I have now installed qmail and started it up (followed the install
> document).  I tried one of the tests -
> 
> % echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> And I got a blank email though - so it worked.  Now when I tried using qmail
> in a perl script -
> 
> $mailprog = "/var/qmail/bin/sendmail";

/var/qmail/bin/sendmail != /var/qmail/bin/qmail-inject  (You're testing the
first in your script, the second on the command line.)

Try assigning "/var/qmail/bin/qmail-inject" to $mailprog and see if that
works.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS."
(By Tarl Neustaedter)





On Tue, 31 Oct 2000, you wrote:
peter:

perhaps i am guilty of adding too much information. 

> also sprach best:
> > > They might be even more pertinent if you had not decided to munge all
> > > the useful data!
> > 
> > ?munge? could you explain what this means. i am new at this (qmail, and
> > this mailing list, so far asking for info...)
>
> <http://www.tuxedo.org/~esr/jargon/html/entry/munge.html>. Basically, he
> means that if you are going to ask for help with DNS, you shouldn't alter
> domain information. If you need help with the atoka-software.com, then don't
> say you need help with xxxxxxxxxxxxxxxx.com.

my apologies: i cannot read german.

> 
> /pg
> -- 
> Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
> ---

i know that the problem is at my machine, and not on the remote email server. (
i xxx'd out the relevant things as i'm a contractor, and the company has very
specific policies of my using their name... i like to work, if you know what i
mean <s>)

anyway, i know it is at my machine as when to problem showed up under sendmail,
i checked internally, and was given the fix in the form of a sendmail.cf file
for my machine, not the remote server. so, naturally, i suspect the fix is
local for qmail as well.

since asking the original question, i have been reading further in "running
qmail" by richard blum. in the section on the smtproutes control file, it looks
like i should add a final line that says:

:mail.server.domain.com

unfortunately, that did not work either. any ideas will be greatly
appreciated.

-- 
regards,
allen wayne best, esq




On Tue, Oct 31, 2000 at 09:50:41PM -0800, Allen Wayne Best wrote:
[snip]
> 
> since asking the original question, i have been reading further in "running
> qmail" by richard blum. in the section on the smtproutes control file, it looks
> like i should add a final line that says:
> 
> :mail.server.domain.com
> 
> it sounds like that line will automatically forward the mail to that server
> when no prior lines in smtproutes match (and there will not be!)
> 
> does this sound reasonable?

Almost. The criterium is not 'prior lines' but 'specific lines'. The
line that starts with : is used for any domains not mentioned
specifically.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me




I am using the maildir format with qmail.  I am also using virtualdomains to
host different domains.  All users are remote.  I am using the freebsd UNIX
local usernames and passwords for authentication.  I am attempting to use
the virtualdomains file for storing email addresses in the format
[EMAIL PROTECTED]:jdoe.  I cannot get mail delivered to the local
/home/jdoe/Maildir.  I continually get a Sorry, no mailbox here by that
name. (#5.1.1) error message.  If I change this to [EMAIL PROTECTED]:jdoe it
works.  How can I get this to work?  It looks like creating an assign file
is one way to do this, but I have not seen this specific example in the FAQ
or LWQ docs.

Can someone point out how this can be accomplished.

Thanks,

Eric






Jeff Mayzurk wrote:
> 
> I wrote:
> 
> >> By the way, does anyone have any interest in comparing notes on really high
> >> volume qmail configs? I'm looking for performance in the range of 200-250k
> >> remote deliveries per hour. We're halfway there with relatively few
> 
> And Greg Cope replied:
> 
> >I've a similar issue (high performance required).
> >
> >We deceided to go for multiple smallish intel boxes due to cost for
> >emails per hour ratios work in favour of intel on Linux (or FreeBSD but
> >thats a different flame ;-).
> >
> >Lirking on this list I've seen people achieve between 30k to 150k and
> >hour.  The average appears to be 50k an hour.
> 
> We're getting 100k-110k per hour on a single Sun Ultra2/2167, 512MB RAM,
> Solaris 2.7, and the queue directories mounted from a NetApp F740. This is
> with an "isolated" queue, i.e., only one message in the queue and qmail-send
> processing it as quickly as possible.

Low spec box then ;-).

Out of interest does the Netfilter  have a large / battery backed cache
to decrease the I/O / disk bottle neck ?

Also does your system only send one message - the ones I deal with are
all individual (both in content and message headers).
 
> We have concurrencyremote set to 500 and the processor run queue is usually
> around 10 deep. The machine is 100% busy, with about 30% of CPU time spent in
> user code and the rest in the kernel. (More on this below.) We're going to
> swap in some faster processors and see how much more work we can get done.
> 
> >If bandwidth is not an issue then next bottle neck is the queue and disk
> >speed.  As far as a I can see once you've moved from a simple DISK, you
> >can either:
> >
> >a) Avoide the queue and talk direct to qmail-remote (and take care of
> >bounces / process mgt yourself).
> >
> >       This appears to be where people are getting above 100k and hour.
> >
> >b) Buy lots of fast disks - RAID 0+1 (due to write performance RAID 5
> >appears a bad idea).
> 
> We're seeing very little disk I/O. At peak we're doing about 30 read ops/s and
> 30 write op/s, or around 300-500KB/s in both read and write. Service times are
> near-zero and there's no blocking on disks. Again, we're using NetApp filers.

Could this be due to a nice large cache ?

> >If you've any nice patches I would be very interested - but my spin on
> >the issue is KISS - i.e we will scale by adding small nodes - not
> >expensive boxen, and also going with simple set-ups for the sanity of
> >the people whom will run this.
> >
> >I would be very instered in anyone thoughts on theses issues.
> 
> The biggest issue I have with qmail's current architecture is that it's doing
> a fork/exec for each delivery--and this is really expensive on some platforms.
>  Short of a threaded qmail-remote (or qmail-send/qmail-remote hybrid), a
> pre-forked pool of qmail-remotes waiting on a common socket would probably be
> a significant improvement. In short, Apache-style process management.

Sounds like a whole new SMTP server to me .....

Preforking sounds better than threading - although, from a resiliance
point of view.

Would some sort of wrapper cum process mamanager not be a simple hybrid
solution ?

I know others have been down the route, and many end up coding a whole
new sever, which is great if you can support it - I am not ready to go
there as I tend to install the boxes and others have to admin them
(usually an admin / web developer style person - not a C / email
specialist).

You may also consider caching DNS mx record requests in IPC memory as
well.

> Ideally communication between qmail-send and qmail-remote would be done over
> IP, permitting a distributed configuration with multiple small nodes running
> qmail-remotes and a single queue server running qmail-send. Otherwise,
> distributing across multiple small boxes running completely independent
> instances of qmail is problematic.

I can understand that - i.e how to distribute jobs to other boxes /
processes.

It appears there are two approaches:

a) use a vanila (+ bigtodo and concurrency remote patches) qmail on
low-end boxes and x nodes of them.  Use another process to dispatch jobs
based on XZY

b) Code a custom system that just includes all of your points, a job
distribution system to spread load to other boxes, and DNS look-up
caches etc ....

I would still be insterested in any ideas that intergrate with qmail
especially if they are simple ;-)

Greg

> 
> -Jeff






Thanks Martin for your answer.

On Mon, Sep 25, 2000 at 10:47:33AM +0200, Martin Lesser wrote:
> Your problems seem to result of a perhaps misconfigured AvpLinux or
> AvpDaemon. If you use the trial-version of avp you may run into problems
> due to the "semi"-automatic tests done by avp.
> 
> Unfortunately avp is not free, the license-fee for a (linux) mail-server
> is about 100$/year.

this would be acceptable. Are the updates automatic, or do they
have to be done manualy ? (wget something, for example).

Regards,
Olivier

-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

PGP signature





Hi you all !!...

        Hello friends !!....I'm new in this list, I hope we can share a lot of
knowlodge....

        I'm very, very pressing, i need a propouse an mail solution to my
company.... I have some newbie QMail questions..

1) Can I to have 2 mail servers at the same machine??, Right now I have
Sendmail, but I would like to use QMail too (sorry if this is an estupid
question, but I prefer to be stupid once)

2) If I planning to have 100,000-200,000 user and to use Red Hat, Apache,
QMail, what features would be to have the equipment ??, I mean what machine
do you recomended me (proccesor, HD, RAM) ??....

3) I'm going to use TWIG as mail client, and I going to develop with PHP a
module with a way to allow users to signup for
email accounts. So, what about the PHP functions to QMail :
vm_adduser — Add a new virtual user with a password
vm_addalias — Add an alias to a virtual user
vm_passwd — Changes a virtual users password
vm_delalias — Removes an alias
vm_deluser — Removes a virtual user

        are they working ??...

Thanks in advance...

Ing. J@vier Morquecho Morquecho
Cedetel
Desarrollo de proyectos comerciales
Tel : 177-10-87
Cel : 177-00-87
e-mail                 : [EMAIL PROTECTED]
e-movil               : [EMAIL PROTECTED]
Home Cedetel     : http://www.cedetel.com.mx

"#define QUESTION ((bb) || !(bb))    // Shakespeare"





Dear fellow list members,

I just attempted 14 SMTP connections to seperate Yahoo.com MX
machines. 5 failed to allow me to connect, 1 had a "Temporary failure,
try again later", and only 8 succeeded (actually, this figure is
better than my queue would tend to suggest). This is only 14 of the
many many machines which are serving the yahoo.com domain.

In my opinion, the success rate of yahoo.com for mail delivery (note:
I gave up after testing 14 machines, there are way too many, and if my
queue is any indication, the rate will just get worse as I go...) is not
acceptable, both for us as mail administrators with potentially
thousands of e-mails waiting to be delivered, and for their customers
who are expecting mail to be delivered in a timely and reliable
fashion.

I had five immediate failures. To a qmail machine which defers its
mail exponentially, if I tried delivering a single mail to a yahoo
server, it is not beyond doubt to say it could take at least 6 hours
to be delivered with the standard deferral rate and infrequent ALRM
signals.

I am putting forward a proposal that, to help ourselves, our staff,
and the hundreds of thousands of Yahoo Mail patrons, we should contact
Yahoo and pester them to get their system working. These failures are
all too common on their global system, and have been occurring for
months now.

Please give me any feedback, flames, comments, etc, and if they are
personal, direct them to me personally. If they are useful for others
to see (not just for your ego but for general list education about
this problem), post them to the list.

Thanks in advance,

Brett Randall.
-- 
"The C Programming Language: A new language which combines the flexibility
of assembly language with the power of assembly language."

- Murphy's Introduction to C 




On Thu, Nov 02, 2000 at 06:47:43PM +1100, Brett Randall wrote:
[snip]
> I am putting forward a proposal that, to help ourselves, our staff,
> and the hundreds of thousands of Yahoo Mail patrons, we should contact
> Yahoo and pester them to get their system working. These failures are
> all too common on their global system, and have been occurring for
> months now.
> 
> Please give me any feedback, flames, comments, etc, and if they are
> personal, direct them to me personally. If they are useful for others
> to see (not just for your ego but for general list education about
> this problem), post them to the list.

I have logfiles with several deferred deliveries, either 'connected to
blah but connection died' or just plainly 'wasnt able to establish an
SMTP connection'.

My co-worker who does the old sendmail boxes reports several
(Deferred: Connection timed out with pop.yahoo.nl.)
in the sendmail queue.

Yahoo is actually mentioned in a memo in my Palm PDA as a very good
reason for a distributed concurrencyremote (one that doesn't dedicate
all concurrency to a single remote host, not even by accident). This
refers to the march 2000 'incident' (incidents don't last for weeks, do
they?) where people actually had problems with yahoo *taking up all
concurrencyremote* with deferrals that took a long time to happen.

I'll support your cause. What can I do?

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me




Its not exactly a qmail question, but does anyone know how many email
addresses are on the world's largest mailing list, and the OS/HW/MTA
it runs on? Average messages per day?

        Thanks,

        John

-- 

John Conover        Tel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.      Cel. 408.772.7733  http://www.johncon.com/
Campbell, CA 95008  Fax. 408.379.9602  







               Hello !

I am testing my Qmail installation, according to test.deliver.

with echo to: gast | /var/qmail/bin/qmail-inject


I didn't find the file written by multilog. I verified that multilog is
running, as you see with ps.


root       253   246  0 08:59 ?        00:00:02 supervise qmail-send
root       255   246  0 08:59 ?        00:00:00 supervise qmail-smtpd
qmaild     257   255  0 08:59 ?        00:00:00 /usr/local/bin/tcpserver -v
 -p -
x /etc/tcp.smtp.cdb -c 20 -u 502 -g 101 0 smtp /var/qmail/bin/qmail-smtpd
qmaill     259   254  0 08:59 ?        00:00:00 /usr/local/bin/multilog t
/var/l
og/qmail
qmaill     260   256  0 08:59 ?        00:00:00 /usr/local/bin/multilog
qmails   17143   253  0 10:00 ?        00:00:00 qmail-send
root     17159 17143  0 10:00 ?        00:00:00 qmail-lspawn ./Mailbox
qmailr   17160 17143  0 10:00 ?        00:00:00 qmail-rspawn
qmailq   17161 17143  0 10:00 ?        00:00:00 qmail-clean
gast     17326 14412  0 11:05 pts/1    00:00:00 grep qmail





The listing of /var/log/qmail is the following:

@4000000039fec55f04fc7764.s  @4000000039fee4341f37f75c.s  lock
@4000000039fecb6810f214d4.s  @4000000039feea441b8d69d4.s  smtpd
@4000000039fed1711d919674.s  @400000003a01219b231dc8c4.s  state
@4000000039fed82b05612ca4.s  @400000003a01279d11ed513c.s
@4000000039fede300ac86234.s  current


All the data with @ have the following content.

@400000003a0121a20a95fbdc alert: cannot start: unable to read controls
@400000003a0121a31147b6b4 alert: cannot start: unable to read controls
@400000003a0121a416d6ee74 alert: cannot start: unable to read controls
@400000003a0121a51efeab64 alert: cannot start: unable to read controls
@400000003a0121a6258e47dc alert: cannot start: unable to read controls
@400000003a0121a72c1e8094 alert: cannot start: unable to read controls
@400000003a0121a832f0d714 alert: cannot start: unable to read controls
@400000003a0121a939d584e4 alert: cannot start: unable to read controls
@400000003a0121ab04d4985c alert: cannot start: unable to read controls
@400000003a0121ac0b55543c alert: cannot start: unable to read controls
@400000003a0121ad11b03c84 alert: cannot start: unable to read controls
@400000003a0121ae1763b19c alert: cannot start: unable to read controls
@400000003a0121af1f9578dc alert: cannot start: unable to read controls
@400000003a0121b0262382fc alert: cannot start: unable to read controls
@400000003a0121b12c862ba4 alert: cannot start: unable to read controls
@400000003a0121b233ef76ac alert: cannot start: unable to read controls
@400000003a0121b33a6cb404 alert: cannot start: unable to read controls
@400000003a0121b50467d0b4 alert: cannot start: unable to read controls

How could I check that my email  with "echo to: gast |
/var/qmail/bin/qmail-inject "
was sent ?


          Thank you






Hi,

how can I create a file   .qmail.   In different Pages for qmail is 
mentioned that you have to edit the .qmail.  I havn't found such file. 
Where can I find a manpage for dot-qmail, because the manpage isn't install 
on my host.

Regards,
Ruprecht

-----------------------------------------------------------
INTERNOLIX   Standards for Ebusiness
------------------------------------------------------------

INTERNOLIX AG
Ruprecht Helms
System-Engineer

http://www.internolix.com
mail:[EMAIL PROTECTED]
Weiherstr. 20                    Tel: +49-[0]7533-9945-71
78465 Konstanz                   Fax: +49-[0]7533-9945-79





Hi Ruprecht,

> how can I create a file   .qmail.   In different Pages for qmail is 
> mentioned that you have to edit the .qmail.

There are different ways to do this.

the most straightforward way would be an:
echo "<text>" > .qmail

so assuming you want Maildir-delivery you type:
echo "./Maildir/" > .qmail

but you can always use your favorite *nix-editor.

>  I havn't found such file. 
> Where can I find a manpage for dot-qmail, because the manpage isn't 
> install on my host.

The manpages are installed on your host if you followed LWQ or INSTALL.
They are located in /var/qmail/man/ you should add them to your "manpath".

 Ciao,

Cyril Bitterich





Hi,
i have the following problem with qmail-1.03 on redhat 6.2 system:

        when I mail a message (either through the sendmail wrapper or
        by using qmail-inject directly) it is written to the todo
        directory in the queue but qmail-send ignores it, as the todo
        is empty - i tried -ALRM-ing it, but to no avail. when I
        kill it and restart it by csh -cf '/var/qmail/rc &' it delivers
        a message or two and starts sitting idle again, doing nothing
        leaving the other messages in the todo.

any suggestions?

my /var/qmail/control contains the following:

defaultdomain:
orbitel.bg

locals:
muttley.orbitel.bg

me:
muttley.orbitel.bg

plusdomain:
orbitel.bg

rcpthosts:
muttley.orbitel.bg

any help would be appreciated...

-tacho

--
   [i don't follow] | [http://daemonz.org/ || [EMAIL PROTECTED]]
   [everything should be made as simple as possible, but no simpler]
   0x44FC3339 || [02B5 798B 4BD1 97FB F8DB 72E4 DCA4 BE03 44FC 3339]

PGP signature



Reply via email to