qmail Digest 13 Oct 2000 10:00:01 -0000 Issue 1152

Topics (messages 50469 through 50523):

Valid From: domain
        50469 by: Anton G. Popov
        50478 by: Vince Vielhaber

Re: [OT] Religious RAID Arguments (was: Running Multiple Copies...)
        50470 by: Greg Cope
        50483 by: Bill Carlson
        50485 by: Bill Carlson

R: terminate spamming
        50471 by: Mauro Tablo'

Re: Removing attachments from bounces
        50472 by: Hubbard, David

help for ezmlm
        50473 by: anandep

Forwarding mail FROM a particular user
        50474 by: Brett Randall
        50487 by: Raul Miller

Re: terminate spamming
        50475 by: Leonard Tulipan

Problem with qmail 1.03
        50476 by: Michail A.Baikov

where..
        50477 by: anandep
        50479 by: Brett Randall
        50492 by: Justin Bell

qmail-odbcauth
        50480 by: suresh

Re: Redhat 7
        50481 by: Bill Carlson
        50504 by: Ole Gjerde
        50512 by: Mate Wierdl

relayclient
        50482 by: Mauro Tablo'
        50484 by: Petr Novotny
        50493 by: Justin Bell

Re: installing qmail tshirt-HELP please respond!!!
        50486 by: Bill Carlson
        50489 by: Andy Meuse

VMailMGR & hostname based access
        50488 by: Chris Cioffi
        50506 by: Bruce Guenter

Re: concurrencyremote
        50490 by: Ricardo Albano

Re: Incomming message filter
        50491 by: Ricardo Albano

does qmail support dots in user names?
        50494 by: martin langhoff
        50510 by: Alexander Jernejcic

Re: Qmail / MySQL
        50495 by: Kris Kelley

Re: How to send to all for a webmaster
        50496 by: Kris Kelley
        50497 by: Vince Vielhaber
        50500 by: Maciej Kozlowski

telneting to pop3
        50498 by: Neil Grant
        50511 by: Kai MacTane

Re: Can't parse MIME message correctly.
        50499 by: Kris Kelley

Logging with checkvpw and qmail-pop3d problems?
        50501 by: John Gonzalez/netMDC admin
        50507 by: Bruce Guenter

Re: smtp speed limit??
        50502 by: Aaron L. Meehan
        50505 by: Austad, Jay
        50508 by: Stephen Bosch
        50509 by: Alexander Jernejcic

New Qmailadmin like web application
        50503 by: davi.dcc.ufmg.br

[OT] iso-8859-1 charset problems
        50513 by: Martin Jespersen
        50514 by: Chris Garrigues
        50515 by: Thorkild Stray
        50519 by: Martin Jespersen

oops, I borke an alias
        50516 by: Barry Smoke
        50517 by: Tony Publiski

virtuser for locals?
        50518 by: Scott D. Yelich

Startup of checkpasswd
        50520 by: Eduardo Rojas
        50521 by: Ihnen, David

Re: ITU-T (Off Topic)
        50522 by: Geoff . Home
        50523 by: frob.webcentral.com.au

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]


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


Hi all

How do I have qmail-smtpd  check if the domain in the From: address is
valid?

Thanks,

Anton G. Popov





On Thu, 12 Oct 2000, Anton G. Popov wrote:

> Hi all
> 
> How do I have qmail-smtpd  check if the domain in the From: address is
> valid?

The "From:" header is part of the message's data and you'd have to parse
the entire message in qmail-smtpd.  The envelope sender's address which
is the one in the MAIL FROM: part of the SMTP conversation is easier to
do and there is/was a patch on www.qmail.org for checking that.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Jeremy Stanley wrote:
> 
> On Wed, 11 Oct 2000, Bill Carlson wrote:

<interesting snippage>

> 
> But this is a religious argument that has been hashed out repeatedly on
> many mailing lists I've been on in past years.  The RAID-1 crowd and the
> RAID-5 crowd never gain converts as neither seems to be able to produce
> controlled benchmarks convincing enough to sway the other.  My suggestion
> is to test, test, test under your environment or the best approximation
> you can fabricate, and pick what works best for you.

Out of interest, and not wishing to start another religious war, what
would people use for simple out bound servers ?

The need for a decent storage (speed / reliability) is obvious for a
singular mail server.  What about outbound only servers ?

The reason I ask is that I am invloved with a few projects that send
personalised emails (no not spam).  Queue importance is not critical.

We looked at the cost of hardware raid (0+1 or 5) and IDE vs SCSI.

IN the end the simplest solution was multiple (and simple) IDE based
servers - as going SCSI or RAID would only appear to offer parity in the
cost vs performance ratio compared to IDE.  This may be due to the UK
having higher component and rack costs than the US, I am not sure.

I would be interested what people on the list have to say, as I am sure
many have been here before.

Greg Cope

> 
> --------------------------------------------------------------------------
> Jeremy Stanley, Information Security Specialist         Foveon Corporation
> --------------------------------------------------------------------------






On Thu, 12 Oct 2000, Greg Cope wrote:

> Jeremy Stanley wrote:
> > 
> > On Wed, 11 Oct 2000, Bill Carlson wrote:
> 
> <interesting snippage>
> 
> > 
> > But this is a religious argument that has been hashed out repeatedly on
> > many mailing lists I've been on in past years.  The RAID-1 crowd and the
> > RAID-5 crowd never gain converts as neither seems to be able to produce
> > controlled benchmarks convincing enough to sway the other.  My suggestion
> > is to test, test, test under your environment or the best approximation
> > you can fabricate, and pick what works best for you.
> 
> Out of interest, and not wishing to start another religious war, what
> would people use for simple out bound servers ?

If you can have multiple boxes (ie, you have the space and the expertise
to manage them) I think the best answer cost-wise is a bunch of cheap
boxes with mirrored IDE drives, preferable hardware-based mirroring. qmail
seems to hit limits in this order: Bandwidth, RAM, Disk I/O, CPU.

The one gotcha with qmail is the queue, if the file system that holds the
queue is lost or corrupted, you lose mail (assuming there is something in 
the queue of course)..


