Re: RBL and ORBS

2001-02-08 Thread Piotr Kasztelowicz

Hello

> This may seem dumb but here goes :).
> Now, does it mean that we can no longer use it to check for open relays and
> if so what replacement do we have?

I had said about the mor free time!!!

But is this really true, that ORBS has been closed permanently?

Piotr
---
Piotr Kasztelowicz <[EMAIL PROTECTED]>
[http://www.am.torun.pl/~pekasz]




Re: Could someone just tell me the reason for this message

2001-02-08 Thread Roger Arnold

Roger Arnold wrote:

Sorry Greg, I only put "[EMAIL PROTECTED]" as an example, it's not the real user
and domain.
The real user/domain is "[EMAIL PROTECTED]"

The line should read:
5.1.1 <[EMAIL PROTECTED]>... User unknown

Also, with the second question, are you saying that there should be more than
one supervise running,
I am sorry but I don't understand what you mean.
If you mean they should both be combined into one script, could you supply an
example as I am
not a programmer,

Thanks
Roger

Greg White wrote:

> On Fri, Feb 09, 2001 at 03:24:54PM +1100, Roger Arnold wrote:
> > Roger Arnold wrote:
> >
> > Could someone just tell me the reason for this message so I can start
> > over, sorting it out please?
> > I think I am brain dead because I am just going around in circles.
> > Email client message:
> >
> > An error occurred while sending mail.
> > The mail server responded:
> > 5.1.1 <[EMAIL PROTECTED]>... User unknown
> > Please check the message recipients and try again.
> >
> > What I need to know is:
> > Is this error caused by a problem in RELAYCLIENT or
> > An error in Qmails control files or
> > Something else
>
> Well, now you've got me confused, because your server at domain.com
> appears to like [EMAIL PROTECTED] just fine...
> ( mail.domain.com appears to be the only MX for domain.com )
>
> gregw@localhost:~$ telnet mail.domain.com 25
> Trying 209.92.33.180...
> Connected to mail.domain.com.
> Escape character is '^]'.
> HELO greg.cex.ca
> 220-domain.com  VOPmail ESMTP Receiver Version 4.5.186.0 Ready
> 220 Warning: no name found in DNS for your host address
> 250 OK
> MAIL FROM:<[EMAIL PROTECTED]>
> 250 [EMAIL PROTECTED] OK
> RCPT TO:<[EMAIL PROTECTED]>
> 250 [EMAIL PROTECTED] OK
> QUIT
> 221 domain.com closing
> Connection closed by foreign host.
>
> So, I don't understand the problem. Your server also does not appear to
> be running a stock qmail -- its responses lead me to believe that it is
> something else entirely
>
> >
> >
> > One last thing, can you have 2 startup lines for tcpserver (one for pop3
> > and one for smtp)
> > Eg.
> > /usr/bin/tcpserver -u vpopmail -g vchkpw -H -R 0 pop-3
> > /usr/bin/qmail-popup jupiter.webways-hosting.net
> > /home/vpopmail/bin/vchkpw /usr/bin/qmail-pop3d Maildir &
> >
> > /usr/bin/tcpserver -x/home/vpopmail/etc/tcp.smtp.cdb -u101 -g16 0 smtp
> > /var/qmail/bin/qmail-smtpd &
>
> Yes, you _could_ put that all in one 'run' script for supervise, but I
> personally would not. Once supervise, one run script (or one more for
> multilog), and one service. They're easier to deal with that way.
>
> >
> > Many thanks in advance for any and all help
> > Regards
> > Roger
> >
> You're welcome. ;)
>
> --
> Greg White
> Those who make peaceful revolution impossible will make violent
> revolution inevitable.
> -- John F. Kennedy




Re: Could someone just tell me the reason for this message

2001-02-08 Thread Greg White

On Fri, Feb 09, 2001 at 03:24:54PM +1100, Roger Arnold wrote:
> Roger Arnold wrote:
> 
> Could someone just tell me the reason for this message so I can start
> over, sorting it out please?
> I think I am brain dead because I am just going around in circles.
> Email client message:
> 
> An error occurred while sending mail.
> The mail server responded:
> 5.1.1 <[EMAIL PROTECTED]>... User unknown
> Please check the message recipients and try again.
> 
> What I need to know is:
> Is this error caused by a problem in RELAYCLIENT or
> An error in Qmails control files or
> Something else

Well, now you've got me confused, because your server at domain.com
appears to like [EMAIL PROTECTED] just fine...
( mail.domain.com appears to be the only MX for domain.com )

gregw@localhost:~$ telnet mail.domain.com 25
Trying 209.92.33.180...
Connected to mail.domain.com.
Escape character is '^]'.
HELO greg.cex.ca
220-domain.com  VOPmail ESMTP Receiver Version 4.5.186.0 Ready
220 Warning: no name found in DNS for your host address
250 OK
MAIL FROM:<[EMAIL PROTECTED]>
250 [EMAIL PROTECTED] OK
RCPT TO:<[EMAIL PROTECTED]>
250 [EMAIL PROTECTED] OK
QUIT
221 domain.com closing
Connection closed by foreign host.

So, I don't understand the problem. Your server also does not appear to
be running a stock qmail -- its responses lead me to believe that it is
something else entirely

> 
> 
> One last thing, can you have 2 startup lines for tcpserver (one for pop3
> and one for smtp)
> Eg.
> /usr/bin/tcpserver -u vpopmail -g vchkpw -H -R 0 pop-3
> /usr/bin/qmail-popup jupiter.webways-hosting.net
> /home/vpopmail/bin/vchkpw /usr/bin/qmail-pop3d Maildir &
> 
> /usr/bin/tcpserver -x/home/vpopmail/etc/tcp.smtp.cdb -u101 -g16 0 smtp
> /var/qmail/bin/qmail-smtpd &

Yes, you _could_ put that all in one 'run' script for supervise, but I
personally would not. Once supervise, one run script (or one more for
multilog), and one service. They're easier to deal with that way.

> 
> Many thanks in advance for any and all help
> Regards
> Roger
> 
You're welcome. ;)


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



RBL and ORBS

2001-02-08 Thread Andrew Wafula

Hello,

I was at the ORBS site the other day and I saw that as from 1st Feb 2001
relays.orbs.org would be deleted.

This may seem dumb but here goes :).
Now, does it mean that we can no longer use it to check for open relays and
if so what replacement do we have?

Andrew




Could someone just tell me the reason for this message

2001-02-08 Thread Roger Arnold

Roger Arnold wrote:

Could someone just tell me the reason for this message so I can start
over, sorting it out please?
I think I am brain dead because I am just going around in circles.
Email client message:

An error occurred while sending mail.
The mail server responded:
5.1.1 <[EMAIL PROTECTED]>... User unknown
Please check the message recipients and try again.

What I need to know is:
Is this error caused by a problem in RELAYCLIENT or
An error in Qmails control files or
Something else

I have been reading and reading until I don't know arthur from martha,
and am now totaly confused.
Yes I am a newbie

One last thing, can you have 2 startup lines for tcpserver (one for pop3
and one for smtp)
Eg.
/usr/bin/tcpserver -u vpopmail -g vchkpw -H -R 0 pop-3
/usr/bin/qmail-popup jupiter.webways-hosting.net
/home/vpopmail/bin/vchkpw /usr/bin/qmail-pop3d Maildir &

/usr/bin/tcpserver -x/home/vpopmail/etc/tcp.smtp.cdb -u101 -g16 0 smtp
/var/qmail/bin/qmail-smtpd &

Many thanks in advance for any and all help
Regards
Roger




Re: multi-thread

2001-02-08 Thread Lincoln Yeoh

At 04:51 PM 08-02-2001 +, Mark Delany wrote:
>it). I rediscovered that a concurrency of 1,000 qmail-remotes consumes
>very little system resource on FreeBSD.

What do we gain by multithreading?

