qmail Digest 28 Mar 2000 11:00:01 -0000 Issue 954

Topics (messages 39110 through 39165):

Re: Canonical Domains mail Error
        39110 by: Chris Johnson

another users/assign file question
        39111 by: Brad Kanipe

re : qmail / ldap mailing list
        39112 by: Shaun Gibson

/var/qmail/control
        39113 by: Christopher Tarricone
        39135 by: Peter van Dijk

Closing: Running qmail on a 4x Xeon 550MHz system
        39114 by: Andreas Aardal Hanssen
        39115 by: Len Budney
        39117 by: Andreas Aardal Hanssen
        39125 by: Len Budney
        39126 by: Stephen F. Bosch

Problem with sending mail to virtual domain
        39116 by: Irwan Hadi
        39118 by: Chris Johnson
        39120 by: Irwan Hadi
        39122 by: Chris Johnson
        39123 by: Timothy L. Mayo
        39160 by: Irwan Hadi

[[EMAIL PROTECTED]: Local Procmail ("+" feature)]
        39119 by: Ben Beuchler
        39136 by: Peter van Dijk

Re: Qmail-pop3d
        39121 by: Ronny Haryanto

Re: TCPServer and relaying...
        39124 by: Roland Pelzer

Qmail loading down Sun enterprise 450.
        39127 by: Greg Moeller
        39128 by: markd.bushwire.net
        39129 by: H
        39130 by: markd.bushwire.net
        39131 by: H
        39132 by: Jim Arnott
        39134 by: Greg Moeller
        39137 by: Martin Kos
        39138 by: Charles Cazabon
        39139 by: Greg Moeller
        39140 by: markd.bushwire.net
        39141 by: markd.bushwire.net
        39143 by: Greg Moeller
        39144 by: vogelke.c17mis.region2.wpafb.af.mil
        39145 by: markd.bushwire.net
        39148 by: Charles Cazabon
        39150 by: Adam McKenna

Qmail + LDAP problems
        39133 by: blair christensen
        39151 by: Nikolay Borodachev
        39152 by: blair christensen
        39155 by: Nikolay Borodachev
        39156 by: blair christensen
        39158 by: Nikolay Borodachev
        39162 by: Roland Pelzer

Alias of Virtual Domains
        39142 by: Pablo Martínez Schroder

Newbie... Question..
        39146 by: michael M. Honse

So? No answer?? (Was: could it be? A bug?)
        39147 by: Ricardo Cerqueira
        39149 by: cmikk.uswest.net

Next Hop
        39153 by: Ricardo D. Albano
        39154 by: Rick McMillin
        39157 by: Ricardo D. Albano

New install...
        39159 by: Andy Walden
        39161 by: Uwe Ohse

Re: Sendmail help
        39163 by: Yuliy Minchev

qmail-cyrus-authentification
        39164 by: Markus Behr

dot-qmail files in /var/qmail/alias
        39165 by: Marc-Adrian Napoli

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]


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


On Mon, Mar 27, 2000 at 02:34:00PM +0530, System Administrator wrote:
> Hi
> 
> this is to request help on canonical domain names setup for mail.
> 
> i have a client for whom we ahve setup canonical names for their branch
> offices. the problem is that when a mail is send to a canonical doamin
> email id the mail goes and resides into the main pop account of the
> domain. 
> 
> for ex.
> =======
> 1) i have a domain  abc.com
> 2) i have setup four canonical domains i.e. branch1.abc.com,
> branch2.abc.com, branch3.abc.com & branch4.abc.com

Change them to A records. So instead of:

abc.com IN A 1.2.3.4
branch1.abc.com IN CNAME abc.com

do this:

abc.com IN A 1.2.3.4
branch1.abc.com IN A 1.2.3.4

Chris




> I'm using qmail / vpopmail both latest versions.
>
> I've set up my users/assign file to look like this.
>
> +bbb.com-:bbb.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
> +aaa.com-:aaa.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
> .
>
> Basically I want all mail coming in addressed to aaa.com to go to the
> bbb.com domain
>  aaa.com has an MX record pointing to bbb.com
>
> The way I read the man page relating to the assign file was anything
> coming in to aaa.com will be delivered to wherever I tell it the mailbox
> is in the assign file.
>
> when I send to [EMAIL PROTECTED]  it should go to
> /export/home/vpopmail/domains/bbb.com where brad's home mail directory
> exists, but the error message is error:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> and yes I did run qmail-newu after editing the assign file.
>
> Any thoughts?





Hi there

Could somone please tell me the qmail-ldap mailing list subscribe
address as the archives have x'd out the address.
-- 
Shaun Gibson
------------------------------------------------------------------------------------
Associate Unix and NT System Adminstrator              Tel :
+27-11-2667800 ext 8023
Intekom, Midrand, South Africa
-----------------------------------------------------------------------------------




My mail server has several names... There is the name that is in the
HOSTNAME file and there are the names assoaited to it in my DNS.
the hostname is tar-valon.pds2k.com
other names in the dns are...
mail.pds2k.com
www.pds2k.com
ftp.pds2k.com

Should I put the mail.pds2k.com in the  ' me ' & ' locals ' files?


TIA



Christopher Tarricone
PDS, Inc.
E-mail   [EMAIL PROTECTED]
phone    860.450.1737
fax      860.450.1724

  *****
pds2k.com  ...Business Internet Hookability™ with an Attitude...
We Rock the Net!™




On Mon, Mar 27, 2000 at 08:21:52AM +0000, Christopher Tarricone wrote:
> My mail server has several names... There is the name that is in the
> HOSTNAME file and there are the names assoaited to it in my DNS.
> the hostname is tar-valon.pds2k.com
> other names in the dns are...
> mail.pds2k.com
> www.pds2k.com
> ftp.pds2k.com
> 
> Should I put the mail.pds2k.com in the  ' me ' & ' locals ' files?

You forgot to tell us what you're trying to accomplish.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




>> I'm using ReiserFS (which, BTW, is working very well). My
>> mailsystem receives 70'000 mails a day and the throughput
>> is just about twice that. Average mails sent per second
>> varies around 70-170 mails.
> Uhm.. with 86400 seconds to a day, your average throughpout should be
> about 2mails/sec.
> What you are stating here is impossible.

Or a typo, perhaps. Thank you for making a good point in
this discussion. It should be 'per minute', as everyone
else seems to have understood.

-----------
Closing up this discussion:

The problem was: How can I make qmail deliver more mails per
day, how to increase to flow of mails, considering that a
computer has 1.4 in 15-minute uptime load on average mid-day.

Currently the system does actually use our own mail delivery
program (the magic '|' option in dot-qmail). This, ofcouse,
serves our purpose much better than the /Maildir system
or LDAP databases.

It seems I might have solved our problem by removing the
unneccesary qmail-local from the delivery system, so that
qmail-lspawn spawns my delivery program directly.

I also removed some unnessecary fsync()s as they were
slowing down everything very much. It also seems that
Linux's ulimit on processes-per-child has been a problem.
Burst mailing causes serialization because Linux won't
spawn child processes. That too is no problem anymore.

IO is obviously the problem here, not how-to-interpret-that
damn-uptime-load. To everyone making 'points' about typos
and misinterprets: please stick to the question, don't
harass the one posting. All I want is someone's opinion on
a technical problem, not 14-year-olds quarreling.

Thank's for all your postings, especially to Adam McKenna.