> The need for a decent storage (speed / reliability) is obvious for a
> singular mail server.  What about outbound only servers ?
> 
> The reason I ask is that I am invloved with a few projects that send
> personalised emails (no not spam).  Queue importance is not critical.
> 
> We looked at the cost of hardware raid (0+1 or 5) and IDE vs SCSI.
> 
> IN the end the simplest solution was multiple (and simple) IDE based
> servers - as going SCSI or RAID would only appear to offer parity in the
> cost vs performance ratio compared to IDE.  This may be due to the UK
> having higher component and rack costs than the US, I am not sure.

I think you'd find the pricing is similiar in everywhere. I priced a
machine with 72GB of good, fast SCSI with RAID. The storage alone (discs,
enclosure, RAID controller) was over half the price of the machine
($6000-$10000). One could get 72GB of mirrored IDE storage for less than
$800 on a guess. Sure, the performance may not be the same when comparing
straight up, but the SCSI is almost 4-5 times the IDE price.

$.02

Bill Carlson
------------
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |





On Wed, 11 Oct 2000, Jeremy Stanley wrote:

> On Wed, 11 Oct 2000, Bill Carlson wrote:
> > Depending on how the RAID5 is setup, it can actually be slower than a
> > single disk! Especially on data writes. RAID5 is a compromise between data
> > safety, i/o speed and price. A decent RAID1 or RAID 1+0 will cost a little
> > more (depending on your needs), but the performance will be better as
> > well.
> 
> This is only true for cheap hardware and/or small numbers of drives.

No. The performance is much more influenced by the data flow and patterns.
When talking RAID and which level should be used, what data is written and
how is the determining factor. Good vs Bad hardware is irrelevant, as you
can use the same hardware to achieve different levels of RAID, in
simplistic terms.

> Unfortunately, writes to RAID-1 cannot be striped, so you will get
> theoretically half the write speed of an n-drive RAID-0 or n+1-drive
> RAID-5.  This assumes there is no latency due to RAID-5 parity calcs
> (which an SMP server with lots of cycles to spare for software RAID
> or a modern hardware RAID controller with a large cache can usually
> accomplish) and that you're not maxing out your controller or bus
> bandwidth.

RAID-5 lags RAID-0 or RAID-1 in writes, in most cases. First, you have
extra data to write (n x parity size). Second, it takes some defineable
amount of time to create that parity vs not creating it at all. Granted,
plenty of CPU will make that a small difference, assuming the bottleneck
is at the drives and not bus bandwidth.

Most RAID-1 implementations will at least get single drive performance on
writes, even some of the IDE based ones. Which is why a lot of people
recommend RAID1+0 if you want performance and are willing to pay for it.
Assuming random balanced read/write, of course. :)

> The real downside to RAID-5 these days is degraded-mode performance.  That
> is, when a drive dies and the controller or kernel has to "recreate" the
> missing data based on the parity on other drives on the fly.  RAID-1 (and
> thus RAID0+1) don't have this problem as the data on each drive is  copied
> exactly to it's mate and thus doesn't need to be "recreated" for reads
> when crippled.

The other plus to RAID1+0 (RAID0+1, I forget which means which :) ) is
withstanding multiple drive failures. Lose a second drive while the RAID 5
is reconstructing and it's all over. RAID1+0 will fail if both drives in a
single mirror die, assuming 2 drives per mirror. Chances of each depends
on the number of drives, controller and such of course.

> My personal favorite for performance, reliability, price and size is
> RAID-5+5, but that gets into some very *large* array sizes... (16x18GB
> SCSI drives between 4 controllers yields 9x18GB worth of usable space but
> you can lose an entire controller or up to one drive off each controller
> and still have a working array).  And at those sizes price is usually no
> object so companies tend to rely on outsourced-management BCV 3-way
> RAID-0+1 anyway...

Hmmm, what are you running that lets you do RAID5 over RAID5? Software
based over Hardware RAID? Special high end controllers?

> But this is a religious argument that has been hashed out repeatedly on
> many mailing lists I've been on in past years.  The RAID-1 crowd and the
> RAID-5 crowd never gain converts as neither seems to be able to produce
> controlled benchmarks convincing enough to sway the other.  My suggestion
> is to test, test, test under your environment or the best approximation
> you can fabricate, and pick what works best for you.

I agree, which to use where depends on too many factors to say which is
a better choice without more information about the requirements. The rest
is all just arguing. :)

Later,

Bill Carlson
------------
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |





To set relayclient, have I to install ucspi?






There's a qmail-bounce.patch on the qmail site that
adds the ability to put a bouncemaxbytes file in your
control directory and in it you specify, in bytes,
the maximum size of a bounce, the rest gets stripped.
I use it and it works great, I only bounce 25k messages
now.

Dave

-----Original Message-----
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 4:26 AM
To: [EMAIL PROTECTED]
Subject: Removing attachments from bounces


Good evening one and all

Question: I want to strip attachments from bounces, as we are wasting
stacks of bandwidth watching attachments bounce from incorrectly-typed
addresses. What is the best way of doing this?

Thanks
-- 
=======================================================
|User:         |Href:                     |Status:    |
-------------------------------------------------------
|Brett Randall |<http://xbox.ipsware.com/>|Hibernating|
=======================================================
 Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003




hi there,
how can i make use of ezmlm, if possible step by step.

Thanks

Anand


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





Hi all

Management have let me know that they would like to have copies of
e-mail received from a particular e-mail address forwarded to their
accounts to monitor the activities of a particular outsider with some
of our staff members. Does anyone know the best way of doing this? It
needs to apply to ALL users not just some (ie no .qmail checking in
our users home dirs because this is restrictive). TIA
-- 
=======================================================
|User:         |Href:                     |Status:    |
-------------------------------------------------------
|Brett Randall |<http://xbox.ipsware.com/>|Hibernating|
=======================================================
 Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003




On Thu, Oct 12, 2000 at 09:45:28PM +1100, Brett Randall wrote:
> Management have let me know that they would like to have copies of
> e-mail received from a particular e-mail address forwarded to their
> accounts to monitor the activities of a particular outsider with some
> of our staff members. Does anyone know the best way of doing this? It
> needs to apply to ALL users not just some (ie no .qmail checking in
> our users home dirs because this is restrictive). TIA