The design of qmail will theoretically result in more latency e.g. process
1 forking and exec'ing process 2 which execs process 3 and so on.

Also there's less shareable memory that way. However the gain in
simplicity, security and robustness is worth it, especially since the
processes are very small making these nonissues in most cases and
especially for email. Also most other email servers aren't even close to
performing at that level in the first place :).

I can see how it will be an issue for web servers though. 

Still if we start putting fat processes (a perl checkmail for instance) in
the typical qmail process pipeline it could get ugly. Or do anything which
needs a long startup time (make db connections). 

Cheerio,
Link.




Re: WARNING: Worm (?) sending from root@microsoft.com to *@anon.lcs.mit.ed

2001-02-08 Thread Roger Merchberger

On or about 06:18 PM 2/8/01 -0700, Sean Reifschneider was caught in a dark
alley speaking these words:
>On Thu, Feb 08, 2001 at 05:02:06PM -0800, Aaron L. Meehan wrote:
>>I'm pretty sure this is the work of the W95.Hybrid email worm (the
>>sexyfun.net one), sending copies of itself to the mail2news gateway
>
>What triggered the sudden hit then?  sexyfun has been around for
>quite a while and the mail servers have kept up pretty well.  This
>one is really pounding it though.

I think part of it's ability to download updates makes changes to the worm,
to the point where you may be seeing a new variant of it. I've seen *2*
variants of this so far - one from "sexyfun" and the badly misspelled
story, and one with no story or faked sender - only an empty sender, but
otherwise the same virus.

This critter hasn't taken down our qmail server (mark 1 for the good guys)
despite it's being an antique (relatively speaking) - Cyrix P166(ish) / 4G
IDE / 128M RAM, altho I was receiving nearly 1000 double-bounces per day
from the damnable thing. Tracking who has it isn't exactly easy, either...
however if there are any dial-up sysadmins out there who could use a tip,
this has helped me out considerably:

In Win9x, under the network control panel, setting the "Host:" setting
under DNS to the username of the person, will make that username show up in
the (HELO x) string in qmail's main Received: header. We had our
customers set this since day 1, and this has helped me immensely in
tracking the infected person.

That and if you have separate qmail & authentication servers, make sure
they're both updated at least once per day to an atomic time clock. Servers
that are 5 min. off are a real bugger to figure out who was online when...

Anywho, I hope this helps someone out there -- it's the least I can do to
try to repay the help I've received on this list over the last 6 years... :-)

Thanks,
Roger "Merch" Merchberger
=
Roger "Merch" Merchberger -- [EMAIL PROTECTED]
SysAdmin - Iceberg Computers
=  Merch's Wild Wisdom of the Moment:  =
Sometimes you know, you just don't know sometimes, you know?



Re: WARNING: Worm (?) sending from root@microsoft.com to *@anon.lcs.mit.ed

2001-02-08 Thread Sean Reifschneider

On Thu, Feb 08, 2001 at 05:02:06PM -0800, Aaron L. Meehan wrote:
>I'm pretty sure this is the work of the W95.Hybrid email worm (the
>sexyfun.net one), sending copies of itself to the mail2news gateway

What triggered the sudden hit then?  sexyfun has been around for
quite a while and the mail servers have kept up pretty well.  This
one is really pounding it though.

Sean
-- 
 Blaming the software quality on the tool is like saying "I can't pick up
 chicks because my car isn't cool enough."  -- Sean Reifschneider, 1998
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: WARNING: Worm (?) sending from root@microsoft.com to *@anon.lcs.mit.ed

2001-02-08 Thread Ricardo Cerqueira

On Thu, Feb 08, 2001 at 05:51:40PM -0700, Sean Reifschneider wrote:
> Anyone else seeing thousands of messages filling up your queue, apparently
> from "[EMAIL PROTECTED]" to addresses such as:
>
>[EMAIL PROTECTED]

Yeap, I've seen that one, but didn't pay much attention to it...
I thought it was some wise-ass customer fooling around. Appearently... it
isn't.

RC

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

 PGP signature


Re: WARNING: Worm (?) sending from root@microsoft.com to *@anon.lcs.mit.ed

2001-02-08 Thread Aaron L. Meehan

Quoting Sean Reifschneider ([EMAIL PROTECTED]):
> Anyone else seeing thousands of messages filling up your queue, apparently
> from "[EMAIL PROTECTED]" to addresses such as:
> 
>[EMAIL PROTECTED]

I'm pretty sure this is the work of the W95.Hybrid email worm (the
sexyfun.net one), sending copies of itself to the mail2news gateway
for distribution to news servers worldwide, so that other infected
computers can download new plugins.  That sure is a nasty bugger.

One or more of your users is undoubtedly infected with the
worm--plenty of ours are, I'm sorry to say.

It would seem that when it was discovered that worm authors intended
to use them for worm distribution, the administrators of that gateway
shut it down.  One point to the miscreants.

Aaron




RE: SMTP authentication

2001-02-08 Thread ÀüÁö¿­

[arith@foo arith]$ telnet foo.com 25
Trying 192.0.0.1...
Connected to foo.com
Escape character is '^]'.
220 foo.com ESMTP
ehlo foo.com
250-foo.com
250-PIPELINING
250 8BITMIME

qmail don't support RFC2554

-Original Message-
From: Michail A.Baikov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 4:31 PM
To: Matt Simonsen; Enrique Vadillo
Cc: [EMAIL PROTECTED]
Subject: Re: SMTP authentication


Qmail support SMTP Authorization (RFC2554) ?


- Original Message -
From: "Enrique Vadillo" <[EMAIL PROTECTED]>
To: "Matt Simonsen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 10:40 PM
Subject: Re: SMTP authentication


> I got exactly the same problem, the only thing i could do for now is
> to give them a webmail frontend but most people are very used to sending
> mail using their favorite mail programs.
>
> anyone here know any way this can be done? i use qmail on solaris,
> i'm open to any ideas.
>
> iPass has no information on this even though it's very related to their
> business.
>
> Enrique-
>
> |o|  Matt Simonsen escribió 
> |o| Is it possible/adviseable to run a Qmail server to authenticate all
relay
> |o| SMTP traffic so that we can leave the relay open but not allow
spammers
> |o| access? I have Qmail running with Courier IMAP server, my problem is
that we
> |o| have some users with laptops who travel and use different ISPs out of
the
> |o| office and would not be able to get email through out SMTP server. To
ask
> |o| them to change settings may be too much. I have thought of setting up
2
> |o| Outlook profiles for them with different outgoing mail servers, but I
am
> |o| hoping there is a way to allow their traffic through via a username
and
> |o| password combo.
> |o|
> |o| Thanks
> |o| Matt




WARNING: Worm (?) sending from root@microsoft.com to *@anon.lcs.mit.ed

2001-02-08 Thread Sean Reifschneider

Anyone else seeing thousands of messages filling up your queue, apparently
from "[EMAIL PROTECTED]" to addresses such as:

   [EMAIL PROTECTED]

Looks like this has started within the hour.  Looks like one of our
clients got hit with about 6000 of them, and they're still coming
in.

We're currently just trapping them by setting up anon.lcs.mit.edu in
virtualdomains and directing that to a maildir:

   echo anon.lcs.mit.edu:virustrap >>/var/qmail/control/virtualdomains
   echo '/path/to/maildir/' >~alias/.qmail-virustrap
   maildirmake /path/to/maildir
   killall -HUP qmail-send

It seems like putting "[EMAIL PROTECTED]" in badmailfrom may prevent it
from hitting your boxes resources, but we have tons of resources and
would like to check it out a bit.