Andreas (visit one of the world's larger qmail-based
         mail systems at http://NamePlanet.com). :)


--
Andreas Aardal Hanssen (Live on SMTP)
Software Developer (mailto: [EMAIL PROTECTED])





Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:
>
> ...I also removed some unnessecary fsync()s as they were
> slowing down everything very much...

Be careful; if you mean that you've removed fsync()s from Dan's code,
then you have definitely thrown away reliability in order to gain
throughput. In your application, is it acceptable for emails to be
silently lost under a power failure? Where did you get the idea that
they were "unneccesary"?

BTW you could get the same result--indeed, better results--without
tampering with Dan's code, if you simply add memory and mount a
ramdisk on /var/qmail/queue.

If that revolts you, then you might want to put the fsync()s back.

> ..IO is obviously the problem here, not how-to-interpret-that
> damn-uptime-load...

Correct. But Dan is not stupid; when he accepted the I/O cost, it was
to gain a benefit. Before you refuse the cost, you should be sure you
know what the benefit was--and that it doesn't outweigh the cost.

Len.


--
This has nothing to do with qmail or with trademarks. Someone could
distribute patches for sendmail that relabel it as ``Dan Bernstein's
mailer---yell at [EMAIL PROTECTED] when your system is broken into.''
                                -- Dan Bernstein, author of qmail




>> ...I also removed some unnessecary fsync()s as they were
>> slowing down everything very much...
> Be careful; if you mean that you've removed fsync()s from Dan's code,
> then you have definitely thrown away reliability in order to gain                   
> throughput. In your application, is it acceptable for emails to be
> silently lost under a power failure? Where did you get the idea that
> they were "unneccesary"?
> BTW you could get the same result--indeed, better results--without
> tampering with Dan's code, if you simply add memory and mount a
> ramdisk on /var/qmail/queue.
> If that revolts you, then you might want to put the fsync()s back.
>> ..IO is obviously the problem here, not how-to-interpret-that
>> damn-uptime-load...
> Correct. But Dan is not stupid; when he accepted the I/O cost, it was
> to gain a benefit. Before you refuse the cost, you should be sure you
> know what the benefit was--and that it doesn't outweigh the cost.

Ok firstly,

Who said I removed fsync()s from Dan's code? Please read my
closing and see if I've said that. You see, you're really
taking words out of my mouth.

What I said was that I removed unnessesary fsync()s. From *MY*
code, that is. I used two fsync()s before every close, just to
reassure that we wouldn't get any NFS problems. Now, we aren't
ever going to run NFS, so I removed *one* fsync per file-close
and wrote it as a 'fdatasync'. Our RAID-7 controller is mounted
with write-through cache and so the loss of mails equals ZIP.

First, you complain about my where-did-you-get-that-from removing
of Dan Bernstein's fsync()s, then you advise me to mount my
queue-directory on a *ramdisk*????

That means, if the power dies and the UPS short-circuits, all
the mail in the queue will be lost! 

Andreas




Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:
>
> Who said I removed fsync()s from Dan's code? Please read my
> closing and see if I've said that. You see, you're really
> taking words out of my mouth.

Just FYI, the correct expression is ``putting words into my mouth'',
and I didn't do that. You did notice the ``if'', I trust? All the rest
of my remarks were predicated on the conditional:

> > Be careful; _IF_ you mean that you've removed fsync()s from Dan's
> > code, then you have definitely thrown away reliability in order to
> > gain throughput.

I'm glad you solved your problem.

I am somewhat surprised, though: if you call fsync() twice in a row, I
would think that the second one would not do anything. The kernel
knows that the file has been flushed, and wouldn't bother to do it
again, would it? However, profiling doesn't lie--if you've seen
performance improve, then you've improved performance.  :)

Len.


--
This is one of many serious bugs in the Solaris ucb libraries. Do not
use /usr/ucb/cc. One way to prevent mistakes is to move
/usr/ucbinclude to /usr/ucbinclude-broken.
                                -- Dan Bernstein




>
> First, you complain about my where-did-you-get-that-from removing
> of Dan Bernstein's fsync()s, then you advise me to mount my
> queue-directory on a *ramdisk*????
>
> That means, if the power dies and the UPS short-circuits, all
> the mail in the queue will be lost!

It was a turn of phrase -- he meant that IF you were removing the fsync()
from Dan's code, you might as well put your queue on a RAM disk, since the
results would be the same.

-Stephen-





I was asked to administer a site of a organization, and the homepage of the
organization is already running (Www.site.or.id)
The organization site now is hosted at an ISP.
Now the organization want to have their own server (Server colocation) and
no longer use the ISP space.

The ISP only gave one IP address for the organization, and with that one
IP, I should make a web mail service for about 25 sub domains.

At the server, I use qmail, ucspi, qmailadmin, vpopmail, ezmlm, and other
qmail tools.
Actually I've made a DNS record to add to the ISP's dns record, because we
still not permitted to run our DNS service, although I've setup the DNS,
and only need to enter the record and run ndc start
the DNS record is below (not with real IP)

server   A  192.168.1.1
         MX  10 server
         MX  20 my.isp.mail.service
staff   CNAME  server
         MX  10 server
         MX  20 my.isp.mail.service
sma     CNAME  server
         MX  10 server
         MX  20 my.isp.mail.service
smp     CNAME  server
         MX  10 server
         MX  20 my.isp.mail.service
and so on, until 25 sub domains

But this morning the administrator of the ISP, just added like this
server   A  192.168.1.1
         MX  10 server
         MX  20 my.isp.mail.service
staff   CNAME  server
sma     CNAME  server
smp     CNAME  server

to his server. 
Okay, the site now could be accessed by it's domain name
(http://server.site.or.id), but if someone called joe with his account
[EMAIL PROTECTED] want to send email to me (@iname.com), then I will
received his email, but his return address will be [EMAIL PROTECTED]

If I want to send email to joe, using my ISP SMTP, then after the email
arrived at  server.site.or.id, the email will be bounced back, because the
email when arrived at server.site, would be changed it's to address from
[EMAIL PROTECTED] to [EMAIL PROTECTED]

Now my question is how to fix this ?
Is by adding MX record to the DNS record will solve the problem ?

Beside that, how to use qmail-pop3d to fetch mail from virtualdomain account ?
I run it under tcpserver.


         
-------
AFLHI 058009990407128029/089802---(102598//991024)




On Mon, Mar 27, 2000 at 07:18:48PM -0700, Irwan Hadi wrote:
> I was asked to administer a site of a organization, and the homepage of the
> organization is already running (Www.site.or.id)
> The organization site now is hosted at an ISP.
> Now the organization want to have their own server (Server colocation) and
> no longer use the ISP space.
> 
> The ISP only gave one IP address for the organization, and with that one
> IP, I should make a web mail service for about 25 sub domains.
> 
> At the server, I use qmail, ucspi, qmailadmin, vpopmail, ezmlm, and other
> qmail tools.
> Actually I've made a DNS record to add to the ISP's dns record, because we
> still not permitted to run our DNS service, although I've setup the DNS,
> and only need to enter the record and run ndc start
> the DNS record is below (not with real IP)
> 
> server   A  192.168.1.1
>          MX  10 server
>          MX  20 my.isp.mail.service
> staff   CNAME  server
>          MX  10 server
>          MX  20 my.isp.mail.service

Change it to this:

staff      A 192.168.1.1
           MX  10 server
           MX  20 my.isp.mail.service

Chris




At 09:29 27/03/2000 -0500, Chris Johnson wrote:
>On Mon, Mar 27, 2000 at 07:18:48PM -0700, Irwan Hadi wrote:
>Change it to this:
>
>staff      A 192.168.1.1
>           MX  10 server
>           MX  20 my.isp.mail.service
>
Thanks for your answer, but, is it okay to have multiple A address which
point to the same IP address ?

-------
AFLHI 058009990407128029/089802---(102598//991024)




On Mon, Mar 27, 2000 at 07:38:28PM -0700, Irwan Hadi wrote:
> At 09:29 27/03/2000 -0500, Chris Johnson wrote:
> >On Mon, Mar 27, 2000 at 07:18:48PM -0700, Irwan Hadi wrote:
> >Change it to this:
> >
> >staff      A 192.168.1.1
> >           MX  10 server
> >           MX  20 my.isp.mail.service
> >
> Thanks for your answer, but, is it okay to have multiple A address which
> point to the same IP address ?

It's absolutely okay, and it's required if you want your mail setup to work. It
had better be okay, because you can't stop someone from pointing a name in his
domain at one of your addresses.

Chris




Yes, we do it all the time.

On Mon, 27 Mar 2000, Irwan Hadi wrote:

> At 09:29 27/03/2000 -0500, Chris Johnson wrote:
> >On Mon, Mar 27, 2000 at 07:18:48PM -0700, Irwan Hadi wrote:
> >Change it to this:
> >
> >staff      A 192.168.1.1
> >           MX  10 server
> >           MX  20 my.isp.mail.service
> >
> Thanks for your answer, but, is it okay to have multiple A address which
> point to the same IP address ?
> 
> -------
> AFLHI 058009990407128029/089802---(102598//991024)
> 

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

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





At 10:14 27/03/2000 -0500, Chris Johnson wrote:
>On Mon, Mar 27, 2000 at 07:38:28PM -0700, Irwan Hadi wrote:
>> At 09:29 27/03/2000 -0500, Chris Johnson wrote:
>> >On Mon, Mar 27, 2000 at 07:18:48PM -0700, Irwan Hadi wrote:

>It's absolutely okay, and it's required if you want your mail setup to
work. It
>had better be okay, because you can't stop someone from pointing a name in his
>domain at one of your addresses.

Okay, I am understand ;)
I think CNAME is enough for mail system as for virtual domain with IP
aliassing hosting ;)
Thanks for your support !

>
>Chris

-------
AFLHI 058009990407128029/089802---(102598//991024)




Originally posted to the vchkpw list, thought someone here might know what
he's talking about.

Ben

-- 
"There is no spoon"
        -- The Matrix


Sorry for the offtopic message...

But does anyone know how can i setup qmail to support the
user+something@domain feature of sendmail???

thanks

Nuno Cruz







On Mon, Mar 27, 2000 at 08:36:13AM -0600, Ben Beuchler wrote:
> Originally posted to the vchkpw list, thought someone here might know what
> he's talking about.

Well qmail has this feature with the '-' instead of '+', and IIRC this
is configurable as well.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




On 27-Mar-2000, em9652015 wrote:
> Mar 27 10:55:40 qmail qmail: 954129340.999824 delivery 12: deferral: 
>/bin/sh:_dot-forward:_command_not_found/

There's your answer. Install dot-forward.

        Ronny




>2000-03-24 23:35:41.630688500 tcpserver: ok 24865
>lake.erche.de:195.245.48.3:25
>153.136.hh1.ip.foni.net:212.7.136.153::1373
>
># cat /etc/tcp.smtp
>127.0.0.1:allow,RELAYCLIENT=""
>195.245.48.:allow,RELAYCLIENT=""


Your entry will allow the complete class -c subnet of 195.245.48
(195.245.48.0-195.245.48.255) to relay through your server. Is there
somewhere a typo or wich host will  be  allowed to relay from the mentioned
subnet? This host should be added like the other hosts at the end of your
/etc/tcp.smtp.

- Roland






Good day.
We're running Qmail as a mainline ISP mailserver.
Here's a few stats...
420,000 Email on the server.
27 Gig of disk space used for that Email.
66,000 local mailboxes.
300,000 Email delivered to local users/day.
200,000 Email delivered to remote sites/day.
600,000 POP mail accesses/day.
750 Virtual domains hosted on the server.
17,000 Mapping for those virtual domains.

The box is an Ultra enterprise 450 with dual 330Mhz Ultrasparc II processors 
and an A1000 RAID array.

Now, this poor box during the day is running with a load between 10 and 20
and goes down to around 2 or 3 late at night.

Normally it keeps up pretty good, but when there's heavy spamming it can start 
to get behind with between 10,000 and 20,000 Email in the queue. (there's 
never less than 1000 in the queue, waiting for remote delivery)
The queue has to be cleaned very regularrly as Mailer Daemon email builds up 
in the queue at a rate of over 1000 per day.(all undeliverable)

Now, the question is.  What to do to get the poor box under control.  I don't 
think it's CPU related but more IO problems.

Anyone else running this large a Qmail instalation?

I'm about to call Sun and ask them to make it better, but I'm not sure they'll 
be able to recommend much either.

Greg






You need to tell us additional facts about the server that are relevant to the 
question.

Eg, Is /var/qmail/queue on a separate partition? 

What are the iostats like on each of the spindles?

How are you running qmail-smtpd?

what are your concurrency settings?

What pop server are you using?

Are the 66K mailboxes in user home directories all in /home?

What does qmail-qstat show?


Regards.

On Mon, Mar 27, 2000 at 10:53:27AM -0600, Greg Moeller wrote:
> Good day.
> We're running Qmail as a mainline ISP mailserver.
> Here's a few stats...
> 420,000 Email on the server.
> 27 Gig of disk space used for that Email.
> 66,000 local mailboxes.
> 300,000 Email delivered to local users/day.
> 200,000 Email delivered to remote sites/day.
> 600,000 POP mail accesses/day.
> 750 Virtual domains hosted on the server.
> 17,000 Mapping for those virtual domains.
> 
> The box is an Ultra enterprise 450 with dual 330Mhz Ultrasparc II processors 
> and an A1000 RAID array.
> 
> Now, this poor box during the day is running with a load between 10 and 20
> and goes down to around 2 or 3 late at night.
> 
> Normally it keeps up pretty good, but when there's heavy spamming it can start 
> to get behind with between 10,000 and 20,000 Email in the queue. (there's 
> never less than 1000 in the queue, waiting for remote delivery)
> The queue has to be cleaned very regularrly as Mailer Daemon email builds up 
> in the queue at a rate of over 1000 per day.(all undeliverable)
> 
> Now, the question is.  What to do to get the poor box under control.  I don't 
> think it's CPU related but more IO problems.
> 
> Anyone else running this large a Qmail instalation?
> 
> I'm about to call Sun and ask them to make it better, but I'm not sure they'll 
> be able to recommend much either.
> 
> Greg
> 
> 




I'm averaging 120,000+ emails (mostly mailing lists) a day on just an
Ultra 10 333Mhz, 512MB Ram, and IDE HD's, and it rarely shows more than
1-2% utilization, so, I'm not sure that helps, but maybe it gives you
some reference point to go on. It certainly seems your setup should be
running far lower on utilization.  Are you running it in inetd? or
tcpserver? (etc).
-Hawke

Greg Moeller wrote:
> 
> Good day.
> We're running Qmail as a mainline ISP mailserver.
> Here's a few stats...
> 420,000 Email on the server.
> 27 Gig of disk space used for that Email.
> 66,000 local mailboxes.
> 300,000 Email delivered to local users/day.
> 200,000 Email delivered to remote sites/day.
> 600,000 POP mail accesses/day.
> 750 Virtual domains hosted on the server.
> 17,000 Mapping for those virtual domains.
> 
> The box is an Ultra enterprise 450 with dual 330Mhz Ultrasparc II processors
> and an A1000 RAID array.
> 
> Now, this poor box during the day is running with a load between 10 and 20
> and goes down to around 2 or 3 late at night.
> 
> Normally it keeps up pretty good, but when there's heavy spamming it can start
> to get behind with between 10,000 and 20,000 Email in the queue. (there's
> never less than 1000 in the queue, waiting for remote delivery)
> The queue has to be cleaned very regularrly as Mailer Daemon email builds up
> in the queue at a rate of over 1000 per day.(all undeliverable)
> 
> Now, the question is.  What to do to get the poor box under control.  I don't
> think it's CPU related but more IO problems.
> 
> Anyone else running this large a Qmail instalation?
> 
> I'm about to call Sun and ask them to make it better, but I'm not sure they'll
> be able to recommend much either.
> 
> Greg

-- 
-Hawke
eSystems Architect
for Franklin Covey E-solutions.
Independent Java Developer, Webmaster,
Photographer, & Multimedia designer.

The statements included are solely based on my own opinion, 
and in no way reflects any position or approval by my employer.




On Mon, Mar 27, 2000 at 10:14:15AM -0700, H wrote:
> I'm averaging 120,000+ emails (mostly mailing lists) a day on just an
> Ultra 10 333Mhz, 512MB Ram, and IDE HD's, and it rarely shows more than
> 1-2% utilization, so, I'm not sure that helps, but maybe it gives you
> some reference point to go on. It certainly seems your setup should be
> running far lower on utilization.  Are you running it in inetd? or
> tcpserver? (etc).

One thing to note is that inbound mail typically consumes a *lot* more system
resources than outbound, especially if the outbound is mailing lists managed
by something qmail-friendly, like ezmlm.

Regards.

> -Hawke
> 
> Greg Moeller wrote:
> > 
> > Good day.
> > We're running Qmail as a mainline ISP mailserver.
> > Here's a few stats...
> > 420,000 Email on the server.
> > 27 Gig of disk space used for that Email.
> > 66,000 local mailboxes.
> > 300,000 Email delivered to local users/day.
> > 200,000 Email delivered to remote sites/day.
> > 600,000 POP mail accesses/day.
> > 750 Virtual domains hosted on the server.
> > 17,000 Mapping for those virtual domains.
> > 
> > The box is an Ultra enterprise 450 with dual 330Mhz Ultrasparc II processors
> > and an A1000 RAID array.
> > 
> > Now, this poor box during the day is running with a load between 10 and 20




Very true, and it is.
-Hawke

[EMAIL PROTECTED] wrote:
> 
> On Mon, Mar 27, 2000 at 10:14:15AM -0700, H wrote:
> > I'm averaging 120,000+ emails (mostly mailing lists) a day on just an
> > Ultra 10 333Mhz, 512MB Ram, and IDE HD's, and it rarely shows more than
> > 1-2% utilization, so, I'm not sure that helps, but maybe it gives you
> > some reference point to go on. It certainly seems your setup should be
> > running far lower on utilization.  Are you running it in inetd? or
> > tcpserver? (etc).
> 
> One thing to note is that inbound mail typically consumes a *lot* more system
> resources than outbound, especially if the outbound is mailing lists managed
> by something qmail-friendly, like ezmlm.
> 
> Regards.
> 
> > -Hawke
> >
> > Greg Moeller wrote:
> > >
> > > Good day.
> > > We're running Qmail as a mainline ISP mailserver.
> > > Here's a few stats...
> > > 420,000 Email on the server.
> > > 27 Gig of disk space used for that Email.
> > > 66,000 local mailboxes.
> > > 300,000 Email delivered to local users/day.
> > > 200,000 Email delivered to remote sites/day.
> > > 600,000 POP mail accesses/day.
> > > 750 Virtual domains hosted on the server.
> > > 17,000 Mapping for those virtual domains.
> > >
> > > The box is an Ultra enterprise 450 with dual 330Mhz Ultrasparc II processors
> > > and an A1000 RAID array.
> > >
> > > Now, this poor box during the day is running with a load between 10 and 20

-- 
-Hawke
eSystems Architect
for Franklin Covey E-solutions.
Independent Java Developer, Webmaster,
Photographer, & Multimedia designer.

The statements included are solely based on my own opinion, 
and in no way reflects any position or approval by my employer.





How much cache ram on that RAID array. 256MB would be a good start.

-jim








> You need to tell us additional facts about the server that are relevant to the 
>question.
> 
> Eg, Is /var/qmail/queue on a separate partition? 
Yes, it is.
/dev/dsk/c2t5d1s6    8404669 5654879 2665744    68%    /var/qmail
/dev/dsk/c2t5d0s6    43080643 21556631 21093206    51%    /mailhome

> 
> What are the iostats like on each of the spindles?
# iostat 10
      tty          sd0           sd6          sd20          sd65          cpu
 tin tout kps tps serv  kps tps serv  kps tps  serv  kps tps  serv  us sy wt id
   0   24 182  12   33    0   0    0  2440 302    5  1619 252    2  38 36 22  4
   0    8  61   5  113    0   0    0  1061 156   30  1894 308    3  40 42 11  7
   0    8 148  18   24    0   0    0  594  98     9  1512 261    2  47 41  8  4
   0    8 137   9   28    0   0    0  527  93     6  1528 265    1  49 42  3  6
   0    8  97  12   21    0   0    0  2529 335    5  2386 397    2  35 47 17  2
   0    8  31   3   93    0   0    0  1049 160   35  2194 381    2  36 43 10 11
sd65 is /var/qmail
df20 is /mailhome
> 
> How are you running qmail-smtpd?
It's running from tcpserver.
/usr/local/bin/tcpserver -x/etc/smtp.rules.cdb -H -R -c300 -u 60004 -g 65535 0 smtp 
/var/qmail/bin/qmail-smtpd &
> 
> what are your concurrency settings?
Local is 50, remote is 100.

> 
> What pop server are you using?
Qmail's, with the qpopbulletin patches.
/usr/local/bin/tcpserver -H -R -c400 0 pop3 /var/qmail/bin/qmail-popup total.net 
/bin/checkpassword /var/qmail/bin/qmail-popbull /etc/qpopbull 
/var/qmail/bin/qmail-pop3d Maildir &
> 
> Are the 66K mailboxes in user home directories all in /home?
No, it's split up into the first letter of the user ID.
gkmtrp:x:70908:1:Gregs trip email:/mailhome/g/gkmtrp:/bin/ftponly
> 
> What does qmail-qstat show?
> 
# /var/qmail/bin/qmail-qstat
messages in queue: 3602
messages in queue but not yet preprocessed: 0

That about covers it.  There were 2500 in the queue when I sent the original 
Email (at 10:53, it's now 11:25)

Greg






On Mon, 27 Mar 2000, Greg Moeller wrote:

> We're running Qmail as a mainline ISP mailserver.
hmmmm...  i only know qmail ..  is Qmail a new version ? *loL*
                     ^^^
-KoS

-- 
        http://www.kos.li/              [EMAIL PROTECTED]                  
                                Say NO to HTML in mail and news
                                









What other patches are you running?  In particular, big-todo?

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




> What other patches are you running?  In particular, big-todo?
> 
> Charles
> -- 
I don't understand.
Solaris patches, or qmail patches?

As for qmail, I'm running it pretty much vanilla, no patches at all.

Greg






On Mon, Mar 27, 2000 at 11:25:34AM -0600, Greg Moeller wrote:
> > You need to tell us additional facts about the server that are relevant to the 
>question.
> > 
> > Eg, Is /var/qmail/queue on a separate partition? 
> Yes, it is.
> /dev/dsk/c2t5d1s6    8404669 5654879 2665744    68%    /var/qmail

Hmm. 2Gig of /var/qmail, that seems quite large, even for 3,000 queue entries. Btw,
3000 queue entries is not necessarily a problem. That's about 100K per mail message,
which is very large indeed. Is there something else significant on that partition?


> /dev/dsk/c2t5d0s6    43080643 21556631 21093206    51%    /mailhome
> 
> > 
> > What are the iostats like on each of the spindles?
> # iostat 10
>       tty          sd0           sd6          sd20          sd65          cpu
>  tin tout kps tps serv  kps tps serv  kps tps  serv  kps tps  serv  us sy wt id
>    0   24 182  12   33    0   0    0  2440 302    5  1619 252    2  38 36 22  4
>    0    8  61   5  113    0   0    0  1061 156   30  1894 308    3  40 42 11  7
>    0    8 148  18   24    0   0    0  594  98     9  1512 261    2  47 41  8  4
>    0    8 137   9   28    0   0    0  527  93     6  1528 265    1  49 42  3  6
>    0    8  97  12   21    0   0    0  2529 335    5  2386 397    2  35 47 17  2
>    0    8  31   3   93    0   0    0  1049 160   35  2194 381    2  36 43 10 11
> sd65 is /var/qmail
> df20 is /mailhome


Looks like both disks are getting pummelled into the ground. 200+ tps is a lot!

> > How are you running qmail-smtpd?
> It's running from tcpserver.
> /usr/local/bin/tcpserver -x/etc/smtp.rules.cdb -H -R -c300 -u 60004 -g 65535 0 smtp 
>/var/qmail/bin/qmail-smtpd &
> > 
> > what are your concurrency settings?
> Local is 50, remote is 100.

So you can have upto 350 processes trying to do i/o to the queue. That seems
high to me. You might want to a separate instance of qmail handling inbound smtp
and outbound smtp. That way you can control the concurrency better.

> > What does qmail-qstat show?
> > 
> # /var/qmail/bin/qmail-qstat
> messages in queue: 3602
> messages in queue but not yet preprocessed: 0

That's good. big todo wont do much for you. It may simply be that you're trying to run
too much concurrency for a single spindle. How may of each time of qmail process do you
have?

ps -ef | grep qmail-|awk '{print $9}' | sort | uniq -c | sort -nr

> 
> That about covers it.  There were 2500 in the queue when I sent the original 
> Email (at 10:53, it's now 11:25)

How many were remote and how many were local?


Regards.




I don't think bigtodo is going to help much given that his todo is empty - at least
in the one sample we have.


On Mon, Mar 27, 2000 at 11:48:46AM -0600, Greg Moeller wrote:
> > What other patches are you running?  In particular, big-todo?
> > 
> > Charles
> > -- 
> I don't understand.
> Solaris patches, or qmail patches?
> 
> As for qmail, I'm running it pretty much vanilla, no patches at all.
> 
> Greg
> 
> 





> 

> which is very large indeed. Is there something else significant on that partition?
The queue itself is taking 512Meg of space.  The other thing there is a huge 
log of pop accesses I was using to work out stats of how many pops per day.
> 
> So you can have upto 350 processes trying to do i/o to the queue. That seems
> high to me. You might want to a separate instance of qmail handling inbound smtp
> and outbound smtp. That way you can control the concurrency better.
How would one split it apart?  I suppose we could have the clients connect to 
one IP/host for their mail, but anything coming into the MX for the box 
eventually has to show up on this box anyway.
> 
> > > What does qmail-qstat show?
> > > 
> > # /var/qmail/bin/qmail-qstat
> > messages in queue: 3602
> > messages in queue but not yet preprocessed: 0
> 
> That's good. big todo wont do much for you. It may simply be that you're trying to 
>run
> too much concurrency for a single spindle. How may of each time of qmail process do 
>you
> have?
> 
> ps -ef | grep qmail-|awk '{print $9}' | sort | uniq -c | sort -nr
 223
 154 total.net
 100 Maildir
  38 /var/qmail/bin/qmail-popbull
   8 airfrance.fr
   4 istar.ca
   4 airmauritius.intnet.mu
   3 jetequipment.com
   2 videotron.net
   2 pal.com.ph
   2 netcom.ca
   2 mail.e-centives.com
   2 infonet.by
   2 hydro.qc.ca
   2 hotmail.com
   2 dlh.de
   2 csst.qc.ca
   2 comair.co.za
   2 aom-minerve.fr
   2 aerolineas.com.ar
   1 yemenia.com.ye    
It goes on from there for some time...
> 
> 
> How many were remote and how many were local?
Is there an option in qstat to determine remote and local?
I'm pretty sure it's all remote, and probably all Mailerdaemon.
# /var/qmail/bin/qmail-qstat
messages in queue: 4578
messages in queue but not yet preprocessed: 0
> 
> 
> Regards.

Greg






>> On Mon, 27 Mar 2000 10:53:27 -0600, 
>> Greg Moeller <[EMAIL PROTECTED]> said:

G> Normally it keeps up pretty good, but when there's heavy spamming it can
G> start to get behind with between 10,000 and 20,000 Email in the queue.

   If spamming is the main problem, have you looked into tarpitting?

   Date: Thu, 11 Feb 1999 10:32:36 -0500
   To: [EMAIL PROTECTED]
   Subject: Tarpitting
   Message-ID: <[EMAIL PROTECTED]>
   From: Chris Johnson <[EMAIL PROTECTED]>

   There was some discussion a while back about tarpitting.  If you don't
   know what that is (I didn't when it first came up), it's the process
   of inserting a small sleep in an SMTP session for each RCPT TO after
   some set number of RCPT TOs.  The idea is to thwart spammers who would
   hand your SMTP server a single message with a long list of RCPT TOs.
   [...]

   See http://www.palomine.net/qmail/tarpit.patch.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]




I think the other thing is that his smtp concurrency via tcpserver is serving
a dual purpose in that it's providing enough concurrency for his internal people
as well as for MX traffic. That means it has to be set fairly high so that his
internal people always get a connection.

I'd be inclined to put the MX on a separate (multi-homed) address running a separate
instance of tcpserver which has a *much* lower concurrency than 300 and have the 
original
tcpserver concurrency set to something lower to match the internal requirements.

Other possibilities are to lower the concurrencylocal on an instance of qmail that
handles MX traffic so that even if a spammer gets thru the delivery is distributed
across greater time.


Regards.

On Mon, Mar 27, 2000 at 01:22:12PM -0500, [EMAIL PROTECTED] wrote:
> >> On Mon, 27 Mar 2000 10:53:27 -0600, 
> >> Greg Moeller <[EMAIL PROTECTED]> said:
> 
> G> Normally it keeps up pretty good, but when there's heavy spamming it can
> G> start to get behind with between 10,000 and 20,000 Email in the queue.
> 
>    If spamming is the main problem, have you looked into tarpitting?
> 
>    Date: Thu, 11 Feb 1999 10:32:36 -0500
>    To: [EMAIL PROTECTED]
>    Subject: Tarpitting
>    Message-ID: <[EMAIL PROTECTED]>
>    From: Chris Johnson <[EMAIL PROTECTED]>
> 
>    There was some discussion a while back about tarpitting.  If you don't
>    know what that is (I didn't when it first came up), it's the process
>    of inserting a small sleep in an SMTP session for each RCPT TO after
>    some set number of RCPT TOs.  The idea is to thwart spammers who would
>    hand your SMTP server a single message with a long list of RCPT TOs.
>    [...]
> 
>    See http://www.palomine.net/qmail/tarpit.patch.
> 
> -- 
> Karl Vogel
> ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
> [EMAIL PROTECTED]  or  [EMAIL PROTECTED]




Greg Moeller <[EMAIL PROTECTED]> wrote:
> Charles Cazabon wrote:
> > What other patches are you running?  In particular, big-todo?

> I don't understand.
> Solaris patches, or qmail patches?
> 
> As for qmail, I'm running it pretty much vanilla, no patches at all.

Yes, I meant qmail patches.  big-todo is a patch by Russell Nelson,
updated by others:
http://www.qmail.org/big-todo.103.patch

It can increase qmail's performance by an enormous amount if there are
large numbers of messages injected into the queue but qmail hasn't yet
preprocessed them.

There's also a note on the www.qmail.org page about changing conf-split
and recompiling if your queue will ever get above 23k messages or so.

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




What are you using for logging?  cyclog or syslog?

If you're not currently using cyclog, you might want to strongly consider
switching to it.

--Adam




Hello,
I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
box.

The patch applies cleanly to the source, and I'm able to compile qmail
successfully.  However, when I try to start qmail, I get:

bash-2.02# /var/qmail/rc
alert: cannot start: hath the daemon spawn no fire?

bash-2.02# cat /var/qmail/rc
#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages
by default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"

bash-2.02# cat /var/qmail/control/defaultdelivery
./Maildir

bash-2.02# truss /var/qmail/rc
execve("/var/qmail/rc", 0xEFFFFD10, 0xEFFFFD18)  argc = 2
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0xEF7B0000
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFF8A4)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF7A0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF680000
munmap(0xEF714000, 57344)                       = 0
mmap(0xEF722000, 28432, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 598016) = 0xEF722000
mmap(0xEF72A000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF72A000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFF8A4)                            = 0
mmap(0xEF7A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4,
0) = 0xEF7A0000
close(4)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF684)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF790000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF780000
close(4)                                        = 0
close(3)                                        = 0
munmap(0xEF790000, 8192)                        = 0
getpid()                                        = 9915 [9914]
getpgid(9915)                                   = 9914
getsid(9915)                                    = 338
brk(0x000384B8)                                 = 0
sysconfig(_CONFIG_SIGRT_MIN)                    = 38
sysconfig(_CONFIG_SIGRT_MAX)                    = 45
sigaltstack(0xEFFFFC04, 0x00000000)             = 0
sigaction(SIGHUP, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGHUP, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGINT, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGINT, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGQUIT, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGQUIT, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGILL, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGILL, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGTRAP, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGTRAP, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGABRT, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGABRT, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGEMT, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGEMT, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGFPE, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGFPE, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGBUS, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGBUS, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGSEGV, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGSYS, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGSYS, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGPIPE, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGPIPE, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGALRM, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGALRM, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGTERM, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGTERM, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGUSR1, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGUSR1, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGUSR2, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGUSR2, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGPWR, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGPWR, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGURG, 0x00000000, 0xEFFFFB80)       = 0
sigaction(SIGURG, 0xEFFFFAE0, 0xEFFFFB60)       = 0
sigaction(SIGPOLL, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGPOLL, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGVTALRM, 0x00000000, 0xEFFFFB80)    = 0
sigaction(SIGVTALRM, 0xEFFFFAE0, 0xEFFFFB60)    = 0
sigaction(SIGPROF, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGPROF, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGXCPU, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGXCPU, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGXFSZ, 0x00000000, 0xEFFFFB80)      = 0
sigaction(SIGXFSZ, 0xEFFFFAE0, 0xEFFFFB60)      = 0
sigaction(SIGRTMIN, 0xEFFFFAE0, 0xEFFFFB60)     = 0
sigaction(SIGRTMIN+1, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMIN+2, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMIN+3, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMAX-3, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMAX-2, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMAX-1, 0xEFFFFAE0, 0xEFFFFB60)   = 0
sigaction(SIGRTMAX, 0xEFFFFAE0, 0xEFFFFB60)     = 0
brk(0x000386B8)                                 = 0
getuid()                                        = 0 [0]
getuid()                                        = 0 [0]
getgid()                                        = 1 [1]
getgid()                                        = 1 [1]
open64("/var/qmail/rc", O_RDONLY)               = 3
close(19)                                       Err#9 EBADF
fcntl(3, F_DUPFD, 0x00000013)                   = 19
close(3)                                        = 0
fcntl(19, F_SETFD, 0x00000001)                  = 0
ioctl(2, TCGETA, 0xEFFFFB2C)                    = 0
ioctl(19, TCGETA, 0xEFFFFB2C)                   Err#25 ENOTTY
read(19, " # ! / b i n / s h\n\n #".., 128)     = 128
brk(0x000389B8)                                 = 0
brk(0x000387B8)                                 = 0
read(19, " -   P A T H = " / v a r".., 128)     = 87
brk(0x00038BB8)                                 = 0
brk(0x000390B8)                                 = 0
getuid()                                        = 0 [0]
stat64("/bin/cat", 0xEFFFF520)                  = 0
access("/bin/cat", 9)                           = 0
pipe()                                          = 3 [4]
fork()                                          = 9916
close(4)                                        = 0
read(3, " . / M a i l d i r\n", 128)            = 10
read(3, 0xEFFFF8B0, 128)                        = 0
ioctl(3, TCGETA, 0xEFFFF794)                    Err#22 EINVAL
close(3)                                        = 0
waitid(P_PID, 9916, 0xEFFFF790, WEXITED|WTRAPPED) = 0
execve("/bin/env", 0x0003899C, 0x00038A74)  argc = 5
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0xEF7B0000
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFF7BC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF7A0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF680000
munmap(0xEF714000, 57344)                       = 0
mmap(0xEF722000, 28432, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 598016) = 0xEF722000
mmap(0xEF72A000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF72A000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFF7BC)                            = 0
mmap(0xEF7A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4,
0) = 0xEF7A0000
close(4)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF59C)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF790000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF780000
close(4)                                        = 0
close(3)                                        = 0
munmap(0xEF790000, 8192)                        = 0
brk(0x00021058)                                 = 0
brk(0x00023058)                                 = 0
execve("/var/qmail/bin/qmail-start", 0xEFFFFC2C, 0x00021068)  argc = 2
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0xEF7B0000
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFF9EC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF7A0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF680000
munmap(0xEF714000, 57344)                       = 0
mmap(0xEF722000, 28432, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 598016) = 0xEF722000
mmap(0xEF72A000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF72A000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFF9EC)                            = 0
mmap(0xEF7A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4,
0) = 0xEF7A0000
close(4)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF7CC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF790000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF780000
close(4)                                        = 0
close(3)                                        = 0
munmap(0xEF790000, 8192)                        = 0
chdir("/")                                      = 0
umask(077)                                      = 022
setgroups(1, 0xEFFFFDC4)                        = 0
setgid(602)                                     = 0
fcntl(0, F_GETFL, 0x00000000)                   = 2
fstat64(0, 0xEFFFFC08)                          = 0
close(2)                                        = 0
fcntl(0, F_DUPFD, 0x00000002)                   = 2
fcntl(0, F_GETFL, 0x00000000)                   = 2
fstat64(0, 0xEFFFFC08)                          = 0
close(3)                                        Err#9 EBADF
fcntl(0, F_DUPFD, 0x00000003)                   = 3
fcntl(0, F_GETFL, 0x00000000)                   = 2
fstat64(0, 0xEFFFFC08)                          = 0
close(4)                                        Err#9 EBADF
fcntl(0, F_DUPFD, 0x00000004)                   = 4
fcntl(0, F_GETFL, 0x00000000)                   = 2
fstat64(0, 0xEFFFFC08)                          = 0
close(5)                                        Err#9 EBADF
fcntl(0, F_DUPFD, 0x00000005)                   = 5
fcntl(0, F_GETFL, 0x00000000)                   = 2
fstat64(0, 0xEFFFFC08)                          = 0
close(6)                                        Err#9 EBADF
fcntl(0, F_DUPFD, 0x00000006)                   = 6
pipe()                                          = 7 [8]
pipe()                                          = 9 [10]
pipe()                                          = 11 [12]
pipe()                                          = 13 [14]
pipe()                                          = 15 [16]
pipe()                                          = 17 [18]
fork()                                          = 9920
fork()                                          = 9921
fork()                                          = 9923
setuid(111)                                     = 0
fcntl(1, F_GETFL, 0x00000000)                   = 2
fstat64(1, 0xEFFFFC08)                          = 0
close(0)                                        = 0
fcntl(1, F_DUPFD, 0x00000000)                   = 0
fcntl(8, F_GETFL, 0x00000000)                   = 2
fstat64(8, 0xEFFFFC08)                          = 0
close(1)                                        = 0
fcntl(8, F_DUPFD, 0x00000001)                   = 1
fcntl(9, F_GETFL, 0x00000000)                   = 2
fstat64(9, 0xEFFFFC08)                          = 0
close(2)                                        = 0
fcntl(9, F_DUPFD, 0x00000002)                   = 2
fcntl(12, F_GETFL, 0x00000000)                  = 2
fstat64(12, 0xEFFFFC08)                         = 0
close(3)                                        = 0
fcntl(12, F_DUPFD, 0x00000003)                  = 3
fcntl(13, F_GETFL, 0x00000000)                  = 2
fstat64(13, 0xEFFFFC08)                         = 0
close(4)                                        = 0
fcntl(13, F_DUPFD, 0x00000004)                  = 4
fcntl(16, F_GETFL, 0x00000000)                  = 2
fstat64(16, 0xEFFFFC08)                         = 0
close(5)                                        = 0
fcntl(16, F_DUPFD, 0x00000005)                  = 5
fcntl(17, F_GETFL, 0x00000000)                  = 2
fstat64(17, 0xEFFFFC08)                         = 0
close(6)                                        = 0
fcntl(17, F_DUPFD, 0x00000006)                  = 6
close(7)                                        = 0
close(8)                                        = 0
close(9)                                        = 0
close(10)                                       = 0
close(11)                                       = 0
close(12)                                       = 0
close(13)                                       = 0
close(14)                                       = 0
close(15)                                       = 0
close(16)                                       = 0
close(17)                                       = 0
close(18)                                       = 0
execve("/var/qmail/bin/qmail-send", 0x00022578, 0xEFFFFE60)  argc = 1
    *** SUID: ruid/euid/suid = 111 / 111 / 111  ***
    *** SGID: rgid/egid/sgid = 602 / 602 / 602  ***
open("/dev/zero", O_RDONLY)                     = 7
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 7,
0) = 0xEF7B0000
open("/usr/lib/libc.so.1", O_RDONLY)            = 8
fstat(8, 0xEFFFF9FC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0xEF7A0000
mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0xEF680000
munmap(0xEF714000, 57344)                       = 0
mmap(0xEF722000, 28432, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 8, 598016) = 0xEF722000
mmap(0xEF72A000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 7, 0) = 0xEF72A000
close(8)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 8
fstat(8, 0xEFFFF9FC)                            = 0
mmap(0xEF7A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 8,
0) = 0xEF7A0000
close(8)                                        = 0
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 8
fstat(8, 0xEFFFF7DC)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0xEF790000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0xEF780000
close(8)                                        = 0
close(7)                                        = 0
munmap(0xEF790000, 8192)                        = 0
chdir("/var/qmail")                             = 0
open("control/me", O_RDONLY|O_NDELAY)           = 7
read(7, " d b . b s d . u c h i c".., 64)       = 20
close(7)                                        = 0
open("control/queuelifetime", O_RDONLY|O_NDELAY) Err#2 ENOENT
open("control/concurrencylocal", O_RDONLY|O_NDELAY) Err#2 ENOENT
open("control/concurrencyremote", O_RDONLY|O_NDELAY) = 7
read(7, " 2 0\n", 64)                           = 3
close(7)                                        = 0
open("control/envnoathost", O_RDONLY|O_NDELAY)  Err#2 ENOENT
open("control/bouncefrom", O_RDONLY|O_NDELAY)   Err#2 ENOENT
open("control/bouncehost", O_RDONLY|O_NDELAY)   Err#2 ENOENT
open("control/doublebouncehost", O_RDONLY|O_NDELAY) Err#2 ENOENT
open("control/doublebounceto", O_RDONLY|O_NDELAY) Err#2 ENOENT
open("control/custombouncetext", O_RDONLY|O_NDELAY) Err#2 ENOENT
open("control/locals", O_RDONLY|O_NDELAY)       = 7
read(7, " l o c a l h o s t\n d b".., 64)       = 30
read(7, 0x0002D5E1, 64)                         = 0
close(7)                                        = 0
open("control/percenthack", O_RDONLY|O_NDELAY)  Err#2 ENOENT
open("control/virtualdomains", O_RDONLY|O_NDELAY) Err#2 ENOENT
chdir("queue")                                  = 0
sigaction(SIGPIPE, 0xEFFFFB58, 0x00000000)      = 0
sigaction(SIGTERM, 0xEFFFFB58, 0x00000000)      = 0
sigaction(SIGALRM, 0xEFFFFB58, 0x00000000)      = 0
sigaction(SIGHUP, 0xEFFFFB58, 0x00000000)       = 0
sigaction(SIGCLD, 0xEFFFFB58, 0x00000000)       = 0
umask(077)                                      = 077
open("lock/sendmutex", O_WRONLY|O_NDELAY)       = 7
fcntl(7, F_SETLK, 0xEFFFFBE4)                   = 0
read(2, 0xEFFFFCE7, 1)                          = 0
alert: cannot start: hath the daemon spawn no fire?
write(0, " a l e r t :   c a n n o".., 52)      = 52
_exit(111)


Now, I believe I have all of the ldap entries in /var/qmail/control
entered correctly, but at this point, I'm not exactly sure where the
problem lies.  Any hints at what I should be trying?

thanks,
blair christensen





Do you have ldap related control files? AFAIR, control/ldapserver must
exist. 

On Mon, 27 Mar 2000, blair christensen wrote:

> Hello,
> I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> box.
> 
> The patch applies cleanly to the source, and I'm able to compile qmail
> successfully.  However, when I try to start qmail, I get:
> 
> bash-2.02# /var/qmail/rc
> alert: cannot start: hath the daemon spawn no fire?

------------------
Nikolay Borodachev






Yeah, I do have those.  I added the ones mentioned in the QLDAPINSTALL
file, one of which is 'ldapserver'.  Is there a minimum set that is
needed?  Right now I have them all defined;  could it be that one of
the non-required files is causing this?  

grasping at straws,
blair

On Mon, Mar 27, 2000 at 03:43:21PM -0600, Nikolay Borodachev wrote:
> 
> Do you have ldap related control files? AFAIR, control/ldapserver must
> exist. 
> 
> On Mon, 27 Mar 2000, blair christensen wrote:
> 
> > Hello,
> > I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> > on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> > box.
> > 
> > The patch applies cleanly to the source, and I'm able to compile qmail
> > successfully.  However, when I try to start qmail, I get:
> > 
> > bash-2.02# /var/qmail/rc
> > alert: cannot start: hath the daemon spawn no fire?
> 
> ------------------
> Nikolay Borodachev




 
Do you have a user name and password set up in qmail control files to
access LDAP server? That user must have rights to read LDAP directory. Try
to query LDAP server using that username and password.

On Mon, 27 Mar 2000, blair christensen wrote:

> Yeah, I do have those.  I added the ones mentioned in the QLDAPINSTALL
> file, one of which is 'ldapserver'.  Is there a minimum set that is
> needed?  Right now I have them all defined;  could it be that one of
> the non-required files is causing this?  
> 
> grasping at straws,
> blair
> 
> On Mon, Mar 27, 2000 at 03:43:21PM -0600, Nikolay Borodachev wrote:
> > 
> > Do you have ldap related control files? AFAIR, control/ldapserver must
> > exist. 
> > 
> > On Mon, 27 Mar 2000, blair christensen wrote:
> > 
> > > Hello,
> > > I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> > > on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> > > box.
> > > 
> > > The patch applies cleanly to the source, and I'm able to compile qmail
> > > successfully.  However, when I try to start qmail, I get:
> > > 
> > > bash-2.02# /var/qmail/rc
> > > alert: cannot start: hath the daemon spawn no fire?
> > 
> > ------------------
> > Nikolay Borodachev
> 

------------------
Nikolay Borodachev





For the username and password, what I would like to do, at least for
now, is to just perform an anonymous bind.  How do I represent that in
the control files? 

However, I have also tried using a username/password with which I can
successfully perform an ldapsearch against the db.  qmail still
doesn't launch successfully, however, when given this information.

thanks,
blair 

On Mon, Mar 27, 2000 at 04:39:39PM -0600, Nikolay Borodachev wrote:
>  
> Do you have a user name and password set up in qmail control files to
> access LDAP server? That user must have rights to read LDAP directory. Try
> to query LDAP server using that username and password.
> 
> On Mon, 27 Mar 2000, blair christensen wrote:
> 
> > Yeah, I do have those.  I added the ones mentioned in the QLDAPINSTALL
> > file, one of which is 'ldapserver'.  Is there a minimum set that is
> > needed?  Right now I have them all defined;  could it be that one of
> > the non-required files is causing this?  
> > 
> > grasping at straws,
> > blair
> > 
> > On Mon, Mar 27, 2000 at 03:43:21PM -0600, Nikolay Borodachev wrote:
> > > 
> > > Do you have ldap related control files? AFAIR, control/ldapserver must
> > > exist. 
> > > 
> > > On Mon, 27 Mar 2000, blair christensen wrote:
> > > 
> > > > Hello,
> > > > I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> > > > on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> > > > box.
> > > > 
> > > > The patch applies cleanly to the source, and I'm able to compile qmail
> > > > successfully.  However, when I try to start qmail, I get:
> > > > 
> > > > bash-2.02# /var/qmail/rc
> > > > alert: cannot start: hath the daemon spawn no fire?
> > > 
> > > ------------------
> > > Nikolay Borodachev
> > 
> 
> ------------------
> Nikolay Borodachev

-- 
http://www.devclue.com/gnupg for public key.

buggy software writes itself





I've just checked my qmail-ldap settings and found no username password
there :-). However, when I removed control/ldapserver qmail refused
to start saying "cannot start: hath the daemon spawn no fire?". Everything 
went back to normal when I put control/ldapserver to its place.

So, I don't really know but the problem seems to depend on existence of
that file.  

On Mon, 27 Mar 2000, blair christensen wrote:

> For the username and password, what I would like to do, at least for
> now, is to just perform an anonymous bind.  How do I represent that in
> the control files? 
> 
> However, I have also tried using a username/password with which I can
> successfully perform an ldapsearch against the db.  qmail still
> doesn't launch successfully, however, when given this information.
> 
> thanks,
> blair 
> 
> On Mon, Mar 27, 2000 at 04:39:39PM -0600, Nikolay Borodachev wrote:
> >  
> > Do you have a user name and password set up in qmail control files to
> > access LDAP server? That user must have rights to read LDAP directory. Try
> > to query LDAP server using that username and password.
> > 
> > On Mon, 27 Mar 2000, blair christensen wrote:
> > 
> > > Yeah, I do have those.  I added the ones mentioned in the QLDAPINSTALL
> > > file, one of which is 'ldapserver'.  Is there a minimum set that is
> > > needed?  Right now I have them all defined;  could it be that one of
> > > the non-required files is causing this?  
> > > 
> > > grasping at straws,
> > > blair
> > > 
> > > On Mon, Mar 27, 2000 at 03:43:21PM -0600, Nikolay Borodachev wrote:
> > > > 
> > > > Do you have ldap related control files? AFAIR, control/ldapserver must
> > > > exist. 
> > > > 
> > > > On Mon, 27 Mar 2000, blair christensen wrote:
> > > > 
> > > > > Hello,
> > > > > I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> > > > > on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> > > > > box.
> > > > > 
> > > > > The patch applies cleanly to the source, and I'm able to compile qmail
> > > > > successfully.  However, when I try to start qmail, I get:
> > > > > 
> > > > > bash-2.02# /var/qmail/rc
> > > > > alert: cannot start: hath the daemon spawn no fire?
> > > > 
> > > > ------------------
> > > > Nikolay Borodachev
> > > 
> > 
> > ------------------
> > Nikolay Borodachev
> 
> -- 
> http://www.devclue.com/gnupg for public key.
> 
> buggy software writes itself
> 

------------------
Nikolay Borodachev






>
>Do you have ldap related control files? AFAIR, control/ldapserver must
>exist.
>
>On Mon, 27 Mar 2000, blair christensen wrote:
>
>> Hello,
>> I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
>> on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
>> box.
>>
>> The patch applies cleanly to the source, and I'm able to compile qmail
>> successfully.  However, when I try to start qmail, I get:
>>
>> bash-2.02# /var/qmail/rc
>> alert: cannot start: hath the daemon spawn no fire?


I got the same error using qmail without any patches, after renaming
/var/qmail/bin/qmail-local and /var/qmail/bin/qmail-remote for an amavis
installation. Are qmail-remote and qmail-local located in /var/qmail/bin and
have the correct file permission? Perhaps something went wrong while
compiling of the patched source.

- Roland





I have some domains with different names, but they are really the same
one. It's something like: my-domain.com, mydomain.com, my-domain.net,
mydomain.net...

It is possible to make each of the domains an alias of the "real one"
(in this case, "my-domain.com"). I'm using vpopmail, and I though that
making a link from ~vpopmail/domains/alias.tld to
~vpopmail/domains/my-domain.com will be enough, am I wrong??

-- 
Pablo Martínez Schroder
begin:vcard 
n:Martínez Schroder;Pablo
x-mozilla-html:FALSE
org:Hidra Telecomunicaciones y Multimedia;Sistemas
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ingeniero de Sistemas
adr;quoted-printable:;;C/Casa de Campos, 3=0D=0A29640 M=E1laga;Málaga;;;
x-mozilla-cpt:;0
fn:Pablo Martínez Schroder
end:vcard




I have a qmail server up and running GREAT.. all is well..
BUT... I want to bring up another that will Que up mail should the real mail
server crash, need rebooting, Melt down to slag, or ETC......
Anyone have a how-to for that ?..
Many thanks in advance.

[EMAIL PROTECTED]





I feel kinda weird replying to myself, but...

HELLO??? Anybody out there?

                                        Regards;
                                                Ricardo

On Mon, Mar 20, 2000 at 07:20:18PM +0000, Ricardo Cerqueira wrote:
> Well;
> 
>       People... (Dan?) Is there any particular reason why qmail-rspawn's default 
>behaviour is to mark failures as permanent, instead of temporary?
> 
>       Here's why I ask...  Our relays have an incoming interface, and an outgoing 
>interface... also, those relays send the mail back in if it's recipient is a 
>customer, and send it out if not.  Yesterday, one of the mail relays my ISP uses for 
>customers had a hardware problem: the "outgoing" NIC was malfunctioning. So, 
>qmail-remote crashed whenever it was called by qmail-rspawn.
> 
> According to this snippet of rspawn's code...
> 
>  switch(wait_exitcode(wstat))
>   {
>    case 0: break;
>    case 111: substdio_puts(ss,"ZUnable to run qmail-remote.\n"); return;
>    default: substdio_puts(ss,"DUnable to run qmail-remote.\n"); return;
>   }
> 
> 
> The default behaviour is to return "D" status (permanent failure)... 
>       So, for a period of 13 hours, over 12k mails were lost (bounced to 
>postmaster), instead of remaining in queue. (needless to say, that was not a nice 
>thing to happen)
>       I've done a few tests (removing the exec bit from qmail-remote, and replacing 
>qmail-remote with a non-functioning binary) and confirmed all mails are bounced to 
>postmaster, instead of being queued.
>       Then, I changed the default exit code to "Z" (temporary failure), recompiled, 
>and ran the same tests. This time, it went like it should... mails were not 
>delivered, but were stored in queue... qmail-remote was restored, I SIGALRM'ed 
>qmail-send, and all of the test messages were delivered.
>       So... Is there any reason why it should return "D"? Or is there any reason why 
>it shouldn't return "Z"?
> 
>                                               Best regards;
>                                                       Ricardo Cerqueira
> 
> +-------------------
> | Ricardo Cerqueira  
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
> | Novis  -  Rede Técnica 
> | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal





On Mon, 27 Mar 2000 19:41:14 +0100 , "Ricardo Cerqueira" writes:
> > According to this snippet of rspawn's code...
> > 
> >  switch(wait_exitcode(wstat))
> >   {
> >    case 0: break;
> >    case 111: substdio_puts(ss,"ZUnable to run qmail-remote.\n"); return;
> >    default: substdio_puts(ss,"DUnable to run qmail-remote.\n"); return;
> >   }

> >     Then, I changed the default exit code to "Z" (temporary
> >     failure), recompiled, and ran the same tests. This time, it went
> >     like it should... mails were not delivered, but were stored in
> >     queue... qmail-remote was restored, I SIGALRM'ed qmail-send, and
> >     all of the test messages were delivered.
 
> >     So... Is there any reason why it should return "D"? Or is there
> >     any reason why it shouldn't return "Z"?

Not as far as I can see.  I'm running with a similar change.

Actually, my change neuters the effects of execvp returning:

*** qmail-rspawn.c      1999/04/23 16:48:16     1.1
--- qmail-rspawn.c      2000/01/27 15:16:35     1.2
***************
*** 96,103 ****
     if (fd_move(1,fdout) == -1) _exit(111);
     if (fd_copy(2,1) == -1) _exit(111);
     execvp(*args,args);
!    if (error_temp(errno)) _exit(111);
!    _exit(100);
    }
   return f;
  }
--- 96,102 ----
     if (fd_move(1,fdout) == -1) _exit(111);
     if (fd_copy(2,1) == -1) _exit(111);
     execvp(*args,args);
!    _exit(111);
    }
   return f;
  }