http://cr.yp.to/qmail/faq/admin.html#copies
ftp://ftp.procmail.org/pub/procmail/procmail-3.15.tar.gz

In the procmailrc for the logging account:

:0 c
* ^Return-Path: <fromaddress...
forwardingadddress...

-- 
Raul




As was stated on this list (I read thru some of the archives just recently),
why not let your users use the ISP's Mail-server if they are on the road.
That is the only practical solution I know of.
Other than that you can only set up a VPN, with which the users can once
again use your internal infra-structure.

Ciao
Leo
> -----Original Message-----
> From: Mauro Tablo' [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 11:31 AM
> To:   [EMAIL PROTECTED]
> Subject:      terminate spamming
> 
> I run qmail on a linux server and there's a hard spamming through it.
> In my server there are four domain (three are virtuals).
> I set the rcpthosts file with the names of my domains (one per row).
> The problem is that now users of my domains can't send out mails.
> I know that one possible solution is to set the relayclient file, with ip
> addresses of my net.
> But doing so, I don't allow my users to connect from other addresses (for
> instance, the address given by an internet provider).
> The best way is to allow relaying only from "mydomain_1", "mydomain_2",
> etc., but anyone can be validated, if tells to my host he is
> anyone@mydomain_X, and spamming doesn't stop.
>  




How to set this configuration:

I have local user: alex

And all mail (!UNDELIVERING!) to domain.ru send to alex

Please help me.







hi there,

where can if find full info on ezmlm

Anand



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





"Anand Epuri" <[EMAIL PROTECTED]> writes:

> where can if find full info on ezmlm

www.ezmlm.org

Download ezmlm, read the manual in the docs folder.

-- 
=======================================================
|User:         |Href:                     |Status:    |
-------------------------------------------------------
|Brett Randall |<http://xbox.ipsware.com/>|Hibernating|
=======================================================
 Generated by Microsoft Ass-Watcher s/(c)/(!c)/g 2003




you could try www.ezmlm.org
and the ezmlm mailing list

On Thu, Oct 12, 2000 at 05:30:42PM +0530, Anand Epuri wrote:
# hi there,
# 
# where can if find full info on ezmlm
# 
# Anand
# 
# 
# 
# _________________________________________________________
# Do You Yahoo!?
# Get your free @yahoo.com address at http://mail.yahoo.com
# 

-- 
Justin Bell




Hi
 
I am trying to setup courier imap on my existing qmail(pop working).I applied a patch on courier files before compiling so as to allow odbc authentication,But i keep getting this error.Can anybody tell me what this error is
 
 
 
 
 