The message is around 80 lines of 70 column upper-case text, something like:

   Subject: i_rz [NZM zmPaLazCnSTOnermbGneLqrmDGbenCfWrCrSXSTiI

   GYEPBZDWDNIOFPKVGXPSHSGSFRBVIUNTEBFSDRKTEVLNGCCUKCKCOTCXZNPBFWGBOZ
   EZGZMMLYBQGVNQGBGPOXFNONKMDTBMZQHNPVCTLCBTHXGWDSESBWDMZWHOMRNPKUEC
   FSOVFVZSDRFNOWHYMZFUDZBUJYJVIMNSDVJYGWFSCMGNDUEBPBDCFUZMMZPVCQMOEM
   [...]

Sean
-- 
 Tragedy is when I cut my finger.  Comedy is when you fall into an open
 sewer and die.  -- Mel Brooks
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: Administrative tool

2001-02-08 Thread Davi

I've wrote a simple one, but I don't have it now.
I'll send you tomorrow.

[]s
Davi


On Thursday 08 February 2001 21:15, [EMAIL PROTECTED] wrote:
> Hi All.
>
> Is there an administrative tool to create, delete or modify users without
> vpopmail?
>
> I have an installation with users in /etc/passwd, without vpopmail.
>
> I saw qmailadmin and oMail-admin, but both users vpopmail.
>
> Thanks,
>
> Ari



Re: mail delivery

2001-02-08 Thread Peter van Dijk

On Thu, Feb 08, 2001 at 05:52:03PM -0600, Miles Scruggs wrote:
> I just had the DNS transferred over from a third party that was handling the
> mail.  All that goes to our addresses doesn't get rejected but when we login
> there is no messages either.  This is for both mail that is relayed remotely
> and locally.  When I do qmail-qstat I get this:
> 
> messages in queue: 110
> messages in queue but not yet preprocessed: 0
> 
> I'm at a loss as to where the mail is going and how to get it to the right
> users.  I'm using vpopmail to handle the virtual domain.  I did a test with
> a unused test subdomain before the switch and everything was working fine.
> Now I have the black hole for email

What do the logs say?

Greetz, Peter.



mail delivery

2001-02-08 Thread Miles Scruggs

I just had the DNS transferred over from a third party that was handling the
mail.  All that goes to our addresses doesn't get rejected but when we login
there is no messages either.  This is for both mail that is relayed remotely
and locally.  When I do qmail-qstat I get this:

messages in queue: 110
messages in queue but not yet preprocessed: 0

I'm at a loss as to where the mail is going and how to get it to the right
users.  I'm using vpopmail to handle the virtual domain.  I did a test with
a unused test subdomain before the switch and everything was working fine.
Now I have the black hole for email


Miles




Re: High MEM Usage??

2001-02-08 Thread Kurth Bemis

At 09:34 AM 2/4/2001, Sumith Ail wrote:

try free -m -t...

don't freak out about buffers.its just buffers that can be overwritten..

~kurth


>Hello,
>
>We have just received our server which is a Dual PIII with 512 MB RAM , RH 
>Linux 6.2 Box. I have installed qmail on this with tcpserver, Now the 
>meminfo shows
>cat /proc/meminfo
>
> total:used:free:  shared: buffers:  cached:
>Mem:  529530880 364380160 165150720 72847360 300982272 24657920
>Swap: 10485514240 1048551424
>MemTotal:517120 kB
>MemFree: 161280 kB
>MemShared:71140 kB
>Buffers: 293928 kB
>Cached:   24080 kB
>BigTotal: 0 kB
>BigFree:  0 kB
>SwapTotal:  1023976 kB
>SwapFree:   1023976 kB
>
>There is hardly anybody using this server...please let me know how can I 
>find out which process is using so much of memory.
>
>Kind Regards
>Sumith




Re: Administrative tool

2001-02-08 Thread Olivier M.

On Thu, Feb 08, 2001 at 09:15:26PM -0200, [EMAIL PROTECTED] wrote:
> Hi All.
> Is there an administrative tool to create, delete or modify users without
> vpopmail?
> I have an installation with users in /etc/passwd, without vpopmail.

not that I'm aware off. This tool would have to run as root, so
it's maybe not really a good idea ?

> I saw qmailadmin and oMail-admin, but both users vpopmail.
nope, omail-admin is working with vmailmgr, and not vpopmail.

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

 PGP signature


Administrative tool

2001-02-08 Thread ari

Hi All.

Is there an administrative tool to create, delete or modify users without
vpopmail?

I have an installation with users in /etc/passwd, without vpopmail.

I saw qmailadmin and oMail-admin, but both users vpopmail.

Thanks,

Ari





Re: generating bounce list

2001-02-08 Thread Michael Lea

On Thu, Feb 08, 2001 at 02:41:44PM -0800, Brandon Yu wrote:
> I am sending out a bunch of emails and would like to generate a list
> usernames whose mail bounces. Does Qmail have any feature to accomplish
> this? Or is there another way to accomplish this?

Try the qmailanalog package. From http://cr.yp.to/qmailanalog.html:
qmailanalog is a collection of tools to help you analyze qmail's
activity record. It supplies statistics to answer a wide variety of
questions: 

- overall: how many messages? recipients? attempts? etc. 
- ddist: how soon were 50% of the messages delivered? 90%?
  95%? 99%? 
- rxdelay: what's the best order of recipients for mailing lists? 
- recipients, rhosts: who's getting mail? bytes? messages?
  attempts? 
- successes, failures, deferrals: why? how often? how much delay? 
- senders, suids: messages? bytes? load? recipients? attempts?
  delay? 

qmailanalog also includes several tools to focus attention on
particular senders, recipients, or messages. 

- Mike

 PGP signature


Re: Relay only server

2001-02-08 Thread Dan Egli

The problem was that I had the name mx2.cfourusa.com in the locals file (I
forgot I added it there). When I removed it, I was able to send messages to
the server and have them relayed to the primary server properly. I thank
everyone for their help!


-- Dan
- Original Message -
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 12:15 PM
Subject: Re: Relay only server


> Dan Egli <[EMAIL PROTECTED]> wrote:
> > never mind. I got it  working. Thanks
>
> Mailing list netiquette:  if you post a problem to the list, and then
later
> figure out the problem, please post a summary message to the list saying
> what the problem turned out to be, how you figured it out, and how you
> fixed it.
>
> This way, when other people have similar problems and search the list
> archives, they actually find solutions to their problem, not just many
> copies of "I've got problem X" and "Never mind, I fixed it".
>
> Charles
> --
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---
>




generating bounce list

2001-02-08 Thread Brandon Yu

I am sending out a bunch of emails and would like to generate a list
usernames whose mail bounces. Does Qmail have any feature to accomplish
this? Or is there another way to accomplish this?

Thanks,
Brandon




Re: COmpiling qmail-1.03 under NCR sysr4 (mpras 4.2)

2001-02-08 Thread Felix von Leitner

Thus spake Jocelyn Clement ([EMAIL PROTECTED]):
> Anybody has any luck or experience with this OS.

What kind of question is this?
Why don't you just try and see if it works?

ARGH!

Felix



Re: multi-thread

2001-02-08 Thread Felix von Leitner

Thus spake Mark Delany ([EMAIL PROTECTED]):
> If all he's trying to achive is reduce forking on his Solaris box, I
> concur. However if we generalize the question, I don't know that I'd
> draw the same conclusion.

> If any area of qmail would benefit for threading, it might be the
> remote delivery mechanism - currently handled by Batman and Robin, er,
> sorry, qmail-rspawn and qmail-remote.

Nothing benefits from multithreading.
It makes the code hard to understand, creates new problems (one thread
dies, the whole app dies), kills resource limits, and is not even
faster.

There is no reason to use multithreading except if you are a marketing
guy at Sun or Microsoft and your analysis says that it is cheaper to ram
multithreading down people's throats than to fix the insanely huge
process creation latency of your broken poor excuse of an operating
system.

Felix



LWQ - Was: anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is test@abc.com)??

2001-02-08 Thread Peter Cavender