The root problem in my case was a FreeBSD semi-bug...
Between 2.2.x and 3.x, the bad-old vfork() semantics
returned (i.e. parent and child had the same address
space).  This lead to a memory pseudo-leak[1] in
qmail-rspawn, which then ran into an rlimit, which
prevented rspawn from, well, spawning.

Quick (and effective) fix:

  sysctl -w kern.fast_vfork=0

stopped the leaking instantly.
 
-- 
Chris Mikkelson  | Vampireware; n, a project capable of sucking the 
[EMAIL PROTECTED] | lifeblood out of anyone unfortunate enough to be
                 | assigned to it which never actually sees the light
                 | of day, but nonetheless refuses to die. ([EMAIL PROTECTED])

[1] "pseudo" in the sense that it only leaked virtual memory.
The qmail-rspawn would have a VSZ of ~500M or so, while only
a couple hundred K resident.




Hello, I'm trying to configure my MX host running qmail 1.03 to pass all
incoming mails to another host that makes the local delivery.

While not solve this problem I can't migrate from Postfix to qmail, in
postfix I use a config file called "transports" and add a line like this :

domain.com    smtp:[a.b.c.d]

This means that all mails for "domain.com" recived in this server are passed
via smtp to "a.b.c.d".

Please, I need to do this in qmail but I cant find how to do this in the
Docs/Faqs/etc....

