qmail Digest 16 Sep 2000 10:00:01 -0000 Issue 1125

Topics (messages 48777 through 48815):

Re: Strange Problem
        48777 by: Oezguer Kesim
        48787 by: Ben Beuchler
        48804 by: Gadoury

Re: file.pop.lock Clean Queue
        48778 by: Johan Almqvist

Re: comparison vmailmgr - inter7
        48779 by: John Gonzalez/netMDC admin
        48780 by: Bruce Guenter
        48781 by: Olivier M.
        48786 by: Ben Beuchler

Qmail local spawn problems
        48782 by: Webmaster

Setup/Config questions
        48783 by: French, Michael
        48809 by: Dale Miracle

Re: Need some help with SSL
        48784 by: Michael T. Babcock
        48805 by: Stephen Bosch
        48813 by: Jamie Heilman

Re: Stopping "user@virtualdomain" from receiving mail as "user@actualdomain"
        48785 by: Oezguer Kesim

qmailqueue-patch
        48788 by: J.P. Racine

Re: e-mail problems
        48789 by: Christian Nielsen
        48790 by: Ben Beuchler

Re: Hmm, this never got sent...
        48791 by: David Dyer-Bennet

Re: need help..
        48792 by: David Dyer-Bennet

LOCKING ANTISPAM FOR DOMAINS Y MAX NUMBER RCPT
        48793 by: tigre21.gamma.qnet.com.pe

Re: qmail + freebsd = reboot
        48794 by: Doug White

several patches
        48795 by: Clemens Hermann

virtual/assign/newu or alternative?
        48796 by: Michael Boyiazis

su to alias on RH
        48797 by: Mate Wierdl
        48798 by: Mate Wierdl
        48800 by: Russ Allbery
        48801 by: Ricardo Cerqueira

Why Qmail could is slow?
        48799 by: tigre21.gamma.qnet.com.pe
        48808 by: Tim Hunter
        48811 by: Chris Johnson

Qmailadmin with /etc/passwd domain
        48802 by: Mike Hodson

Re: statistics with qmailanalog
        48803 by: James Stevens
        48815 by: Magnus Bodin

problems with qmailanalog utils
        48806 by: Jens Georg
        48807 by: Jens Georg
        48810 by: Brett Randall

conf-spawn and FD_SET question
        48812 by: James T. Perry

How can I test this?
        48814 by: Phil Barnett

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]


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


Thus spake Gadoury ([EMAIL PROTECTED]):

> For some reason qmail-smtpd decided to stop recieving local mail delivered
> from a remote host.

And here is the reason:
> this is my /etc/tcp.smtp file:
> 
> :deny
  ^^^^^

You may want to have a :allow instead -- this will let any computer connect
to tcpserver and therefore qmail-smtpd.  Please note, that qmail will not
relay in that case, so you are on the safe side.

cheers,
  oec




On Fri, Sep 15, 2000 at 12:38:15AM -0400, Gadoury wrote:

> Logging is already setup using multilog.  I just haven't figured out how to
> read them.  I downloaded a couple of utilities for reading them but the
> documentation is a bit vague.

The best program for making them clear and easier to understand is
qmLogsort.  Groups the lines by message so you don't have to track a
single message across several pages of log files.
   
> > But you've GOT to fix that relay problem.
> 
> I am using tcpserver/tcprules and only have a few IPs enabled for relaying
> mail.  From my reading it seems to me that should keep it pretty much
> secure.  I am working on implementing the POP to SMTP scheme.

Ah, but your rcpthosts file is empty, which make qmail default back to
relaying for everyone.  The RELAYCLIENT variable in your tcprules only
serves to tell it to ignore rcpthosts for certain IPs.  Here, I can
prove it:

petra:~$ telnet mail.grayhat.org 25
Trying 210.228.3.165...
Connected to mail.grayhat.org.
Escape character is '^]'.
220 mail.grayhat.org ESMTP
helo doofus
250 mail.grayhat.org
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<[EMAIL PROTECTED]>
250 ok
quit
221 mail.grayhat.org
Connection closed by foreign host.
petra:~$ 

Being a non-malicious type, I did not rape and pillage your server.
However, I could have just as easily spammed 500,000 addresses from your
server.  Not a good thing.

Have fun...  And ADD THAT RCPTHOSTS FILE!!!

Ben

-- 
Ben Beuchler                                         [EMAIL PROTECTED]
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net




Thanks, I guess I misunderstood the way in which tcpserver workes.

David

> 
> Ah, but your rcpthosts file is empty, which make qmail default back to
> relaying for everyone.  The RELAYCLIENT variable in your tcprules only
> serves to tell it to ignore rcpthosts for certain IPs.  Here, I can
> prove it:





On Thu, Sep 14, 2000 at 10:25:23PM -0500, [EMAIL PROTECTED] wrote:
> Dears friends

Am I correct in asserting that you are asking two completely unrelated
questions in one message? [Ok, saves one set of headers' worth of band-
width...]

> In sendmail when the user michael is downloading his emails
> into /var/spool/mail/ is a file .michael.pop.lock 
> In qmail what is the equivalent?  
> I am using Maildir box.