>At 10:15 PM 2/7/2001, dick wrote:
>
>sigh.i think we all know the awnser
>
>read LWQ at http://www.lifewithqmail.org
>
>dave - you should charge $1.00 for every person that reads LWQ, 
>you'd be a very wealthy man. :-)


If he charged $1 for everyone who _didn't_ read it before posting, 
he'd be even richer :-)

>
>~kurth
>
>>any suggestion is welcome.




Re: anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is test@abc.com)??

2001-02-08 Thread Kurth Bemis

At 10:15 PM 2/7/2001, dick wrote:

sigh.i think we all know the awnser

read LWQ at http://www.lifewithqmail.org

dave - you should charge $1.00 for every person that reads LWQ, you'd be a 
very wealthy man. :-)

~kurth

>any suggestion is welcome.




Re: Newbie: Which Dist Linux, Best?

2001-02-08 Thread Sean Reifschneider

On Wed, Jan 31, 2001 at 11:09:17PM -0500, Phil Barnett wrote:
>First off, trying to use a .0 release of any Redhat release is,at the 
>very least, foolish.

Are you saying that RedHat 7.0 is worse than RedHat 6.1?  If so, you
either haven't used RedHat 7.0, or haven't used RedHat 6.1...  We have
a RedHat-based release (KRUD -- http://www.tummy.com/krud/) and it was
on the order of 6 months before 6.1+errata was up to a quality where
we started basing our distro on it.  With 7.0, it was the month after
it was released.  No matter what the press is saying about it...

I find that most people who are bad-mouthing 7.0 have never even used
it...

What distribution is the best for a newbie?  I certainly wouldn't wave
you off RedHat 7.0.  My recommendation is that you use the distribution
that most of your friends or most of the experienced people in your local
LUG use.  You *WILL* need help, better to not have any reason for your
friends not to help you.

Sean
-- 
 We have just gotten a wake-up call from the Nintendo Generation.
 -- _Hackers_
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: Reliable fetching of email

2001-02-08 Thread Dave Sill

"John P" <[EMAIL PROTECTED]> wrote:

>1 - Forward all user mails to *@office.domain.com and have Qmail deliver
>them to each user - but, our ADSL connection is a bit unreliable, and
>sometimes the server will be 'off the internet' for an hour or so - could
>this be a problem with the lack of a secondary etc.? Or could our webserver
>be the secondary?

No problem. No secondary is necessary or even desirable. If your
system isn't connected at the time a remote system tries to send it
mail, it'll try again later.

>or 2- Have the Qmail server manually fetch the e-mails via POP3 at set
>intervals.
>
>How would I do option 2 with Qmail?

With fetchmail or getmail.

-Dave



Re: The problem with serialmail/qmail and dialup lines

2001-02-08 Thread Dave Sill

Paulo Jan <[EMAIL PROTECTED]> wrote:

>I've been in this list, on and off, for about two years,
>and I have seen the issue discussed several times, but have never seen a
>solution for this particular case (customer on a dialup line, sending
>large mails to several people). Has anyone come up with a way to deal
>with this situation?

The best workaround I'm aware of is to set up a list containing the
recipients on the server. That won't help much if the list is
dynamic.

>Or is this one of the cases where other MTAs could
>actually have done a better job?

Yes, other MTA's could handle this more efficiently.

-Dave



Re: Relay only server

2001-02-08 Thread Charles Cazabon

Dan Egli <[EMAIL PROTECTED]> wrote:
> never mind. I got it  working. Thanks

Mailing list netiquette:  if you post a problem to the list, and then later
figure out the problem, please post a summary message to the list saying
what the problem turned out to be, how you figured it out, and how you
fixed it.

This way, when other people have similar problems and search the list
archives, they actually find solutions to their problem, not just many
copies of "I've got problem X" and "Never mind, I fixed it".

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Outbound sending..

2001-02-08 Thread Kurth Bemis

At 10:58 AM 2/4/2001, [EMAIL PROTECTED] wrote:

you need something called tcp.smtp.  it defines who can relay and who can't.

check out LWQ @ http://www.lifewithqmail.org it goes over this in depth :-)

~kurth


>All of my users when trying to send to aol or other off system sites are
>getting this error.
>
>sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1)
>
>Well why should aol.com or msn.com or anything off site be in rcpthosts?
>
>What am I missing on my qmail server to do this..
>
>Any help would greatly be apreciated..
>It has to be simple I am sure :)
>--Matt




Re: relaying restrictions

2001-02-08 Thread Kurth Bemis

At 10:22 AM 2/7/2001, [EMAIL PROTECTED] wrote:

please read life with qmail by dave sill @ http://www.lifewithqmail.org

your looking for something called tcp.smtp

~kurth

>Hi
>
>If anyone could point me in the right direction I would appreciate it.  I
>would like qmail to relay for a user if he/she comes from an allowable IP
>address and/or from an allowable domain.  Right now the server is only
>allowing relaying for people within allowable IP ranges and from one
>specific domain.  Would I need the whole list of domains we host along with
>their users corresponding ip address ranges in the tcp.smtp and
>relaymailfrom files?
>
>i would like to set relaying up based almost exclusively on ip address
>ranges, with the exception of allowing relaying from one particular domain.
>
>ideas?
>
>thanks
>
>brendan




Re: virtual pop e-mails

2001-02-08 Thread Kurth Bemis

At 06:41 PM 2/7/2001, Alex wrote:

ARG!!!

READ LIFE WITH QMAIL...its THE how-to for qmail.  everything you need is in 
there.  you must of read it once as you have qmail running.  I know that 
you can read as to write you must have basic reading skills.

check it out at http://www.lifewithqmail.org

~kurth

>Hi,
>
>  Does anyone can tell me, how can I make virtual POP e-mails? I didn't find
>any information about this. I have server, running Slackware 7.1 Linux and
>qmail 1.03 as smtp server.  My friend asked me to host his website on my
>server, so I made him name based hosting in Apache, but now he wants also to
>have e-mail @hisdomain.com. I added his domain name to
>/var/qmail/control/rcptdomains, and his e-mail is now
>[EMAIL PROTECTED] But it's not enough for him: he want to
>[EMAIL PROTECTED] , etc.. I don't want to create so many accounts on my
>system.. (he need up to 40 or 50 e-mail addresses)..
>
>thanks.
>
>
>Aleks




Re: multi-thread

2001-02-08 Thread Mark Delany

> > Fifth, the interface is simple and clean, plug in the threaded
> > qmail-rspawn and no one is any the wiser.
> 
> With nonblocking sockets and select(), one could write a
> single-threaded qmail-rspawn/remote. Only need to find a way to do the
> dns lookups in parallel.

Yes Virginia. There are at least three ways to skin a cat in Unix. And
even the design of a good threaded implementation may not be the
obvious one of one thread per socket. It might be, eg, a thread per
function, or a thread per lockable area or a thread per external
interface or...

And yes Virginia. This is off topic now.


Regards.




Re: Relay only server

2001-02-08 Thread Paulo Jan

Dan Egli wrote:
> 
> I have the domain in rcpthosts, but the problem is that when Qmail recieves
> a message for UserA and UserA does not exist on MX2, it bounces it back as
> 550 user unknown. I do not want to create all the users again on the MX2
> machine.
> 
> -- Dan
> - Original Message -
> From: "Charles Cazabon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 08, 2001 9:11 AM
> Subject: Re: Relay only server
> 
> > Dan Egli <[EMAIL PROTECTED]> wrote:
> > > How does one setup Qmail to accept mail for a particular domain, and
> then
> > > simply hold it and que it till it can be delivered to another server?
> i.e.
> >
> > Put the domain in "rcpthosts" or "morercphosts" only.
> >


You should add the domain in "smtproutes" too; something like:

domain.com:1.2.3.4

Where 1.2.3.4=IP of the primary MX.



Paulo Jan.
DDnet.



Re: Best option for sending a newsletter

2001-02-08 Thread Dave Sill