Tnx.

Ricardo D. Albano






It's done through the smtproutes file.  Do a
'man qmail-remote' for more info.

Rick McMillin
[EMAIL PROTECTED]
Systems Administrator
Manager, Network Operations
I-Land Internet Services

----- Original Message -----
From: "Ricardo D. Albano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 27, 2000 4:27 PM
Subject: Next Hop


> Hello, I'm trying to configure my MX host running qmail 1.03 to pass all
> incoming mails to another host that makes the local delivery.
>
> While not solve this problem I can't migrate from Postfix to qmail, in
> postfix I use a config file called "transports" and add a line like this :
>
> domain.com    smtp:[a.b.c.d]
>
> This means that all mails for "domain.com" recived in this server are
passed
> via smtp to "a.b.c.d".
>
> Please, I need to do this in qmail but I cant find how to do this in the
> Docs/Faqs/etc....
>
> Tnx.
>
> Ricardo D. Albano
>
>
>






Nice!, I done and it work. Thankx.

I have a  very simple question : How to reload postfix configuration (some
like restart all postfix  daemons to reload the configurations files).

Bye
RDA.-


>It's done through the smtproutes file.  Do a
>'man qmail-remote' for more info.
>
>Rick McMillin
>[EMAIL PROTECTED]
>Systems Administrator
>Manager, Network Operations
>I-Land Internet Services
>
>----- Original Message -----
>From: "Ricardo D. Albano" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, March 27, 2000 4:27 PM
>Subject: Next Hop
>
>
>> Hello, I'm trying to configure my MX host running qmail 1.03 to pass all
>> incoming mails to another host that makes the local delivery.
>>
>> While not solve this problem I can't migrate from Postfix to qmail, in
>> postfix I use a config file called "transports" and add a line like this
:
>>
>> domain.com    smtp:[a.b.c.d]
>>
>> This means that all mails for "domain.com" recived in this server are
>passed
>> via smtp to "a.b.c.d".
>>
>> Please, I need to do this in qmail but I cant find how to do this in the
>> Docs/Faqs/etc....
>>
>> Tnx.
>>
>> Ricardo D. Albano
>>
>>
>>
>