gcc  -g -O2 -Wall -I.. -I./..  -o userdbpw  userdbpw.o ../libhmac/libhmac.a ../m
d5/libmd5.a  -lcrypt
./html2man.pl <makeuserdb.html >makeuserdb.8
./html2man.pl <userdb.html >userdb.8
./html2man.pl <userdbpw.html >userdbpw.8
touch dummy
make[1]: Leaving directory `/install/courier-imap-0.36b/userdb'
Making check in authlib
make[1]: Entering directory `/install/courier-imap-0.36b/authlib'
Makefile:470: *** missing separator.  Stop.
make[1]: Leaving directory `/install/courier-imap-0.36b/authlib'
make: *** [check-recursive] Error 1
 
 
 
thanx in advance
 
Suresh




On Wed, 11 Oct 2000, Aaron L. Meehan wrote:

> Quoting Graphic Rezidew ([EMAIL PROTECTED]):
> > On Wed, Oct 11, 2000 at 02:20:22AM +0800, Mark Lo wrote:
> > >     Should I run qmail under Redhat Linux 7 or Redhat Linux 6.2??
> 
> > No.
> 
> After reading this, I would have to agree (re: redhat 7.0 buggy daemon
> causing crash after 3 weeks):
> 
> http://slashdot.org/article.pl?sid=00/10/11/1341237
> 
> Aaron
>

Heh, I saw that running after I first installed 7.0 and immediately killed
it. Why they don't just run that from cron is beyond me. 

Bill Carlson
------------
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |





On Wed, Oct 11, 2000 at 09:17:39AM -0400, Robin S. Socha wrote:
> * Peter Green <[EMAIL PROTECTED]> [001011 08:52]:
> > Okay, aside from the less helpful remarks you've received, I wouldn't
> > suggest running anything after RedHat 6.1. I've encountered some weird
> > problems with 6.2, 
> As per usual, you had to install the errata. Wasn't as bad as 6.1,
> though.

I'd have to agree.  I have about 15 RH boxes, with 5-6 running 6.2,
including 2 of them running qmail with no problems so far.

> > and IIRC 7.0 shipped with a highly experimental compiler and glibc.
> > Blech. (I just saw on another mailing list where something broke
> > because of it.)

I have yet to see(or hear) about anything that failed to compile because
of the compiler.  The biggest reason stuff fails to compile is failure to
follow ISO C(and C++).  If consider only C, it doesn't really matter which
compiler you ship.  If you consider C++, it depends.  "2.96" has some new
features that RH wanted to take advantage of, and the different versions
aren't binary compatible anyway, so why not use that one that gives you
the features you want?

Both compiler and glibc works fine.  Look at it this 
way.  Everything(except kernel 2.2.17 and kde1) in 7.0 was compiled with
the experimental compiler, and everything seem to work just fine for
me.  I even compiled 2.4.0-test9(which I have running on my desktop
box) with the new compiler and it works fine too.

> Probably the lusers pathetic attempt at emulating intelligence. kgcc is
> certainly one of RH's weirder ideas, but it's fully documented. Don't

kgcc is actually not RH's idea, it's Conectiva Linux.

> > We have about 20 RH servers here, run qmail on RH 6.1 w/o a
> > problem...but they are making some stupid decisions, IMO.

I haven't really seen anything in RH 7.0 that I find stupid yet.  Perhaps
I would do certain things different, but that doesn't make theirs stupid.

Obqmail: I would probably run qmail on RH 6.2 for now, and put 7.0 under
testing when you get time.

Ole Gjerde




As far as qmail is concerned, RH 7 is much better than earlier RHs.
For one, sendmail does not get installed by default anymore if your
qmail rpm has appropriate provides.

And qmail and friends compile without any problems whatsoever.  So I
really do not understand this discussion in relation to qmail.

Mate




My goal is to block spamming through my host, allowing relay for my
customers.
Is there a way for doing that, without installing ucspi (and setting
relayclients in tcp.smtp file)?







-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12 Oct 2000, at 14:58, Mauro Tablo' wrote:

> My goal is to block spamming through my host, allowing relay for my
> customers. Is there a way for doing that, without installing ucspi
> (and setting relayclients in tcp.smtp file)?

Yes. Hand your clients X.509 certificates and require the certificate 
to establish SMTP connection.

Jokes aside: Your question sounds like you don't want to spend 
any effort. In that case, the reply is a sound NO - you don't get that 
for free.

When you decide to invest some effort, please ask yourself a 
question: How do you tell your client from a spammer? Is it that:
* your client has IP address of some form?
* your client knows some username and password? (like for his 
POP account?)
* your client knows some secret port number?
* your client has a certain X.509 certificate?
* your client has a certain PGP key?
* your client has local account?

After you answer these questions, we'll tell you which mechanism 
can be employed to allow only authorized relay.


You might want to start from RFC2505 which explains quite a bit 
about (un)authorized relaying.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2 -- QDPGP 2.61a
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOeWpV1MwP8g7qbw/EQJ46wCfS9CJTTQ5nzv2szRirGgBdxz+tXQAoNZm
2mYNzT2JaqpoZloxJ3islUR0
=f25f
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




On Thu, Oct 12, 2000 at 02:58:46PM +0200, Mauro Tablo' wrote:
# My goal is to block spamming through my host, allowing relay for my
# customers.
# Is there a way for doing that, without installing ucspi (and setting
# relayclients in tcp.smtp file)?

that information is in the FAQ file included in the source code
-- 
Justin Bell




On Wed, 11 Oct 2000, Timothy Legant wrote:

> On Wed, Oct 11, 2000 at 10:48:37AM -0400, Andy Meuse wrote:
> > Hey all,
> > 
> >     I got my qmail tshirt and I put it on according to the directions
> >     in Dave's LWQT, but the big logo is on the front of the shirt. How
> >     can I get the big qmail logo to be on the back and the little one
> >     to be on the front?  I've tried taking it off and switching it
> >     around, and the logo is in the right place but then the shirt is
> >     inside out. Then when I take it off and put it on again I'm back
> >     where I started.  I think it's a relaying problem between my ears.
> >     Any thoughts?
> > 
> > -=Andy
> 
> What Do The Logos Say?(tm)
> 
> -- 
> Tim
> 

man tshirt-logo

Bill Carlson
------------
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |





     Thanks for all your help guys. I got the qmail tshirt installed correctly. It just took a little sobering because my system is running Mandrunk 7.1.
 
     Now I have another small problem. My system is constantly overheating. I think it is because I have an old version of tshirt still installed. I've tried removing it, but the new tshirt install is making it very difficult.
     Lucky for me a female collegue of mine has solved a similar problem uninstalling bra after installing tshirt so I think I can get help from her. The poor thing was running openPMS at the time too.
 
-=Andy
----- Original Message -----
From: Andy Meuse
Sent: Wednesday, October 11, 2000 10:48 AM
Subject: installing qmail tshirt-HELP please respond!!!

Hey all,
 
    I got my qmail tshirt and I put it on according to the directions in Dave's LWQT, but the big logo is on the front of the shirt. How can I get the big qmail logo to be on the back and the little one to be on the front?
    I've tried taking it off and switching it around, and the logo is in the right place but then the shirt is inside out. Then when I take it off and put it on again I'm back where I started.
    I think it's a relaying problem between my ears. Any thoughts?
 
-=Andy




Hi All,

I'm digging into virtual domains and I'm having a problem with 
logging into my virtual domain.  
In /var/qmail/control/virtualdomains I have a line that looks like 
this:
virtdom.net:virtdom.net

virtdom.net is a valid unix user with home 
directory /home/virtdom.net

I can log into my account (user) with this 'virtdom.net-user' but 
not with '[EMAIL PROTECTED]' or 'user:virtdom.net'.  
My /etc/vmailmgr/separators contains '@:%'

Is there a setting required to permit hostname based access?  I've 
looked through the docs for vmailmgr and it seems to assume 
hostbased access just kinda works.

versions:
qmail-1.03+patches-14
vmailmgr-0.96.9-1
redhat 6.2

Chris





This question belongs on the vmailmgr mailing list.

On Thu, Oct 12, 2000 at 02:14:50PM -0000, Chris Cioffi wrote:
> I'm digging into virtual domains and I'm having a problem with 
> logging into my virtual domain.  
> In /var/qmail/control/virtualdomains I have a line that looks like 
> this:
> virtdom.net:virtdom.net
> 
> virtdom.net is a valid unix user with home 
> directory /home/virtdom.net

Please don't hide the details from us.  It only makes our job harder.

> I can log into my account (user) with this 'virtdom.net-user' but 
> not with '[EMAIL PROTECTED]' or 'user:virtdom.net'.  
> My /etc/vmailmgr/separators contains '@:%'
> 
> Is there a setting required to permit hostname based access?

Nope, unless you mean IP-based virtual domains.

> I've 
> looked through the docs for vmailmgr and it seems to assume 
> hostbased access just kinda works.

It does.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





I get the same problem with SOL7, now I'm running SOL8 without problems.

RDA.-

-----Original Message-----
From: Doug Schmidt <[EMAIL PROTECTED]>
To: 'Ricardo Albano' <[EMAIL PROTECTED]>; Doug Schmidt
<[EMAIL PROTECTED]>; 'Kris Kelley' <[EMAIL PROTECTED]>; QMail
Mailing List <[EMAIL PROTECTED]>
Date: Wednesday, October 11, 2000 8:53 PM
Subject: RE: concurrencyremote


>It be runnin' Slowaris 2.7 in 64Bit mode.
>
>
>
>-----Original Message-----
>From: Ricardo Albano [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, October 11, 2000 4:17 PM
>To: Doug Schmidt; 'Kris Kelley'; QMail Mailing List
>Subject: Re: concurrencyremote
>
>
>This is probably an OS limit, I think has relation with the max. file
>descriptor that the system can handle, try setting a line line 'ulimit -n
>65000' in the script that lunch the qmail-smtpd process.
>
>What OS/Version are you running ?
>
>RDA.-
>
>-----Original Message-----
>From: Doug Schmidt <[EMAIL PROTECTED]>
>To: 'Kris Kelley' <[EMAIL PROTECTED]>; QMail Mailing List
><[EMAIL PROTECTED]>
>Date: Wednesday, October 11, 2000 4:44 PM
>Subject: RE: concurrencyremote
>
>
>>Yep, I found the problem right after sending the message to the list.
>>control/* are owned by root:root w/ 644 permissions. When I originally
>>created the file as root, because of umask, permissions were 640
>>all is working fine now w/ concurrencyremote at 30. When I make it 40,
>>I get messages in my maillog that say:
>>
>>Oct 11 11:24:18 server qmail: 971277858.753401 delivery 1078: deferral:
>>qmail-spawn_unable_to_create_pipe._(#4.3.0)
>>
>>Is this becuase the server is running out of memory?
>>
>>~Doug
>>
>>-----Original Message-----
>>From: Kris Kelley [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, October 11, 2000 11:29 AM
>>To: QMail Mailing List
>>Subject: Re: concurrencyremote
>>
>>
>>Doug Schmidt wrote:
>>> I would like to increase qmail's concurrencyremote from the default 20
to
>>> 40. When I create:
>>> /var/qmail/control/concurrencyremote
>>> and put a value of 40 in the file,
>>> I restart qmail and get the error:
>>> Oct 10 16:53:14 server qmail: 971211194.211356 alert: cannot start:
>unable
>>> to read controls
>>
>>Could be a matter of permissions.  What are the permissions of your
control
>>directory and the control files now?  On my machine, the control directory
>>is owned by root:qmail with 755 permissions, and all the files within are
>>owned by root:root with 644 permissions.
>>
>>---Kris Kelley





You can also take a look at the "qmail-qfilter" program, I'm using it with
good results.

RDA.-

-----Original Message-----
From: Leonard Tulipan <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, October 12, 2000 4:39 AM
Subject: RE: Incomming message filter


Try http://qmail-scanner.sourceforge.net/
You can configure perl regular expressions to defer certain Headers (like
Subject = I Love You, etc)
You can also do virus checking with this.

Is this what you were looking for?

Ciao
Leo

> -----Original Message-----
> From: szq79 [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 7:53 AM
> To: [EMAIL PROTECTED]
> Subject: Incomming message filter
>
> hi everyone:
>   I have linux and qmail installed( Sorry, I am a chinese people and poor
> in English ),I want to make my server can let user configure their mailbox
> to reject certain messages by MAIL-FROM,but I don't know how to do.Please
> help me.
> Thanks.
> E-mail: [EMAIL PROTECTED]
> ______________________________________
>
> ===================================================================
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
> ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
> http://sms.sina.com.cn/
>  << Message: Incomming message filter >>





hi,

        if I have a user called "user.com", can I tell qmail to use it as a
recipient for a virtualdomain? Like in

virtualdomains:
---
user.com:user.com
---
        

        I have tried doing this and qmail cannot find the user at all. Mails to
[EMAIL PROTECTED] got bounced with a "Sorry, no mailbox here by that
name. (#5.1.1)".
        
        Checking the maillog, I can see that qmail-send does translate
[EMAIL PROTECTED] into [EMAIL PROTECTED], so the
virtdomain rules are being applied ok. Now when it comes the time to
actually find the domain.com user, it fails. 

        I've also tested sending mails to domain.com@localhost and they failed
with a (#5.1.1) error. So my conclusion is that qmail does not behave
properly with dotted user names. Is this documented somewhere? Or am I
doing something wrong?


martin




hi,
if that is handled by an alias faq 4.6 applies:

--snip--
4.6. How do I create aliases with dots? I tried setting up
~alias/.qmail-P.D.Q.Bach, but it doesn't do anything.

Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and
uppercase is converted to lowercase.
--snip--

;) a

==============================================
Alexander Jernejcic              
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================

> -----Original Message-----
> From: martin langhoff [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: does qmail support dots in user names?
> 
> 
> hi,
> 
>       if I have a user called "user.com", can I tell qmail to use it as a
> recipient for a virtualdomain? Like in
> 
> virtualdomains:
> ---
> user.com:user.com
> ---
>       
> 
>       I have tried doing this and qmail cannot find the user at all. Mails to
> [EMAIL PROTECTED] got bounced with a "Sorry, no mailbox here by that
> name. (#5.1.1)".
>       
>       Checking the maillog, I can see that qmail-send does translate
> [EMAIL PROTECTED] into [EMAIL PROTECTED], so the
> virtdomain rules are being applied ok. Now when it comes the time to
> actually find the domain.com user, it fails. 
> 
>       I've also tested sending mails to domain.com@localhost and they failed
> with a (#5.1.1) error. So my conclusion is that qmail does not behave
> properly with dotted user names. Is this documented somewhere? Or am I
> doing something wrong?
> 
> 
> martin
> 




>From the instructions on how to set up a MySQL table for use with this
patch:
http://www.softagency.co.jp/mysql/qmail2.en.html#3

> crypt :   Crypted password of a user
>                  If you want use plain password,
>                  modify checkpassword.c , qmail-getpw.c and mysql.c

checkpassword.c, qmail-getpw.c, and presumably mysql.c expect the password
to be stored encrypted.  Consequently, when given an attempted password to
verify, they first encrypt the attempted password before comparing it with
the stored password.  If you are storing passwords as clear text, you will
have to disable the code that encrypts the attempted password before
comparison.

I do not use this patch myself, so I am unaware of where exactly to modify
the code.  The "crypt()" function is used to encrypt text; you will need to
search for where that function is used on the attempted password, and modify
that code to not use crypt.

---Kris Kelley





szq79 wrote:
> > I have linux and qmail installed. You know, as a webmaster, sometime
send
> > a letter to everyone is needed for a webmaster.I don't know how to do
this.
> > Please tell me.

Andy Bradford wrote:
> There are a number of ways to approach this of which here are two:
[snip]
> This only applies if I have interpreted your email correctly. ;-)  If
> this doesn't work then I probably misunderstood...

I think what he's asking for is a way to send a message to every user at
once.  I imagine a mailing list manager like ezmlm is the way to go, along
with something that keeps the list of users fresh and updated.  I haven't
delved into mailing lists yet, so I'm afraid my expertise stops here.
Anyone?

---Kris Kelley





On Thu, 12 Oct 2000, Kris Kelley wrote:

> szq79 wrote:
> > > I have linux and qmail installed. You know, as a webmaster, sometime
> send
> > > a letter to everyone is needed for a webmaster.I don't know how to do
> this.
> > > Please tell me.
> 
> Andy Bradford wrote:
> > There are a number of ways to approach this of which here are two:
> [snip]
> > This only applies if I have interpreted your email correctly. ;-)  If
> > this doesn't work then I probably misunderstood...
> 
> I think what he's asking for is a way to send a message to every user at
> once.  I imagine a mailing list manager like ezmlm is the way to go, along
> with something that keeps the list of users fresh and updated.  I haven't
> delved into mailing lists yet, so I'm afraid my expertise stops here.
> Anyone?

Someone posted a script called mailtoall that read the passwd file and
sent mail to everyone in it except certain ones.  Dunno if it also did
the users/assign boxes too, but it should be on www.qmail.org.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







> Someone posted a script called mailtoall that read the passwd file and

> sent mail to everyone in it except certain ones.  Dunno if it also did

> the users/assign boxes too, but it should be on www.qmail.org.

Hi.
I'm using my simple script:

#!/bin/sh

for i in `cat /etc/passwd | awk -F ':' '{ print $1 }'`;do
    echo Sending to $i
    cat $1 | /var/qmail/bin/qmail-inject -f nobody $i
done

As you can see - it's getting user name from /etc/passwd and 'touching'
message
on output through qmail-inject.
BR,
Mc.





hi,

I was wondering what commands I can use to read email when I telnet to the
pop3 port, what other commands are ther?

Neil Grant





At 10/12/00 08:11 AM , Neil Grant wrote:

>I was wondering what commands I can use to read email when I telnet to the
>pop3 port, what other commands are ther?

You can find a full listing in RFC 1939, available at:

http://www.faqs.org/rfcs/rfc1939.html

A brief summary of the more useful commands for basic validation and 
troubleshooting work:

USER username  Log in as username.
PASS password  Give username's password (unencrypted!).
STAT           List how many messages are on the server, with total
                byte count. Additional information may be given.
LIST [msg#]    List all messages (or only the specified one), giving
                the message's ID number and byte size.
RETR msg#      Retrieve message number msg#. (May scroll your screen!)
DELE msg#      Delete message number msg#.
NOOP           Null operation.

Although I have put the commands in all-caps for clarity, they are 
case-insensitive. More information is available in the above-referenced 
RFC, which I highly recommend you read if you want to know more about POP3 
syntax and commands.

                                                 --Kai MacTane
----------------------------------------------------------------------
"Before you slip into unconsciousness,
  I'd like to have another kiss,
  Another flashing chance at bliss..."
                                                 --The Doors,
                                                  "The Crystal Ship"





>   I am a manage of an email server( Sorry, English is't my mother tongue
and
> my English is poor ). In my server, the messages from most site can be
parsed
> correctly.But the messages(with attachment)from www.sina.com.cn( a famous
> chinese site ) can't be parsed correctly. I found it is because the
headers
> of messages from sina have no "MIME-Version: 1.0", but all the other site
can
> parse the message(with attachment) from sina correctly. It is probobly the
> question of IMAP, I don't know how to solve this problem.Please help me.
> The software in my system is:
> Linux 6.2.14-5.0
> qmail 1.03
> courie-imap 0.32

This is indeed an issue with your IMAP server, as qmail, being only a
transport agent, doesn't (normally) do anything to the message except
receive it and store it.  Therefore, this is not really a question to ask
the qmail list.  However, I can tell you that the guy who wrote Courier IMAP
is very unforgiving about messages that don't conform to standards, so your
options are to either switch to another IMAP server, or try and persuade the
people at sina.com.cn to fix their broken email system.

---Kris Kelley





I just recently migrated all my customers over to a new machine with
RAID. Everything _seems_ to be working fine.

I have some users that are calling up telling me they cant connect to the
pop3 server even though they havent changed anything.

Any time i test it from here by telnetting to port 110 and logging in as
them it works fine. It also works fine for 95% of all of our
users. Sometimes having them reboot fixes the problem, or removing the
account and reinstalling the account (in outlook express) fixes it.

I'm trying to get some logging going on the qmail-pop3d daemon to see
whats up.

I modified russ nelsons script to do it, but the $USER and $HOME variables
dont work because checkvpw is totally different.

Does anybody know what variable i would need to get checkvpw to log
properly with qmail-pop3d?

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  9:30am  up 35 days, 14:59,  5 users,  load average: 0.94, 0.54, 0.42





On Thu, Oct 12, 2000 at 09:33:57AM -0600, John Gonzalez/netMDC admin wrote:
> Does anybody know what variable i would need to get checkvpw to log
> properly with qmail-pop3d?

This was discussed recently in the vmailmgr mailing list.  Put a script
containing the following into /etc/vmailmgr/checkvpw-postsetuid, and
make it executable:
        #!/bin/sh
        echo "Login OK: $VUSER $MAILDIR $USER $HOME"
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





Quoting Austad, Jay ([EMAIL PROTECTED]):
> I'm looking here:
> http://cr.yp.to/docs/smtplf.html
> 
> Maybe one of the messages contains an <lf> not preceded by a <cr>.  Where
> would this be logged on the qmail box?

Unfortunately, in the stock qmail, nowhere.  However, you may start up
your favorite packet capturing software, sniffit or its equivilent,
and see what is going on between the two servers easily enough.

I've never used it, but there is a djb piece of software known as
recordio that you can use to log every smtp command sent or received
by qmail-smtpd.

Again, though, if this is the problem the exchange server should be
logging qmail's smtp response!  If there's a stray newline,
qmail-smtpd will spit out a 4xx error code and the URL quoted above.

Aaron




Woohoo! Figured it out.  The stupid windows mailserver didn't log anything
useful, so I took one of the messages and used 'nc' to pipe it into qmail.
The message was autogenerate by some .asp file somewhere and had a stray
<lf> in it.  

Jay

-----Original Message-----
From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 11:54 AM
To: '[EMAIL PROTECTED]'
Subject: Re: smtp speed limit??


Quoting Austad, Jay ([EMAIL PROTECTED]):
> I'm looking here:
> http://cr.yp.to/docs/smtplf.html
> 
> Maybe one of the messages contains an <lf> not preceded by a <cr>.  Where
> would this be logged on the qmail box?

Unfortunately, in the stock qmail, nowhere.  However, you may start up
your favorite packet capturing software, sniffit or its equivilent,
and see what is going on between the two servers easily enough.

I've never used it, but there is a djb piece of software known as
recordio that you can use to log every smtp command sent or received
by qmail-smtpd.

Again, though, if this is the problem the exchange server should be
logging qmail's smtp response!  If there's a stray newline,
qmail-smtpd will spit out a 4xx error code and the URL quoted above.

Aaron






"Austad, Jay" wrote:
> 
> Woohoo! Figured it out.  The stupid windows mailserver didn't log anything
> useful, so I took one of the messages and used 'nc' to pipe it into qmail.
> The message was autogenerate by some .asp file somewhere and had a stray
> <lf> in it.

Shitabulous ASP.

-Stephen-




hi,

> Maybe one of the messages contains an <lf> not preceded by a <cr>.  Where
> would this be logged on the qmail box?
>

the sender sees: 451 See http://pobox.com/~djb/docs/smtplf.html

btw.that's why a little shellwrapper for qmail-smtpd is my best friend:
#!/bin/bash
/usr/local/bin/fixcr | /var/qmail/bin/qmail-smtpd

and life is easy...

;) a

==============================================
Alexander Jernejcic              
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================
 





Hi guys,

I've developed a qmailadmin like web application, and I'd like you to give
your opinion about it.
It's not so powerful as qmailadmin yet, but I'll keep improving it some 
time more.
You can find some screenshots and download link at
http://vmailadmin.sourceforge.net

I'll be very pleased if some of you waste some time with it.

[]s
Davi




Hi all

i have written an sms forward filter in perl that allows me to trigger an sms message 
to me if a
mail matches my criteria.

i then send an sms including the sender of the mail and the subject line.

Now my problem is this:

I live in denmark and thus it happens pretty often that a subject line includes 
non-standard ascii
characters.

subject lines with non-standard ascci characters are iso-8859-1 encoded, example 
follows:

=?iso-8859-1?Q?N=E5_min_skat_-_jeg_g=E5r_til_afdelingsm=F8de_i?= 
=?iso-8859-1?Q?_Bredgade_nu_-_jeg_ringer_senere=2E_Kys_til_dig_fra_mig?= 
=?iso-8859-1?Q?_=2AS=2A?=

this subject actually reads:

Nå min skat - jeg går til afdelingsmøde iBredgade nu - jeg ringer senere. Kys til dig 
fra mig*S*

(if this looks weird don't worry -it's danish :)

ofcourse this looks pretty silly in an sms message så what i would like is a way to 
convert this
back to ascii

I have tried everything i could find, and no perl module seems able to do this for me 
(including
SGML::ISO8859).
Neither have i found a binary or a sheel script or anything like it that works for me, 
but since every mailreader seems able to handle this, then i must conclude that there 
ARE exsisting
tools for this conversion...

Do you know of any?

/Martin




> From:  Martin Jespersen <[EMAIL PROTECTED]>
> Date:  Fri, 13 Oct 2000 00:00:41 +0200
>
> Hi all
> 
> i have written an sms forward filter in perl that allows me to trigger an s
> ms message to me if a
> mail matches my criteria.
> 
> i then send an sms including the sender of the mail and the subject line.
> 
> Now my problem is this:
> 
> I live in denmark and thus it happens pretty often that a subject line incl
> udes non-standard ascii
> characters.
> 
> subject lines with non-standard ascci characters are iso-8859-1 encoded, ex
> ample follows:
> 
> =?iso-8859-1?Q?N=E5_min_skat_-_jeg_g=E5r_til_afdelingsm=F8de_i?= 
> =?iso-8859-1?Q?_Bredgade_nu_-_jeg_ringer_senere=2E_Kys_til_dig_fra_mig?= 
> =?iso-8859-1?Q?_=2AS=2A?=
> 
> this subject actually reads:
> 
> Nå min skat - jeg går til afdelingsmøde iBredgade nu - jeg ringer senere. Kys 
> til dig fra mig*S*
> 
> (if this looks weird don't worry -it's danish :)
> 
> ofcourse this looks pretty silly in an sms message så what i would like is a
>  way to convert this
> back to ascii

I assume you mean you want to convert it back to iso-58859-1.

I did this in tcl a while back.  It's actually fairly simple, ?charset?Q?text? 
means that 'text' is encoded into ascii using quoted printable.  quoted 
printable basically just says that '=dd' should be replaced with the code in 
hex.

I think the actual conversion is a one liner in perl...something along the 
lines of 's/=(..)/chr(hex($1))/eg'  (Note this is untested.)

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
4314 Avenue C                   
Austin, TX  78751-3709          +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

    Nobody ever got fired for buying Microsoft,
      but they could get fired for relying on Microsoft.


PGP signature





On Fri, 13 Oct 2000, Martin Jespersen wrote:

> I have tried everything i could find, and no perl module seems able to do this for 
>me (including
> SGML::ISO8859).
> Neither have i found a binary or a sheel script or anything like it that works for 
>me, 
> but since every mailreader seems able to handle this, then i must conclude that 
>there ARE exsisting
> tools for this conversion...
> Do you know of any?

Quoted-printable should be easily decoded by using the MIME::QuotedPrint 
package (written by Gisle As) from your local CPAN mirror. 

Thorkild






Thorkild Stray wrote:
> 
> On Fri, 13 Oct 2000, Martin Jespersen wrote:
> 
> > I have tried everything i could find, and no perl module seems able to do this for 
>me (including
> > SGML::ISO8859).
> > Neither have i found a binary or a sheel script or anything like it that works for 
>me,
> > but since every mailreader seems able to handle this, then i must conclude that 
>there ARE exsisting
> > tools for this conversion...
> > Do you know of any?
> 
> Quoted-printable should be easily decoded by using the MIME::QuotedPrint
> package (written by Gisle As) from your local CPAN mirror.
> 
> Thorkild

Thx for the pointer, i had no idea that it was Mime *shame*

for those who cares the solution was the perl module MIME::Head

/Martin




I have an alias for our High School .qmail-bhs
which contains a list of all the users at our high School

That alias was working fine, until i added a user bhs for posting webpages.

Now I have to have the user bhs...
but I moved their home directory to point to /web/bhs
not the usual /home/bhs...
and i deleted the directory created by skel /home/bhs
but the alias is still not working...
how do i get the alias working again...without removing the user bhs?

Thanks,

Barry Smoke
District Network Administrator
Bryant Public Schools 





Is the alias in the /var/qmail/alias directory as .qmail-bhs or are you
using vpopmail?  I always assumed that it checked for an alias before a pop
user account.  If you're authentication from /etc/passwd and not using
vpopmail or something for domain control, then you might need to copy the
/var/qmail/alias/.qmail-bhs file to /web/bhs/.qmail if you want to keep the
bhs username for something else.
--
Tony Publiski
World Wide Net, Inc.
+1 (734) 513-7707 x 2012 

-----Original Message-----
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 7:15 PM
To: [EMAIL PROTECTED]
Subject: oops, I borke an alias


I have an alias for our High School .qmail-bhs
which contains a list of all the users at our high School

That alias was working fine, until i added a user bhs for posting webpages.

Now I have to have the user bhs...
but I moved their home directory to point to /web/bhs
not the usual /home/bhs...
and i deleted the directory created by skel /home/bhs
but the alias is still not working...
how do i get the alias working again...without removing the user bhs?

Thanks,

Barry Smoke
District Network Administrator
Bryant Public Schools 






How does one make a virtual user for an address at a "locals" site?
I can make them easily for virtusers.  Stupid qmail doens't say
"which" maildir it can't cd to... so there's very little chance of
actually using that vague error.

Scott






Hello:

I would like to know what  I am doing wrong with this:

I have already installed checkpasswd on my system and I put the
following on my /usr/sbin/qmail start section,

case "$1" in
  start)
    echo -n "Starting qmail: svscan"
    cd /var/qmail/supervise
    env - PATH="/usr/local/bin:$PATH" svscan &
    echo $! > /var/run/svscan.pid
    echo "."
    tcpserver -v -R 0 pop3 /var/qmail/qmail-popup proxy.skytel.com.co. \
       /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
       /var/qmail/bin/splogger pop3d &
   
;;                                                                          

but I see the following error on my /var/log/mail file:

Oct 12 19:02:21 proxy pop3d: 971395341.416666 tcpserver: fatal: unable
to bind:
address already used


Thanks a lot for your help

Regards, 

Eduardo




Something is already listening on port 25.  Maybe inetd.  Maybe another
tcpserver.

Check netstat --listening to see if anybody is doing it.

As for what process?  I dunno if that info is available.

David


> -----Original Message-----
> From: Eduardo Rojas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 5:15 PM
> To: qmail list
> Subject: Startup of checkpasswd
> 
> 
> Hello:
> 
> I would like to know what  I am doing wrong with this:
> 
> I have already installed checkpasswd on my system and I put the
> following on my /usr/sbin/qmail start section,
> 
> case "$1" in
>   start)
>     echo -n "Starting qmail: svscan"
>     cd /var/qmail/supervise
>     env - PATH="/usr/local/bin:$PATH" svscan &
>     echo $! > /var/run/svscan.pid
>     echo "."
>     tcpserver -v -R 0 pop3 /var/qmail/qmail-popup 
> proxy.skytel.com.co. \
>        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>        /var/qmail/bin/splogger pop3d &
>    
> ;;                                                            
>               
> 
> but I see the following error on my /var/log/mail file:
> 
> Oct 12 19:02:21 proxy pop3d: 971395341.416666 tcpserver: fatal: unable
> to bind:
> address already used
> 
> 
> Thanks a lot for your help
> 
> Regards, 
> 
> Eduardo
> 




----- Original Message -----
From: "Mark Lo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Erwin Hoffmann" <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 5:21 AM
Subject: Re: ITU-T (Off Topic)


> Hi,
>
>     Offtopic Again !!  Sorry !!  Does anyone know ...Do I need a license
to
> operate a mail server in Hong Kong.??  How about in US ?
>
> Thank You
>
> Mark
>
[snip]

Maybe the ITU-T requirement applies to the physical connection to the line
(i.e. your modem, ISDN or whatever connection).

I would be very surprised if it applies to the actual software that you are
running on your server.

I can't comment on mail server licencing requirements, except to say that
there is certainly no requirement in most "western" countries that I know
of.

HTH

Geoff Everist





>> Hi,
>>
>>     Offtopic Again !!  Sorry !!  Does anyone know ...Do I need a license to
>> operate a mail server in Hong Kong.??  How about in US ?
>>

FWIW, I admin two mail servers in HK, licensing has never been an
issue.  DNS delegation is a bureaucrats dream, though.

-- 
Rick Lyons
WebCentral


Reply via email to