Charles Cazabon <[EMAIL PROTECTED]> wrote:

>Paco Gracia <[EMAIL PROTECTED]> wrote:
>> 
>> I have to send a daily newsletter to 60.000 e-mail addresses that are stored
>> in a MySQL database. The newsletter is the same for everybody and the process
>> of composing and sending it will be started from a PHP web app.
>
>Sounds good so far.
>
>> 1- Should I use mail() function from PHP, invoke qmail directly or create a
>> mailing list with ezmlm?
>
>ezmlm is a particularly nice way to go, because of its completely automatic
>bounce handling.

But since the list is dynamically extracted from a database, he'd need
to do something to propagate the bounce-generated unsubs back into the
database.

>> 3- What side effects have to set concurrencyremote to high values like 300?

If you have a lot of recipients on a single poorly managed server, you
could flood that server by opening more connections to it than it can
handle. I've never seen that happen on my list server (with
concurrencyremote=500), but the possibility exists.

>> 5- Could I set up a second qmail instalation for just sending the newsletter
>> so it doesn't slow the "normal users" mail?
>
>Yes, you could.  It will still have some effect, though, because they will
>be sharing I/O bandwidth on the queue and log disks, and on the network.

The advantage to a separate installation for the bulk mail is that
it'll allow normal mail to flow fairly normally while sending the bulk
mail. With a single installation, no normal mail will flow until the
first pass at the bulk delivery finishes because the queue is strictly
FIFO.

-Dave



Re: Slow response time

2001-02-08 Thread Michael Owens

I noticed that I had the paranoid switch on as well (-p), which also may have 
been part of the problem. So I added -R and removed -p, and everything seems 
to working great.

Thanks again to everyone for the help.

> try starting tcpserver with the -R option.
>
> Regards, Uwe



Re: Relay only server

2001-02-08 Thread Dan Egli

never mind. I got it  working. Thanks
-- Dan
- Original Message -
From: "Dan Egli" <[EMAIL PROTECTED]>
To: "Charles Cazabon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 10:22 AM
Subject: Re: Relay only server


> I have the domain in rcpthosts, but the problem is that when Qmail
recieves
> a message for UserA and UserA does not exist on MX2, it bounces it back as
> 550 user unknown. I do not want to create all the users again on the MX2
> machine.
>
>
> -- Dan
> - Original Message -
> From: "Charles Cazabon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 08, 2001 9:11 AM
> Subject: Re: Relay only server
>
>
> > Dan Egli <[EMAIL PROTECTED]> wrote:
> > > How does one setup Qmail to accept mail for a particular domain, and
> then
> > > simply hold it and que it till it can be delivered to another server?
> i.e.
> >
> > Put the domain in "rcpthosts" or "morercphosts" only.
> >
> > Charles
> > --
> > ---
> > Charles Cazabon<[EMAIL PROTECTED]>
> > GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> > Any opinions expressed are just that -- my opinions.
> > ---
> >
>




Re: 451 qq Crashed

2001-02-08 Thread Alex Pennace

On Thu, Feb 08, 2001 at 04:55:02PM +0800, Mark Lo wrote:
> I got an "451 qq Crashed " #4.3.0 error message when sending a
> messages with the size over 5MB.  I am using qmail + vmailmgr +
> omail-admin pre10.  I have configured the soft-quota and hard-quota
> limit to 20480KB (20MB) and the messages size to 10240KB (10MB).  But,
> when I try to send out a messages with attachement which over 5MB.  I
> got the error messges stating that "451 qq crashed".   Please help me
> and explain how to overcome this problem !!

Sounds like you are invoking qmail-smtpd with a low file size limit as
set through softlimit or ulimit. Check your scripts.



Re: Relay only server

2001-02-08 Thread Charles Cazabon

Dan Egli <[EMAIL PROTECTED]> wrote:
> I have the domain in rcpthosts, but the problem is that when Qmail recieves
> a message for UserA and UserA does not exist on MX2, it bounces it back as
> 550 user unknown. I do not want to create all the users again on the MX2
> machine.

"it" bounces it back.  MX2?  If so, you have it misconfigured.  The domain
should be in "rcpthosts" and ("virtualdomains" OR "locals") on MX1 (primary),
and in "rcpthosts" ONLY on MX2.  

Post the output of `qmail-showctl` on both MX1 and MX2, and DON'T obscure/
mask the host/domain names in question.  We need that information to check
if the DNS is correct.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Relay only server

2001-02-08 Thread Dan Egli

I have the domain in rcpthosts, but the problem is that when Qmail recieves
a message for UserA and UserA does not exist on MX2, it bounces it back as
550 user unknown. I do not want to create all the users again on the MX2
machine.


-- Dan
- Original Message -
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 9:11 AM
Subject: Re: Relay only server


> Dan Egli <[EMAIL PROTECTED]> wrote:
> > How does one setup Qmail to accept mail for a particular domain, and
then
> > simply hold it and que it till it can be delivered to another server?
i.e.
>
> Put the domain in "rcpthosts" or "morercphosts" only.
>
> Charles
> --
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---
>




Re: multi-thread

2001-02-08 Thread Peter van Dijk

On Thu, Feb 08, 2001 at 04:51:39PM +, Mark Delany wrote:
[snip]
> First off, there is an amount of data they can share and cache, such
> as tcpok and recent DNS lookups.

That's what the dnscache running on your 127.0.0.1 is for. That's
close enough.

[snip]
> Fifth, the interface is simple and clean, plug in the threaded
> qmail-rspawn and no one is any the wiser.

With nonblocking sockets and select(), one could write a
single-threaded qmail-rspawn/remote. Only need to find a way to do the
dns lookups in parallel.

Greetz, Peter.



Re: multi-thread

2001-02-08 Thread Mark Delany

On Thu, Feb 08, 2001 at 12:06:05PM -, Tim Goodwin wrote:
> > ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> > processes per second.
> > 
> > This cost a lot in system ressources and system calls
> 
> Yes.  Unfortunately, Solaris isn't Unix, and qmail was designed to run
> on Unix systems.  Unix is rather good at forking, especially images as
> tiny as qmail; Solaris isn't.  As Rob Pike once said, "perhaps if
> people had understood fork() better we wouldn't have threads".
> 
> > So I'm trying to work on a threaded qmail-rspawn to avoid so many forks
> 
> Yikes.

If all he's trying to achive is reduce forking on his Solaris box, I
concur. However if we generalize the question, I don't know that I'd
draw the same conclusion.

If any area of qmail would benefit for threading, it might be the
remote delivery mechanism - currently handled by Batman and Robin, er,
sorry, qmail-rspawn and qmail-remote.

First off, there is an amount of data they can share and cache, such
as tcpok and recent DNS lookups.

Second, remote delivery can have very high latency so any footprint
saving is a big saving.

Third, the state requirements are truly tiny. A socket and an fd is
just about all that the thread needs.

Fourth, there are few security issues. Neither qmail-rspawn nor
qmail-remote need any special file system access. This is often a
nasty complication for threaded implementations. Not so here.

Fifth, the interface is simple and clean, plug in the threaded
qmail-rspawn and no one is any the wiser.

Sixth, the problem domain isn't that large:

$ wc -l qmail-rspawn.c qmail-remote.c

 103 qmail-rspawn.c
 427 qmail-remote.c
 530 total

Having said that, in the scheme of things, qmail-remote borders on
ridiculously tiny as it is. I recently wrote a queueless wrapper
program that uses qmail-remote as the smtp engine (opt-in spam I call
it). I rediscovered that a concurrency of 1,000 qmail-remotes consumes
very little system resource on FreeBSD.