Running qmail on Solaris 7+dotforward+fastforward+procmail into
/var/spool/mail/delivery. The log shows a successful delivery:

Mar 27 17:19:25 homer qmail: 954199165.667066 starting delivery 1: msg 377310 to local 
[EMAIL PROTECTED]
Mar 27 17:19:25 homer qmail: 954199165.667663 status: local 1/10 remote 0/20 Mar 27 
17:19:25 homer qmail: 954199165.776406 delivery 1: success: did_0+0+1/
Mar 27 17:19:25 homer qmail: 954199165.799606 status: local 0/10 remote 0/20
Mar 27 17:19:25 homer qmail: 954199165.812838 end msg 3773101

Nothing ever appears in /var/spool/mail. I have done this plenty of times
so I know its something stupid. Any thoughts would be appreciated.

Thanks.
andy





On Mon, Mar 27, 2000 at 05:41:13PM -0600, Andy Walden wrote:
 
> Nothing ever appears in /var/spool/mail. I have done this plenty of times
> so I know its something stupid. Any thoughts would be appreciated.

a) an empty .qmail file
b) a program in a .qmail file exits 99.
c) "fastforward -p"

Regards, Uwe




On Thu, 23 Mar 2000, Eric Dahnke wrote:

> 
> Hello List,
> 
> I've been a long time (relative) user of qmail, and now need to use several sendmail 
>machines.
> HOWEVER, all I have to do is make it so that mail sent from those machines arrives 
>elsewhere as
> [EMAIL PROTECTED] instead of [EMAIL PROTECTED]
> 
> This would be a control/me file change in qmail. Anyone know how to do the same on 
>sendmail
> 8.9.3-10?
> 
> 
> 
> - Eric Dahnke