This has nothing to do with sendmail. Sendmail does not have a POP server,
not even in the way qmail has. However, as far as i know, qmail-pop3d
does not use a general "mailbox" (i.e. Maildir) locking scheme based
on lock files.

What would you want to do with this file?

> Friends .. PLEASE 
> I need clear all the queue 
> How can delete all the queue?

You can use qmHandle, available from http://www.qmail.org/
(You'll have to patch it to remove everything from the queue
at once... and I have had some problems with it...)

Or you can
a) stop qmail and smtpd
b) delete a few files under /var/qmail/queue
but you'd need to understand very well how the queue directory layout
works.

Are you sure you don't want to do
/var/qmail/control/queuelifetime  :  1
and restart qmail, that will bounce all mails that cannot be delivered
within one second (correct me if I'm wrong, will this apply for already-
queued messages?)

-Johan
-- 
Johan Almqvist




On Fri, 15 Sep 2000, Clemens Hermann wrote:

| Now I need to choose one of the two tools but I am not sure which would be
| the better choice for my purpose. It would be great if someone could give me
| a hint, I need the following things:
| 
| virtual users

We do this currently, with vmailmgr.

| databases for users and aliases

We do not do this currently with vmailmgr, altho it should be possible.

| pop access

We do this currently with vmailmgr.

| imap access

We do this currently with vmailmgr, and courier-imap -- which is written
by Mr. Sam i believe. (inter7 guy)

| quota support

vmailmgr has support for quota built in, altho i dont use it.

| html-mail-administration

vmailmgr has this with oliver mueller(???)'s Omail.

| webmail

We use TWiG in conjunction with courier-imap and vmailmgr. Tho, many other
combinations work flawlessly as well.

| I did not see webmail in the vmailmgr package, does sqwebmail run with the
| vmailmgr without problems?
| Thanks in advance for any advice which of the two I should use
| 
| Clemens

Please note, i have no experience with the inter7 virtual package.... So
it might be awesome. We've been using vmailmgrd and havent had a single
problem in 2+ years, so we havent bothered to look at anything else. If it
aint broke, dont fix it.

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  8:10am  up 8 days, 13:39,  5 users,  load average: 0.09, 1.60, 1.88





On Fri, Sep 15, 2000 at 11:20:51AM +0200, Clemens Hermann wrote:
> there are two packages on the net fulfilling my needs - vmailmgr and the
> inter7 suite.
> Could one say that one of the two is "better"? So fare I use the "Bruce
> Guenther way" for virtual mailusers but not his package (only "natural"
> qmail) and I am really satisfied.
> Now I need to choose one of the two tools but I am not sure which would be
> the better choice for my purpose. It would be great if someone could give me
> a hint, I need the following things:
> 
> virtual users

Of course.

> databases for users and aliases

Ours uses either CDB or GDBM tables for users.  Patching it to use *SQL
tables would not be difficult, but it hasn't been done yet.

> pop access
> imap access

Of course.

> quota support

Both per-domain and per-virtual-user is supported -- each domain is a
seperate UID, so just put a filesystem quota on that user for per-domain
quotas.

> html-mail-administration

Several ways.  The package comes with some simple CGIs, oMail is a PHP
web administration package, and I just finished another one.

> webmail
> 
> I did not see webmail in the vmailmgr package, does sqwebmail run with the
> vmailmgr without problems?

You can do webmail through IMP or anything else that accesses IMAP.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





On Fri, Sep 15, 2000 at 11:20:51AM +0200, Clemens Hermann wrote:
> Could one say that one of the two is "better"? So fare I use the "Bruce
> Guenther way" for virtual mailusers but not his package (only "natural"
> qmail) and I am really satisfied.