> I'm going to put my manager's hat on for a moment.  How much time do
> you intend to spend on developing and debugging this?  How much does
> that time cost?  How much would it cost to buy a fast PC, run a real
> Unix (I'd suggest OpenBSD, FreeBSD, or some version of Linux) on it,
> and make that your mail server?

As a solitary exercise solely designed to speed up one system, of
course replacing the box may be a better solution.


Regards.



Re: Relay only server

2001-02-08 Thread Peter van Dijk

On Thu, Feb 08, 2001 at 10:14:02AM -0600, Matthew Patterson wrote:
[snip]
> See the man page for qmail-qmqp(8).

That makes no sense.

Greetz, Peter.



Re: Relay only server

2001-02-08 Thread Chris Johnson

On Thu, Feb 08, 2001 at 08:57:08AM -0700, Dan Egli wrote:
> How does one setup Qmail to accept mail for a particular domain, and then
> simply hold it and que it till it can be delivered to another server? i.e.
> 
> server MX1 == Primary server.
> server MX2 == Alternate server
> 
> MX1 is down, so MX2 recieves a mail message. The users on MX1 do not exist
> on MX2, but I want MX2 to accept the message, then relay it to MX1 when MX1
> is back up.

Put the domain in /var/qmail/control/rcpthosts (and nowhere else) on MX2.

Chris



Re: Relay only server

2001-02-08 Thread Charles Cazabon

Dan Egli <[EMAIL PROTECTED]> wrote:
> How does one setup Qmail to accept mail for a particular domain, and then
> simply hold it and que it till it can be delivered to another server? i.e.

Put the domain in "rcpthosts" or "morercphosts" only.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Relay only server

2001-02-08 Thread Uwe Ohse

On Thu, Feb 08, 2001 at 08:57:08AM -0700, Dan Egli wrote:

> MX1 is down, so MX2 recieves a mail message. The users on MX1 do not exist
> on MX2, but I want MX2 to accept the message, then relay it to MX1 when MX1
> is back up.

> How is this accomplished?

Enter the domain name on MX2 in /var/qmail/control/rcpthosts
Then set the MX records on your DNS server.

Regards, Uwe



Re: Relay only server

2001-02-08 Thread Matthew Patterson

On Thu, 08 Feb 2001, Dan Egli wrote:
>How does one setup Qmail to accept mail for a particular domain, and then
>simply hold it and que it till it can be delivered to another server? i.e.
>
>server MX1 == Primary server.
>server MX2 == Alternate server
>
>MX1 is down, so MX2 recieves a mail message. The users on MX1 do not exist
>on MX2, but I want MX2 to accept the message, then relay it to MX1 when MX1
>is back up.
>
>How is this accomplished?
>
>Thanks!
>-- Dan

See the man page for qmail-qmqp(8).

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Problem receiving email - but mail can be sent

2001-02-08 Thread Matthew Patterson

On Thu, 08 Feb 2001, Roger Arnold wrote:
>Roger Arnold wrote:
>
>I wonder if someone can help a newbie that hasn't a clue.
>
>I have finally got Qmail, Vpopmail, Qmailadmin, and Sqwebmail sort of
>working.
>If I log-on as a user in Sqwebmail I can compose and send an email, but
>if I log-on as a local user on another server and reply or just send a
>new email to the user that I was previously logged on with Sqwebmail, I
>can neither send to that user or reply to an email sent from that user.
>Also if someone using a completely separate ISP sends an email to the
>Sqwebmail user, it is not received, and the server replies that the user
>doesn't exist, even though the user is in the domain.
>
>Sorry for the round about way of putting this request, but I am not sure
>what's going on myself.
>Is there something that I have not configured in Qmail ?
>Or is it something to do with relaying ?
>
>Qmail, pop3d and smtpd have all been started and show up as services
>
>Any help would be much appreciated, even if someone can point me to
>somewhere in all the docs.
>
>Thanks in advance
>Roger

Once again, not enough info. Send us the contents of ~qmaild/users/assign, the output 
of `ls -l ~vpopmail/domains` and the output of ~qmaild/bin/qmail-showctl.

Maybe with that we can help you.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Relay only server

2001-02-08 Thread Dan Egli

How does one setup Qmail to accept mail for a particular domain, and then
simply hold it and que it till it can be delivered to another server? i.e.

server MX1 == Primary server.
server MX2 == Alternate server

MX1 is down, so MX2 recieves a mail message. The users on MX1 do not exist
on MX2, but I want MX2 to accept the message, then relay it to MX1 when MX1
is back up.

How is this accomplished?

Thanks!
-- Dan




Problem receiving email - but mail can be sent

2001-02-08 Thread Roger Arnold

Roger Arnold wrote:

I wonder if someone can help a newbie that hasn't a clue.

I have finally got Qmail, Vpopmail, Qmailadmin, and Sqwebmail sort of
working.
If I log-on as a user in Sqwebmail I can compose and send an email, but
if I log-on as a local user on another server and reply or just send a
new email to the user that I was previously logged on with Sqwebmail, I
can neither send to that user or reply to an email sent from that user.
Also if someone using a completely separate ISP sends an email to the
Sqwebmail user, it is not received, and the server replies that the user
doesn't exist, even though the user is in the domain.

Sorry for the round about way of putting this request, but I am not sure
what's going on myself.
Is there something that I have not configured in Qmail ?
Or is it something to do with relaying ?

Qmail, pop3d and smtpd have all been started and show up as services

Any help would be much appreciated, even if someone can point me to
somewhere in all the docs.

Thanks in advance
Roger




RE: anybody know howto make 3 virtual domain in the one machineSNIP

2001-02-08 Thread Tim Hunter

You obviously have not read the full docs, since with vpopmail you can only
use the username to login for different domains as long as you have proper
dns records, with reverselookup working properly.

You probably want to move this discussion to the vpopmail list as this is
out of the scope with stock qmail.

-Original Message-
From: dick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 1:46 AM
To: Greg White; [EMAIL PROTECTED]
Subject: Re: anybody know howto make 3 virtual domain in the one
machineSNIP


thanks your answer,but i mean the username is dick not [EMAIL PROTECTED]
maybe there no such solution?
maybe all the virtualmail user must use the fullmailname.


- Original Message -
From: Greg White <[EMAIL PROTECTED]>
To: dick <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 1:58 PM
Subject: Re: anybody know howto make 3 virtual domain in the one machineSNIP


> On Thu, Feb 08, 2001 at 11:15:05AM +0800, dick wrote:
> > any suggestion is welcome.
>
> Suggestion -- putting your question in the subject line, unless your
> question is ten words or less, is a very bad idea at all times, and is
> not really a good idea at any time.
>
> Suggestion -- Read all the documentation available at:
>
> http://www.inter7.com/qmail/index.html
>
> for vpopmail -- I am positive your question is answered there.
>
> I replied off list intentionally, as it's generally considered to be
> incredibly bad form to post with a subject line as long as yours, and
> considered that you deserved a private warning before the on-list
> flame-fest begins.
>
> --
> Greg White
> Those who make peaceful revolution impossible will make violent
> revolution inevitable.
> -- John F. Kennedy
>




COmpiling qmail-1.03 under NCR sysr4 (mpras 4.2)

2001-02-08 Thread Jocelyn Clement

Anybody has any luck or experience with this OS.

Josh




Re: Server won't start :-(

2001-02-08 Thread Romeyn Prescott

Somewhen around 9:03 AM -0500 2/8/01, a person believing themself to 
be Romeyn Prescott scribbled:
>Please Help.

Disregard.  I think.  It wasn't qmail that wasn't working, it was 
popd.  I got that going and can once again check for mail.

Mea culpa.  And sorry too for not being more specific in my original message.

...ROMeyn
-- 


signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.htm
cubiclecam: http://digirom.potsdam.edu/~prescor/cubiclecam.html
^^^ <--- Off-line unless someone knows how to get camserv to
 compile under RedHat 7...  *sigh*  :-(



Re: Supervise without multilog.

2001-02-08 Thread Russell Nelson

Uwe Ohse writes:
 > On Wed, Feb 07, 2001 at 11:57:34AM -0500, Peter Brezny wrote:
 >  
 > > I'd like to run supervise, but i would prefer the logging still take place
 > > in /var/log/maillog.
 > 
 > you are mistaken.

Nonsense.  Of course he prefers that the logging still take place in
/var/log/maillog.  You can be sure he prefers this because he said so.
That's a bad idea.  However, he can get a similar effect by creating a
symlink like this:

ln -s /service/qmail/log/main/current /var/log/maillog

 > or put this in your supervised-service/log/run file:
 >  #! /bin/sh
 >  /var/qmail/bin/splogger qmail

That's like putting the cart before the automobile, to turn a phrase.
syslog is a piece of crap.  You *can* use it, but it's a waste of
resources that could be better spent delivering email.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "This is Unix...
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so helpless."
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein



Server won't start :-(

2001-02-08 Thread Romeyn Prescott

Please Help.

Some time ago (several months) I successfully set up qmail on my 
Linux box at work.  (I use it as a "junk" mail server.)

I used "Life With qmail" as my guide and things went well.  It worked 
and HAS worked flawlessly for me lo these many months.

Yesterday, for the first time since that time of installation I had 
occasion to reboot my box.  I guess I must never have properly 
configured qmail to start automatically, 'cause it didn't!

Re-reading through LWQM I attempted to "manually" start qmail by 
executing /usr/local/sbin/qmail (script follows).  Upon doing that, 
my console starts scrolling with the following messages:

supervise: fatal: unable to acquire log/supervise/lock: temporary failure

supervise: fatal: unable to acquire qmail-send/supervise/lock: 
temporary failure

supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: 
temporary failure


Unfortunately, the failure seems anything BUT temporary!

I'm writing as a leech who really wants his qmail server operational 
again and knows that y'all aren't sitting around with nothing to do, 
but hopes that someone can off the top of their head offer me a 
suggestion/solution and save me a lot of re-reading.

 please don't hurt me 


My /usr/local/sbin/qmail (if it helps):

#!/bin/sh

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
   start)
 echo -n "Starting qmail: svscan"
 cd /var/qmail/supervise
 env - PATH="$PATH" svscan &
 echo $! > /var/run/svscan.pid
 echo "."
 ;;
   stop)
 echo -n "Stopping qmail: svscan"
 kill `cat /var/run/svscan.pid`
 echo -n " qmail"
 svc -dx /var/qmail/supervise/*
 echo -n " logging"
 svc -dx /var/qmail/supervise/*/log
 echo "."
 ;;
   stat)
 cd /var/qmail/supervise
 svstat * */log
 ;;
   doqueue|alrm)
 echo "Sending ALRM signal to qmail-send."
 svc -a /var/qmail/supervise/qmail-send
 ;;
   queue)
 qmail-qstat
 qmail-qread
 ;;
   reload|hup)
 echo "Sending HUP signal to qmail-send."
 svc -h /var/qmail/supervise/qmail-send
 ;;
   pause)
 echo "Pausing qmail-send"
 svc -p /var/qmail/supervise/qmail-send
 echo "Pausing qmail-smtpd"
 svc -p /var/qmail/supervise/qmail-smtpd
 ;;
   cont)
 echo "Continuing qmail-send"
 svc -c /var/qmail/supervise/qmail-send
 echo "Continuing qmail-smtpd"
 svc -c /var/qmail/supervise/qmail-smtpd
 ;;
   restart)
 echo "Restarting qmail:"
 echo "* Stopping qmail-smtpd."
 svc -d /var/qmail/supervise/qmail-smtpd
 echo "* Sending qmail-send SIGTERM and restarting."
 svc -t /var/qmail/supervise/qmail-send
 echo "* Restarting qmail-smtpd."
 svc -u /var/qmail/supervise/qmail-smtpd
 ;;
   cdb)
 tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
 chmod 644 /etc/tcp.smtp*
 echo "Reloaded /etc/tcp.smtp."
 ;;
   help)
 cat 