found out where is your sendmail.cf on your machines
and define macros M
i think there may be something like this

<snip>
#who I masquerade as (null for no masquerading)
DM
</snip>

and change it to

DMdomain.com

yuliy

--
  Yuliy Minchev, 
  Systems Administrator
  NOAC Bulgaria





Hi,
 
we are going to start a web mail project with more then 
300.000 users.
As imap server we use cyrus, modified to do authentification
via an oracle account_db.
We decided using qmail instead of sendmail as SMTP server.
My question is how to setup qmail working with cyrus,
especially doing the same authentification mechanism.
Is there a way to configure qmail asking cyrus for user
authentification or do we also have to change qmail doing
the pwcheck with an oracle db?
Are there already any qmail-oracle authentification modules
available? And can we use the same account_db as for cyrus
or does qmail need any other authentification values?

Thanks,

   Markus




hi all,

We have two locally delivered domains: cia.com.au and ezeelynx.com.au

We have a user willows who wants to receive mail at [EMAIL PROTECTED] and
wants [EMAIL PROTECTED] to be forwarded somewhere else. I've tried
creating:

/var/qmail/alias/.qmail-ezeelynx:com:au-willows

with a line:

&[EMAIL PROTECTED]

but this file is ignored and any mail that comes in to
[EMAIL PROTECTED] just goes straight into the willows mailbox.

Anyone have any ideas?

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750



Reply via email to