qmail Digest 21 Dec 1999 11:00:01 -0000 Issue 856
Topics (messages 34600 through 34655):
Re: qmail appending mail machines name to recipients
34600 by: Alissa Rogers
34603 by: Dave Sill
Re: Sendmail vs Qmail?
34601 by: Russell Nelson
34602 by: Timothy L. Mayo
34606 by: Dave Sill
34616 by: Sam
34620 by: vogelke.c17mis.region2.wpafb.af.mil
Leaning more about Linux skills...
34604 by: Marvel Carvalho
34611 by: Derek Smith
Re: How to control message ?
34605 by: Dave Sill
Re: Why empty
34607 by: Greg Owen
sending mail
34608 by: Stephan Weaver
Continuing Virtual Domain Troubles...
34609 by: J Torres
Re: systemload
34610 by: Roland Pelzer
Re: Learning more about Linux skills.
34612 by: Peter Cavender
34622 by: Stephan Weaver
Virtual Domain Problems
34613 by: J Torres
34614 by: Jonathan McDowell
34615 by: Chris Johnson
34634 by: J Torres
Re: Here are your coupons
34617 by: Florian G. Pflug
Re: Compiling qmail on Solaris
34618 by: Kristina
34635 by: Magnus Bodin
charactor limitations in .qmail-blah?
34619 by: deeann mikula
Re: Limit POP3 and SMTP service !
34621 by: Ruben van der Leij
Two questions: Return-Path rewriting and AUTH packets
34623 by: Mike van der Velden
34624 by: Adam McKenna
34631 by: Sam
34649 by: Jim Breton
34652 by: bert hubert
34653 by: Jim Breton
Windows Mailing list
34625 by: qmail.col7.metta.lk
34626 by: Troy Frericks
34627 by: Derek Callaway
34628 by: Jim Breton
34629 by: Peter Cavender
34647 by: qmail.col7.metta.lk
Problems running qmail
34630 by: Cameron Arnott
34633 by: Jim Gilliver
34636 by: Cameron Arnott
34637 by: Martin A. Brown
34644 by: Cameron Arnott
Tidbit..
34632 by: Philip Gabbert
34640 by: petervd.vuurwerk.nl
Qmail is killing my mySQL server!
34638 by: Michael Boman
34641 by: Eric Peters
34642 by: Michael Boman
34643 by: Eric Peters
34646 by: Michael Boman
34648 by: Eric Peters
34650 by: Michael Boman
34655 by: Li Hong
tcpserver logging
34639 by: Keith Warno
multilog not logging.. problem fixed
34645 by: Cameron Arnott
Save 50-80% on International Calls and Win $500 in Free phone calls!
34651 by: usayhello.earthlink.net
strange..
34654 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]
----------------------------------------------------------------------
At 05:05 PM 12/17/99 -0500, clifford thurber wrote:
>Hello,
>I made a post earlier to this list open a PERL program I have written which
>basic opens one file handle ot a CSV file containing usernames and email
>adresses parses them and then sends users mail by writing to a file handle
>opened to qmail. Here is the snippet of code that achieves this:
<snipped>
>Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
>msg 721
>291 to local [EMAIL PROTECTED]@snapper.raremedium.com
We have the same problem here. Except that we use the same perl script for
multiple domains, so the From: line changes. The only ones that seem to
get the local domain tacked on are domains of 3 letters. This holds true
for .co.uk domains as well (ie xxx.co.uk.)
If anyone can come up with a reason, I'd love to hear it.
Cheers,
Alissa Rogers
Systems Administrator
Vardus Ltd.
clifford thurber <[EMAIL PROTECTED]> wrote:
>Dec 16 14:39:23 ketel-1 qmail: 945373163.430257 starting delivery 20110:
>msg 721
>291 to local [EMAIL PROTECTED]@snapper.raremedium.com
>
>and then later on the logfile I will see the failure message with :
>
>.... Dec 16 14:43:21 ketel-1 qmail: 945373163.430257 delivery 20110:
>failure: Sorry,_
>no_mailbox_here_by_that_name._(#5.1.1)/
What does qmail-showctl say?
-Dave
Sam writes:
> Well, that's still 90% better than what Qmail does. And, with mailing
> lists being managed in one place, that goes up to 100%. There is no
> concept of a "workgroup" versus "enterprise" server.
Think "university politics", and translate "workgroup" into "department".
> Eliminate-dups is a solution in search of a problem. Duplicates due to
> SMTP window failures are mostly theoretical than anything else.
Nope. See RFC1047 ("Duplicate messages and SMTP.") Also see the
quoted message from this very list over a year ago, and my response to
it.
> I'm not comfortable with the notion that the way to eliminate duplicates
> with 100% certainty is, first, to generate a whole bunch of them, and then
> to eliminate them on the delivery end. Seems to be a bit wasteful to me.
You're trying to argue against the end-to-end principle. You're
wasting your time.
From: Russell Nelson <[EMAIL PROTECTED]>
To: Qmail <[EMAIL PROTECTED]>
Subject: Re: close() bug in qmail-remote.
Date: Sun, 22 Mar 98 21:32:08 EST
Sam writes:
> There's a minor bug in qmail-remote. After the receiving server
> acknowledged a successfull DATA transaction, if there's a TCP/IP problem
> that prevents a successfull QUIT and then a close, qmail believes that the
> message has not been sent, and it will try again.
>
> This often shows up here when I'm sending mail internationally, over flaky
> links. Quite often the acknowledgement to my CLOSE packet gets lost,
> after a QUIT, and the socket remains in a CLOSE_WAIT state for an hour,
> or so, qmail-remote aborts, and tries to redeliver the same message again.
ARRGGGGHHHHH!!! That's the same SMTP protocol bug that I spoke about
in the message quoted below. There is NO WAY to fix it on the
sender's side. It can only be fixed on the recipient's side. I use
the less paranoid version and as far as I can tell, have never lost
any real mail due to it. I've lost repeated test emails of the form:
(echo test|mailsubj test nelson), but never any real mail. Test mail
I can look up in the log file -- yes, their deletion is logged.
Code is at <http://www.qmail.org/eliminate-dups>. I highly recommend
its use.
Date: Wed, 16 Jul 97 17:36:39 EDT
From: Russell Nelson <[EMAIL PROTECTED]>
To: Andi Gutmans <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: SMTP protocol flaw
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<Pine.SOL.3.95.970716142310.22894H-100000@big>
<[EMAIL PROTECTED]>
Andi Gutmans writes:
> Well as good as qmail is (and I really like it) the thing which bothers me
> most about qmail is if I mail blah@host and help@host then a person which
> is on both of these lists get's the message twice. This just doesn't happen
> with sendmail's multiple recipients delivery.
Please don't praise sendmail's multiple recipients delivery. It's a
gross hack that serves only to disguise the problem. It's like
painting rotten wood. Sendmail doesn't deal with:
o The same message posted to two lists expanded by different machines,
o Replies sent to the list and the author, such as this one.
o Messages duplicated by a flaw in the SMTP protocol, explained below.
The SMTP protocol has a problem in it. Any reliable protocol has some
kind of serial number to prevent retransmissions from becoming
duplications if the final ack is lost. "Duplications", eh? Sounds
familiar? Well, RFC821 is silent on the issue. And there's a finite
chance for any piece of email to be duplicated. The "ack" is the 250
Ok response to terminating the DATA portion of the mail with
crlf.crlf. If a sender terminates the mail but doesn't receive the
ack, it has no choice but to retransmit the mail.
The solution is unfortunately complex. Because mail can arrive out of
order, and can be removed from the mailbox before the duplicate
arrives, the MTA needs to keep track of and delete duplicate messages.
The MTA needs to keep a small database of messages that have been
received recently.
Dan has refused to provide a fix for this problem, saying that
deleting duplicates is the job of the MUA. I disagree, because the
protocol failure is at the MTA level.
How might such a protocol fix be implemented? The simplest solution I
can see is to keep two files of message hashes, in addition to the
mailbox. If the incoming message's hash appears in either file,
delete it. Otherwise add it to the newer file and deliver the mail.
Periodically, when the older file is "too old", move the new to the
old and create a new.
The message hashes could be constructed two ways. One, by ignoring
only the most recently generated Received: lines. Or two, by
considering only the Message-ID: line and the body of the message.
The first is more paranoid, and only deletes actual SMTP protocol
failures. The second is less paranoid and deletes the other two types
of duplicates discussed above. There are reasons to select either
type.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
No, you install it by default and only tell the ones (usually your more
informed users) that need to how to override the filter for themselves.
On Sun, 19 Dec 1999, Sam wrote:
> On Sat, 18 Dec 1999, Russell Nelson wrote:
>
> > Sam writes:
> > > Troy Frericks writes:
> > >
> > > > If somebody sent a memo to "A-project" and "Management-A", and I was a
> > > > member of both lists, I would expect to receive two emails so I could get
> > > > them archived in my appropriate mail folder (. I would hope you could
> > > > disable this 'feature' in sendmail if you wanted.
> > >
> > > You'll definitely think otherwise if you start getting three or four copies
> > > of every memo.
> >
> > Why would this happen after installing eliminate-dups?
>
> You want to hand-hold all the PHBs who can barely put together a
> Powerpoint presentation, and tell them how to install a unix filter?
>
> Life's too short.
>
>
>
---------------------------------
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
[EMAIL PROTECTED] wrote:
>On Sat, 18 Dec 1999 23:19:10 -0500 (EST) , Russell Nelson writes:
>> Why would this happen after installing eliminate-dups? That's the
>> beauty of qmail. If you don't want dups, you don't have to receive
>> them. And if you do want a separate delivery to multiple extensions,
>> you can have that also.
>
>To be fair, you could do something quite similar
>under sendmail, also. Just use procmail, with
>formail's duplicate removal feature.
If sendmail removes dupes on the sending side, there's no way the
receiver can recreate them.
-Dave
On Mon, 20 Dec 1999, Russell Nelson wrote:
> Nope. See RFC1047 ("Duplicate messages and SMTP.") Also see the
> quoted message from this very list over a year ago, and my response to
> it.
> From: Russell Nelson <[EMAIL PROTECTED]>
> To: Qmail <[EMAIL PROTECTED]>
> Subject: Re: close() bug in qmail-remote.
> Date: Sun, 22 Mar 98 21:32:08 EST
[ snip ]
Russ, that was a slightly different issue. There, Qmail has *received* a
positive confirmation that the message has been received, with a 2xx DATA
ack, but the subsequent QUIT failed and Qmail reported a delivery failure.
That's an outright bug, and has nothing to do with the potential dup when
the acknowledgement itself is lost.
>> On Sat, 18 Dec 1999 18:00:47 GMT,
>> Sam <[EMAIL PROTECTED]> said:
S> Troy Frericks writes:
>> If somebody sent a memo to "A-project" and "Management-A", and I was
>> a member of both lists, I would expect to receive two emails so I
>> could get them archived in my appropriate mail folder (. I would
>> hope you could disable this 'feature' in sendmail if you wanted.
S> You'll definitely think otherwise if you start getting three or four
S> copies of every memo.
If duplicates are that much of a problem, use something like "formail"
from the procmail package (or the moral equivalent from the maildrop
package) to weed them out by checking the Message-ID.
--
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED] or [EMAIL PROTECTED]
|
Hi everybody! My name is
Marvel Carvalho. I work in a company called Portway. We
developed systems to HandHeld and Palm platform , and also Sales Administration
Systems to Intel platform - with Delphi and Oracle. I'm
interested in setting up a Linux station in our net NT. We want it working as
a PROXI server, FTP Server, internal e-mail Server.
I need to
learn how to do all of these things. I know that it can take many time. Which is
the best way to learn it? Courses / Books / what else????
I'll appreciate your opinion very much... I'm looking
forward to hearing from you. Marvel Carvalho
Portway - Brazil - SP
|
Marvel,
I would recommend getting Red-Hat Linux if you are new to Linux/UNIX.
>From the applications side, you want to get Apache (www.apache.org) for
the proxy web server, WU-FTPd (www.landfield.com/wu-ftpd) for the FTP
server and qmail (www.qmail.org) for the mail server.
This is what most sites will use. Each of these has relevant mailing
lists, newsgroups, FAQ's, etc.
Hope this helps,
Regards,
Del.
Marvel Carvalho wrote:
> Part 1.1 Type: Plain Text (text/plain)
> Encoding: quoted-printable
Sam <[EMAIL PROTECTED]> wrote:
>On Sat, 18 Dec 1999, Jason Huang wrote:
>
>> Hi All !
>> My boss told me he wanna control outgoing and incoming mail.
>> He want to allow or delete each mail. It seems terrible ,but ...........
>> How can I config my qmail ??
>
>You can't.
Sure you can. Set up two qmail installations on the system: one for
unapproved mail, another for approved mail. Have the "unapproved"
qmail listen to port 25, handle qmail-inject/sendmail, and stuff all
incoming mail into one or more maildirs. Write an "approve" script
that scans the unapproved mail, and, if approved, re-inject to the
"approved" qmail.
Details are left as an exercise for the reader or a paid consultant.
>I suggest that you start looking for a new job.
>
>Your boss is an idiot.
>
>I don't know about you, but I don't like to work for idiots.
Sam, you answered one question wrong, and volunteered answers to three
unasked questions. Personally, I don't think that's helpful.
-Dave
> I have just installed qmail 1.03 on my linux box, but why
> /var/qmail/control is empty ? this makes me cannot test the qmail by
> telneting to localhost 25 , and it replies with : unable to
> read control
From the install document:
4. Read INSTALL.ctl and FAQ. Minimal survival command:
# ./config
> Could someone send to me his/her /var/qmail/control/me ,
> rcpthosts, etc...
Sure. But that would only help you receive mail for my domain.
--
gowen -- Greg Owen -- [EMAIL PROTECTED]
hello.
when i send a email locally it sends.
thats from syslog reports.
but when i type mail i dont receive mail locally
=(
|
@
IN SOA agayle.net.
agayle.agayle.net.
(
1999122102 ;
Serial
10800 ;
Refresh
7200 ;
Retry
10800 ;
Expire
86400 ) ;
Minimum
NS ns1.guamcell.net.
NS
dns.gtepacifica.net. MX
10 ns1.guamcell.net.
localhost
A
127.0.0.1 www
IN CNAME
mail.guamcell.net. mail
IN CNAME
ns1.guamcell.net.
/var/qmail/control/rcpthosts:
localhost ns1.guamcell.net agayle.net
/var/qmail/control/virtualdomains:
agayle.net:agayle
/home/agayle/.qmail-default:
.Maildir
|
On 20 Dec 99, at 0:38, Thomas Mellenthin wrote:
> top shows that 'supervise' could be the source. Is there
> any advance by using this script or any need of using
> 'supervise' ?
>
> // melle
>
This script automates some task to also could be done manually
(e.g. Shutting down smtp-services, reloading of new configurations
and so on). It is not only a startup-script, it could help you in your
daily life. Supervise is a tool that will monitor the status of selected
services (POP3 or SMTP) and could restart a service if it
dies/crashes. Very helpful in mission critical application or servers
with huge load.
- Roland
>Hi everybody!
>
>My name is Marvel Carvalho.
>
>I work in a company called Portway. We developed systems to HandHeld
>and Palm platform , and also Sales Administration Systems to Intel
>platform - with Delphi and Oracle.
>
>I'm interested in setting up a Linux station in our net NT.
>We want it working as a PROXI server, FTP Server, internal e-mail Server.
>
>I need to learn how to do all of these things. I know that it can
>take many time. Which is the best way to learn it? Courses / Books /
>what else????
>
>I'll appreciate your opinion very much...
>
>I'm looking forward to hearing from you.
>
>Marvel Carvalho
>Portway - Brazil - SP
Hello Marvel-
The best way to learn Linux is to get a computer and a Linux CD and
install it, play with it, and read the documentation on the CD and on
the internet. There are many good Linux distributions, but I am most
familiar with and recommend RedHat. It is easy to install and has
good documentation.
http://www.redhat.com
You can download Linux for free, but it is difficult for a beginner.
You can buy $2 CDs of most popular Linux distributions from Linux
Mall:
http://www.linuxmall.com
Each of these sites below contains much documentation.
For ftp, there are two popular servers: wu-ftpd is more popular, and
proftpd is newer and more flexible. (wu-ftpd comes with RedHat)
http://www.wu-ftpd.org
http://www.proftpd.org
For mail, there is sendmail and qmail. I prefer qmail. Download the
"Life with qmail" manual. (sendmail comes with RedHat)
http://www.qmail.org
http://www.sendmail.org
For web serving, there is apache: (comes with RedHat)
http://www.apache.org
If you want a server as you described, a company in Canada, e-smith,
has a nice Linux distribution that comes pre-configured to do what
you need (and more).
http://www.e-smith.net
To learn about free software and the License for linux, visit the
Free Software Foundation:
http://www.fsf.org
Books published by O'Reilly are the best Linux books.
Good Luck!
Peter
Peter Cavender wrote:
> >Hi everybody!
> >
> >My name is Marvel Carvalho.
> >
> >I work in a company called Portway. We developed systems to HandHeld
> >and Palm platform , and also Sales Administration Systems to Intel
> >platform - with Delphi and Oracle.
> >
> >I'm interested in setting up a Linux station in our net NT.
> >We want it working as a PROXI server, FTP Server, internal e-mail Server.
> >
> >I need to learn how to do all of these things. I know that it can
> >take many time. Which is the best way to learn it? Courses / Books /
> >what else????
> >
> >I'll appreciate your opinion very much...
> >
> >I'm looking forward to hearing from you.
> >
> >Marvel Carvalho
> >Portway - Brazil - SP
>
> Hello Marvel-
>
> The best way to learn Linux is to get a computer and a Linux CD and
> install it, play with it, and read the documentation on the CD and on
> the internet. There are many good Linux distributions, but I am most
> familiar with and recommend RedHat. It is easy to install and has
> good documentation.
>
> http://www.redhat.com
>
> You can download Linux for free, but it is difficult for a beginner.
> You can buy $2 CDs of most popular Linux distributions from Linux
> Mall:
>
> http://www.linuxmall.com
>
> Each of these sites below contains much documentation.
>
> For ftp, there are two popular servers: wu-ftpd is more popular, and
> proftpd is newer and more flexible. (wu-ftpd comes with RedHat)
>
> http://www.wu-ftpd.org
> http://www.proftpd.org
>
> For mail, there is sendmail and qmail. I prefer qmail. Download the
> "Life with qmail" manual. (sendmail comes with RedHat)
>
> http://www.qmail.org
> http://www.sendmail.org
>
> For web serving, there is apache: (comes with RedHat)
> http://www.apache.org
>
> If you want a server as you described, a company in Canada, e-smith,
> has a nice Linux distribution that comes pre-configured to do what
> you need (and more).
>
> http://www.e-smith.net
>
> To learn about free software and the License for linux, visit the
> Free Software Foundation:
>
> http://www.fsf.org
>
> Books published by O'Reilly are the best Linux books.
>
> Good Luck!
> Peter
HEY HEY
check out
webmin.com
you will love it
=p
|
----- Original Message -----
Sent: Tuesday, December 21, 1999 3:02 AM
I have attempted to setup a virtual domain for a customer of
ours... below is a list of files and their contents. After the
changes were made to the control files qmail-smtpd was hupped using svc -h
/var/qmail/supervise/qmail-smtpd.
Perhaps I am overlooking something, but I am fairly sure that
I followed the instructions in the FAQ to the letter.
/var/named/agayle.net:
@
IN SOA agayle.net.
agayle.agayle.net.
(
1999122102 ;
Serial
10800 ;
Refresh
7200 ;
Retry
10800 ;
Expire
86400 ) ;
Minimum
NS
ns1.guamcell.net.
NS
dns.gtepacifica.net.
MX 10 ns1.guamcell.net.
localhost
A
127.0.0.1 www
IN CNAME www.guamcell.net. mail
IN CNAME
ns1.guamcell.net.
/var/qmail/control/rcpthosts:
localhost ns1.guamcell.net agayle.net
/var/qmail/control/virtualdomains:
agayle.net:agayle
/home/agayle/.qmail-default:
./Maildir/
Hi. This is the qmail-send program at ns1.guamcell.net. I'm
afraid I wasn't able to deliver your message to the following addresses. This
is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>: Sorry. Although
I'm listed as a best-preference MX or A for that host, it isn't in my
control/locals file, so I don't treat it as local. (#5.4.6)
There are several docs that say not to put virtual domains in
the locals file. Which is perhaps what I am most confused about at this
point. Why would qmail tell me I need an entry in locals for a virtual
domain?
|
On Tue, Dec 21, 1999 at 03:15:26AM +1100, J Torres wrote:
> I have attempted to setup a virtual domain for a customer of ours...
> below is a list of files and their contents. After the changes were
> made to the control files qmail-smtpd was hupped using svc -h
^^^^^^^^^^^
> /var/qmail/supervise/qmail-smtpd.
<snip>
> response when mail is sent to [EMAIL PROTECTED]:
>
> Hi. This is the qmail-send program at ns1.guamcell.net.
^^^^^^^^^^
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
Have you tried restarting qmail-send?
J.
--
If I throw a stick, will you leave?
On Tue, Dec 21, 1999 at 03:15:26AM +1100, J Torres wrote:
> I have attempted to setup a virtual domain for a customer of ours... below
> is a list of files and their contents. After the changes were made to the
> control files qmail-smtpd was hupped using svc -h
> /var/qmail/supervise/qmail-smtpd. Perhaps I am overlooking something, but I
> am fairly sure that I followed the instructions in the FAQ to the letter.
Don't HUP qmail-smtpd. That doesn't do anything. You need to HUP qmail-send.
Chris
----- Original Message -----
From: Chris Johnson <[EMAIL PROTECTED]>
To: J Torres <[EMAIL PROTECTED]>
Cc: qmail list <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 1999 7:49 AM
Subject: Re: Virtual Domain Problems
> On Tue, Dec 21, 1999 at 03:15:26AM +1100, J Torres wrote:
> > I have attempted to setup a virtual domain for a customer of ours...
below
> > is a list of files and their contents. After the changes were made to
the
> > control files qmail-smtpd was hupped using svc -h
> > /var/qmail/supervise/qmail-smtpd. Perhaps I am overlooking something,
but I
> > am fairly sure that I followed the instructions in the FAQ to the
letter.
>
> Don't HUP qmail-smtpd. That doesn't do anything. You need to HUP
qmail-send.
>
> Chris
>
Actually I used to script found at
http://web.infoave.net/~dsill/qmail-script-dt61.txt to reload the files...
the same error message is returned though. any ideas?
Joe
On Sun, Dec 19, 1999 at 11:00:51AM -0700, Philip Gabbert wrote:
>
> There is a way to allow multiple email address to post to a list. I'm not
> sure if it can be done with elmz or not, but I do know I post to a list with
> multiple email addresses, but it all gets sent to just one address. It's a
> closed list, but I've setup the preferences for my account to allow posts
> from my work account, home account, and website account.
Since faking the from-address (both header and smtp-envelope) is just sooo
easy, why bother, and restrict posting.
I guess big companies who are spamming have people who know quite a lot
about smtp/email...
greetings, Florian Pflug
I checked my path and permissions and this is what I found:
My path to mess/0 is /var/qmail/queue/mess/0
The permissions of /var/qmail/queue/mess are :drwxr-x---
The permissions of the file 0 are : drwxr-x---
I followed the install steps carefully and I have the /mess/0 file. Perhaps
the permissions are wrong or the path to the mess/0 needs to be designated
somewhere.
Any help appreciated,
Kristina
At 09:58 99/12/20 -0500, you wrote:
>
> Does /var/qmail/mess/0 exist as a directory, and if so, what are its
> permissions?
>
> Did you run 'make setup check' to do the final install and directory
> creation?
>
> If the answer to either of these is no, it's a simple problem: your
> install did not for whatever reason create the appropriate directories. If
> the answer to all these is yes, then more digging is required.
>
> --
> gowen -- Greg Owen -- [EMAIL PROTECTED]
>
>
> > -----Original Message-----
> > From: Kristina [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, December 19, 1999 7:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: Compiling qmail on Solaris
> >
> >
> > I am new to qmail and I have just installed and compiled
> > qmail-1.03 on
> > ultrasparc Solaris 7. When I start qmail I get the following
> > errors in
> > syslog:
> >
> > Dec 17 16:10:16 host1 qmail: 945414616.234284 status: local
> > 0/10 remote 0/20
> > Dec 17 16:10:17 host1 qmail: 945414617.771422 alert: unable
> > to opendir mess/0
> > , sleeping...
> >
> > I understand the first line is not an error, but the second
> > line definitely
> > looks like one.
> > Does anyone know what is causing this? Is there something I
> > need to do for q
> > mail to
> > run on Solaris?
> >
> >
> >
> > Thanks in advance,
> > Kristina
> >
> >
>
On Tue, Dec 21, 1999 at 08:59:53AM +0900, Kristina wrote:
> I checked my path and permissions and this is what I found:
>
> My path to mess/0 is /var/qmail/queue/mess/0
>
> The permissions of /var/qmail/queue/mess are :drwxr-x---
>
> The permissions of the file 0 are : drwxr-x---
>
> I followed the install steps carefully and I have the /mess/0 file. Perhaps
> the permissions are wrong or the path to the mess/0 needs to be designated
> somewhere.
The /var/qmail/queue directory tree is set up with the right permissions
when you are doing "make setup" from the qmail source directory.
E.g. the /var/qmail/queue/mess is OWNED BY (user:group) qmailq:qmail, which
may be your problem.
Did you compile the program ("make") on the same machine as the problems
appear on?
These userid:s: alias, qmaild, qmaill, qmailp, qmailq, qmailr, qmails
And these groupid:s: qmail, nofiles
ARE HARDCODED in some of the binaries during build.
You need a patched version of qmail to be able to move binaries around or
build on other machines or you need a predefined (100% sure of no conflicts)
set of userids and groupids OR you need to compile on the target machine, as
it states both in the manual and in "Life with qmail"
/magnus
--
http://x42.com/ <--- uselessness in a mix for nerds.
i have been using qmail for about a year now, most of that time
focusing on virtual domain issues. while researching a Real Question,
(reading the FAQ, or other docs, or searching this list's archive)
i'll poke around and look for the answer to this question, but i havnt
come across it it yet.
what is the largest number of charactors that are permitted in a
.qmail-blah file? i usually tell my clients that i can give them an
address in their domain that is "longer than you would ever want your
email address to be!"
but im really curious, and i cant seem to find the answer. is there
actually a limit? are there any "special" charactors (other than the
. translating to : ) that i should know about?
thanks,
deeann m.m. mikula
telerama public access internet
director of operations
http://www.telerama.com
On Sun, Dec 19, 1999 at 09:48:30PM +0100, peter wrote:
> > Only recently has the Linux NFS support come of age. I would advise on
> > interrogating the NetApp people (say hi to them for me :-)) on the
> > experiences wrt Linux.
>
> I'll troll my coworkers to do so :)
We did, in the first sales-meeting. Nice company. They brought a sales-droid
and a techie. A Canadian, black, and spoke French and English, and
reasonably well Dutch. (Those who look puzzeled right now: For foreigners
Dutch is about as difficult as Bask, Welsh or Mandarin.. :) )
We spoke a long time about the problems Xs4all had with their netapp
(excessive use of q-tree's, which are virtual partitions) and a combination
of a slow fsck and a tiny bug in fsck. After the crash the rebuild of the
file-system took a lot of time, and failed because of the bug, causing
another crash, fsck and so on. They actually flew in engineers to fix the
thing, speeded up fsck-ing by a factor 100 in the end, and fixed both q-tree
and fsck bugs)
Our fear, that the problems were related to NFS, were false, according to
the techie. They claim the majority of NFS-problems are server-side, and
because they have original, licensed spec's and support from Sun, clean code
and a lot of experience, they claim the NFS-related problems with a netapp
and linux will decrease significantly.
Since they were candid and honest about the problems xs4all had, we all tend
to believe them wrt NFS, and apart from that, we have the normal level of
support one might expect from them, which is _good_. Any problems that might
pop up will be resolved very quickly.
Wether or not maildir's should have enforced hard-quota's is a political
question. We have the expertise to fix any obvious problems, and could
always decide to have just soft-qouta's and warnings, if worst came to
worst.
--
Ruben
--
** FATAL ERROR! HIT ANY USER TO CONTINUE! **
Hello,
Recently I was asked by a client to migrate their mail services off a
legacy NT server onto a Sun workstation running Solaris 2.5.1, and I was
asked to install qmail rather than use the default sendmail. I'm new to
qmail, but I was able to use the FAQs and INSTALL docs to help me get
going fairly swiftly. (although I wish the FAQ included info about the
error message "warning: unable to open todo/xxx" -- that wasted a tonne
of time!)
About the environment. The server is a Sparc 4, running Solaris 2.5.1,
and qmail 1.0.3. The clients are all Windoze 9x/NT, using either
Netscape 4.7 or Pegasus Mail 3.1.2 as their MUA. Users use pop to send
and retrieve mail from the server The firewall is configured to
deliver incoming mail only to the mail server, and will only accept
outgoing mail from the mailserver. Host masquerading has been set up so
that all outgoing mail looks like it comes from the domain
"company.com".
There are two outstanding questions:
First, when a user on a Windows client machine uses Netscape Mail 4.7 to
send a message, the sender and return-path both say "[EMAIL PROTECTED]".
However, when using Pegasus Mail 3.1.2 to send the same message, the
return path says "[EMAIL PROTECTED]" while the sender's
address still says "[EMAIL PROTECTED]". Several remote sites refuse to
receive e-mail where the sender and return-path don't match. This
address re-writing never happened when the mail server was Exchange
running under NT, but it has become a problem since we switched to qmail
running under Solaris.
Second, the firewall people have started to complain that ever since the
switch-over to qmail, they are seeing a lot of "auth" packets to and
from the qmail server to various remote sites. They want to know what
is going on. What sort of extra packets does qmail send out? Are some
of these "auth" communications initiated by outside systems?
If I've missed something in the FAQs or docs, I apologize. Please point
me in the right direction.
Mike van der Velden
On Mon, Dec 20, 1999 at 05:27:36PM -0800, Mike van der Velden wrote:
> Hello,
>
> Recently I was asked by a client to migrate their mail services off a
> legacy NT server onto a Sun workstation running Solaris 2.5.1, and I was
> asked to install qmail rather than use the default sendmail. I'm new to
> qmail, but I was able to use the FAQs and INSTALL docs to help me get
> going fairly swiftly. (although I wish the FAQ included info about the
> error message "warning: unable to open todo/xxx" -- that wasted a tonne
> of time!)
>
> About the environment. The server is a Sparc 4, running Solaris 2.5.1,
> and qmail 1.0.3. The clients are all Windoze 9x/NT, using either
> Netscape 4.7 or Pegasus Mail 3.1.2 as their MUA. Users use pop to send
> and retrieve mail from the server The firewall is configured to
> deliver incoming mail only to the mail server, and will only accept
> outgoing mail from the mailserver. Host masquerading has been set up so
> that all outgoing mail looks like it comes from the domain
> "company.com".
>
> There are two outstanding questions:
>
> First, when a user on a Windows client machine uses Netscape Mail 4.7 to
> send a message, the sender and return-path both say "[EMAIL PROTECTED]".
> However, when using Pegasus Mail 3.1.2 to send the same message, the
> return path says "[EMAIL PROTECTED]" while the sender's
> address still says "[EMAIL PROTECTED]". Several remote sites refuse to
> receive e-mail where the sender and return-path don't match. This
> address re-writing never happened when the mail server was Exchange
> running under NT, but it has become a problem since we switched to qmail
> running under Solaris.
As far as I know, Netscape Mail (and Outlook) use your configured "E-Mail
address" as both the "From:" header and as the MAIL FROM: (envelope sender)
during the SMTP conversation. Eudora (most likely) uses your username as the
Envelope sender, and qmail appends the hostname. Change
/var/qmail/control/me to the hostname that you want appended.
> Second, the firewall people have started to complain that ever since the
> switch-over to qmail, they are seeing a lot of "auth" packets to and
> from the qmail server to various remote sites. They want to know what
> is going on. What sort of extra packets does qmail send out? Are some
> of these "auth" communications initiated by outside systems?
"auth" is the ident protocol. It is described in RFC 1413 and RFC 931 (the
former obsoleting the latter). If your firewall people don't know what ident
is, you've got more serious problems than the hostname that appears on
outgoing mail.
--Adam
Mike van der Velden writes:
> There are two outstanding questions:
>
> First, when a user on a Windows client machine uses Netscape Mail 4.7 to
> send a message, the sender and return-path both say "[EMAIL PROTECTED]".
> However, when using Pegasus Mail 3.1.2 to send the same message, the
> return path says "[EMAIL PROTECTED]" while the sender's
> address still says "[EMAIL PROTECTED]". Several remote sites refuse to
> receive e-mail where the sender and return-path don't match. This
> address re-writing never happened when the mail server was Exchange
> running under NT, but it has become a problem since we switched to qmail
> running under Solaris.
The "return path" is specified solely by MUA, so this is entirely a Pegasus
Mail configuration issue. It is possible that other mail servers take it
upon themselves to rewrite the return address, but they should not really
do that, and it's none of their jobs.
Tell your lusers to fix their mail software's configuration.
Additionally, refusing to accept mail for this reason is rather dumb,
unless the REAL reason why your mail is being rejected is because the
actual return path is nonresolvable in DNS. Only THEN does rejecting such
mail is perfectly valid. Otherwise, this is not your problem, but rather
unwarranted paranoia on the part of a bunch of wankers who don't know any
better.
> Second, the firewall people have started to complain that ever since the
> switch-over to qmail, they are seeing a lot of "auth" packets to and
> from the qmail server to various remote sites. They want to know what
> is going on. What sort of extra packets does qmail send out? Are some
> of these "auth" communications initiated by outside systems?
Qmail sends an ident (or auth) packets in response to any incoming
connection request. Any ident/auth response received gets recorded in the
headers. In certain situations, this information may be required in order
to track down any external source of abuse. This should ALWAYS be done in
response to an unauthenticated incoming connections, and the fact that few
other mail relays do it by default only indicates their unacceptable
default security settings.
Tell your spooks that the auth/ident packets are designed to make their own
lives either.
--
Sam
On Tue, 21 Dec 1999, Sam wrote:
> The "return path" is specified solely by MUA, so this is entirely a Pegasus
> Mail configuration issue. It is possible that other mail servers take it
> upon themselves to rewrite the return address, but they should not really
> do that, and it's none of their jobs.
Whoa, are you sure about that? I don't think this is correct. Seems to
me that the smtp daemon writes the header. Maybe there are some cases
where the client supplies one... but I don't think you can flat out say
it's not the MTA.
Here's a snippet from the qmail-local man page:
The message's envelope sender is sender. qmail-local
records sender in a new Return-Path header field.
Now I know that's not the MTA but rather the MDA. But that does go to
show that it's not solely the client that can be responsible for the
Return-Path line. Also, I know this for a fact: when I use the qmail
"sendmail" binary to send mail from pine, it writes my local user
account's name into the Return-Path header. I had to set pine to deliver
via smtp to the local qmail-smtpd in order to force it to accept the
client-supplied "From" address as the Return-Path.
> Additionally, refusing to accept mail for this reason is rather dumb,
Agreed. ;)
> Qmail sends an ident (or auth) packets in response to any incoming
More specifically, it is probably tcpserver (or whatever superserver he's
running) that is causing the ident requests.
On Tue, Dec 21, 1999 at 03:57:17AM -0500, Jim Breton wrote:
> More specifically, it is probably tcpserver (or whatever superserver he's
> running) that is causing the ident requests.
And this can easily be turned off.
Regards,
bert hubert
--
+---------------+ | http://www.rent-a-nerd.nl
| nerd for hire | |
+---------------+ | - U N I X -
| | Inspice et cautus eris - D11T'95
Yup... I'd already sent him a pvt msg detailing how to do that with
tcpserver.... :)
On Tue, 21 Dec 1999, bert hubert wrote:
> And this can easily be turned off.
Hi all,
I am sorry to present a Non qmail on this list.
I need a few Windows Mailing lists.
Purpose: I need to find out where to buy
some cheap licenses for Windows/Word/Office etc.
Thank you for tolerating this on this list
Jacob
--
Random Dhammapada Verse 156
They who have not led the Holy Life, who in youth had not acquired wealth, he like
worn out bows, sighing after the past.
Totally inappropriate question, you knew it, and still posted? What a
waste of band width.
=> Can you imagine the flames? <=
Did you try yahoo, altavista, hotbot, aj, webcrawler, or a host of other
web search engines?
Did you know that microsoft has special licensing which makes these
products "cheap" to hardware vendors as an incentive to included them with
the hardware sale? Buy a new pentinum, and they will "throw in"
windows/office (includes word).
BTW, why the hurry to run out and buy just licenses?
#
At 05:56 PM 12/20/99 , [EMAIL PROTECTED] wrote:
>Hi all,
>
>I am sorry to present a Non qmail on this list.
>I need a few Windows Mailing lists.
>
>Purpose: I need to find out where to buy
>some cheap licenses for Windows/Word/Office etc.
>
>Thank you for tolerating this on this list
>Jacob
>
>--
>Random Dhammapada Verse 156
>They who have not led the Holy Life, who in youth had not acquired wealth,
>he like worn out bows, sighing after the past.
*vomit*
This list has been receiving an unusual amount of off-topic posts, lately.
I would expect that any half-wit that can sign up for a mailing list
would be able to use a search engine, too.
--
/* Derek Callaway <[EMAIL PROTECTED]>
Programmer; CE Net, Inc.
(302) 854-5440 Ext. 206 */
On Tue, 21 Dec 1999 [EMAIL PROTECTED] wrote:
> Hi all,
>
> I am sorry to present a Non qmail on this list.
> I need a few Windows Mailing lists.
>
> Purpose: I need to find out where to buy
> some cheap licenses for Windows/Word/Office etc.
>
> Thank you for tolerating this on this list
> Jacob
>
> --
> Random Dhammapada Verse 156
> They who have not led the Holy Life, who in youth had not acquired wealth, he like
>worn out bows, sighing after the past.
>
Any chance that this method is being used to grab addresses from a
list? 1. Subscribe. 2. Post an extremely annoying message. 3. Watch
the (flame) mails roll in....
You can buy the Windows license that came with my PC - make an offer.
I just have to wonder, how on earth did you find *this* list, and
*not* figure out where to buy MS stuff?
>Hi all,
>
>I am sorry to present a Non qmail on this list.
>I need a few Windows Mailing lists.
>
>Purpose: I need to find out where to buy
>some cheap licenses for Windows/Word/Office etc.
>
>Thank you for tolerating this on this list
>Jacob
>
>--
>Random Dhammapada Verse 156
>They who have not led the Holy Life, who in youth had not acquired
>wealth, he like worn out bows, sighing after the past.
On Mon, Dec 20, 1999 at 08:03:29PM -0600, Troy Frericks wrote:
Hi Troy,
> Totally inappropriate question, you knew it, and still posted? What a
> waste of band width.
Please take my apology.
> Did you try yahoo, altavista, hotbot, aj, webcrawler, or a host of other
> web search engines?
I searched on the web for 6 hours and got nothing of any use.
I have had very much help from the Linux platform and perhaps this might
help me also. (sorry for the flames it caused)
> Did you know that microsoft has special licensing which makes these
> products "cheap" to hardware vendors as an incentive to included them with
> the hardware sale? Buy a new pentinum, and they will "throw in"
> windows/office (includes word).
Yes I am aware of that, and perhaps someone running Linux on a PC might
sell his license to me.
> BTW, why the hurry to run out and buy just licenses?
I am a Buddhist monk, and my daily duty is to encourage persons
not to "kill" "steal" etc.
so how can I run unlicensed software (double morals, isn't it)
I run a number of "free mail servers" in Sri Lanka,
all of them have Linux and qmail,
but we also need Windows as most persons are only used to Windows.
Sri Lanka is not a very rich country and we cannot afford very much,
that is how I am thinking of buying some second hand licensed software.
People are upgrading to other systems.
Many persons on Linux machines would have licenses,
and would perhaps sell them to me.
Perhaps others could put me onto some place where I could get it without
having to pay for New Software.
Please drop me a line if you can help.
All I need is a Original CD and the License documents
No books etc.
Again my apology for this on this list.
Best regards
Jacob
> #
>
> At 05:56 PM 12/20/99 , [EMAIL PROTECTED] wrote:
> >Hi all,
> >
> >I am sorry to present a Non qmail on this list.
> >I need a few Windows Mailing lists.
> >
> >Purpose: I need to find out where to buy
> >some cheap licenses for Windows/Word/Office etc.
> >
> >Thank you for tolerating this on this list
> >Jacob
--
Random Dhammapada Verse 173
Whosoever, by a good deed, covers the evil done, such a one illuminates this world
like the moon freed from clouds.
Hi, Here I go again..
I know i had it working before but can't remember how..
As far as i know i have everything set up ok. and the same as before
First i'll state my problems then my setup
Problem1 : user on 10.0.0.21 can send mail to <anyone>@kat.net.au
but not to <anyone>@<anywhere-else.<com/net/org>
however i can from the server.. (if i couldn't you
wouldn't be reading this message)
Problem 2 : a prob with the pop3d starting 2 copies.. help with this
would also be appreciated
Sorry but this is a long message but it'll tell you everything about
how i have qmail setup
I read and used LWQ as the base and tried to follow it as much as i
could
Problem 3: qmail and tcpserver not logging to the logfiles its going to
the console instead
Any help would be appreciated.. oh BTW merry christmas everyone and best
seasons greetings
My setup
(tried to follow LWQ as close as i could.. using the mandrake linix6.0
dist. with sendmail,procmaail and postfix uninstalled)
here are my setup files etc...
my /var/qmail/control files
[root@top control]# vdir
total 5
-rw-r--r-- 1 root root 11 Dec 15 21:54 defaultdomain
-rw-r--r-- 1 root root 11 Dec 21 10:23 locals
-rw-r--r-- 1 root root 11 Dec 19 03:18 me
-rw-r--r-- 1 root root 7 Dec 15 21:54 plusdomain
-rw-r--r-- 1 root root 11 Dec 21 10:22 rcpthosts
[root@top control]# cat defaultdomain
kat.net.au
[root@top control]# cat locals
kat.net.au
[root@top control]# cat me
kat.net.au
[root@top control]# cat plusdomain
net.au
[root@top control]# cat rcpthosts
kat.net.au
[root@top control]#
my /etc/tcp.smtp file
[root@top qmail]# cd /etc
[root@top /etc]# cat tcp.smpt
cat: tcp.smpt: No such file or directory
[root@top /etc]# cat tcp.smtp
127.0.0.1:allow,RELAYCLIENT=""
10.0.0.1:allow,REALYCLIENT=""
10.0.0.21:allow,REALYCLIENT=""
10.0.0.22:allow,REALYCLIENT=""
10.0.0.23:allow,REALYCLIENT=""
10.0.0.31:allow,REALYCLIENT=""
203.87.57.227:allow,RELAYCLIENT=""
[root@top /etc]#
my /etc/rc.d/init.d/qmail file
#! /bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case "$1" in
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan &
echo $! > /var/run/svscan.pid
echo "."
;;
stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
stat)
cd /var/qmail/supervise
svstat * */log
;;
doqueue|alrm)
echo "Sending ALRM signal to qmail-send."
svc -a /var/qmail/supervise/qmail-send
;;
queue)
qmail-qstat
qmail-qread
;;
reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /var/qmail/supervise/qmail-send
;;
pause)
echo "Pausing qmail-send"
svc -p /var/qmail/supervise/qmail-send
echo "Pausing qmail-smtpd"
svc -p /var/qmail/supervise/qmail-smtpd
;;
cont)
echo "Continuing qmail-send"
svc -c /var/qmail/supervise/qmail-send
echo "Continuing qmail-smtpd"
svc -c /var/qmail/supervise/qmail-smtpd
;;
restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /var/qmail/supervise/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /var/qmail/supervise/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /var/qmail/supervise/qmail-smtpd
;;
cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp."
;;
*)
echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
exit 1
esac
exit 0
[root@top init.d]#
now my /var/qmail/alias
[root@top alias]# vdir
total 0
[root@top alias]# cat .qmail-mailer-daemon
cameron
[root@top alias]# cat .qmail-postmaster
cameron
[root@top alias]# cat .qmail-root
cameron
[root@top alias]# cat .qmail-webmaster
cameron
[root@top alias]#
my /var/qmail/rc
[root@top qmail]# cat rc
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start './Maildir./'
[root@top qmail]#
my /var/qmail/supervise dir
[root@top supervise]# vdir -R
.:
total 3
drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-pop3d
drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-send
drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-smtpd
qmail-pop3d:
total 3
drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
-rwxr-xr-x 1 root root 158 Dec 19 07:56 run
drwx------ 2 root root 1024 Dec 21 10:42 supervise
[root@top qmail-pop3d]#cat run
exec /usr/local/bin/tcpserver 0 pop-3 /var/qmail/bin/qmail-popup
mail.kat.net.au \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 &
[root@top qmail-pop3d]#
qmail-pop3d/log:
total 1
-rwxr-xr-x 1 root root 100 Dec 19 07:32 run
[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/qmail-pop3d
[root@top log]#
qmail-send:
total 3
drwxrwxr-t 2 root root 1024 Dec 19 00:15 log
-rwxr-xr-x 1 root root 30 Dec 19 00:14 run
drwx------ 2 root root 1024 Dec 21 10:24 supervise
[root@top qmail-send]# cat run
#!/bin/sh
exec /var/qmail/rc
[root@top qmail-send]#
qmail-send/log:
total 1
-rwxr-xr-x 1 root root 90 Dec 19 00:17 run
[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/miultilog t
/var/log/qmail
[root@top log]#
qmail-smtpd:
total 3
drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
-rwxr-xr-x 1 root root 232 Dec 21 10:03 run
drwx------ 2 root root 1024 Dec 21 10:24 supervise
[root@top qmail-smtpd]# cat run
#!/bin/sh
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -p -x/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
[root@top qmail-smtpd]#
qmail-smtpd/log:
total 1
-rwxr-xr-x 1 root root 94 Dec 19 00:23 run
[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd
[root@top log]#
my /etc/ services file
[root@top /etc]# cat services
# /etc/services:
# $Id: services,v 1.4 1997/05/20 19:41:21 tobias Exp $
#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single
well-known
# port number for both TCP and UDP; hence, most entries here have two
entries
# even if the protocol doesn't support UDP operations.
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all
ports
# are included, only the more common ones.
tcpmux 1/tcp # TCP port service
multiplexer
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users
daytime 13/tcp
daytime 13/udp
netstat 15/tcp
qotd 17/tcp quote
msp 18/tcp # message send protocol
msp 18/udp # message send protocol
chargen 19/tcp ttytst source
chargen 19/udp ttytst source
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
ssh 22/tcp # SSH Remote Login
Protocol
ssh 22/udp # SSH Remote Login
Protocol
telnet 23/tcp
# 24 - private
smtp 25/tcp mail
# 26 - unassigned
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource # resource location
nameserver 42/tcp name # IEN 116
whois 43/tcp nicname
re-mail-ck 50/tcp # Remote Mail Checking
Protocol
re-mail-ck 50/udp # Remote Mail Checking
Protocol
domain 53/tcp nameserver # name-domain server
domain 53/udp nameserver
mtp 57/tcp # deprecated
bootps 67/tcp # BOOTP server
bootps 67/udp
bootpc 68/tcp # BOOTP client
bootpc 68/udp
tftp 69/udp
gopher 70/tcp # Internet Gopher
gopher 70/udp
rje 77/tcp netrjs
finger 79/tcp
www 80/tcp http # WorldWideWeb HTTP
www 80/udp # HyperText Transfer
Protocol
link 87/tcp ttylink
kerberos 88/tcp kerberos5 krb5 # Kerberos v5
kerberos 88/udp kerberos5 krb5 # Kerberos v5
supdup 95/tcp
# 100 - reserved
hostnames 101/tcp hostname # usually from sri-nic
iso-tsap 102/tcp tsap # part of ISODE.
csnet-ns 105/tcp cso-ns # also used by CSO name
server
csnet-ns 105/udp cso-ns
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
# alias here. This should work for programs asking for this service.
# (due to a bug in inetd the 3com-tsmux line is disabled)
#3com-tsmux 106/tcp poppassd
#3com-tsmux 106/udp poppassd
rtelnet 107/tcp # Remote Telnet
rtelnet 107/udp
pop-2 109/tcp postoffice # POP version 2
pop-2 109/udp
pop-3 110/tcp # POP version 3
pop-3 110/udp
sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
auth 113/tcp authentication tap ident
sftp 115/tcp
uucp-path 117/tcp
nntp 119/tcp readnews untp # USENET News Transfer
Protocol
ntp 123/tcp
ntp 123/udp # Network Time Protocol
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram
Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session
service
netbios-ssn 139/udp
imap2 143/tcp imap # Interim Mail Access
Proto v2
imap2 143/udp imap
snmp 161/udp # Simple Net Mgmt Proto
snmp-trap 162/udp snmptrap # Traps for SNMP
cmip-man 163/tcp # ISO mgmt over IP
(CMOT)
cmip-man 163/udp
cmip-agent 164/tcp
cmip-agent 164/udp
xdmcp 177/tcp # X Display Mgr. Control
Proto
xdmcp 177/udp
nextstep 178/tcp NeXTStep NextStep # NeXTStep
window
nextstep 178/udp NeXTStep NextStep # server
bgp 179/tcp # Border Gateway Proto.
bgp 179/udp
prospero 191/tcp # Cliff Neuman's
Prospero
prospero 191/udp
irc 194/tcp # Internet Relay Chat
irc 194/udp
smux 199/tcp # SNMP Unix Multiplexer
smux 199/udp
at-rtmp 201/tcp # AppleTalk routing
at-rtmp 201/udp
at-nbp 202/tcp # AppleTalk name binding
at-nbp 202/udp
at-echo 204/tcp # AppleTalk echo
at-echo 204/udp
at-zis 206/tcp # AppleTalk zone
information
at-zis 206/udp
qmtp 209/tcp # The Quick Mail
Transfer Protocol
qmtp 209/udp # The Quick Mail
Transfer Protocol
z3950 210/tcp wais # NISO Z39.50 database
z3950 210/udp wais
ipx 213/tcp # IPX
ipx 213/udp
imap3 220/tcp # Interactive Mail
Access
imap3 220/udp # Protocol v3
rpc2portmap 369/tcp
rpc2portmap 369/udp # Coda portmapper
codaauth2 370/tcp
codaauth2 370/udp # Coda authentication
server
ulistserv 372/tcp # UNIX Listserv
ulistserv 372/udp
https 443/tcp # MCom
https 443/udp # MCom
snpp 444/tcp # Simple Network Paging
Protocol
snpp 444/udp # Simple Network Paging
Protocol
saft 487/tcp # Simple Asynchronous
File Transfer
saft 487/udp # Simple Asynchronous
File Transfer
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
#
# UNIX specific services
#
exec 512/tcp
biff 512/udp comsat
login 513/tcp
who 513/udp whod
shell 514/tcp cmd # no passwords used
syslog 514/udp
printer 515/tcp spooler # line printer spooler
talk 517/udp
ntalk 518/udp
route 520/udp router routed # RIP
timed 525/udp timeserver
tempo 526/tcp newdate
courier 530/tcp rpc
conference 531/tcp chat
netnews 532/tcp readnews
netwall 533/udp # -for emergency
broadcasts
uucp 540/tcp uucpd # uucp daemon
afpovertcp 548/tcp # AFP over TCP
afpovertcp 548/udp # AFP over TCP
remotefs 556/tcp rfs_server rfs # Brunhoff remote
filesystem
klogin 543/tcp # Kerberized `rlogin'
(v5)
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
#
webster 765/tcp # Network dictionary
webster 765/udp
#
# From ``Assigned Numbers'':
#
#> The Registered Ports are not controlled by the IANA and on most
systems
#> can be used by ordinary user processes or programs executed by
ordinary
#> users.
#
#> Ports are used in the TCP [45,106] to name the ends of logical
#> connections which carry long term conversations. For the purpose of
#> providing services to unknown callers, a service contact port is
#> defined. This list specifies the port used by the server process as
its
#> contact port. While the IANA can not control uses of these ports it
#> does register or list uses of these ports as a convienence to the
#> community.
#
ingreslock 1524/tcp
ingreslock 1524/udp
prospero-np 1525/tcp # Prospero
non-privileged
prospero-np 1525/udp
datametrics 1645/tcp old-radius # datametrics / old
radius entry
datametrics 1645/udp old-radius # datametrics / old
radius entry
sa-msg-port 1646/tcp old-radacct # sa-msg-port / old
radacct entry
sa-msg-port 1646/udp old-radacct # sa-msg-port / old
radacct entry
radius 1812/tcp # Radius
radius 1812/udp # Radius
radacct 1813/tcp # Radius Accounting
radacct 1813/udp # Radius Accounting
cvspserver 2401/tcp # CVS client/server
operations
cvspserver 2401/udp # CVS client/server
operations
venus 2430/tcp # codacon port
venus 2430/udp # Venus callback/wbc
interface
venus-se 2431/tcp # tcp side effects
venus-se 2431/udp # udp sftp side effect
codasrv 2432/tcp # not used
codasrv 2432/udp # server port
codasrv-se 2433/tcp # tcp side effects
codasrv-se 2433/udp # udp sftp side effect
mysql 3306/tcp # MySQL
mysql 3306/udp # MySQL
rfe 5002/tcp # Radio Free Ethernet
rfe 5002/udp # Actually uses UDP only
cfengine 5308/tcp # CFengine
cfengine 5308/udp # CFengine
bbs 7000/tcp # BBS service
#
#
# Kerberos (Project Athena/MIT) services
# Note that these are for Kerberos v4, and are unofficial. Sites
running
# v4 should uncomment these and comment out the v5 entries above.
#
kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
kerberos_master 751/udp # Kerberos
authentication
kerberos_master 751/tcp # Kerberos
authentication
passwd_server 752/udp # Kerberos passwd server
krb_prop 754/tcp # Kerberos slave
propagation
krbupdate 760/tcp kreg # Kerberos registration
kpasswd 761/tcp kpwd # Kerberos "passwd"
kpop 1109/tcp # Pop with Kerberos
knetd 2053/tcp # Kerberos
de-multiplexor
zephyr-srv 2102/udp # Zephyr server
zephyr-clt 2103/udp # Zephyr serv-hm
connection
zephyr-hm 2104/udp # Zephyr hostmanager
eklogin 2105/tcp # Kerberos encrypted
rlogin
#
# Unofficial but necessary (for NetBSD) services
#
supfilesrv 871/tcp # SUP server
supfiledbg 1127/tcp # SUP debugging
#
# Datagram Delivery Protocol services
#
rtmp 1/ddp # Routing Table
Maintenance Protocol
nbp 2/ddp # Name Binding Protocol
echo 4/ddp # AppleTalk Echo
Protocol
zip 6/ddp # Zone Information
Protocol
#
# Services added for the Debian GNU/Linux distribution
poppassd 106/tcp # Eudora
poppassd 106/udp # Eudora
mailq 174/tcp # Mailer transport queue
for Zmailer
mailq 174/tcp # Mailer transport queue
for Zmailer
ssmtp 465/tcp # SMTP over SSL
gdomap 538/tcp # GNUstep distributed
objects
gdomap 538/udp # GNUstep distributed
objects
snews 563/tcp # NNTP over SSL
ssl-ldap 636/tcp # LDAP over SSL
omirr 808/tcp omirrd # online mirror
omirr 808/udp omirrd # online mirror
rsync 873/tcp # rsync
rsync 873/udp # rsync
simap 993/tcp # IMAP over SSL
spop3 995/tcp # POP-3 over SSL
socks 1080/tcp # socks proxy server
socks 1080/udp # socks proxy server
rmtcfg 1236/tcp # Gracilis Packeten
remote config server
xtel 1313/tcp # french minitel
support 1529/tcp # GNATS
cfinger 2003/tcp # GNU Finger
ninstall 2150/tcp # ninstall service
ninstall 2150/udp # ninstall service
afbackup 2988/tcp # Afbackup system
afbackup 2988/udp # Afbackup system
?icp 3130/udp # Internet Cache
Protocol (Squid)
postgres 5432/tcp # POSTGRES
postgres 5432/udp # POSTGRES
fax 4557/tcp # FAX transmission
service (old)
hylafax 4559/tcp # HylaFAX client-server
protocol (new)
noclog 5354/tcp # noclogd with TCP
(nocol)
noclog 5354/udp # noclogd with UDP
(nocol)
hostmon 5355/tcp # hostmon uses TCP
(nocol)
hostmon 5355/udp # hostmon uses TCP
(nocol)
ircd 6667/tcp # Internet Relay Chat
ircd 6667/udp # Internet Relay Chat
webcache 8080/tcp # WWW caching service
webcache 8080/udp # WWW caching service
tproxy 8081/tcp # Transparent Proxy
tproxy 8081/udp # Transparent Proxy
mandelspawn 9359/udp mandelbrot # network mandelbrot
amanda 10080/udp # amanda backup services
kamanda 10081/tcp # amanda backup services
(Kerberos)
kamanda 10081/udp # amanda backup services
(Kerberos)
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
isdnlog 20011/tcp # isdn logging system
isdnlog 20011/udp # isdn logging system
vboxd 20012/tcp # voice box system
vboxd 20012/udp # voice box system
binkp 24554/tcp # Binkley
binkp 24554/udp # Binkley
asp 27374/tcp # Address Search
Protocol
asp 27374/udp # Address Search
Protocol
tfido 60177/tcp # Ifmail
tfido 60177/udp # Ifmail
fido 60179/tcp # Ifmail
fido 60179/udp # Ifmail
# Local services
linuxconf 98/tcp # added by linuxconf RPM
swat 901/tcp # Add swat service
used via inetd
[root@top /etc]#
> Problem1 : user on 10.0.0.21 can send mail to <anyone>@kat.net.au
> but not to <anyone>@<anywhere-else.<com/net/org>
> [root@top /etc]# cat tcp.smtp
> 127.0.0.1:allow,RELAYCLIENT=""
> 10.0.0.21:allow,REALYCLIENT=""
^^^
In case those arrows haven't come out in the right spot, you have a spelling
mistake! A couple of them even... Change all your realy's to relay's =)
Also (don't be upset, I have to mention it) don't forget to re-run the file
through tcprules.
Thanks.. i feel very small about the spelling mistakes..
Thanks for the reminder to me and everyone else reading this message
Always rememer to run
/etc/rc.d/init.d/qmail cdb
after altering the tcp.smtp file
after fixing those spelling errors the relaying now works however the other
probs remain
Jim Gilliver wrote:
> > Problem1 : user on 10.0.0.21 can send mail to <anyone>@kat.net.au
> > but not to <anyone>@<anywhere-else.<com/net/org>
>
> > [root@top /etc]# cat tcp.smtp
> > 127.0.0.1:allow,RELAYCLIENT=""
> > 10.0.0.21:allow,REALYCLIENT=""
> ^^^
>
> In case those arrows haven't come out in the right spot, you have a spelling
> mistake! A couple of them even... Change all your realy's to relay's =)
>
> Also (don't be upset, I have to mention it) don't forget to re-run the file
> through tcprules.
Cameron,
If this is actually a <snip> from your xterm, it looks like you have a
problem in your tcp.smtp file.
Look at the environment variable.
REALYCLIENT=""
I think you mean
RELAYCLIENT=""
Try that for a solution to problem number 1.
For problem 3, it appears (I didn't look closely at what was going on in
your scripts), that you have a spelling error in miultilog.
Come back to the list if you still have troubles,
-Martin
--
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]
On Tue, 21 Dec 1999, Cameron Arnott wrote:
-->Hi, Here I go again..
-->I know i had it working before but can't remember how..
-->As far as i know i have everything set up ok. and the same as before
-->
-->First i'll state my problems then my setup
-->
-->
-->Problem1 : user on 10.0.0.21 can send mail to <anyone>@kat.net.au
--> but not to <anyone>@<anywhere-else.<com/net/org>
-->
--> however i can from the server.. (if i couldn't you
-->wouldn't be reading this message)
-->
-->Problem 2 : a prob with the pop3d starting 2 copies.. help with this
-->would also be appreciated
--> Sorry but this is a long message but it'll tell you everything about
-->how i have qmail setup
--> I read and used LWQ as the base and tried to follow it as much as i
-->could
-->
-->Problem 3: qmail and tcpserver not logging to the logfiles its going to
-->the console instead
-->
-->
-->Any help would be appreciated.. oh BTW merry christmas everyone and best
-->seasons greetings
-->
-->My setup
-->(tried to follow LWQ as close as i could.. using the mandrake linix6.0
-->dist. with sendmail,procmaail and postfix uninstalled)
-->
-->here are my setup files etc...
-->
-->my /var/qmail/control files
-->
-->[root@top control]# vdir
-->total 5
-->-rw-r--r-- 1 root root 11 Dec 15 21:54 defaultdomain
-->-rw-r--r-- 1 root root 11 Dec 21 10:23 locals
-->-rw-r--r-- 1 root root 11 Dec 19 03:18 me
-->-rw-r--r-- 1 root root 7 Dec 15 21:54 plusdomain
-->-rw-r--r-- 1 root root 11 Dec 21 10:22 rcpthosts
-->[root@top control]# cat defaultdomain
-->kat.net.au
-->[root@top control]# cat locals
-->kat.net.au
-->[root@top control]# cat me
-->kat.net.au
-->[root@top control]# cat plusdomain
-->net.au
-->[root@top control]# cat rcpthosts
-->kat.net.au
-->[root@top control]#
-->
-->my /etc/tcp.smtp file
-->
-->[root@top qmail]# cd /etc
-->[root@top /etc]# cat tcp.smpt
-->cat: tcp.smpt: No such file or directory
-->[root@top /etc]# cat tcp.smtp
-->127.0.0.1:allow,RELAYCLIENT=""
-->10.0.0.1:allow,REALYCLIENT=""
-->10.0.0.21:allow,REALYCLIENT=""
-->10.0.0.22:allow,REALYCLIENT=""
-->10.0.0.23:allow,REALYCLIENT=""
-->10.0.0.31:allow,REALYCLIENT=""
-->203.87.57.227:allow,RELAYCLIENT=""
-->[root@top /etc]#
-->
-->my /etc/rc.d/init.d/qmail file
-->
-->#! /bin/sh
-->
-->PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
-->export PATH
-->
-->case "$1" in
--> start)
--> echo -n "Starting qmail: svscan"
--> cd /var/qmail/supervise
--> env - PATH="$PATH" svscan &
--> echo $! > /var/run/svscan.pid
--> echo "."
--> ;;
--> stop)
--> echo -n "Stopping qmail: svscan"
--> kill `cat /var/run/svscan.pid`
--> echo -n " qmail"
--> svc -dx /var/qmail/supervise/*
--> echo -n " logging"
--> svc -dx /var/qmail/supervise/*/log
--> echo "."
--> ;;
--> stat)
--> cd /var/qmail/supervise
--> svstat * */log
--> ;;
--> doqueue|alrm)
--> echo "Sending ALRM signal to qmail-send."
--> svc -a /var/qmail/supervise/qmail-send
--> ;;
--> queue)
--> qmail-qstat
--> qmail-qread
--> ;;
--> reload|hup)
--> echo "Sending HUP signal to qmail-send."
--> svc -h /var/qmail/supervise/qmail-send
--> ;;
--> pause)
--> echo "Pausing qmail-send"
--> svc -p /var/qmail/supervise/qmail-send
--> echo "Pausing qmail-smtpd"
--> svc -p /var/qmail/supervise/qmail-smtpd
--> ;;
--> cont)
--> echo "Continuing qmail-send"
--> svc -c /var/qmail/supervise/qmail-send
--> echo "Continuing qmail-smtpd"
--> svc -c /var/qmail/supervise/qmail-smtpd
--> ;;
--> restart)
--> echo "Restarting qmail:"
--> echo "* Stopping qmail-smtpd."
--> svc -d /var/qmail/supervise/qmail-smtpd
--> echo "* Sending qmail-send SIGTERM and restarting."
--> svc -t /var/qmail/supervise/qmail-send
--> echo "* Restarting qmail-smtpd."
--> svc -u /var/qmail/supervise/qmail-smtpd
--> ;;
--> cdb)
--> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
--> chmod 644 /etc/tcp.smtp*
--> echo "Reloaded /etc/tcp.smtp."
--> ;;
--> *)
--> echo "Usage: $0
-->{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
--> exit 1
-->esac
-->exit 0
-->[root@top init.d]#
-->
-->now my /var/qmail/alias
-->
-->[root@top alias]# vdir
-->total 0
-->[root@top alias]# cat .qmail-mailer-daemon
-->cameron
-->[root@top alias]# cat .qmail-postmaster
-->cameron
-->[root@top alias]# cat .qmail-root
-->cameron
-->[root@top alias]# cat .qmail-webmaster
-->cameron
-->[root@top alias]#
-->
-->my /var/qmail/rc
-->
-->[root@top qmail]# cat rc
-->#!/bin/sh
-->exec env - PATH="/var/qmail/bin:$PATH" \
-->qmail-start './Maildir./'
-->[root@top qmail]#
-->
-->my /var/qmail/supervise dir
-->
-->[root@top supervise]# vdir -R
-->.:
-->total 3
-->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-pop3d
-->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-send
-->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-smtpd
-->
-->qmail-pop3d:
-->total 3
-->drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
-->-rwxr-xr-x 1 root root 158 Dec 19 07:56 run
-->drwx------ 2 root root 1024 Dec 21 10:42 supervise
-->
-->[root@top qmail-pop3d]#cat run
-->exec /usr/local/bin/tcpserver 0 pop-3 /var/qmail/bin/qmail-popup
-->mail.kat.net.au \
--> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 &
-->[root@top qmail-pop3d]#
-->
-->
-->qmail-pop3d/log:
-->total 1
-->-rwxr-xr-x 1 root root 100 Dec 19 07:32 run
-->
-->[root@top log]# cat run
-->#!/bin/sh
-->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
-->/var/log/qmail/qmail-pop3d
-->[root@top log]#
-->
-->qmail-send:
-->total 3
-->drwxrwxr-t 2 root root 1024 Dec 19 00:15 log
-->-rwxr-xr-x 1 root root 30 Dec 19 00:14 run
-->drwx------ 2 root root 1024 Dec 21 10:24 supervise
-->
-->[root@top qmail-send]# cat run
-->#!/bin/sh
-->exec /var/qmail/rc
-->
-->[root@top qmail-send]#
-->
-->
-->qmail-send/log:
-->total 1
-->-rwxr-xr-x 1 root root 90 Dec 19 00:17 run
-->
-->[root@top log]# cat run
-->#!/bin/sh
-->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/miultilog t
-->/var/log/qmail
-->
-->[root@top log]#
-->
-->qmail-smtpd:
-->total 3
-->drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
-->-rwxr-xr-x 1 root root 232 Dec 21 10:03 run
-->drwx------ 2 root root 1024 Dec 21 10:24 supervise
-->
-->[root@top qmail-smtpd]# cat run
-->
--> #!/bin/sh
-->QMAILDUID='id -u qmaild'
-->NOFILESGID='id -g qmaild'
-->exec /usr/local/bin/softlimit -m 2000000 \
--> /usr/local/bin/tcpserver -v -p -x/etc/tcp.smtp.cdb \
--> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
-->2>&1
-->[root@top qmail-smtpd]#
-->
-->
-->
-->qmail-smtpd/log:
-->total 1
-->-rwxr-xr-x 1 root root 94 Dec 19 00:23 run
--> [root@top log]# cat run
-->#!/bin/sh
-->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
-->/var/log/qmail/smtpd
-->[root@top log]#
-->
-->my /etc/ services file
-->
-->[root@top /etc]# cat services
--># /etc/services:
--># $Id: services,v 1.4 1997/05/20 19:41:21 tobias Exp $
-->#
--># Network services, Internet style
-->#
--># Note that it is presently the policy of IANA to assign a single
-->well-known
--># port number for both TCP and UDP; hence, most entries here have two
-->entries
--># even if the protocol doesn't support UDP operations.
--># Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all
-->ports
--># are included, only the more common ones.
-->
-->tcpmux 1/tcp # TCP port service
-->multiplexer
-->echo 7/tcp
-->echo 7/udp
-->discard 9/tcp sink null
-->discard 9/udp sink null
-->systat 11/tcp users
-->daytime 13/tcp
-->daytime 13/udp
-->netstat 15/tcp
-->qotd 17/tcp quote
-->msp 18/tcp # message send protocol
-->msp 18/udp # message send protocol
-->chargen 19/tcp ttytst source
-->chargen 19/udp ttytst source
-->ftp-data 20/tcp
-->ftp 21/tcp
-->fsp 21/udp fspd
-->ssh 22/tcp # SSH Remote Login
-->Protocol
-->ssh 22/udp # SSH Remote Login
-->Protocol
-->telnet 23/tcp
--># 24 - private
-->smtp 25/tcp mail
--># 26 - unassigned
-->time 37/tcp timserver
-->time 37/udp timserver
-->rlp 39/udp resource # resource location
-->nameserver 42/tcp name # IEN 116
-->whois 43/tcp nicname
-->re-mail-ck 50/tcp # Remote Mail Checking
-->Protocol
-->re-mail-ck 50/udp # Remote Mail Checking
-->Protocol
-->domain 53/tcp nameserver # name-domain server
-->domain 53/udp nameserver
-->mtp 57/tcp # deprecated
-->bootps 67/tcp # BOOTP server
-->bootps 67/udp
-->bootpc 68/tcp # BOOTP client
-->bootpc 68/udp
-->tftp 69/udp
-->gopher 70/tcp # Internet Gopher
-->gopher 70/udp
-->rje 77/tcp netrjs
-->finger 79/tcp
-->www 80/tcp http # WorldWideWeb HTTP
-->www 80/udp # HyperText Transfer
-->Protocol
-->link 87/tcp ttylink
-->kerberos 88/tcp kerberos5 krb5 # Kerberos v5
-->kerberos 88/udp kerberos5 krb5 # Kerberos v5
-->supdup 95/tcp
--># 100 - reserved
-->hostnames 101/tcp hostname # usually from sri-nic
-->iso-tsap 102/tcp tsap # part of ISODE.
-->csnet-ns 105/tcp cso-ns # also used by CSO name
-->server
-->csnet-ns 105/udp cso-ns
--># unfortunately the poppassd (Eudora) uses a port which has already
--># been assigned to a different service. We list the poppassd as an
--># alias here. This should work for programs asking for this service.
--># (due to a bug in inetd the 3com-tsmux line is disabled)
-->#3com-tsmux 106/tcp poppassd
-->#3com-tsmux 106/udp poppassd
-->rtelnet 107/tcp # Remote Telnet
-->rtelnet 107/udp
-->pop-2 109/tcp postoffice # POP version 2
-->pop-2 109/udp
-->pop-3 110/tcp # POP version 3
-->pop-3 110/udp
-->sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
-->
-->sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
-->
-->auth 113/tcp authentication tap ident
-->sftp 115/tcp
-->uucp-path 117/tcp
-->nntp 119/tcp readnews untp # USENET News Transfer
-->Protocol
-->ntp 123/tcp
-->ntp 123/udp # Network Time Protocol
-->netbios-ns 137/tcp # NETBIOS Name Service
-->netbios-ns 137/udp
-->netbios-dgm 138/tcp # NETBIOS Datagram
-->Service
-->netbios-dgm 138/udp
-->netbios-ssn 139/tcp # NETBIOS session
-->service
-->netbios-ssn 139/udp
-->imap2 143/tcp imap # Interim Mail Access
-->Proto v2
-->imap2 143/udp imap
-->snmp 161/udp # Simple Net Mgmt Proto
-->snmp-trap 162/udp snmptrap # Traps for SNMP
-->cmip-man 163/tcp # ISO mgmt over IP
-->(CMOT)
-->cmip-man 163/udp
-->cmip-agent 164/tcp
-->cmip-agent 164/udp
-->xdmcp 177/tcp # X Display Mgr. Control
-->Proto
-->xdmcp 177/udp
-->nextstep 178/tcp NeXTStep NextStep # NeXTStep
-->window
-->nextstep 178/udp NeXTStep NextStep # server
-->bgp 179/tcp # Border Gateway Proto.
-->bgp 179/udp
-->prospero 191/tcp # Cliff Neuman's
-->Prospero
-->prospero 191/udp
-->irc 194/tcp # Internet Relay Chat
-->irc 194/udp
-->smux 199/tcp # SNMP Unix Multiplexer
-->smux 199/udp
-->at-rtmp 201/tcp # AppleTalk routing
-->at-rtmp 201/udp
-->at-nbp 202/tcp # AppleTalk name binding
-->
-->at-nbp 202/udp
-->at-echo 204/tcp # AppleTalk echo
-->at-echo 204/udp
-->at-zis 206/tcp # AppleTalk zone
-->information
-->at-zis 206/udp
-->qmtp 209/tcp # The Quick Mail
-->Transfer Protocol
-->qmtp 209/udp # The Quick Mail
-->Transfer Protocol
-->z3950 210/tcp wais # NISO Z39.50 database
-->z3950 210/udp wais
-->ipx 213/tcp # IPX
-->ipx 213/udp
-->imap3 220/tcp # Interactive Mail
-->Access
-->imap3 220/udp # Protocol v3
-->rpc2portmap 369/tcp
-->rpc2portmap 369/udp # Coda portmapper
-->codaauth2 370/tcp
-->codaauth2 370/udp # Coda authentication
-->server
-->ulistserv 372/tcp # UNIX Listserv
-->ulistserv 372/udp
-->https 443/tcp # MCom
-->https 443/udp # MCom
-->snpp 444/tcp # Simple Network Paging
-->Protocol
-->snpp 444/udp # Simple Network Paging
-->Protocol
-->saft 487/tcp # Simple Asynchronous
-->File Transfer
-->saft 487/udp # Simple Asynchronous
-->File Transfer
-->npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
-->npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
-->npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
-->npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
-->hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
-->hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
-->#
--># UNIX specific services
-->#
-->exec 512/tcp
-->biff 512/udp comsat
-->login 513/tcp
-->who 513/udp whod
-->shell 514/tcp cmd # no passwords used
-->syslog 514/udp
-->printer 515/tcp spooler # line printer spooler
-->talk 517/udp
-->ntalk 518/udp
-->route 520/udp router routed # RIP
-->timed 525/udp timeserver
-->tempo 526/tcp newdate
-->courier 530/tcp rpc
-->conference 531/tcp chat
-->netnews 532/tcp readnews
-->netwall 533/udp # -for emergency
-->broadcasts
-->uucp 540/tcp uucpd # uucp daemon
-->afpovertcp 548/tcp # AFP over TCP
-->afpovertcp 548/udp # AFP over TCP
-->remotefs 556/tcp rfs_server rfs # Brunhoff remote
-->filesystem
-->klogin 543/tcp # Kerberized `rlogin'
-->(v5)
-->kshell 544/tcp krcmd # Kerberized `rsh' (v5)
-->kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
-->
-->#
-->webster 765/tcp # Network dictionary
-->webster 765/udp
-->#
--># From ``Assigned Numbers'':
-->#
-->#> The Registered Ports are not controlled by the IANA and on most
-->systems
-->#> can be used by ordinary user processes or programs executed by
-->ordinary
-->#> users.
-->#
-->#> Ports are used in the TCP [45,106] to name the ends of logical
-->#> connections which carry long term conversations. For the purpose of
-->#> providing services to unknown callers, a service contact port is
-->#> defined. This list specifies the port used by the server process as
-->its
-->#> contact port. While the IANA can not control uses of these ports it
-->#> does register or list uses of these ports as a convienence to the
-->#> community.
-->#
-->ingreslock 1524/tcp
-->ingreslock 1524/udp
-->prospero-np 1525/tcp # Prospero
-->non-privileged
-->prospero-np 1525/udp
-->datametrics 1645/tcp old-radius # datametrics / old
-->radius entry
-->datametrics 1645/udp old-radius # datametrics / old
-->radius entry
-->sa-msg-port 1646/tcp old-radacct # sa-msg-port / old
-->radacct entry
-->sa-msg-port 1646/udp old-radacct # sa-msg-port / old
-->radacct entry
-->radius 1812/tcp # Radius
-->radius 1812/udp # Radius
-->radacct 1813/tcp # Radius Accounting
-->radacct 1813/udp # Radius Accounting
-->cvspserver 2401/tcp # CVS client/server
-->operations
-->cvspserver 2401/udp # CVS client/server
-->operations
-->venus 2430/tcp # codacon port
-->venus 2430/udp # Venus callback/wbc
-->interface
-->venus-se 2431/tcp # tcp side effects
-->venus-se 2431/udp # udp sftp side effect
-->codasrv 2432/tcp # not used
-->codasrv 2432/udp # server port
-->codasrv-se 2433/tcp # tcp side effects
-->codasrv-se 2433/udp # udp sftp side effect
-->mysql 3306/tcp # MySQL
-->mysql 3306/udp # MySQL
-->rfe 5002/tcp # Radio Free Ethernet
-->rfe 5002/udp # Actually uses UDP only
-->
-->cfengine 5308/tcp # CFengine
-->cfengine 5308/udp # CFengine
-->bbs 7000/tcp # BBS service
-->#
-->#
--># Kerberos (Project Athena/MIT) services
--># Note that these are for Kerberos v4, and are unofficial. Sites
-->running
--># v4 should uncomment these and comment out the v5 entries above.
-->#
-->kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
-->kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
-->kerberos_master 751/udp # Kerberos
-->authentication
-->kerberos_master 751/tcp # Kerberos
-->authentication
-->passwd_server 752/udp # Kerberos passwd server
-->
-->krb_prop 754/tcp # Kerberos slave
-->propagation
-->krbupdate 760/tcp kreg # Kerberos registration
-->kpasswd 761/tcp kpwd # Kerberos "passwd"
-->kpop 1109/tcp # Pop with Kerberos
-->knetd 2053/tcp # Kerberos
-->de-multiplexor
-->zephyr-srv 2102/udp # Zephyr server
-->zephyr-clt 2103/udp # Zephyr serv-hm
-->connection
-->zephyr-hm 2104/udp # Zephyr hostmanager
-->eklogin 2105/tcp # Kerberos encrypted
-->rlogin
-->#
--># Unofficial but necessary (for NetBSD) services
-->#
-->supfilesrv 871/tcp # SUP server
-->supfiledbg 1127/tcp # SUP debugging
-->#
--># Datagram Delivery Protocol services
-->#
-->rtmp 1/ddp # Routing Table
-->Maintenance Protocol
-->nbp 2/ddp # Name Binding Protocol
-->echo 4/ddp # AppleTalk Echo
-->Protocol
-->zip 6/ddp # Zone Information
-->Protocol
-->#
--># Services added for the Debian GNU/Linux distribution
-->poppassd 106/tcp # Eudora
-->poppassd 106/udp # Eudora
-->mailq 174/tcp # Mailer transport queue
-->for Zmailer
-->mailq 174/tcp # Mailer transport queue
-->for Zmailer
-->ssmtp 465/tcp # SMTP over SSL
-->gdomap 538/tcp # GNUstep distributed
-->objects
-->gdomap 538/udp # GNUstep distributed
-->objects
-->snews 563/tcp # NNTP over SSL
-->ssl-ldap 636/tcp # LDAP over SSL
-->omirr 808/tcp omirrd # online mirror
-->omirr 808/udp omirrd # online mirror
-->rsync 873/tcp # rsync
-->rsync 873/udp # rsync
-->simap 993/tcp # IMAP over SSL
-->spop3 995/tcp # POP-3 over SSL
-->socks 1080/tcp # socks proxy server
-->socks 1080/udp # socks proxy server
-->rmtcfg 1236/tcp # Gracilis Packeten
-->remote config server
-->xtel 1313/tcp # french minitel
-->support 1529/tcp # GNATS
-->cfinger 2003/tcp # GNU Finger
-->ninstall 2150/tcp # ninstall service
-->ninstall 2150/udp # ninstall service
-->afbackup 2988/tcp # Afbackup system
-->afbackup 2988/udp # Afbackup system
-->
-->?icp 3130/udp # Internet Cache
-->Protocol (Squid)
-->postgres 5432/tcp # POSTGRES
-->postgres 5432/udp # POSTGRES
-->fax 4557/tcp # FAX transmission
-->service (old)
-->hylafax 4559/tcp # HylaFAX client-server
-->protocol (new)
-->noclog 5354/tcp # noclogd with TCP
-->(nocol)
-->noclog 5354/udp # noclogd with UDP
-->(nocol)
-->hostmon 5355/tcp # hostmon uses TCP
-->(nocol)
-->hostmon 5355/udp # hostmon uses TCP
-->(nocol)
-->ircd 6667/tcp # Internet Relay Chat
-->ircd 6667/udp # Internet Relay Chat
-->webcache 8080/tcp # WWW caching service
-->webcache 8080/udp # WWW caching service
-->tproxy 8081/tcp # Transparent Proxy
-->tproxy 8081/udp # Transparent Proxy
-->mandelspawn 9359/udp mandelbrot # network mandelbrot
-->amanda 10080/udp # amanda backup services
-->
-->kamanda 10081/tcp # amanda backup services
-->(Kerberos)
-->kamanda 10081/udp # amanda backup services
-->(Kerberos)
-->amandaidx 10082/tcp # amanda backup services
-->
-->amidxtape 10083/tcp # amanda backup services
-->
-->isdnlog 20011/tcp # isdn logging system
-->isdnlog 20011/udp # isdn logging system
-->vboxd 20012/tcp # voice box system
-->vboxd 20012/udp # voice box system
-->binkp 24554/tcp # Binkley
-->binkp 24554/udp # Binkley
-->asp 27374/tcp # Address Search
-->Protocol
-->asp 27374/udp # Address Search
-->Protocol
-->tfido 60177/tcp # Ifmail
-->tfido 60177/udp # Ifmail
-->fido 60179/tcp # Ifmail
-->fido 60179/udp # Ifmail
-->
--># Local services
-->
-->linuxconf 98/tcp # added by linuxconf RPM
-->swat 901/tcp # Add swat service
-->used via inetd
-->[root@top /etc]#
-->
-->
-->
-->
-->
Doh.. (utter embarasement) thanks for pointout my spelling mistakes.. thats
fixed up the realying.. (i feel so stupid.. been looking at these darn files
for days and never picked them up.. i've also fixedup the spelling in the
multilog for loging the send however it still puts the log info to the console
not the logdir's listes below.. and the qmail-pop3d is still starting up
twice.. it is working thougn.. just the second starting of it just keeps
restarting because its already running.. when i do a
/etc/rc.d/init.d/qmail stop the first evoking still running . i kill that task
and nothing is then running and then i start up qmail again and the same
thing.. it runs the pop3 deamon twice..
[root@top qmail]# vdir
total 2
drwxrwxr-x 2 qmaill nofiles 1024 Dec 19 04:50 qmail.pop3d
drwxrwxr-x 2 qmaill nofiles 1024 Dec 19 01:55 qmail.smtpd
[root@top qmail]#
"Martin A. Brown" wrote:
> Cameron,
>
> If this is actually a <snip> from your xterm, it looks like you have a
> problem in your tcp.smtp file.
>
> Look at the environment variable.
> REALYCLIENT=""
> I think you mean
> RELAYCLIENT=""
>
> Try that for a solution to problem number 1.
>
> For problem 3, it appears (I didn't look closely at what was going on in
> your scripts), that you have a spelling error in miultilog.
>
> Come back to the list if you still have troubles,
>
> -Martin
>
> --
> Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]
>
> On Tue, 21 Dec 1999, Cameron Arnott wrote:
>
> -->Hi, Here I go again..
> -->I know i had it working before but can't remember how..
> -->As far as i know i have everything set up ok. and the same as before
> -->
> -->First i'll state my problems then my setup
> -->
> -->
> -->Problem1 : user on 10.0.0.21 can send mail to <anyone>@kat.net.au
> --> but not to <anyone>@<anywhere-else.<com/net/org>
> -->
> --> however i can from the server.. (if i couldn't you
> -->wouldn't be reading this message)
> -->
> -->Problem 2 : a prob with the pop3d starting 2 copies.. help with this
> -->would also be appreciated
> --> Sorry but this is a long message but it'll tell you everything about
> -->how i have qmail setup
> --> I read and used LWQ as the base and tried to follow it as much as i
> -->could
> -->
> -->Problem 3: qmail and tcpserver not logging to the logfiles its going to
> -->the console instead
> -->
> -->
> -->Any help would be appreciated.. oh BTW merry christmas everyone and best
> -->seasons greetings
> -->
> -->My setup
> -->(tried to follow LWQ as close as i could.. using the mandrake linix6.0
> -->dist. with sendmail,procmaail and postfix uninstalled)
> -->
> -->here are my setup files etc...
> -->
> -->my /var/qmail/control files
> -->
> -->[root@top control]# vdir
> -->total 5
> -->-rw-r--r-- 1 root root 11 Dec 15 21:54 defaultdomain
> -->-rw-r--r-- 1 root root 11 Dec 21 10:23 locals
> -->-rw-r--r-- 1 root root 11 Dec 19 03:18 me
> -->-rw-r--r-- 1 root root 7 Dec 15 21:54 plusdomain
> -->-rw-r--r-- 1 root root 11 Dec 21 10:22 rcpthosts
> -->[root@top control]# cat defaultdomain
> -->kat.net.au
> -->[root@top control]# cat locals
> -->kat.net.au
> -->[root@top control]# cat me
> -->kat.net.au
> -->[root@top control]# cat plusdomain
> -->net.au
> -->[root@top control]# cat rcpthosts
> -->kat.net.au
> -->[root@top control]#
> -->
> -->my /etc/tcp.smtp file
> -->
> -->[root@top qmail]# cd /etc
> -->[root@top /etc]# cat tcp.smpt
> -->cat: tcp.smpt: No such file or directory
> -->[root@top /etc]# cat tcp.smtp
> -->127.0.0.1:allow,RELAYCLIENT=""
> -->10.0.0.1:allow,REALYCLIENT=""
> -->10.0.0.21:allow,REALYCLIENT=""
> -->10.0.0.22:allow,REALYCLIENT=""
> -->10.0.0.23:allow,REALYCLIENT=""
> -->10.0.0.31:allow,REALYCLIENT=""
> -->203.87.57.227:allow,RELAYCLIENT=""
> -->[root@top /etc]#
> -->
> -->my /etc/rc.d/init.d/qmail file
> -->
> -->#! /bin/sh
> -->
> -->PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
> -->export PATH
> -->
> -->case "$1" in
> --> start)
> --> echo -n "Starting qmail: svscan"
> --> cd /var/qmail/supervise
> --> env - PATH="$PATH" svscan &
> --> echo $! > /var/run/svscan.pid
> --> echo "."
> --> ;;
> --> stop)
> --> echo -n "Stopping qmail: svscan"
> --> kill `cat /var/run/svscan.pid`
> --> echo -n " qmail"
> --> svc -dx /var/qmail/supervise/*
> --> echo -n " logging"
> --> svc -dx /var/qmail/supervise/*/log
> --> echo "."
> --> ;;
> --> stat)
> --> cd /var/qmail/supervise
> --> svstat * */log
> --> ;;
> --> doqueue|alrm)
> --> echo "Sending ALRM signal to qmail-send."
> --> svc -a /var/qmail/supervise/qmail-send
> --> ;;
> --> queue)
> --> qmail-qstat
> --> qmail-qread
> --> ;;
> --> reload|hup)
> --> echo "Sending HUP signal to qmail-send."
> --> svc -h /var/qmail/supervise/qmail-send
> --> ;;
> --> pause)
> --> echo "Pausing qmail-send"
> --> svc -p /var/qmail/supervise/qmail-send
> --> echo "Pausing qmail-smtpd"
> --> svc -p /var/qmail/supervise/qmail-smtpd
> --> ;;
> --> cont)
> --> echo "Continuing qmail-send"
> --> svc -c /var/qmail/supervise/qmail-send
> --> echo "Continuing qmail-smtpd"
> --> svc -c /var/qmail/supervise/qmail-smtpd
> --> ;;
> --> restart)
> --> echo "Restarting qmail:"
> --> echo "* Stopping qmail-smtpd."
> --> svc -d /var/qmail/supervise/qmail-smtpd
> --> echo "* Sending qmail-send SIGTERM and restarting."
> --> svc -t /var/qmail/supervise/qmail-send
> --> echo "* Restarting qmail-smtpd."
> --> svc -u /var/qmail/supervise/qmail-smtpd
> --> ;;
> --> cdb)
> --> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> --> chmod 644 /etc/tcp.smtp*
> --> echo "Reloaded /etc/tcp.smtp."
> --> ;;
> --> *)
> --> echo "Usage: $0
> -->{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
> --> exit 1
> -->esac
> -->exit 0
> -->[root@top init.d]#
> -->
> -->now my /var/qmail/alias
> -->
> -->[root@top alias]# vdir
> -->total 0
> -->[root@top alias]# cat .qmail-mailer-daemon
> -->cameron
> -->[root@top alias]# cat .qmail-postmaster
> -->cameron
> -->[root@top alias]# cat .qmail-root
> -->cameron
> -->[root@top alias]# cat .qmail-webmaster
> -->cameron
> -->[root@top alias]#
> -->
> -->my /var/qmail/rc
> -->
> -->[root@top qmail]# cat rc
> -->#!/bin/sh
> -->exec env - PATH="/var/qmail/bin:$PATH" \
> -->qmail-start './Maildir./'
> -->[root@top qmail]#
> -->
> -->my /var/qmail/supervise dir
> -->
> -->[root@top supervise]# vdir -R
> -->.:
> -->total 3
> -->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-pop3d
> -->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-send
> -->drwxrwxr-x 4 root root 1024 Dec 19 01:43 qmail-smtpd
> -->
> -->qmail-pop3d:
> -->total 3
> -->drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
> -->-rwxr-xr-x 1 root root 158 Dec 19 07:56 run
> -->drwx------ 2 root root 1024 Dec 21 10:42 supervise
> -->
> -->[root@top qmail-pop3d]#cat run
> -->exec /usr/local/bin/tcpserver 0 pop-3 /var/qmail/bin/qmail-popup
> -->mail.kat.net.au \
> --> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 &
> -->[root@top qmail-pop3d]#
> -->
> -->
> -->qmail-pop3d/log:
> -->total 1
> -->-rwxr-xr-x 1 root root 100 Dec 19 07:32 run
> -->
> -->[root@top log]# cat run
> -->#!/bin/sh
> -->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> -->/var/log/qmail/qmail-pop3d
> -->[root@top log]#
> -->
> -->qmail-send:
> -->total 3
> -->drwxrwxr-t 2 root root 1024 Dec 19 00:15 log
> -->-rwxr-xr-x 1 root root 30 Dec 19 00:14 run
> -->drwx------ 2 root root 1024 Dec 21 10:24 supervise
> -->
> -->[root@top qmail-send]# cat run
> -->#!/bin/sh
> -->exec /var/qmail/rc
> -->
> -->[root@top qmail-send]#
> -->
> -->
> -->qmail-send/log:
> -->total 1
> -->-rwxr-xr-x 1 root root 90 Dec 19 00:17 run
> -->
> -->[root@top log]# cat run
> -->#!/bin/sh
> -->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/miultilog t
> -->/var/log/qmail
> -->
> -->[root@top log]#
> -->
> -->qmail-smtpd:
> -->total 3
> -->drwxrwxr-t 2 root root 1024 Dec 19 00:22 log
> -->-rwxr-xr-x 1 root root 232 Dec 21 10:03 run
> -->drwx------ 2 root root 1024 Dec 21 10:24 supervise
> -->
> -->[root@top qmail-smtpd]# cat run
> -->
> --> #!/bin/sh
> -->QMAILDUID='id -u qmaild'
> -->NOFILESGID='id -g qmaild'
> -->exec /usr/local/bin/softlimit -m 2000000 \
> --> /usr/local/bin/tcpserver -v -p -x/etc/tcp.smtp.cdb \
> --> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
> -->2>&1
> -->[root@top qmail-smtpd]#
> -->
> -->
> -->
> -->qmail-smtpd/log:
> -->total 1
> -->-rwxr-xr-x 1 root root 94 Dec 19 00:23 run
> --> [root@top log]# cat run
> -->#!/bin/sh
> -->exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> -->/var/log/qmail/smtpd
> -->[root@top log]#
> -->
> -->my /etc/ services file
> -->
> -->[root@top /etc]# cat services
> --># /etc/services:
> --># $Id: services,v 1.4 1997/05/20 19:41:21 tobias Exp $
> -->#
> --># Network services, Internet style
> -->#
> --># Note that it is presently the policy of IANA to assign a single
> -->well-known
> --># port number for both TCP and UDP; hence, most entries here have two
> -->entries
> --># even if the protocol doesn't support UDP operations.
> --># Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all
> -->ports
> --># are included, only the more common ones.
> -->
> -->tcpmux 1/tcp # TCP port service
> -->multiplexer
> -->echo 7/tcp
> -->echo 7/udp
> -->discard 9/tcp sink null
> -->discard 9/udp sink null
> -->systat 11/tcp users
> -->daytime 13/tcp
> -->daytime 13/udp
> -->netstat 15/tcp
> -->qotd 17/tcp quote
> -->msp 18/tcp # message send protocol
> -->msp 18/udp # message send protocol
> -->chargen 19/tcp ttytst source
> -->chargen 19/udp ttytst source
> -->ftp-data 20/tcp
> -->ftp 21/tcp
> -->fsp 21/udp fspd
> -->ssh 22/tcp # SSH Remote Login
> -->Protocol
> -->ssh 22/udp # SSH Remote Login
> -->Protocol
> -->telnet 23/tcp
> --># 24 - private
> -->smtp 25/tcp mail
> --># 26 - unassigned
> -->time 37/tcp timserver
> -->time 37/udp timserver
> -->rlp 39/udp resource # resource location
> -->nameserver 42/tcp name # IEN 116
> -->whois 43/tcp nicname
> -->re-mail-ck 50/tcp # Remote Mail Checking
> -->Protocol
> -->re-mail-ck 50/udp # Remote Mail Checking
> -->Protocol
> -->domain 53/tcp nameserver # name-domain server
> -->domain 53/udp nameserver
> -->mtp 57/tcp # deprecated
> -->bootps 67/tcp # BOOTP server
> -->bootps 67/udp
> -->bootpc 68/tcp # BOOTP client
> -->bootpc 68/udp
> -->tftp 69/udp
> -->gopher 70/tcp # Internet Gopher
> -->gopher 70/udp
> -->rje 77/tcp netrjs
> -->finger 79/tcp
> -->www 80/tcp http # WorldWideWeb HTTP
> -->www 80/udp # HyperText Transfer
> -->Protocol
> -->link 87/tcp ttylink
> -->kerberos 88/tcp kerberos5 krb5 # Kerberos v5
> -->kerberos 88/udp kerberos5 krb5 # Kerberos v5
> -->supdup 95/tcp
> --># 100 - reserved
> -->hostnames 101/tcp hostname # usually from sri-nic
> -->iso-tsap 102/tcp tsap # part of ISODE.
> -->csnet-ns 105/tcp cso-ns # also used by CSO name
> -->server
> -->csnet-ns 105/udp cso-ns
> --># unfortunately the poppassd (Eudora) uses a port which has already
> --># been assigned to a different service. We list the poppassd as an
> --># alias here. This should work for programs asking for this service.
> --># (due to a bug in inetd the 3com-tsmux line is disabled)
> -->#3com-tsmux 106/tcp poppassd
> -->#3com-tsmux 106/udp poppassd
> -->rtelnet 107/tcp # Remote Telnet
> -->rtelnet 107/udp
> -->pop-2 109/tcp postoffice # POP version 2
> -->pop-2 109/udp
> -->pop-3 110/tcp # POP version 3
> -->pop-3 110/udp
> -->sunrpc 111/tcp portmapper # RPC 4.0 portmapper TCP
> -->
> -->sunrpc 111/udp portmapper # RPC 4.0 portmapper UDP
> -->
> -->auth 113/tcp authentication tap ident
> -->sftp 115/tcp
> -->uucp-path 117/tcp
> -->nntp 119/tcp readnews untp # USENET News Transfer
> -->Protocol
> -->ntp 123/tcp
> -->ntp 123/udp # Network Time Protocol
> -->netbios-ns 137/tcp # NETBIOS Name Service
> -->netbios-ns 137/udp
> -->netbios-dgm 138/tcp # NETBIOS Datagram
> -->Service
> -->netbios-dgm 138/udp
> -->netbios-ssn 139/tcp # NETBIOS session
> -->service
> -->netbios-ssn 139/udp
> -->imap2 143/tcp imap # Interim Mail Access
> -->Proto v2
> -->imap2 143/udp imap
> -->snmp 161/udp # Simple Net Mgmt Proto
> -->snmp-trap 162/udp snmptrap # Traps for SNMP
> -->cmip-man 163/tcp # ISO mgmt over IP
> -->(CMOT)
> -->cmip-man 163/udp
> -->cmip-agent 164/tcp
> -->cmip-agent 164/udp
> -->xdmcp 177/tcp # X Display Mgr. Control
> -->Proto
> -->xdmcp 177/udp
> -->nextstep 178/tcp NeXTStep NextStep # NeXTStep
> -->window
> -->nextstep 178/udp NeXTStep NextStep # server
> -->bgp 179/tcp # Border Gateway Proto.
> -->bgp 179/udp
> -->prospero 191/tcp # Cliff Neuman's
> -->Prospero
> -->prospero 191/udp
> -->irc 194/tcp # Internet Relay Chat
> -->irc 194/udp
> -->smux 199/tcp # SNMP Unix Multiplexer
> -->smux 199/udp
> -->at-rtmp 201/tcp # AppleTalk routing
> -->at-rtmp 201/udp
> -->at-nbp 202/tcp # AppleTalk name binding
> -->
> -->at-nbp 202/udp
> -->at-echo 204/tcp # AppleTalk echo
> -->at-echo 204/udp
> -->at-zis 206/tcp # AppleTalk zone
> -->information
> -->at-zis 206/udp
> -->qmtp 209/tcp # The Quick Mail
> -->Transfer Protocol
> -->qmtp 209/udp # The Quick Mail
> -->Transfer Protocol
> -->z3950 210/tcp wais # NISO Z39.50 database
> -->z3950 210/udp wais
> -->ipx 213/tcp # IPX
> -->ipx 213/udp
> -->imap3 220/tcp # Interactive Mail
> -->Access
> -->imap3 220/udp # Protocol v3
> -->rpc2portmap 369/tcp
> -->rpc2portmap 369/udp # Coda portmapper
> -->codaauth2 370/tcp
> -->codaauth2 370/udp # Coda authentication
> -->server
> -->ulistserv 372/tcp # UNIX Listserv
> -->ulistserv 372/udp
> -->https 443/tcp # MCom
> -->https 443/udp # MCom
> -->snpp 444/tcp # Simple Network Paging
> -->Protocol
> -->snpp 444/udp # Simple Network Paging
> -->Protocol
> -->saft 487/tcp # Simple Asynchronous
> -->File Transfer
> -->saft 487/udp # Simple Asynchronous
> -->File Transfer
> -->npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
> -->npmp-local 610/udp dqs313_qmaster # npmp-local / DQS
> -->npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
> -->npmp-gui 611/udp dqs313_execd # npmp-gui / DQS
> -->hmmp-ind 612/tcp dqs313_intercell# HMMP Indication / DQS
> -->hmmp-ind 612/udp dqs313_intercell# HMMP Indication / DQS
> -->#
> --># UNIX specific services
> -->#
> -->exec 512/tcp
> -->biff 512/udp comsat
> -->login 513/tcp
> -->who 513/udp whod
> -->shell 514/tcp cmd # no passwords used
> -->syslog 514/udp
> -->printer 515/tcp spooler # line printer spooler
> -->talk 517/udp
> -->ntalk 518/udp
> -->route 520/udp router routed # RIP
> -->timed 525/udp timeserver
> -->tempo 526/tcp newdate
> -->courier 530/tcp rpc
> -->conference 531/tcp chat
> -->netnews 532/tcp readnews
> -->netwall 533/udp # -for emergency
> -->broadcasts
> -->uucp 540/tcp uucpd # uucp daemon
> -->afpovertcp 548/tcp # AFP over TCP
> -->afpovertcp 548/udp # AFP over TCP
> -->remotefs 556/tcp rfs_server rfs # Brunhoff remote
> -->filesystem
> -->klogin 543/tcp # Kerberized `rlogin'
> -->(v5)
> -->kshell 544/tcp krcmd # Kerberized `rsh' (v5)
> -->kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
> -->
> -->#
> -->webster 765/tcp # Network dictionary
> -->webster 765/udp
> -->#
> --># From ``Assigned Numbers'':
> -->#
> -->#> The Registered Ports are not controlled by the IANA and on most
> -->systems
> -->#> can be used by ordinary user processes or programs executed by
> -->ordinary
> -->#> users.
> -->#
> -->#> Ports are used in the TCP [45,106] to name the ends of logical
> -->#> connections which carry long term conversations. For the purpose of
> -->#> providing services to unknown callers, a service contact port is
> -->#> defined. This list specifies the port used by the server process as
> -->its
> -->#> contact port. While the IANA can not control uses of these ports it
> -->#> does register or list uses of these ports as a convienence to the
> -->#> community.
> -->#
> -->ingreslock 1524/tcp
> -->ingreslock 1524/udp
> -->prospero-np 1525/tcp # Prospero
> -->non-privileged
> -->prospero-np 1525/udp
> -->datametrics 1645/tcp old-radius # datametrics / old
> -->radius entry
> -->datametrics 1645/udp old-radius # datametrics / old
> -->radius entry
> -->sa-msg-port 1646/tcp old-radacct # sa-msg-port / old
> -->radacct entry
> -->sa-msg-port 1646/udp old-radacct # sa-msg-port / old
> -->radacct entry
> -->radius 1812/tcp # Radius
> -->radius 1812/udp # Radius
> -->radacct 1813/tcp # Radius Accounting
> -->radacct 1813/udp # Radius Accounting
> -->cvspserver 2401/tcp # CVS client/server
> -->operations
> -->cvspserver 2401/udp # CVS client/server
> -->operations
> -->venus 2430/tcp # codacon port
> -->venus 2430/udp # Venus callback/wbc
> -->interface
> -->venus-se 2431/tcp # tcp side effects
> -->venus-se 2431/udp # udp sftp side effect
> -->codasrv 2432/tcp # not used
> -->codasrv 2432/udp # server port
> -->codasrv-se 2433/tcp # tcp side effects
> -->codasrv-se 2433/udp # udp sftp side effect
> -->mysql 3306/tcp # MySQL
> -->mysql 3306/udp # MySQL
> -->rfe 5002/tcp # Radio Free Ethernet
> -->rfe 5002/udp # Actually uses UDP only
> -->
> -->cfengine 5308/tcp # CFengine
> -->cfengine 5308/udp # CFengine
> -->bbs 7000/tcp # BBS service
> -->#
> -->#
> --># Kerberos (Project Athena/MIT) services
> --># Note that these are for Kerberos v4, and are unofficial. Sites
> -->running
> --># v4 should uncomment these and comment out the v5 entries above.
> -->#
> -->kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp
> -->kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp
> -->kerberos_master 751/udp # Kerberos
> -->authentication
> -->kerberos_master 751/tcp # Kerberos
> -->authentication
> -->passwd_server 752/udp # Kerberos passwd server
> -->
> -->krb_prop 754/tcp # Kerberos slave
> -->propagation
> -->krbupdate 760/tcp kreg # Kerberos registration
> -->kpasswd 761/tcp kpwd # Kerberos "passwd"
> -->kpop 1109/tcp # Pop with Kerberos
> -->knetd 2053/tcp # Kerberos
> -->de-multiplexor
> -->zephyr-srv 2102/udp # Zephyr server
> -->zephyr-clt 2103/udp # Zephyr serv-hm
> -->connection
> -->zephyr-hm 2104/udp # Zephyr hostmanager
> -->eklogin 2105/tcp # Kerberos encrypted
> -->rlogin
> -->#
> --># Unofficial but necessary (for NetBSD) services
> -->#
> -->supfilesrv 871/tcp # SUP server
> -->supfiledbg 1127/tcp # SUP debugging
> -->#
> --># Datagram Delivery Protocol services
> -->#
> -->rtmp 1/ddp # Routing Table
> -->Maintenance Protocol
> -->nbp 2/ddp # Name Binding Protocol
> -->echo 4/ddp # AppleTalk Echo
> -->Protocol
> -->zip 6/ddp # Zone Information
> -->Protocol
> -->#
> --># Services added for the Debian GNU/Linux distribution
> -->poppassd 106/tcp # Eudora
> -->poppassd 106/udp # Eudora
> -->mailq 174/tcp # Mailer transport queue
> -->for Zmailer
> -->mailq 174/tcp # Mailer transport queue
> -->for Zmailer
> -->ssmtp 465/tcp # SMTP over SSL
> -->gdomap 538/tcp # GNUstep distributed
> -->objects
> -->gdomap 538/udp # GNUstep distributed
> -->objects
> -->snews 563/tcp # NNTP over SSL
> -->ssl-ldap 636/tcp # LDAP over SSL
> -->omirr 808/tcp omirrd # online mirror
> -->omirr 808/udp omirrd # online mirror
> -->rsync 873/tcp # rsync
> -->rsync 873/udp # rsync
> -->simap 993/tcp # IMAP over SSL
> -->spop3 995/tcp # POP-3 over SSL
> -->socks 1080/tcp # socks proxy server
> -->socks 1080/udp # socks proxy server
> -->rmtcfg 1236/tcp # Gracilis Packeten
> -->remote config server
> -->xtel 1313/tcp # french minitel
> -->support 1529/tcp # GNATS
> -->cfinger 2003/tcp # GNU Finger
> -->ninstall 2150/tcp # ninstall service
> -->ninstall 2150/udp # ninstall service
> -->afbackup 2988/tcp # Afbackup system
> -->afbackup 2988/udp # Afbackup system
> -->
> -->?icp 3130/udp # Internet Cache
> -->Protocol (Squid)
> -->postgres 5432/tcp # POSTGRES
> -->postgres 5432/udp # POSTGRES
> -->fax 4557/tcp # FAX transmission
> -->service (old)
> -->hylafax 4559/tcp # HylaFAX client-server
> -->protocol (new)
> -->noclog 5354/tcp # noclogd with TCP
> -->(nocol)
> -->noclog 5354/udp # noclogd with UDP
> -->(nocol)
> -->hostmon 5355/tcp # hostmon uses TCP
> -->(nocol)
> -->hostmon 5355/udp # hostmon uses TCP
> -->(nocol)
> -->ircd 6667/tcp # Internet Relay Chat
> -->ircd 6667/udp # Internet Relay Chat
> -->webcache 8080/tcp # WWW caching service
> -->webcache 8080/udp # WWW caching service
> -->tproxy 8081/tcp # Transparent Proxy
> -->tproxy 8081/udp # Transparent Proxy
> -->mandelspawn 9359/udp mandelbrot # network mandelbrot
> -->amanda 10080/udp # amanda backup services
> -->
> -->kamanda 10081/tcp # amanda backup services
> -->(Kerberos)
> -->kamanda 10081/udp # amanda backup services
> -->(Kerberos)
> -->amandaidx 10082/tcp # amanda backup services
> -->
> -->amidxtape 10083/tcp # amanda backup services
> -->
> -->isdnlog 20011/tcp # isdn logging system
> -->isdnlog 20011/udp # isdn logging system
> -->vboxd 20012/tcp # voice box system
> -->vboxd 20012/udp # voice box system
> -->binkp 24554/tcp # Binkley
> -->binkp 24554/udp # Binkley
> -->asp 27374/tcp # Address Search
> -->Protocol
> -->asp 27374/udp # Address Search
> -->Protocol
> -->tfido 60177/tcp # Ifmail
> -->tfido 60177/udp # Ifmail
> -->fido 60179/tcp # Ifmail
> -->fido 60179/udp # Ifmail
> -->
> --># Local services
> -->
> -->linuxconf 98/tcp # added by linuxconf RPM
> -->swat 901/tcp # Add swat service
> -->used via inetd
> -->[root@top /etc]#
> -->
> -->
> -->
> -->
> -->
I was looking over the Qmail homepage and I found that you can create a
rcpthosts file with the following shell command:
sed 's/:.*//' <virtualdomains | cat - locals | sort >rcpthosts
by Russ Nelson. This is pretty kewl, incase you all didn't know, but one
thing was wrong.
One: I'm ordered and sorted my virtualdomains file in a matter I like.
Two: It picked up my address: [EMAIL PROTECTED] - Not needed in rcpthosts.
So, I did a little change to it:
sed 's/^[^@]*@//' <virtualdomains | sed 's/:.*//' \
| cat - locals >rcpthosts
(line wrapped due to email max line length)
This will filter out everything in front of and including the @. The only
bug I see in this one liner is that if you have multiple [EMAIL PROTECTED]
addresses, it will place multiple myhost.com lines.
It's a bug I won't mind hearing how to fix, but it won't affect how qmail
runs.
Just a little tid bit I thought I share :)
I thought you newbies might like to know..
Philip
On Mon, Dec 20, 1999 at 09:59:18PM -0700, Philip Gabbert wrote:
>
> I was looking over the Qmail homepage and I found that you can create a
> rcpthosts file with the following shell command:
>
> sed 's/:.*//' <virtualdomains | cat - locals | sort >rcpthosts
>
> by Russ Nelson. This is pretty kewl, incase you all didn't know, but one
> thing was wrong.
> One: I'm ordered and sorted my virtualdomains file in a matter I like.
> Two: It picked up my address: [EMAIL PROTECTED] - Not needed in rcpthosts.
>
> So, I did a little change to it:
>
> sed 's/^[^@]*@//' <virtualdomains | sed 's/:.*//' \
> | cat - locals >rcpthosts
> (line wrapped due to email max line length)
>
> This will filter out everything in front of and including the @. The only
> bug I see in this one liner is that if you have multiple [EMAIL PROTECTED]
> addresses, it will place multiple myhost.com lines.
> It's a bug I won't mind hearing how to fix, but it won't affect how qmail
> runs.
Without having tested your line: replacing the second line with
' | cat - locals | sort -u > rcpthosts'
should do the job.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/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 am running following setup:
qmail 1.03 + mysql patch
tcpserver etc.
Right now qmail is killing the mySQL database server with requests. I've
seen ppl here on the list with 30k-50k users and I wonder how you manage
to keep the mySQL server alive.
We have about 10k clients. On our homepage there is a CGI program that
checks your email the moment you login.
Problems so far:
The maximum connections to the mySQL server exceeds the limit, causing
downtime on our mail- and web server as it depends on the same mySQL
server.
So, is there any way to keep the mySQL connections down while keeping
a high uptime of web- and mail server? Anyone written a proxy/wrapper
for mySQL to limit the number of connections to the real mySQL server?
Future setup: qmail + vpopmail with even higher number of users.
Please advice
Michael Boman
PS
Having a separate mySQL servers for mail and web is not a option, as
it would give our CGI programs more to do and by that making
the web-server load too high... Plus it would be another server
to manage.
DS
--
W I Z O F F I C E . C O M - Your Online Wizard
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
its probably rather simple - your probably using the decaprecated mysql_connect
in the CGI possibly - rather than the mysql_real_connect api -
well to be simpler than that make sure your majority of the connections are
connecting through teh mysql named pipe (the socket) rather than tcp/ip
connections
Eric
On Mon, 20 Dec 1999, Michael Boman wrote:
> I am running following setup:
>
> qmail 1.03 + mysql patch
> tcpserver etc.
>
> Right now qmail is killing the mySQL database server with requests. I've
> seen ppl here on the list with 30k-50k users and I wonder how you manage
> to keep the mySQL server alive.
>
> We have about 10k clients. On our homepage there is a CGI program that
> checks your email the moment you login.
>
> Problems so far:
>
> The maximum connections to the mySQL server exceeds the limit, causing
> downtime on our mail- and web server as it depends on the same mySQL
> server.
>
> So, is there any way to keep the mySQL connections down while keeping
> a high uptime of web- and mail server? Anyone written a proxy/wrapper
> for mySQL to limit the number of connections to the real mySQL server?
>
> Future setup: qmail + vpopmail with even higher number of users.
>
> Please advice
>
> Michael Boman
>
> PS
> Having a separate mySQL servers for mail and web is not a option, as
> it would give our CGI programs more to do and by that making
> the web-server load too high... Plus it would be another server
> to manage.
> DS
>
>
> --
> W I Z O F F I C E . C O M - Your Online Wizard
> 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
--
----------------------------------------------------------------------
Eric Peters
I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
[EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
----------------------------------------------------------------------
On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> its probably rather simple - your probably using the decaprecated mysql_connect
> in the CGI possibly - rather than the mysql_real_connect api -
>
> well to be simpler than that make sure your majority of the connections are
> connecting through teh mysql named pipe (the socket) rather than tcp/ip
> connections
>
> Eric
>
Err.. It's on three different computers: Webserver, Mailserver, mySQL server.
/Mike
> On Mon, 20 Dec 1999, Michael Boman wrote:
> > I am running following setup:
> >
> > qmail 1.03 + mysql patch
> > tcpserver etc.
> >
> > Right now qmail is killing the mySQL database server with requests. I've
> > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > to keep the mySQL server alive.
> >
> > We have about 10k clients. On our homepage there is a CGI program that
> > checks your email the moment you login.
> >
> > Problems so far:
> >
> > The maximum connections to the mySQL server exceeds the limit, causing
> > downtime on our mail- and web server as it depends on the same mySQL
> > server.
> >
> > So, is there any way to keep the mySQL connections down while keeping
> > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > for mySQL to limit the number of connections to the real mySQL server?
> >
> > Future setup: qmail + vpopmail with even higher number of users.
> >
> > Please advice
> >
> > Michael Boman
> >
> > PS
> > Having a separate mySQL servers for mail and web is not a option, as
> > it would give our CGI programs more to do and by that making
> > the web-server load too high... Plus it would be another server
> > to manage.
> > DS
> >
> >
> > --
> > W I Z O F F I C E . C O M - Your Online Wizard
> > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> --
>
> ----------------------------------------------------------------------
> Eric Peters
> I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> ----------------------------------------------------------------------
--
W I Z O F F I C E . C O M - Your Online Wizard
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
makes you think about that doesn't it <grin>
you probably want to consult the mysql mailing list for perf tuning
Eric
On Tue, 21 Dec 1999, Michael Boman wrote:
> On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > its probably rather simple - your probably using the decaprecated mysql_connect
> > in the CGI possibly - rather than the mysql_real_connect api -
> >
> > well to be simpler than that make sure your majority of the connections are
> > connecting through teh mysql named pipe (the socket) rather than tcp/ip
> > connections
> >
> > Eric
> >
>
> Err.. It's on three different computers: Webserver, Mailserver, mySQL server.
>
> /Mike
>
> > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > I am running following setup:
> > >
> > > qmail 1.03 + mysql patch
> > > tcpserver etc.
> > >
> > > Right now qmail is killing the mySQL database server with requests. I've
> > > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > > to keep the mySQL server alive.
> > >
> > > We have about 10k clients. On our homepage there is a CGI program that
> > > checks your email the moment you login.
> > >
> > > Problems so far:
> > >
> > > The maximum connections to the mySQL server exceeds the limit, causing
> > > downtime on our mail- and web server as it depends on the same mySQL
> > > server.
> > >
> > > So, is there any way to keep the mySQL connections down while keeping
> > > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > > for mySQL to limit the number of connections to the real mySQL server?
> > >
> > > Future setup: qmail + vpopmail with even higher number of users.
> > >
> > > Please advice
> > >
> > > Michael Boman
> > >
> > > PS
> > > Having a separate mySQL servers for mail and web is not a option, as
> > > it would give our CGI programs more to do and by that making
> > > the web-server load too high... Plus it would be another server
> > > to manage.
> > > DS
> > >
> > >
> > > --
> > > W I Z O F F I C E . C O M - Your Online Wizard
> > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > --
> >
> > ----------------------------------------------------------------------
> > Eric Peters
> > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > ----------------------------------------------------------------------
>
> --
> W I Z O F F I C E . C O M - Your Online Wizard
> 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
--
----------------------------------------------------------------------
Eric Peters
I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
[EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
----------------------------------------------------------------------
On Tue, Dec 21, 1999 at 12:23:18AM -0800, Eric Peters wrote:
> makes you think about that doesn't it <grin>
>
> you probably want to consult the mysql mailing list for perf tuning
>
> Eric
The problem isnt either the database server, it's fine tuned to the maximum. The
problem is that SMTP/POP3 is causing ALLOT of traffic to the database server.
It wouldn't matter if we put Oracle or MS Sql instead, 'cause the traffic will still
be there. What I am looking for is a way to slow down the queries, limit them some how,
to the database server.
> On Tue, 21 Dec 1999, Michael Boman wrote:
> > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > > its probably rather simple - your probably using the decaprecated mysql_connect
> > > in the CGI possibly - rather than the mysql_real_connect api -
The CGI is written in Perl and uses the DBI modules. Each CGI script is running as
a daemon. Nothing special about them that could cause this load, as the only thing
is does is to do a POP3 connect to check if you have mail...
> > > well to be simpler than that make sure your majority of the connections are
> > > connecting through teh mysql named pipe (the socket) rather than tcp/ip
> > > connections
> > >
> > > Eric
> > >
> >
> > Err.. It's on three different computers: Webserver, Mailserver, mySQL server.
> >
> > /Mike
> >
> > > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > > I am running following setup:
> > > >
> > > > qmail 1.03 + mysql patch
> > > > tcpserver etc.
> > > >
> > > > Right now qmail is killing the mySQL database server with requests. I've
> > > > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > > > to keep the mySQL server alive.
> > > >
> > > > We have about 10k clients. On our homepage there is a CGI program that
> > > > checks your email the moment you login.
> > > >
> > > > Problems so far:
> > > >
> > > > The maximum connections to the mySQL server exceeds the limit, causing
> > > > downtime on our mail- and web server as it depends on the same mySQL
> > > > server.
> > > >
> > > > So, is there any way to keep the mySQL connections down while keeping
> > > > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > > > for mySQL to limit the number of connections to the real mySQL server?
> > > >
> > > > Future setup: qmail + vpopmail with even higher number of users.
> > > >
> > > > Please advice
> > > >
> > > > Michael Boman
> > > >
> > > > PS
> > > > Having a separate mySQL servers for mail and web is not a option, as
> > > > it would give our CGI programs more to do and by that making
> > > > the web-server load too high... Plus it would be another server
> > > > to manage.
> > > > DS
> > > >
> > > >
> > > > --
> > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > --
> > >
> > > ----------------------------------------------------------------------
> > > Eric Peters
> > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > ----------------------------------------------------------------------
> >
> > --
> > W I Z O F F I C E . C O M - Your Online Wizard
> > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> --
>
> ----------------------------------------------------------------------
> Eric Peters
> I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> ----------------------------------------------------------------------
--
W I Z O F F I C E . C O M - Your Online Wizard
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
ever consider gigaethernet? : )
its possible to come up with a schema for persistant connections via the perl
scripts/ named pipes and etc al as well so you don't have to create a new
tcp/ip connection for each request/query etc but woudl rather use a connection
that is already open - which would probably reduce alot of the load
Eric
On Tue, 21 Dec 1999, Michael Boman wrote:
> On Tue, Dec 21, 1999 at 12:23:18AM -0800, Eric Peters wrote:
> > makes you think about that doesn't it <grin>
> >
> > you probably want to consult the mysql mailing list for perf tuning
> >
> > Eric
>
> The problem isnt either the database server, it's fine tuned to the maximum. The
> problem is that SMTP/POP3 is causing ALLOT of traffic to the database server.
>
> It wouldn't matter if we put Oracle or MS Sql instead, 'cause the traffic will still
> be there. What I am looking for is a way to slow down the queries, limit them some
>how,
> to the database server.
>
> > On Tue, 21 Dec 1999, Michael Boman wrote:
> > > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > > > its probably rather simple - your probably using the decaprecated mysql_connect
> > > > in the CGI possibly - rather than the mysql_real_connect api -
>
> The CGI is written in Perl and uses the DBI modules. Each CGI script is running as
> a daemon. Nothing special about them that could cause this load, as the only thing
> is does is to do a POP3 connect to check if you have mail...
>
> > > > well to be simpler than that make sure your majority of the connections are
> > > > connecting through teh mysql named pipe (the socket) rather than tcp/ip
> > > > connections
> > > >
> > > > Eric
> > > >
> > >
> > > Err.. It's on three different computers: Webserver, Mailserver, mySQL server.
> > >
> > > /Mike
> > >
> > > > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > > > I am running following setup:
> > > > >
> > > > > qmail 1.03 + mysql patch
> > > > > tcpserver etc.
> > > > >
> > > > > Right now qmail is killing the mySQL database server with requests. I've
> > > > > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > > > > to keep the mySQL server alive.
> > > > >
> > > > > We have about 10k clients. On our homepage there is a CGI program that
> > > > > checks your email the moment you login.
> > > > >
> > > > > Problems so far:
> > > > >
> > > > > The maximum connections to the mySQL server exceeds the limit, causing
> > > > > downtime on our mail- and web server as it depends on the same mySQL
> > > > > server.
> > > > >
> > > > > So, is there any way to keep the mySQL connections down while keeping
> > > > > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > > > > for mySQL to limit the number of connections to the real mySQL server?
> > > > >
> > > > > Future setup: qmail + vpopmail with even higher number of users.
> > > > >
> > > > > Please advice
> > > > >
> > > > > Michael Boman
> > > > >
> > > > > PS
> > > > > Having a separate mySQL servers for mail and web is not a option, as
> > > > > it would give our CGI programs more to do and by that making
> > > > > the web-server load too high... Plus it would be another server
> > > > > to manage.
> > > > > DS
> > > > >
> > > > >
> > > > > --
> > > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > > --
> > > >
> > > > ----------------------------------------------------------------------
> > > > Eric Peters
> > > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > > ----------------------------------------------------------------------
> > >
> > > --
> > > W I Z O F F I C E . C O M - Your Online Wizard
> > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > --
> >
> > ----------------------------------------------------------------------
> > Eric Peters
> > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > ----------------------------------------------------------------------
>
> --
> W I Z O F F I C E . C O M - Your Online Wizard
> 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
--
----------------------------------------------------------------------
Eric Peters
I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
[EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
----------------------------------------------------------------------
On Tue, Dec 21, 1999 at 01:10:06AM -0800, Eric Peters wrote:
> ever consider gigaethernet? : )
>
> its possible to come up with a schema for persistant connections via the perl
> scripts/ named pipes and etc al as well so you don't have to create a new
> tcp/ip connection for each request/query etc but woudl rather use a connection
> that is already open - which would probably reduce alot of the load
>
> Eric
Okey. Has anyone done a such application or know someone who has done it?
Please advice.
And you guys who is having tons of users, what are you running?
Best regards
Michael Boman
>
> On Tue, 21 Dec 1999, Michael Boman wrote:
> > On Tue, Dec 21, 1999 at 12:23:18AM -0800, Eric Peters wrote:
> > > makes you think about that doesn't it <grin>
> > >
> > > you probably want to consult the mysql mailing list for perf tuning
> > >
> > > Eric
> >
> > The problem isnt either the database server, it's fine tuned to the maximum. The
> > problem is that SMTP/POP3 is causing ALLOT of traffic to the database server.
> >
> > It wouldn't matter if we put Oracle or MS Sql instead, 'cause the traffic will
>still
> > be there. What I am looking for is a way to slow down the queries, limit them some
>how,
> > to the database server.
> >
> > > On Tue, 21 Dec 1999, Michael Boman wrote:
> > > > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > > > > its probably rather simple - your probably using the decaprecated
>mysql_connect
> > > > > in the CGI possibly - rather than the mysql_real_connect api -
> >
> > The CGI is written in Perl and uses the DBI modules. Each CGI script is running as
> > a daemon. Nothing special about them that could cause this load, as the only thing
> > is does is to do a POP3 connect to check if you have mail...
> >
> > > > > well to be simpler than that make sure your majority of the connections are
> > > > > connecting through teh mysql named pipe (the socket) rather than tcp/ip
> > > > > connections
> > > > >
> > > > > Eric
> > > > >
> > > >
> > > > Err.. It's on three different computers: Webserver, Mailserver, mySQL server.
> > > >
> > > > /Mike
> > > >
> > > > > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > > > > I am running following setup:
> > > > > >
> > > > > > qmail 1.03 + mysql patch
> > > > > > tcpserver etc.
> > > > > >
> > > > > > Right now qmail is killing the mySQL database server with requests. I've
> > > > > > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > > > > > to keep the mySQL server alive.
> > > > > >
> > > > > > We have about 10k clients. On our homepage there is a CGI program that
> > > > > > checks your email the moment you login.
> > > > > >
> > > > > > Problems so far:
> > > > > >
> > > > > > The maximum connections to the mySQL server exceeds the limit, causing
> > > > > > downtime on our mail- and web server as it depends on the same mySQL
> > > > > > server.
> > > > > >
> > > > > > So, is there any way to keep the mySQL connections down while keeping
> > > > > > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > > > > > for mySQL to limit the number of connections to the real mySQL server?
> > > > > >
> > > > > > Future setup: qmail + vpopmail with even higher number of users.
> > > > > >
> > > > > > Please advice
> > > > > >
> > > > > > Michael Boman
> > > > > >
> > > > > > PS
> > > > > > Having a separate mySQL servers for mail and web is not a option, as
> > > > > > it would give our CGI programs more to do and by that making
> > > > > > the web-server load too high... Plus it would be another server
> > > > > > to manage.
> > > > > > DS
> > > > > >
> > > > > >
> > > > > > --
> > > > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > > > --
> > > > >
> > > > > ----------------------------------------------------------------------
> > > > > Eric Peters
> > > > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > > > ----------------------------------------------------------------------
> > > >
> > > > --
> > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > --
> > >
> > > ----------------------------------------------------------------------
> > > Eric Peters
> > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > ----------------------------------------------------------------------
> >
> > --
> > W I Z O F F I C E . C O M - Your Online Wizard
> > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> --
>
> ----------------------------------------------------------------------
> Eric Peters
> I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> ----------------------------------------------------------------------
--
W I Z O F F I C E . C O M - Your Online Wizard
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
It's a common problem in the typical internet world,using
Linux+Apache+Perl+mySQL+qmail
I suggest you read perl.apache.org(assume ya using perl:-)
there is a powerful module of Apache,mod_perl which using perl as a function module of
Apache then use persist connection to mySql,say,thousands db queries using a single
connection to mySQL server.
the same way used before is FASTCGI but mod_perl is much more better.
----- Original Message -----
From: Michael Boman <[EMAIL PROTECTED]>
To: Eric Peters <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 1999 5:21 PM
Subject: Re: Qmail is killing my mySQL server!
> On Tue, Dec 21, 1999 at 01:10:06AM -0800, Eric Peters wrote:
> > ever consider gigaethernet? : )
> >
> > its possible to come up with a schema for persistant connections via the perl
> > scripts/ named pipes and etc al as well so you don't have to create a new
> > tcp/ip connection for each request/query etc but woudl rather use a connection
> > that is already open - which would probably reduce alot of the load
> >
> > Eric
>
> Okey. Has anyone done a such application or know someone who has done it?
> Please advice.
>
> And you guys who is having tons of users, what are you running?
>
> Best regards
>
> Michael Boman
>
> >
> > On Tue, 21 Dec 1999, Michael Boman wrote:
> > > On Tue, Dec 21, 1999 at 12:23:18AM -0800, Eric Peters wrote:
> > > > makes you think about that doesn't it <grin>
> > > >
> > > > you probably want to consult the mysql mailing list for perf tuning
> > > >
> > > > Eric
> > >
> > > The problem isnt either the database server, it's fine tuned to the maximum. The
> > > problem is that SMTP/POP3 is causing ALLOT of traffic to the database server.
> > >
> > > It wouldn't matter if we put Oracle or MS Sql instead, 'cause the traffic will
>still
> > > be there. What I am looking for is a way to slow down the queries, limit them
>some how,
> > > to the database server.
> > >
> > > > On Tue, 21 Dec 1999, Michael Boman wrote:
> > > > > On Mon, Dec 20, 1999 at 11:55:25PM -0800, Eric Peters wrote:
> > > > > > its probably rather simple - your probably using the decaprecated
>mysql_connect
> > > > > > in the CGI possibly - rather than the mysql_real_connect api -
> > >
> > > The CGI is written in Perl and uses the DBI modules. Each CGI script is running
>as
> > > a daemon. Nothing special about them that could cause this load, as the only
>thing
> > > is does is to do a POP3 connect to check if you have mail...
> > >
> > > > > > well to be simpler than that make sure your majority of the connections
>are
> > > > > > connecting through teh mysql named pipe (the socket) rather than tcp/ip
> > > > > > connections
> > > > > >
> > > > > > Eric
> > > > > >
> > > > >
> > > > > Err.. It's on three different computers: Webserver, Mailserver, mySQL
>server.
> > > > >
> > > > > /Mike
> > > > >
> > > > > > On Mon, 20 Dec 1999, Michael Boman wrote:
> > > > > > > I am running following setup:
> > > > > > >
> > > > > > > qmail 1.03 + mysql patch
> > > > > > > tcpserver etc.
> > > > > > >
> > > > > > > Right now qmail is killing the mySQL database server with requests. I've
> > > > > > > seen ppl here on the list with 30k-50k users and I wonder how you manage
> > > > > > > to keep the mySQL server alive.
> > > > > > >
> > > > > > > We have about 10k clients. On our homepage there is a CGI program that
> > > > > > > checks your email the moment you login.
> > > > > > >
> > > > > > > Problems so far:
> > > > > > >
> > > > > > > The maximum connections to the mySQL server exceeds the limit, causing
> > > > > > > downtime on our mail- and web server as it depends on the same mySQL
> > > > > > > server.
> > > > > > >
> > > > > > > So, is there any way to keep the mySQL connections down while keeping
> > > > > > > a high uptime of web- and mail server? Anyone written a proxy/wrapper
> > > > > > > for mySQL to limit the number of connections to the real mySQL server?
> > > > > > >
> > > > > > > Future setup: qmail + vpopmail with even higher number of users.
> > > > > > >
> > > > > > > Please advice
> > > > > > >
> > > > > > > Michael Boman
> > > > > > >
> > > > > > > PS
> > > > > > > Having a separate mySQL servers for mail and web is not a option, as
> > > > > > > it would give our CGI programs more to do and by that making
> > > > > > > the web-server load too high... Plus it would be another server
> > > > > > > to manage.
> > > > > > > DS
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > > > > --
> > > > > >
> > > > > > ----------------------------------------------------------------------
> > > > > > Eric Peters
> > > > > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > > > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > > > > ----------------------------------------------------------------------
> > > > >
> > > > > --
> > > > > W I Z O F F I C E . C O M - Your Online Wizard
> > > > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > > > --
> > > >
> > > > ----------------------------------------------------------------------
> > > > Eric Peters
> > > > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > > > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > > > ----------------------------------------------------------------------
> > >
> > > --
> > > W I Z O F F I C E . C O M - Your Online Wizard
> > > 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> > > Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> > > email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
> > --
> >
> > ----------------------------------------------------------------------
> > Eric Peters
> > I Do: http://www.tekmetrics.com/transcript.jsp?pid=143745
> > [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]
> > ----------------------------------------------------------------------
>
> --
> W I Z O F F I C E . C O M - Your Online Wizard
> 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
> Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228
> email : [EMAIL PROTECTED] URL : http://www.wizoffice.com
>
Hi all. 0230 am, and I decide to move our mx server's qmail smtpd
invocation from inetd to tcpserver. Wise choice eh? Seems to be
performance jump thus far (judging from the few msgs I have sent thru it).
All seems well tho I can't seem to figure out why things are getting logged
to my terminal rather than to a log file somewhere.
>From the qmail FAQ (5.1):
<quote>
By default, tcpserver allows at most 40 simultaneous qmail-smtpd
processes. To raise this limit to 400, use tcpserver -c 400. To keep
track of who's connecting and for how long, run (on two lines)
tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &
</quote>
Um ok, the uid and gid are diff on my box :> So's the qmail path but other
than that it's a cut/paste and msgs are getting blurted out to the terminal.
I suspect that it's simply really late, my brain is no longer functioning,
and there's something funky with my /etc/syslog.conf; any thoughts wopuld be
appreciated.
To be honest I have no idea what facility 3 is (second arg to splogger); at
any sane hour of the day I probably would
PS -- it's a SuSE 6.2 box but not necessarily stock :>
qmail v1.03
tcpserver and company, v0.84
Thanks
/*
** Keith Warno
** Make Us An Offer, Inc.
** Real-Time Online Haggling
** http://www.makeusanoffer.com/
*/
hi all just thought i'd let you know that i've found out why multilog
wasn't logging under supervise mode..
the dir
/var/qmail/supervise/<process> has to chowned to be sticky.. then the
multilog scriptt in /var/qmail/supervise/<process>/run will be run..
It's documented on
http://cr.yp.to/daemontools/svscan.html
whew.. 2 probs down 1 to go.. stopping the supervised pop3d from
running twice
Save up to 80% on your INTERNATIONAL long distance phone bill.
Join our easy-to-use callback service today for FREE. There are no monthly minimums,
surcharges
or set-up fees, just low flat rates 24 hours, everyday.
Visit our website: http://home.earthlink.net/~usayhello/ and win $500 in FREE phone
calls.
HELLO MIDDLE EAST
http://home.earthlink.net/~usayhello/
Email: [EMAIL PROTECTED]
Sample our LOW rate chart below. To determine the rates add cost of country you are
calling FROM
to cost of country you are calling TO. Complete rate list available on our website.
Prices are
per minute in USD.
Algeria 0.31
Australia 0.08
Austria 0.12
Azerbaijan 0.42
Bahamas 0.18
Bahrain 0.41
Bangladesh 0.60
Bangladesh Dhaka 0.49
Belgium 0.08
Brazil 0.28
Canada 0.06
Chile 0.15
China 0.32
Columbia 0.25
Cyprus 0.28
Czechoslovakia 0.28
Denmark 0.08
Djibouti 0.69
Dominican Rep. 0.17
Egypt 0.59
Ethiopia 0.95
Finland 0.11
France 0.07
Georgia 0.46
Germany 0.06
Greece 0.25
Hong Kong 0.07
Hungary 0.23
India 0.69
India New Delhi 0.66
India-Bomba 0.54
India-Madras 0.62
India-Bangalore 0.54
Indonesia 0.35
Iran 0.58
Iraq 0.68
Ireland 0.09
Israel 0.13
Italy 0.11
Japan 0.09
Japan-Tokyo 0.08
Jordan 0.43
Kazakhstan 0.49
Kenya 0.60
Kuwait 0.54
Kyrgyzstan 0.57
Lebanon 0.38
Liberia 0.43
Libya 0.32
Malaysia 0.22
Malta 0.17
Mauritania 0.66
Mexico 0.15
Morocco 0.42
Nepal 0.83
Netherlands 0.07
New Zealand 0.09
Nigeria 0.69
Norway 0.11
Oman 0.47
Pakistan 0.58
Pakistan\Karachi 0.56
Philippines 0.26
Poland 0.25
Qatar 0.46
Romania 0.37
Russia 0.31
Russia-Moscow 0.12
Russia-St.Petersberg 0.22
Saudi Arabia 0.62
Singapore Rep. 0.15
Somalia 0.68
South Africa 0.34
South Korea 0.12
Spain 0.11
Sri Lanka 0.74
Sudan 0.43
Sweden 0.05
Switzerland 0.09
Syria 0.51
Taiwan 0.14
Tajikistan 0.46
Tanzania 0.42
Thailand 0.35
Thailand bangkok 0.29
Tunisia 0.42
Turkey 0.31
Turkmenistan 0.54
Ukraine 0.29
United Arab Emirates 0.30
United Kingdom 0.05
USA 0.05
Yemen 0.63
HELLO MIDDLE EAST
Hello Corp
Hello Building
434 Sunrise Highway
West Islip N.Y. 11795
Tel: 516-321-1204
Fax: 516-321-1758
Email: [EMAIL PROTECTED]
http://home.earthlink.net/~usayhello/
hi there..
we usually have a local queue that sits at about 10 and a remote queue that
sits at 100 or so.
This afternoon i realised that we were running out of space on our /mail
partition.
At the same time, I realised that i wasn't receiving any mail. I killed all
qmail processes and started again...
Then, strangely, our local/remote queue shot right up! We had 1500 in the
local queue and 1000 in the remote queue..
At that point they started to settle down and now it is getting back to
normal.
Any ideas of what may have caused this?
I checked both queues and all the messages in them seemed to be to various
addresses, neither queue contained hundreds of the same mails.
Anyone know how i could chase this up?
Regards,
Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750