Re: virtual pop e-mails

2001-02-08 Thread Sean Swehla

http://www.qmail.org/man/misc/FAQ.txt

See section 3.2. Documentation is a wonderful thing...  (-:

Alex wrote:
> 
> Hi,
> 
>  Does anyone can tell me, how can I make virtual POP e-mails? I didn't find
> any information about this. I have server, running Slackware 7.1 Linux and
> qmail 1.03 as smtp server.  My friend asked me to host his website on my
> server, so I made him name based hosting in Apache, but now he wants also to
> have e-mail @hisdomain.com. I added his domain name to
> /var/qmail/control/rcptdomains, and his e-mail is now
> [EMAIL PROTECTED] But it's not enough for him: he want to
> [EMAIL PROTECTED] , etc.. I don't want to create so many accounts on my
> system.. (he need up to 40 or 50 e-mail addresses)..
> 
> thanks.
> 
> Aleks

-- 
   __  _
\   \ /  \__  \  \|\\
 \   Y   /| __/   |   \ |  Sean  Swehla  |
  \ / || /|\| Senior Systems Design Engineer |
   \___/  || \|__  /|  VPN Solutions, LLC|
= S O L U T I O N S =\/ ++



Re: How do you start smtp with svscan please

2001-02-08 Thread Frank Tegtmeyer


> What I need to know is how to enable smtp with svscan so that it is
> enabled after every reboot please

Install the daemontools package (http://cr.yp.to/daemontools.html) and 
read the FAQ entry "How do I run qmail-smtpd under tcpserver?"

Regards, Frank



Re: multi-thread

2001-02-08 Thread Tim Goodwin

> ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> processes per second.
> 
> This cost a lot in system ressources and system calls

Yes.  Unfortunately, Solaris isn't Unix, and qmail was designed to run
on Unix systems.  Unix is rather good at forking, especially images as
tiny as qmail; Solaris isn't.  As Rob Pike once said, "perhaps if
people had understood fork() better we wouldn't have threads".

> So I'm trying to work on a threaded qmail-rspawn to avoid so many forks

Yikes.

I'm going to put my manager's hat on for a moment.  How much time do
you intend to spend on developing and debugging this?  How much does
that time cost?  How much would it cost to buy a fast PC, run a real
Unix (I'd suggest OpenBSD, FreeBSD, or some version of Linux) on it,
and make that your mail server?

Tim.



How do you start smtp with svscan please

2001-02-08 Thread Roger Arnold

Roger Arnold wrote:

I am a newbie so sorry if I am on the wrong list.

What I need to know is how to enable smtp with svscan so that it is
enabled after every reboot please

Thanks in advance

Roger




Re: multi-thread

2001-02-08 Thread Jacques WERNERT

Hello,

I'll take care of your advice

Thanx

Frip'

- Original Message - 
From: "Felix von Leitner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 12:15 PM
Subject: Re: multi-thread


> Thus spake Jacques  WERNERT ([EMAIL PROTECTED]):
> > ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> > processes per second.
> 
> Solaris is shunned for its incredibly bad fork performance.
> Install Sparc-Linux or some BSD variant if that is a problem for you.
> 
> > So I'm trying to work on a threaded qmail-rspawn to avoid so many forks
> 
> Bad idea.
> Very bad idea.
> 
> Felix
> 




Re: multi-thread

2001-02-08 Thread Felix von Leitner

Thus spake Jacques  WERNERT ([EMAIL PROTECTED]):
> ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> processes per second.

Solaris is shunned for its incredibly bad fork performance.
Install Sparc-Linux or some BSD variant if that is a problem for you.

> So I'm trying to work on a threaded qmail-rspawn to avoid so many forks

Bad idea.
Very bad idea.

Felix



Re: unable to acquire log/supervise/lock ?? HELP !!

2001-02-08 Thread Henning Brauer

On Thu, Feb 08, 2001 at 04:25:22PM +1100, dennis wrote:
> Hi all... 
> My apologies for the repeated posting to the list regarding this problem.
> I did receive one reply but the suggestion was looked at and wasn't the
> problem.
> Is anyone aware why supervise would be giving me these errors ??

most of us but tired of these.
Follow the instructions by the Letter or just use qmail-conf (check
qmail.org for the url).

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: high volume server configurations

2001-02-08 Thread Michael Maier

> > I also applied these patches:
> > qmail-1.03]# patch -p1  >
> > qmail-1.03]# patch -p1  > I got this error:
> > 1 out of 5 hunks FAILED -- saving rejects to file spawn.c.rej
>
> Try -p0, perhaps.
>
> Greetz, Peter.

I have Errors, too with Solaris patch Tool but with GNU patch it's ok
--
Michael..




qmail Digest 8 Feb 2001 11:00:01 -0000 Issue 1269

2001-02-08 Thread qmail-digest-help


qmail Digest 8 Feb 2001 11:00:01 - Issue 1269

Topics (messages 56772 through 56843):

Selective relaying from internal network
56772 by: John P
56773 by: Matthew Patterson

Re: Strange messages in log
56774 by: Noah Sematimba

Alias
56775 by: Dennis
56793 by: Alan R.
56801 by: Jörgen Persson

Re: pop server setting passed/available in checkpoppasswd ?
56776 by: Peter van Dijk
56810 by: David Hasbrouck
56812 by: Peter van Dijk

Roaming users and Courier IMAP
56777 by: Gavin Cameron
56783 by: Charles Cazabon
56816 by: Jason Haar

Re: qmail speed solaris
56778 by: Peter van Dijk

The problem with serialmail/qmail and dialup lines
56779 by: Paulo Jan

Re: Sluggish SMTP
56780 by: Chris Johnson
56794 by: Timothy J. Z. Olow
56799 by: Chris Johnson

compiling qmail-1.03 under SCO Open Server 5.05 and the UDK from SCO.
56781 by: Jocelyn Clement
56791 by: Uwe Ohse
56797 by: Mark Delany

Re: QMail not relaying
56782 by: Charles Cazabon

relaying restrictions
56784 by: bmcalpine.macconnect.com
56785 by: Chris Johnson

Reliable fetching of email
56786 by: John P
56787 by: John P

Stress test for qmail?
56788 by: Marcus Korte

multi-thread
56789 by: Jacques  WERNERT
56790 by: Peter van Dijk
56796 by: Uwe Ohse
56800 by: Jacques  WERNERT
56834 by: Bruce Guenter
56835 by: Jason Haar
56838 by: Jacques  WERNERT

Re: lwq & freebsd
56792 by: Kris Kelley

Re: thanks for you answer my question!but it is none used.
56795 by: Uwe Ohse

Re: logging to console and log files
56798 by: Uwe Ohse

Supervise without multilog.
56802 by: Peter Brezny
56805 by: Uwe Ohse

MX records in djb docs
56803 by: Peter van Dijk
56804 by: Peter van Dijk

SMTP authentication
56806 by: Matt Simonsen
56807 by: Rick Updegrove
56808 by: Enrique Vadillo
56809 by: Kevin Bucknum
56811 by: Marc Knoop
56837 by: Michail A.Baikov

tcp.smtp file
56813 by: bmcalpine.macconnect.com
56814 by: Laurence Brockman
56819 by: Chris Johnson
56827 by: Andy Bradford

Re: to supervise or not to supervise
56815 by: Rahsheen Porter
56829 by: Antonio Dias

Regenerating qmail
56817 by: Herbie
56821 by: Laurence Brockman

high volume server configurations
56818 by: Sid Wilroy
56820 by: Peter van Dijk

linux client , Windows 2000 SMTP server
56822 by: chris.inlandcoatings.com
56843 by: Henning Brauer

virtual pop e-mails
56823 by: Alex

Envelope HELO and Received header
56824 by: Curtis Coleman

pam_smb ?
56825 by: Dennis

i only want act  like yahoo mail do?have there a safe method to solve this 
problem--qmail-scanner or qtools?
56826 by: dick

anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not 
use the fullname(mean username is [EMAIL PROTECTED])??
56828 by: dick

Do I need to restart anything in QMail if I make changes to the control files?
56830 by: Martin Searancke
56839 by: Uwe Ohse
56840 by: Peter Cavender

qmail problem with receiving email
56831 by: The Afif

unable to acquire log/supervise/lock ?? HELP !!
56832 by: Dennis

Re: anybody know howto make 3 virtual domain in the one machineSNIP
56833 by: dick

autoresponder sometimes work...sometimes not
56836 by: Yee Siew Chin

Re: recordio + awk
56841 by: Jim Breton

451 qq Crashed
56842 by: Mark Lo

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]