I don't know the vpopmail suite real good, so I can only speak about vmailmgr
( http://www.vmailmgr.org ).

> virtual users
yes, needing one unix account per mail domain (less if you are creating 
domain mappings)

> databases for users and aliases
cdb format. administration from the shell, or using an interface (php or python)

> pop access
> imap access
> quota support
everything supported, plus autoresponders and forwarders

> html-mail-administration
There is currently my own project : omail-admin ( http://omail.omnis.ch/ )
which needs a webserver with php4 support. Online demo : 
http://admin.omnis.ch/admin2/  (test.com + test). 

There are also phython and C cgi's included in the package. 

> webmail

There are no official packages, but you can also use omail-webmail which
supports vpopmail and vmailmgr systems : http://webmail.omnis.ch/omail.pl?action=about


Good luck, and see you soon on the vmailmgr mailing list :)
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland

PGP signature





On Fri, Sep 15, 2000 at 11:20:51AM +0200, Clemens Hermann wrote:

> there are two packages on the net fulfilling my needs - vmailmgr and
> the inter7 suite.  Could one say that one of the two is "better"? So
> fare I use the "Bruce Guenther way" for virtual mailusers but not his
> package (only "natural" qmail) and I am really satisfied.  Now I need
> to choose one of the two tools but I am not sure which would be the
> better choice for my purpose. It would be great if someone could give
> me a hint, I need the following things:

I am a fan of vpopmail by Inter7.
 
> virtual users

Of course.  Single UID/GID

> databases for users and aliases

CDB or MySQL.  Decide at compile time.  I believe you can mix and
match...

> pop access

Of course.

> imap access

Supported natively by Mr. Sam's excellent Courier-IMAP package.  We use
both IMAP and POP3 at the ISP where I work.

> quota support

Yep.

> html-mail-administration

qmailadmin, also by Inter7, is a full-featured admin package for
vpopmail.

> webmail

Ummmm...  I think there are three or four that Inter7 recommends and
work with native support for Vpop.  There was one written in house here
before I converted to vpop, so I haven't tried any of the others.
 
For me, another big plus of vpopmail is the outstanding support from
Ken Jones and the rest of the crew at Inter7.  On a couple of occasions
I have reported bugs to the list and had patches within six hours.
There are, of course, very active mailing lists for vpopmail and
qmailadmin.

Ben

-- 
Ben Beuchler                                         [EMAIL PROTECTED]
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net




Hi,
 
I have some problems using qmail 1.03 with mysql-patch 0.6.6 over Redhat 6.2.
 
Pop3 service works fine, but qmail-getpw never gets executed and all local messages get lost. If I use users/assign works fine, but I need qmail-getpw working.
 
I think that the problem is related to qmail-lspawn, but I`ve recompiled the source code more than once and it doesn't work.
 
If by any chance anyone could help me it would be great.




        This message actually asks a couple of questions.  I am running
qmail on Redhat 6.2.  I have it up and working with no problems.  I have to
add some stuff to it though and I am a little confused and hope that some of
you wondeful qmail gurus out there can help me.

        I have qmail setup with one domain name foo.com (names changed of
course), but my company wants to add its mail for its domain name to the
system.  The domain for my company is company.com and it is being hosted by
Infi.net so the domain name company.com is already registered and pointing
to their servers.  As of right now, they foward all of our mail to I-Serv
out in Utah (our previous domain host) where we still pop in and get mail.
I think that all I need to do is have them change their MX records to point
to my machine instead of I-Serv's, is that correct?

        On my end, I think I need to setup a virtual domain.  This is where
I get really confused.  I don't want everyone here at my company to have
real accounts, so I am planning on using vpop from Inter7.com.  I have
installed vpop.  When I setup the virtual domain, do I need to point it to
the vpopuser (the account created for vpop)?
                Entry in virtualdomains:
                                        company.com:vpopuser

        If I do this, will this send all mail for company.com to vpopuser?
If so, do I just setup all users for company.com in the vpop user table and
then they will be able to receive mail?  Am I missing anything?

        Any help would be greatly appreciated.  I have found this list to be
very helpful over the last few weeks.  Thanks!

Michael French
I.T. Department
Asheville Citizen-Times

application/ms-tnef





"French, Michael" wrote:
>         I have qmail setup with one domain name foo.com (names changed of
> course), but my company wants to add its mail for its domain name to the
> system.  The domain for my company is company.com and it is being hosted by
> Infi.net so the domain name company.com is already registered and pointing
> to their servers.  As of right now, they foward all of our mail to I-Serv
> out in Utah (our previous domain host) where we still pop in and get mail.
> I think that all I need to do is have them change their MX records to point
> to my machine instead of I-Serv's, is that correct?

Yes, who ever holds your dns zone must change the MX record to your mail
server and make sure that they are no longer forwarding the mail to the
other isp...if you don't it would be pretty ugly. ;)
 
>         On my end, I think I need to setup a virtual domain.  This is where
> I get really confused.  I don't want everyone here at my company to have
> real accounts, so I am planning on using vpop from Inter7.com.  I have
> installed vpop.  When I setup the virtual domain, do I need to point it to
> the vpopuser (the account created for vpop)?
>                 Entry in virtualdomains:
>                                         company.com:vpopuser
> 
>         If I do this, will this send all mail for company.com to vpopuser?
> If so, do I just setup all users for company.com in the vpop user table and
> then they will be able to receive mail?  Am I missing anything?
> 
>         Any help would be greatly appreciated.  I have found this list to be
> very helpful over the last few weeks.  Thanks!

Vpopmail is a good choice.  I use it here and love it.  It is very easy
to add domains and add users in each domain and etc. 
I would suggest that you configure it so that all domains are virtual
including your own.  It will have a directory under vpopmail called
domains.  The directories under that will be the domain name of each
virtual domain you are hosting.  Then under that will be a separate
passwd  database and each user will have their own directory.  For
example if you have domain.com and a user called user it would look like
this.  
/path to your vpopmail root directory/domains/domain.com/user

So once you are done every domains will have it's own directory with
it's own individual user directories.  So each person will have their
own pop3 passwords and user directories with out having an entry in the
systems /etc/passwd file.

Here is a web site that will help with the setup. 
www.inter7.com/vpopmail/vpopmail.html

Hope this helps,

-- 

Dale Miracle
System Administrator
Teoi Virtual Web Hosting




It also happens to support SSL (TLS) secure connections out-of-the-box (so
to speak) if you have openssl installed.

----- Original Message -----
From: "Jamie Heilman" <[EMAIL PROTECTED]>


> Stephen F. Bosch wrote:
>
> > I am trying to set up SSL with a UW IMAP server. Before I bother the
> > list with this I thought I'd ask if anybody knew of a mailing list for
> > SSL e-mail...
>
> We got your first message just fine, no need to keep sending it over and
> over again.
>
> To setup an SSL wrapper around UW's IMAP server I suggest you go to
> stunnel.org and read the documentation.
>
> It is, ofcourse, probably worth mentioning that any security you gain from
> using SSL connections you're going to circumvent by using something as
> poorly written as UW's IMAP server.  There's every indication that that
> the programers at UW just don't give a damn about security.  I suggest you
> look into courier-imap instead, provided that it's Maildir-only nature
> doesn't interfere with your plans.








Jamie Heilman wrote:

> We got your first message just fine, no need to keep sending it over and
> over again.

I only sent it once. Did you get two?
 
> To setup an SSL wrapper around UW's IMAP server I suggest you go to
> stunnel.org and read the documentation.
> 
> It is, ofcourse, probably worth mentioning that any security you gain from
> using SSL connections you're going to circumvent by using something as
> poorly written as UW's IMAP server.  There's every indication that that
> the programers at UW just don't give a damn about security.  I suggest you
> look into courier-imap instead, provided that it's Maildir-only nature
> doesn't interfere with your plans.

Is this still the case? I don't know of any known vulnerabilities with
the latest release of UW IMAP, but I'd sure like to hear about them if
there are some.

The README acknowledges that there have been problems in the past but
that these have been corrected and that they changed the process by
which they developed the software to prevent glaring holes from
appearing in future...

I know many of you hate UW IMAP, but Courier doesn't support
/var/spool/mail =)

I tried to compile the SSL version of UW IMAP, but it's not working...
is the stunnel wrapper easier to set up?

-Stephen-




Stephen Bosch wrote:

> I only sent it once. Did you get two?

yup, take a look at
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/09/threads.html

(try doing a case sensitive search for OT)

its there twice

> Is this still the case? I don't know of any known vulnerabilities with
> the latest release of UW IMAP, but I'd sure like to hear about them if
> there are some.

I don't know of any currently, but then I don't know of any current
sendmail holes either and I'm not running that for the same reasons.  For
me its simply an issue of "how many times am I going to let this bite me in
the ass before I do something to put and end to it for good."  You know
what they say about prevention being the best medicine.

> The README acknowledges that there have been problems in the past but
> that these have been corrected and that they changed the process by
> which they developed the software to prevent glaring holes from
> appearing in future...

Well, thats great, now if they'd just agree with what the rest of the world
considers a glaring hole.
(enter the land of annoying frames)
http://www.securityfocus.com/templates/archive.pike?tid=55881&threads=1&end=2000-04-19&start=2000-04-13&fromthread=0&list=1&&_ref=1113491655

 
> I know many of you hate UW IMAP, but Courier doesn't support
> /var/spool/mail =)

yeah, if thats a requirement then courier isn't an option

> I tried to compile the SSL version of UW IMAP, but it's not working...
> is the stunnel wrapper easier to set up?

Its not very hard, I couldn't judge if its any easier than a native ssl
enabled imapd seeing as I haven't built one myself, but the instructions
are decent as long as you grok the usual certificate handling issues.

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"Paranoia is a disease unto itself, and may I add, the person standing
 next to you may not be who they appear to be, so take precaution."
                                                -Sathington Willoughby




Thus spake Philip Tong ([EMAIL PROTECTED]):

> I got the virtual domain working, users in the virtual domain are able to
> get mail as "user@virtualdomain". How do I stop the user from getting mail
> assigned to "user@actualdomain"?

One way would be to make "actualdomain" a virtualdomain, too.  You can then
handle user@virutaldomain and user@actualdomain differently.

cheers,
  oec




Hi,


I am tryint to get

http://www.qmail.org/qmailqueue-patch

to work - with little success.  I downloaded qmail-1.03 from the
www.qmail.org site, and then the patch.  One would assume a somewhat
sanitised work environment.  This is the output of the patch process.

# patch -p0 < qmailqueue-patch
patching file `qmail-1.03/Makefile'
Hunk #1 FAILED at 1483.
1 out of 1 hunk FAILED -- saving rejects to qmail-1.03/Makefile.rej
patching file `qmail-1.03/qmail.c'

I'm  hoping that someone  could shed a little light on the problem if it

wouldn't be too much trouble.

Take care,

J.P. Racine
[EMAIL PROTECTED]







I have been unable to find a fix or any suggestive information for a client
who is getting the following error message:

>I need you to look at the following error message that keeps popping up
>on my screen every few minutes.....it looks like the password dialog
>box with this message:
>
>The server responded
>les:fatal:unable to move
>/home/vpopmail/etc/tcp.smtp.tmp to
>

We have several clients using qmail, but only one reporting this error.

Any help would be greatfully received!

THanks,
Christian
============================================
Christian Nielsen
Systems Administrator
Electronic Media Group Inc.
Suite 440
212 3rd Ave N
Minneapolis MN 55401
612-904-6656 x117
============================================





First of all, nice to meet you.  I'm the funny looking guy that rides
into the building every morning on a black and white bike with green
tires.

Second, when are they seeing this error?  During a POP login or an SMTP
transaction?  And it appears that the error has been truncated.  Is this
how it appears on their screen or did you just not paste all of it?

Third, assuming this happens during a POP transaction, you would
probably get better support from the vpop list.  There is a subscribe
link a www.inter7.com/vpopmail.

Fourth, are you using POP before SMTP?  It sounds like it's having
difficulty recreating the tcp.smtp.cdb file.  Perhaps a permissions
issue on /home/vpopmail/etc?

Ben

On Fri, Sep 15, 2000 at 11:16:14AM -0500, Christian Nielsen wrote:

> I have been unable to find a fix or any suggestive information for a client
> who is getting the following error message:
> 
> >I need you to look at the following error message that keeps popping up
> >on my screen every few minutes.....it looks like the password dialog
> >box with this message:
> >
> >The server responded
> >les:fatal:unable to move
> >/home/vpopmail/etc/tcp.smtp.tmp to
> >
> 
> We have several clients using qmail, but only one reporting this error.
> 
> Any help would be greatfully received!
> 
> THanks,
> Christian
> ============================================
> Christian Nielsen
> Systems Administrator
> Electronic Media Group Inc.
> Suite 440
> 212 3rd Ave N
> Minneapolis MN 55401
> 612-904-6656 x117
> ============================================
> 

-- 
Ben Beuchler                                         [EMAIL PROTECTED]
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net




Scott D. Yelich <[EMAIL PROTECTED]> writes on 14 September 2000 at 15:36:17 -0600
 > Dave -- your message was great.  I would hope that there would be
 > more like it on the list in the future.
 > 
 > I'll add one thing to the list, if I may be so bold, is a little bit
 > about approaching problem solving in a unix environment, remember, it's
 > usually PATH, PERMISSION

Exactly.  If you don't know where something is supposed to be, there
are ways to figure that out, even if you can't read the source.  

 > If linuxpeople is a newbie -- or if anyone else is a newbie -- then I'd
 > like to offer this bit of advice that may or may not be useful, as your
 > mileage may vary:  When working with new systems/apps/etc, try to do 
 > things in an incremental way.  Now, this may sound simplistic -- but
 > I'll give some more ideas.

I think this is also good advice.  

[several other bits of reasonable advice snipped]

 > Finally, and this is the part the list will not like -- don't worry a
 > lot about all the assholes out there who think they're god's gift to
 > whatever they think they're god's gift to.  As I said in one of my other
 > posts -- it seems to me that many newbies get one little clue and then
 > they try to cash that in as often as possible.  Yes, we'll be grateful 
 > when you learn about the UNIX path, but for the other newbie who tears
 > you a new one because [s]he learned about the path LAST week, don't
 > sweat it.  

And, whatever you do, don't come in demanding help on your own terms
as if it were your birthright.  It isn't.  None of us wrote qmail,
none of us made you install qmail, none of us owes you a thing more
than any two random people owe each other.  (Well, Dan sometimes reads
this list, and he *did* write qmail; but he's distinctly in the
minority on that.)  Nearly all the time, the tone you get back is as
good or better than the tone you send out.  Anybody offering you help
here is doing it for free and for fun.  If you make it not fun, they
will not help you.

But, certainly, if somebody offends you here, the best thing to do is
to ignore them.  This is true whether your being offended is
completely justified by the situation, or completely a problem of your
own neuroses, or anywhere in between.
-- 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Photos: http://dd-b.lighthunters.net/ 
SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/




dG <[EMAIL PROTECTED]> writes on 14 September 2000 at 17:50:33 -0500
 > My apologies. I should have included the original code in my email.  The
 > method you suggested is the method employed in the script on Adam's page.
 > Unfortunately, svscan is not behaving the way the documentation says that it
 > should.
 > 
 > You can test this by executing 'svscan /service' from the command line.
 > When I execute this command, svscan attempts to start ./run in every
 > subdirectory of my working directory.

My init file depends on svscan using the directory specified, and it
works (the working directory at that point is definitely somewhere
else).  I vaguely remember that this changed somewhere in the short
history of svscan; that older versions worked only out of the current
directory.  Are you running the current version.
-- 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Photos: http://dd-b.lighthunters.net/ 
SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/




Dears Friend

I need setup rules antispam on my mail-server

1. My users only can send e-mails only if they put [EMAIL PROTECTED]
   into of From header. They can't put other domain, for example: 
   user@any-server-spam-com

2. I have users than send a lot of e-mails spam, I have users spam.
   How restrict the max number of rcpt
   For example, my user Michael send 300 emails to his lists spam.
   I'd like than Michael only can send to 100 max users.

3. Where can do a web-test antispam for qmail? because the test
   using telnet mail-abuse.org aren't desing for qmail.
   I need a test where it show me : Very Good your server isn't a 
   open-relay


Please response me as soon as possible
Thanks


    
  
  






On Thu, 14 Sep 2000, Gustavo Vieira Goncalves Coelho Rios wrote:

> Doug White wrote:
> > 
> > On Wed, 13 Sep 2000, Gustavo Vieira Goncalves Coelho Rios wrote:
> > 
> > > Sep 13 17:12:21 etosha /kernel: pid 3197 (qmail-remote), uid 1008:
> > > exited on signal 11
> > 
> > I'll bet you it's bad memory.  Get your DIMMs tested and/or replace them.
> > 
> > Can you build a kernel?
> > 
> > Doug White                    |  FreeBSD: The Power to Serve
> > [EMAIL PROTECTED]     |  www.FreeBSD.org
> 
> 
> At the time the problem occured, i tried to compile the kernel and it
> failed!

Sig 11, right?

Classic symptom for bad RAM.

Doug White                    |  FreeBSD: The Power to Serve
[EMAIL PROTECTED]     |  www.FreeBSD.org





Hello again,

first of all, thanks once again to all of you who provided me with a large
variety of very helpful information yestarday.
At the moment I am looking at quite a hand full of qmail patches I would
like to use.  May there occur problems combinig different patches which run
great if they are alone?
If there are problems in interaction between different patches will I most
likely know this by a compile-error or might there be some problems which
occur at runtime or (even worse) create security problems?
Can I avoid these problems in patching the qmail sources manually?

thanks in advance

Clemens





We are taking over a domain and their users.

i put their domain in virtualdomains as:

ifreedom.com:if

and ifreedom.com was added to rcpthosts

so any mail sent to   [EMAIL PROTECTED]
will go to   if-joejoe and be delivered locally.

in  /var/qmail/users/assign i've placed

=if-joejoe:mailq:25312:103:path_to_his_new_account:::
.

and i ran /var/qmail/bin/qmail-newu to create "cdb"...

mail forwards just fine to joejoe's new mailbox...

i might need 100000 entries in this file.  

is this method the most efficient to getting mail delivered
locally or should i go another route?

each entry in assign will drop mail into a different mailbox.

Thanks for your insight,

mike.





We have been telling people to do

su - alias

before setting up a list under ~alias.  But under RH 6.1-2, you cannot
do this anymore unless you specify a "real" shell for alias.  So the
usual entry

alias:x:104:502::/var/qmail/alias:/bin/true

will not work anymore.  What is the reason?  Could it be because of a
change in the pam conf file for su?  I have

# cat /etc/pam.d/su
#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nullok
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow use_authtok nullok
session    required     /lib/security/pam_pwdb.so
session    optional     /lib/security/pam_xauth.so

Mate





On Fri, Sep 15, 2000 at 02:04:50PM -0700, Phil Blecker wrote:
> On Fri, Sep 15, 2000 at 03:58:15PM -0500, Mate Wierdl wrote:
> > alias:x:104:502::/var/qmail/alias:/bin/true
>                                     ^^^^^^^^^
> That is the name of the shell program to run for alias. But, its not a
> shell. 

So?

$ grep alias: /var/qmail/doc/INSTALL.ids        
        alias:*:7790:2108::/var/qmail/alias:/bin/true

> Its a program that returns 0 and then exits. Change it to /bin/sh if
> you really want to do that, or enter "su alias" instead of "su -
> alias".

I do not understand this comment at all. Under RH 5.2, after doing 

su - alias

the output of whoami was `alias'.  Now it is still root.  Why do I
need a valid shell to be able to do this?
 
> I'm not going to ask why you want to do that, though, because it doesn't
> make sense to me.

We are talking about setting up ezmlm  mailinglists under ~alias.  

Mate




Mate Wierdl <[EMAIL PROTECTED]> writes:

> I do not understand this comment at all. Under RH 5.2, after doing 

> su - alias

> the output of whoami was `alias'.  Now it is still root.  Why do I
> need a valid shell to be able to do this?

I don't know if Red Hat is weird, but under most operating systems if you
su to a user, you get that user's shell.  If you set the shell to
/bin/true, it will then immediately exit, leaving you back as root again.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>




On Fri, Sep 15, 2000 at 04:36:39PM -0700, Russ Allbery wrote:
> Mate Wierdl <[EMAIL PROTECTED]> writes:
> 
> > I do not understand this comment at all. Under RH 5.2, after doing 
> 
> > su - alias
> 
> > the output of whoami was `alias'.  Now it is still root.  Why do I
> > need a valid shell to be able to do this?
> 
> I don't know if Red Hat is weird, but under most operating systems if you
> su to a user, you get that user's shell.  If you set the shell to
> /bin/true, it will then immediately exit, leaving you back as root again.

AFAIK, RH always had the proper behaviour with su (ie, running that user's
shell). I still have a couple of live RH 5.2 boxen, and they both respect
that. (wether the shell is in /etc/shells or not).

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459

PGP signature





Hi friends... 
Please help me
I am using Qmail and Vpopmail with 50,000 user
but qmail is very slow for the receive of messages.

When I send a message from www.mixmail.com, www.latinmail.com
and www.netaddress.com I recieve the message later of 8 hours aprox.
Why?  

I don't Know ...
I don't have problem with the sends..
I have problems with the receives .
concurrencyremote is 255  and
concurrencylocal is 100  

Where can is the problem

Too when I run : qmail restart , it show me this:
qmail-pop3d: up (pid6923) 15546 seconds
qmail-send: up (pid 6911) 15546 seconds, want down
qmail-smtpd: up (pid 5745) 15546 seconds
qmail-pop3d/log: up (pid 7169) 15546 seconds
qmail-send/log: up (pid 6683) 15546 seconds
qmail-smtpd/log: up (pid 7210) 15546 seconds

why say "want down"
Where can find help for tunning my qmail server

Please need a response as soon as possible ... please

Very Thanks






Check the logs, is the message actually received 8 hours later? if so its
the sending servers fault, or possibly DNS problems.

What do you mean by qmail-send went down? there should be a message in the
logs as to why it "just went down"

Need more details PLEASE if you want help.

-- Tim

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Lista de Qmail" <[EMAIL PROTECTED]>
Sent: Friday, September 15, 2000 3:25 PM
Subject: Why Qmail could is slow?


> Hi friends...
> Please help me
> I am using Qmail and Vpopmail with 50,000 user
> but qmail is very slow for the receive of messages.
>
> When I send a message from www.mixmail.com, www.latinmail.com
> and www.netaddress.com I recieve the message later of 8 hours aprox.
> Why?
>
> I don't Know ...
> I don't have problem with the sends..
> I have problems with the receives .
> concurrencyremote is 255  and
> concurrencylocal is 100
>
> Where can is the problem
>
> Too when I run : qmail restart , it show me this:
> qmail-pop3d: up (pid6923) 15546 seconds
> qmail-send: up (pid 6911) 15546 seconds, want down
> qmail-smtpd: up (pid 5745) 15546 seconds
> qmail-pop3d/log: up (pid 7169) 15546 seconds
> qmail-send/log: up (pid 6683) 15546 seconds
> qmail-smtpd/log: up (pid 7210) 15546 seconds
>
> why say "want down"
> Where can find help for tunning my qmail server
>
> Please need a response as soon as possible ... please
>
> Very Thanks
>
>
>





On Fri, Sep 15, 2000 at 09:48:08PM -0700, Tim Hunter wrote:
> What do you mean by qmail-send went down? there should be a message in the
> logs as to why it "just went down"

Actually, it's "want down." I was a bit surprised that svstat was saying this,
but I looked in the svstat source, and sure enough "want down" is in there.
Without digging too deeply into the source, I'd guess that this means that the
service is currently running, but that supervise is waiting for it to stop.

Chris




Is it possible to use qmailadmin on a 'default' domain of /etc/passwd
authenticated users?  Currently I provide shells to various users, and they
all need pop3 email access. However, I also want to use qmailadmin to
configure and set-up ezmlm on that same host (mystica.cx) as well as
ezmlm/vpopmail on sub-hosts and different domains entirely
(host2.mystica.cx, some.other.com)

If this can work, please let me know how. 
If not, then what are other options?

Thanks 
Mike








Hrmm, I am having the same problem I have a bunch of '@#########' files...
I know the numbers are the microsecounds and thats all fine and dandy but
qmail does not seem to be crunching these into a permanet log file.. Hrmmm,
am I mising something here?

--JT
----- Original Message -----
From: "Gesner JEAN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 9:11 AM
Subject: statistics with qmailanalog


> Hello,
> Formely i used NT,now I have my server Linux Redhat 6.1 using already
qmail,
> but Iwould like to make now statistics for mails outgoing, entering and
> numbers it connection per month of my utilisateurs.De this fact, I have
> downloaded qmailanalog, at which I estimate who can make it.The problem,
it
> is that I have difficulties in test the correct operation of
qmailanalog.One
> time downloaded qmailanalog on my server, I desarchive it then I made:
> 1- make
> 2- make setup I should have something as follows:
>        849347513.939860 running
>        849347523.531129 new msg 1923
>        849347523.532347 info msg 19326:bytes 266... and in my
configuration,
> after having launched make setup, I found things about like that:
> @000984500.00000
>                  @000984570.00000
>                  @0000956400.00000
> After these two there, I blocked myself, and I visited by evil of site
> inorder to find a solution, in vain.Of this, I request your assistance of
> means so that I would make not only the installation but to test to see,
how
> functioning statistics.  I thank you.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>





On Fri, Sep 15, 2000 at 04:51:35PM -0700, James Stevens wrote:
> Hrmm, I am having the same problem I have a bunch of '@#########' files...
> I know the numbers are the microsecounds and thats all fine and dandy but
> qmail does not seem to be crunching these into a permanet log file.. Hrmmm,
> am I mising something here?

Neither cyclog nor multilog crunchges anyting to a "permanent log file".
That is the point.
Not to fill your log partition these are rotated in a way that when the size
limit is reached, a new file is used, and when the limit of number of log
files is reached, the oldest file is deleted.

You need to take care of the log files before they gets deleted if you want
to preserve the statistics. 

/magnus

--
http://x42.com/




hi,

i have a big problem with qmailanalog, because i never get an output.
i have one mail-logfile in /var/log/mail. i piped this thru matchup
and i.e. thru zoverall, but i never get an output. zoverall i.e. says
"completed messages:0" although my system logs hundreds of mail a day.

any idea where to start my investigations ???

-- 
jens
---------------------------------------------------------------------------
instant networks - netzwerkmanagment & internetfullservices
http://www.instant-networks.de




hi,

i have a big problem with qmailanalog, because i never get an output.
i have one mail-logfile in /var/log/mail. i piped this thru matchup
and i.e. thru zoverall, but i never get an output. zoverall i.e. says
"completed messages:0" although my system logs hundreds of mails a day.

any idea where to start my investigations ???

-- 
jens
---------------------------------------------------------------------------
instant networks - netzwerkmanagment & internetfullservices
http://www.instant-networks.de




OK Start by looking at Life With Qmail and setting up your logging using
multilog. Also, you may want to look at using qmail-mrtg as well since it
provides nice pretty graphs that show change in time quite well or where
specific problems/bottlenecks occur. When using in parallel with mrtg graphs
from routers and gateways, it can make management much easier...

/BR

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Jens Georg
Sent: Saturday, 16 September 2000 11:40 AM
To: qmail mailinglist
Subject: problems with qmailanalog utils


hi,

i have a big problem with qmailanalog, because i never get an output.
i have one mail-logfile in /var/log/mail. i piped this thru matchup
and i.e. thru zoverall, but i never get an output. zoverall i.e. says
"completed messages:0" although my system logs hundreds of mails a day.

any idea where to start my investigations ???

--
jens
---------------------------------------------------------------------------
instant networks - netzwerkmanagment & internetfullservices
http://www.instant-networks.de






Hi,

I'm not an experienced programmer nor a kernel hacker so
I thought I should ask all you gurus before I proceed,
or if I should't proceed at all ;)

SITUATION:
My compile session stops when setting the conf-spawn to
1000 (after applying the big-todo and big-concurrency
patches, successfully.)

qmail compiles when the conf-spawn is 509 or below since
my linux kernel 2.2.17 has a "hidden FD_SET() of 1024"
as the compile time error msg had explained.

I got curious and was poking around with my qmail setup,
and a simple 'grep -r FD_SET' into the kernel sources gave
me (amongst many similar) a line in:
  /usr/src/linux-2.2.17/include/linux/posix_types.h
which said:
  #define __FD_SETSIZE   1024

I know that I shouldn't be screwing with kernels, but 
I was just curious if this was safe/the right place to
change, or if I could change the 1024 to say 2048 (or
something appropriate?) and recompile the kernel and
also be safe to run everything.

heck, maybe this isnt safe/the right place/the only
place to change, i have no idea.

Could any of you shed some light on this?
Or a simple "Stop screwing with kernels" will do and
I'll stop playing with myself, although all of this is
very tempting ;)