--



I have a Qmail server that runs on a network of Windows PC's, all on
10.0.0.* and masqueraded behind a Linux router box that serves everything on
a single public IP address. This linux router portforwards ports 25 and 110
on the external IP to the internal Qmail box.

I don't currently have DNS working (properly) on the internal network, and
the windows PC's all find each other by NetBIOS broadcasts..

So (the Qmail bit) If I want Qmail to accept incoming SMTP connections from
any of the 'inside' Windows PC's, do I have to add 10.0.0. to /etc/tcp.smtp
(as detailed in LWQ/Chris Johnson's document)? I am not in the office so I
can't currently test it, and I don't want to have to talk a user through
doing it ;-)

I have external relaying working fine from my own 'at home' IP address.

Cheers
John






On Wed, 07 Feb 2001, John P wrote:
>I have a Qmail server that runs on a network of Windows PC'

Re: linux client , Windows 2000 SMTP server

2001-02-08 Thread Henning Brauer

On Wed, Feb 07, 2001 at 05:17:07PM -0500, [EMAIL PROTECTED] wrote:
> We would like to replace UUCP with SMTP.  Our ISP uses Windows 2000
> as their mail server and apparantly that requires SMTP AUTH to
> send things out.  This is a new wrinkle for me.  Questions:

Why not send all mails directly to the traget mailservers instead of
relaying through your ISP?

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



451 qq Crashed

2001-02-08 Thread Mark Lo

Hi,

I got an "451 qq Crashed " #4.3.0 error message when sending a
messages with the size over 5MB.  I am using qmail + vmailmgr +
omail-admin pre10.  I have configured the soft-quota and hard-quota
limit to 20480KB (20MB) and the messages size to 10240KB (10MB).  But,
when I try to send out a messages with attachement which over 5MB.  I
got the error messges stating that "451 qq crashed".   Please help me
and explain how to overcome this problem !!

Thank you so much for your help


Mark




Re: Do I need to restart anything in QMail if I make changes to thecontrol files?

2001-02-08 Thread Peter Cavender


Depending on your distro, etc:

/etc/rc.d/init.d/qmail restart

On Thu, 8 Feb 2001, Uwe Ohse wrote:

> On Thu, Feb 08, 2001 at 04:42:29PM +1300, Martin Searancke wrote:
> 
> [nothing but the subject]
> 
> See the fine qmail-send manual page:
> 
> CONTROL FILES
>   WARNING:  qmail-send  reads its control files only when it
>   starts.  If you change the control files,  you  must  stop
>   and restart qmail-send.  Exception: If qmail-send receives
>   a HUP signal, it will reread locals and virtualdomains.
> 
> Regards, Uwe
> 




Re: Do I need to restart anything in QMail if I make changes to the control files?

2001-02-08 Thread Uwe Ohse

On Thu, Feb 08, 2001 at 04:42:29PM +1300, Martin Searancke wrote:

[nothing but the subject]

See the fine qmail-send manual page:

CONTROL FILES
WARNING:  qmail-send  reads its control files only when it
starts.  If you change the control files,  you  must  stop
and restart qmail-send.  Exception: If qmail-send receives
a HUP signal, it will reread locals and virtualdomains.

Regards, Uwe