I apologize if I'm totally off, or if I'm asking the
wrong list.

Thanks in advance,

jamie

qmail, qmail, qmail
full of mysteries, so little time...

#---------#---------#---------#---------#---------#---------#---------#
-- If somebody can help create a search engine for my room,
   I will call them a Saint...
   GUI == Graphical User Interference





I have been trying to get Mailman to work with qmail for a couple of 
weeks now and I can't seem to make the final connection. I 
researched the archives and I have dutifully read this list for over 
1000 messages.

Mailman is able to send messages just fine. My problem is that I 
can't seem to reply back to Mailman via qmail.

qmail understands that I have created a virtual domain, because it 
is only complaining that the mailbox doesn't exist.

As far as I can tell by reading the docs, once the virtual directory is 
in place, the mechanisms that qmail uses to redirect mail to other 
processes are the .qmail-?????? files in the virtual directory.

I created the virtual directory (which is alongside a bunch of virtual 
directories that are working just fine to deliver regular mail), put the 
.qmail files there for qmail to find and redirect mail to a process.

To the rcpthosts file, I added:
matrixlist.com

To the virtualdomains file, I added:
matrixlist.com:matrixlist-com

But, when I send mail to those .qmail- files in the virtual directory, 
like .qmail-test-request for example, I get this:

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

My question is this:

Is there something I can put into those .qmail-???? files for 
troubleshooting that will tell me if qmail got that far?

For example, can I put something into .qmail-test-request like:
|/bin/cat /tmp/blah > /tmp/qmail-test-request

I have done that and /tmp/qmail-test-request never appeared even 
though I replied to a list named: [EMAIL PROTECTED]

This leads me to believe that there is some other configuration file 
that qmail uses to know that the mailbox test-request exists 
_before_ it gets to the .qmail-test-request file.

Can someone here please shed some light on why this doesn't 
work?

Is there a log file that I should be looking at?

Thanks.


-- 
              Phil Barnett  mailto:[EMAIL PROTECTED]
                       WWW  http://www.the-oasis.net/
                  FTP Site  ftp://ftp.the-oasis.net


Reply via email to