clustered qmail solution

2000-08-31 Thread reach_prashant

 
   hello friends 


 what does "clustered qmail solution " mean , i have sen this term many
times on this list but didt know any thing about it , i am suppose to
implement qmail solution to send and receive millions of mails a day  ,so
it may ne useful to me , 

  so , please tell me what do exactly it mean ?

thanks 
Prashant Desai






smtproutes syntax

2000-08-31 Thread John Conover


Is it legal to use the ip address in smtproutes, somthing like:

:123:234:123:234

Thanks,

John

-- 

John ConoverTel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.  Cel. 408.772.7733
Campbell, CA 95008  Fax. 408.379.9602  http://www.johncon.com




Re: Relaying and /control/rcpthosts

2000-08-31 Thread James Raftery

Hi Dan,

On Wed, Aug 30, 2000 at 03:16:39PM -0700, net admin wrote:
 I allowed his office IP block in my /etc/tcp.smtp file as follows
 xxx.yyy.zzz.:allow,RELAYCLIENT=""
 This I assume this will let him relay as long as he comes from the IP address
 pool above regardles of what his email address is.

Yes, provided three things are true:
 - the source IP must be in the xxx.yyy.zzz network
 - you have used tcprules to make the rules into the cdb that tcpserver
   uses
 - your tcpserver process was started with the -x option which specifies
   the cdb file you made in the previous step

 But relay fails until I also put his domain in the /control/rcpthosts
 file! I don't want everybody in his domain to relay just him.

rcpthosts lists *destinations* you will accept mail for. Setting
RELAYCLIENT in the environment tells qmail-smtpd to accept mail for any
destination, in that session.


Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



unscribe

2000-08-31 Thread yavuz






Telnet 110

2000-08-31 Thread Marco



Hi,
my trouble with qmail is that I can't telnet port 
110 (connection refused).
A complete list of the configuration would be a bit 
annoying.
Any idea at this level of what can be 
done?
Thanks in advance for any 
suggestion.


RE: Telnet 110

2000-08-31 Thread Brett Randall

OK normally we would like...

1. the line you are using to start the pop3 daemon (and which one you're
using)
2. any other files that are being used to run it (eg tcp.smtp)
3. if you are using tcpserver or inetd
4. the log entries (there 99% will be an error in one of the logs when you
try telnet)

Not much good we can do without this, no matter how annoying it is for you
to provide it...

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/
  -Original Message-
  From: Marco [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, August 31, 2000 6:57 PM
  To: qmail-mailing list
  Subject: Telnet 110


  Hi,
  my trouble with qmail is that I can't telnet port 110 (connection
refused).
  A complete list of the configuration would be a bit annoying.
  Any idea at this level of what can be done?
  Thanks in advance for any suggestion.




Re: Telnet 110

2000-08-31 Thread Hazy Xu

if u are using tcp wrapper, please check /etc/hosts.allow.


On Thu, 31 Aug 2000, Marco wrote:

 Hi,
 my trouble with qmail is that I can't telnet port 110 (connection refused).
 A complete list of the configuration would be a bit annoying.
 Any idea at this level of what can be done?
 Thanks in advance for any suggestion.
 




Re: Qmail 1.03

2000-08-31 Thread Vince Vielhaber

On Wed, 30 Aug 2000, Bob Ross wrote:

 Something I have not noticed in many years has started the last few weeks.
 
 Qmail has been getting very slow at responding. I also noticed in the logs
 that it is handling a lot of email that can't be returned(spam.)
 
 Is there a way to clear out the old mail if this is the cause.
 
 Customers have been receiving a lot of errors that the server has not
 responded in 60 seconds do they want to wait or stop.

Make sure your reverse DNS lookups are working.  We had the same thing
earlier in the week.

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






qmail Digest 31 Aug 2000 10:00:01 -0000 Issue 1109

2000-08-31 Thread qmail-digest-help


qmail Digest 31 Aug 2000 10:00:01 - Issue 1109

Topics (messages 47595 through 47675):

Qmail tuning
47595 by: Angelo Gelmi [iWM]

Re: Help getting Qmail to run with tcpserver
47596 by: Vince Vielhaber

Mail Protocol Issue: BCC only?
47597 by: Scott Sharkey
47598 by: Jost Krieger
47599 by: Len Budney

fastforward and :include:
47600 by: Brett Randall
47612 by: oliver.koch.jk.uni-linz.ac.at
47613 by: Brett Randall
47643 by: Chris, the Young One

Sendmail problem...BUG !
47601 by: Audouy Jérôme
47602 by: markd.bushwire.net
47615 by: Audouy Jérôme

RBL/MAPS/DUL etc. without rblsmtpd?
47603 by: John Gonzalez/netMDC admin
47604 by: Petr Novotny
47605 by: John Gonzalez/netMDC admin
47606 by: Timothy L. Mayo

Re: Problems with "Life with qmail"
47607 by: Dave Sill

Re: [maildropl] upper and lower case
47608 by: Charles Cazabon
47616 by: Daniel Augusto Fernandes
47622 by: Dave Sill
47626 by: Jeremy Stanley
47630 by: Dave Sill

Re: Changing mail deliver program to MAILDROP
47609 by: Charles Cazabon
47610 by: Daniel Augusto Fernandes
47663 by: David Benfell

Re: Timezone
47611 by: Daniel Augusto Fernandes
47636 by: David Dyer-Bennet
47642 by: Chris, the Young One
47650 by: Russ Allbery

Re: QMail not allways online
47614 by: Bernd Stroessenreuther
47617 by: Bernd Stroessenreuther

QmailAdmin: Invalid Login
47618 by: swapna
47619 by: Marco
47657 by: swapna

Re: Strange Problems with tcprules.
47620 by: Dave Sill

Problems with rblsmtpd again..
47621 by: John Gonzalez/netMDC admin

TCPSERVER + RBLSMTPD
47623 by: Michael T. Babcock

Re: Timezone]
47624 by: Stephen F. Bosch
47625 by: Daniel Augusto Fernandes

Slo attachment upload
47627 by: Daniel Ceregatti
47628 by: Alexander Pennace
47631 by: Ricardo Cerqueira
47635 by: Daniel Ceregatti
47638 by: Daniel Ceregatti

Upper/lower case
47629 by: Petr Novotny
47632 by: Alexander Pennace

.qmail-default contents incorrect
47633 by: Timothy Lorenc
47634 by: Alexander Pennace
47637 by: Dave Sill

Re: few Qs from newbie
47639 by: jakubski.poczta.arena.pl
47640 by: Chris, the Young One

SUMMARY: .qmail-default contents incorrect
47641 by: Timothy Lorenc

qmail-queue wrapper (like qmail-qfilter)
47644 by: Ricardo Albano
47647 by: Peter Samuel

Detailed log for SMTP transaction
47645 by: net admin
47646 by: Ihnen, David

queue problem
47648 by: çééí äìôøï
47649 by: markd.bushwire.net

Relaying and /control/rcpthosts
47651 by: net admin
47652 by: Brett Randall
47653 by: Dale Miracle
47670 by: James Raftery

Stupid question. SMTP gateways from dynamic IP.
47654 by: Barrie Bremner
47655 by: Ben Beuchler
47656 by: markd.bushwire.net

virtual domain error.
47658 by: Muhammad Yusuf
47659 by: Jason J. Czerak

Alias Support Question
47660 by: Tom Sarratt Jr.

partially local
47661 by: Petre Rodan
47662 by: Tom Sarratt Jr.

Qmail 1.03
47664 by: Bob Ross
47669 by: Fat Toolz
47675 by: Vince Vielhaber

clustered qmail  solution
47665 by: reach_prashant.zeenext.com

smtproutes syntax
47666 by: John Conover
47667 by: Charles Warwick

Pop authentication problem
47668 by: Michel Carpentier

unscribe
47671 by: yavuz

Telnet 110
47672 by: Marco
47673 by: Brett Randall
47674 by: Hazy Xu

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've succesfully installaed qmail on a 486dx2 66 named tulip into 
my local network (its domain name equal to DOMINIO).
That means that when I write an email to [EMAIL PROTECTED], all 
works correctly and the email reaches the right pop account.
I've read many documentation both in English than in Italian language
but really I've not realized yet deeply the  philosophy stands behind 
Qmail: my goal is to (in some way) link internal mail with that of my 
ISP (based on a registered domain). Using fetchmail an 
procmail to receive and configuring qmail with serial mail to throw out
my outgoing mail. 
My questions are: how can I achieve this goal? and what virtualdomain
means and how can be used?

Hoping that someone can help me,
Thank You, 
Angelo Gelmi









On Tue, 29 Aug 2000, Peter Janett wrote:

 I really can't seem to get Qmail 

qmail is not responding

2000-08-31 Thread deden purnamahadi

I'm not sure about the "Subject" that I use to describe this problem.
Yesterday when I telnet to my machine using port 25, I got the response from 
my machine something like this :

Trying 192.168.0.1
Connected to server.saya.com.
Escape character is '^]

instead of ...

Trying 192.168.0.1
Connected to server.saya.com
Escape character is '^]'
220 server.saya.com.ESMTP

At this condition, it seems that email from remote is not sent directly to 
users home directory (I use Maildir). The emails are in the queue.
At this condition, either I cannot use the machine to send email to remote.
I checked with qmail-qstat and it showed 105 in queue, but 0 in 
'preprocessed'.

Anyone can tell me why this happens ?


deden

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.




Alias and Dot

2000-08-31 Thread Audouy Jérôme

  Hi.

  I have a user called "Jerome Audouy" his e-mail is "[EMAIL PROTECTED]" and i want 
to use an alias
like "[EMAIL PROTECTED]". I try to add it in 
/var/qmail/alias/.qmail-jerome.audouy but it
seems that qmail doesn't accept the "."

some have a solution for me ?

Dji.
-- 
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy





Re: Alias and Dot

2000-08-31 Thread Gerrit Pape

On Thu, Aug 31, 2000 at 12:19:12PM +0200, Audouy Jérôme wrote:
   Hi.
 
   I have a user called "Jerome Audouy" his e-mail is "[EMAIL PROTECTED]" and i want 
to use an alias
 like "[EMAIL PROTECTED]". I try to add it in 
/var/qmail/alias/.qmail-jerome.audouy but it
 seems that qmail doesn't accept the "."

 some have a solution for me ?

.qmail-jerome:audouy

Regards, Gerrit.

-- 
[EMAIL PROTECTED]
 innominate AG
 networking people
tel: +49.30.308806-0  fax: -77http://innominate.de



RE: Alias and Dot

2000-08-31 Thread Brett Randall

Try .qmail-jerome:audouy

/BR

 
Manager
InterPlanetary Solutions
http://ipsware.com/



Re[2]: Alias and Dot

2000-08-31 Thread Audouy Jérôme

Le jeudi 31 août 2000 à 2:07:08 PM, Gerrit Pape a écris:
   I have a user called "Jerome Audouy" his e-mail is "[EMAIL PROTECTED]" and i 
want to use an alias
 like "[EMAIL PROTECTED]". I try to add it in 
/var/qmail/alias/.qmail-jerome.audouy but it
 seems that qmail doesn't accept the "."
 someone have a solution for me ?
 .qmail-jerome:audouy

thx ! :)

Dji.
--
Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences 
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www: http://djidji.citeweb.net / http://www.essi.fr/~audouy





Re: Telnet 110

2000-08-31 Thread Peter van Dijk

On Thu, Aug 31, 2000 at 10:56:59AM +0200, Marco wrote:
 Hi,
 my trouble with qmail is that I can't telnet port 110 (connection refused).
 A complete list of the configuration would be a bit annoying.

No, *lack* of that list is annoying.

 Any idea at this level of what can be done?

No. We have no info on your situation.

Greetz, Peter.
-- 
[ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student]Undernet:#groningen/wallops | IRCnet:/#alliance
[developer]_
[disbeliever - the world is backwards](__VuurWerk__(--*-



Re: [maildropl] upper and lower case

2000-08-31 Thread daftm

Em Wed, 30 Aug 2000, Sam Varshavchik escreveu:

 Maildrop mailing list - http://www.flounder.net/~mrsam/maildrop/

On Wed, 30 Aug 2000, Daniel Augusto Fernandes wrote:

 I was just wondering if maildrop searches the userdb in case sensitive!
 Mr. Sam?

maildrop will search the userdb for whatever the recipient name the mail
server told it to deliver to.  The search is case sensitive.

Is there anyway I can make qmail-lspawn to tell the delivery program the recipient 
name in lowercase?

If not, how can I make maildrop to do the search in case insensitive? Should I only do 
the 'tolower' I've done when maildrop receive it?


Daniel.




Re: Changing mail deliver program to MAILDROP

2000-08-31 Thread daftm

Em Wed, 30 Aug 2000, David Benfell escreveu:


On Wed, Aug 30, 2000 at 11:53:11AM -0300, Daniel Augusto Fernandes wrote:

 Well, I would like to use maildrop to be my MDA not just like a
 replacement to procmail. But, thanks...

It appears you are confusing a mail transfer agent (MTA, e.g. qmail)
with a mail delivery agent (MDA, e.g. maildrop or procmail).  There's
only one other item I can think of in the M's of the e-mail alphabet
soup -- that would be a mail user agent (MUA, e.g. mutt or pine).

This makes it really unclear what you are really attempting to
accomplish; I'm assuming you aren't really trying to replace qmail
with maildrop, but this is what it sounds like.


As far as I know Qmail is a package with a lot of programs like smtpd, popd, MTA, MDA, 
etc.

The only thing I want to change is the MDA for the local messages comming to the final 
user: qmail-local as default.

Vpopmail uses vdelivermail.

I want to use maildrop to do that. So every user will have a quota delivery system 
with filter features.



Daniel




Fw: Its The same problem I am also Facing

2000-08-31 Thread Rajan Vanjani





 Hi Bross,

 Please send me the across the solution if u find to get one. As Iam also
not
 able to send the attachments from my Outlook express as my mail client to
 the mailq using qmail.
 thanks and regards
 Rajan
 Senior Software Engineer
 Integra Group of Companies
 RD 13th Cross, 8th Main
 Malleswaram Bangalore.
 ***
 If Freedom is outlawed, only outlaws will have freedom
 
 Jataayu Softwares (P) Ltd
 %
 "Unwiring the Internet. "
 
 www.jataayusoft.com
 www.integramicro.com

 Something I have not noticed in many years has started the last few weeks.

 Qmail has been getting very slow at responding. I also noticed in the logs
 that it is handling a lot of email that can't be returned(spam.)

 Is there a way to clear out the old mail if this is the cause.

 Customers have been receiving a lot of errors that the server has not
 responded in 60 seconds do they want to wait or stop.








Re: virtual domain error.

2000-08-31 Thread Dave Sill

Muhammad Yusuf [EMAIL PROTECTED] wrote:

I've set up a virtual domain, say domain1.
before setting up that virtual domain, I use domain0.
I put domain0 in rcpthosts and virtualdomains.
but when I try to send an e-mail to domain1 from another machine.
 it sent to domain0.

is there anyone can help me with this??

Sure. First, avoid using made-up example domains. Show us exactly what
you've got in control/locals, control/virtualdomains, and
control/rcpthosts.

-Dave



Re: Alias Support Question

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

Following is the contents of the ~alias/.qmail-postmaster script:

john.doe.jr

In the users/assign file, there is an entry:

=organization-com-john.doe.jr:pop3ctrl:508:503:/popboxes/organization/do
ej2

When I attempt to send EMAIL to the postmaster account, I receive the
dreaded 'no mailbox here...' message as a return EMAIL.

The users/assign entry you provided seems to be associated with a
virtual domain: organization.com, perhaps. But in your
.qmail-postmaster script, you're not forwarding to
john.doe.jr@organization.com.

-Dave



Re: partially local

2000-08-31 Thread Dave Sill

Petre Rodan [EMAIL PROTECTED] wrote:

  I would like to know how can I make the address '[EMAIL PROTECTED]'
local and to be delivered to the user joe(@localhost).

First, I assume you're talking about locally-injected messages
addressed to [EMAIL PROTECTED]? Of course there's no way to have
other systems on the Internet bypass yahoo.com for certain addresses.

I do this via virtualdomains. In control/virtualdomains, add a line
like:

  [EMAIL PROTECTED]:joe

Then create a ~joe/.qmail-flamingo or ~joe/.qmail-default.

BTW I would like to congratulate the person who wrote LWQ. It's the best
doc I've ever read.

Wow, thanks, but you must not read many docs. :-) And, of course, I'm
just the primary author.

-Dave



TEST.deliver failed

2000-08-31 Thread Alberto Meroni

I have a Linux box connected to an ISP vvia ppp and I am trying
to install qmail+serialmail. I am running slackware 7.0 with
named daemon and I have several problems.
I created var/qmail and the users and group and compiled and installed
the programs. Then I try ./config which fails
Mandrake:~/qmail-1.03# ./config
Your hostname is mandrake.
soft error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
Mandrake:~/qmail-1.03#
This is in a way unexcpected because I am running named and in /etc/hosts
I have 
127.0.0.1   localhost
127.0.0.1   Mandrake.tin.it Mandrake
127.0.0.1 clubnet.tin.it
# End of hosts.
but I am not a real expert so.
Having read "Mail with qmail" by D. L. Vander Woude
I followed the suggestion and did 

Mandrake:~/qmail-1.03# echo 'Mandrake.tinit'  /var/qmail/control/me
and I created the alias.
Then I moved /var/spool/mail/root to /root/Mailbox (I did this also
for another user just in case)
and did a

Mandrake:~/qmail-1.03# ln -s ~/Mailbox /var/spool/mail/root

I copy /var/qmail/boot/home /var/qmail/rc and I launch /var/qmail/rc
then I pass to TEST.deliver
In /var/adm messages I read 

Aug 31 16:18:42 Mandrake qmail: 967731522.987914 status: local 0/10 remote 0/20

and ps aux | grep qmail gives me

Mandrake:~/qmail-1.03# ps aux | grep qmail
qmails   10287  1.4  2.6  1080  380 tty1 S16:18   0:00 qmail-send
qmaill   10288  0.2  2.8  1056  408 tty1 S16:18   0:00 splogger qmail
root 10289  0.3  2.2  1048  324 tty1 S16:18   0:00 qmail-lspawn ./Maqmailr 
  10290  0.1  2.2  1048  324 tty1 S16:18   0:00 qmail-rspawn
qmailq   10291  0.1  2.3  1040  340 tty1 S16:18   0:00 qmail-clean
root 10293  2.0  2.8  1124  400 tty1 S16:18   0:00 grep qmail
Mandrake:~/qmail-1.03#


then in local to local test I do

Mandrake:~/qmail-1.03# echo to: root | /var/qmail/bin/qmail-inject

and in /var/adm/messages I have 

Aug 31 16:20:08 Mandrake qmail: 967731608.155147 new msg 51107
Aug 31 16:20:08 Mandrake qmail: 967731608.156201 info msg 51107: bytes 211 from
[EMAIL PROTECTED] qp 10307 uid 0
Aug 31 16:20:08 Mandrake qmail: 967731608.288595 starting delivery 1: msg 51107
to local [EMAIL PROTECTED]
Aug 31 16:20:08 Mandrake qmail: 967731608.289410 status: local 1/10 remote 0/20
Aug 31 16:20:08 Mandrake qmail: 967731608.522444 delivery 1: success: did_1+0+0/Aug 31 
16:20:08 Mandrake qmail: 967731608.523365 status: local 0/10 remote 0/20
Aug 31 16:20:08 Mandrake qmail: 967731608.523843 end msg 51107

which seems OK but /root/Mailbox is empty 
I tried several variations, I have for root a .qmail file
reading 

./Mailbox | /var/qmail/bin/qbiff

I tried the longname dns patch, I did a ./config-fast Mandrake.tin.it
but the result is the same.
Can someone help me ?
Sorry for the long message

Alberto Meroni
[EMAIL PROTECTED]



Re: Requesting the services of Hercule Poirrot

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

Problem: Inbound mail taking unusually long to arrive

When I examined the system, it appeared to be neither cpu, memory, nor i/o
bound. Also, checking the various logs, none of the following concurrencies
were maxed: local, remote, smtp, pop. Also, the error log reported no errors
(such as "unable to fork", etc).

OK, good so far.

However, when I ran qmail-qstat, it showed ~3300 messages in the queue
(normally this is closer to 400). In the past, this has indicated an
onslaught on spam. But if resources are available, and smtp and local have
concurrency available, I don't understand why ANY incoming message would not
show up in someone's mailbox promptly.

I don't either.

Did you try injecting a message and tracking it through the logs? You
need to identify where they're lingering.

And have you check your trigger?

-Dave



Re: qmail is not responding

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I'm not sure about the "Subject" that I use to describe this problem.
Yesterday when I telnet to my machine using port 25, I got the response from 
my machine something like this :

Trying 192.168.0.1
Connected to server.saya.com.
Escape character is '^]

instead of ...

Trying 192.168.0.1
Connected to server.saya.com
Escape character is '^]'
220 server.saya.com.ESMTP

This means that qmail-smtpd isn't being run. How did you install
qmail? How is qmail-smtpd run? Via tcpserver, inetd, or what?

At this condition, it seems that email from remote is not sent directly to 
users home directory (I use Maildir).

In this condition, no mail comes in from remote systems,
period. Nothing gets added to the queue.

The emails are in the queue.

No, not unless they came in before the SMTP service broke.

At this condition, either I cannot use the machine to send email to remote.

If that's the case, you've got bigger problems. Perhaps qmail-send
isn't running or you're having connectivity problems.

I checked with qmail-qstat and it showed 105 in queue, but 0 in 
'preprocessed'.

Sounds like qmail-send isn't running.

Anyone can tell me why this happens ?

Not until you give us more information about how qmail is installed.

-Dave



Re: TEST.deliver failed

2000-08-31 Thread Gerrit Pape

On Thu, Aug 31, 2000 at 04:23:52PM +0200, Alberto Meroni wrote:
 
 which seems OK but /root/Mailbox is empty 

qmail never delivers to root. Please read the docs again and LWQ should help.

Regards, Pape.

-- 
[EMAIL PROTECTED]
 innominate AG
 networking people
tel: +49.30.308806-0  fax: -77http://innominate.de



ezmlm in loadshared environment over nfs

2000-08-31 Thread Patrik Bäckström

Hi!

We are expanding our server park, and we are going to loadshare services
over several machines, and mail is ofcourse one of those services.

I can't find any information about how ezmlm would handle this. If two
machines are running qmail and ezmlm, qmail will ofcourse have a local
queue on each machine, but will ezmlm be able to handle delivering from
two machines to the same shared nfs filesystem, or do i need to let only
one of the machines handle ezmlm?

Thanks in advance for any input!

/pb




Re: TEST.deliver failed

2000-08-31 Thread Dave Sill

Alberto Meroni [EMAIL PROTECTED] wrote:

   Mandrake:~/qmail-1.03# ./config
   Your hostname is mandrake.
   soft error
   Sorry, I couldn't find your host's canonical name in DNS.
   You will have to set up control/me yourself.
   Mandrake:~/qmail-1.03#
This is in a way unexcpected because I am running named

Yuck.

and in /etc/hosts
I have 
   127.0.0.1   localhost
   127.0.0.1   Mandrake.tin.it Mandrake

qmail doesn't look at /etc/hosts. Ever.

Mandrake:~/qmail-1.03# echo 'Mandrake.tinit'  /var/qmail/control/me

The capital "M" might be causing problems. Domain names are case
insensitive, but you should use lowercase everywhere just in case.

   Mandrake:~/qmail-1.03# ln -s ~/Mailbox /var/spool/mail/root

qmail doesn't deliver mail to privileged users.

I suggest you take a few minutes and scan "Life with qmail". See:

  http://lwq.w3.to

-Dave



Re: Stupid question. SMTP gateways from dynamic IP.

2000-08-31 Thread Charles Cazabon

Barrie Bremner [EMAIL PROTECTED] wrote:
 
  I've been refused delievery from the qmail program running (from
 inet.d) on my Linux box to a local ISP - the reason being I was sending
 from a dialup account with dynamic IP - and mail-abuse.org have decided
 that this is a bad thing and that I should use a feature called SMTP
 gateways.
 
  Erm,
 
  (a) Could someone explain how this works and
  (b) How I get my qmail prog to use this, so I don't get nasty refused
 headers from servers.

In addition to the other replies telling you how to make this work with
qmail, you might want to consider running nullmailer instead -- it's
designed for this type of thing, where qmail is probably overkill.
It's written by Bruce Guenter, and borrows a lot of design principles from
qmail and djb.  Check out http://www.em.ca/~bruceg/nullmailer/ for more.

Charles
-- 
--
Charles Cazabon   [EMAIL PROTECTED]
QCC Communications Corporation   Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--



Re: clustered qmail solution

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

 what does "clustered qmail solution " mean...

It means "multiple systems acting as a single system". For example,
"aol.com" is not a single, huge 25,000 horsepower server box that
handles all of AOL's incoming mail. Instead, "aol.com" points to a
list of mail exchangers (MX's), any of which will accept mail for
addresses at aol.com. When AOL needs additional incoming SMTP
capacity, they can either add new entries to their MX record, or they
can upgrade existing systems. Since there are many of them, if one
breaks or is down for upgrading or patching, their mail still works.

It's also possible to cluster POP and IMAP servers, either with
partitioned or shared responsibilities. E.g., you could have two POP
servers: one for users whose names start with the letters A-M and
another for those starting with N-Z. That spreads the load, but
doesn't provide redundancy: if a server is down, some users are unable 
to access their mail. Alternatively, you can have multiple POP servers 
accessing a shared high-availability mail store like a
network-attached RAID. The RAID is still a single-point-of-failure,
but it's designed to minimize downtime. qmail's maildir format is
especially well suited to storage on a network-attached RAID since it
avoids messy locking problems.

-Dave



RE: Requesting the services of Hercule Poirrot

2000-08-31 Thread Dave Kitabjian

That figure means they're not delivered yet, either locally or remotely. It
usually just means that the messages are deferring, either because the
remote server is down or something else "normal". They will either deliver
eventually, or else they will expire and then bounce.

Dave

 -Original Message-
 From: Bob Ross [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 31, 2000 11:35 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Requesting the services of Hercule Poirrot


 Mine shows. Is this those it keeps working on and can't
 process?. If so how
 do I get rid of them.

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

 - Original Message -
 From: "Charles Cazabon" [EMAIL PROTECTED]
 To: "'Qmail Mailing List'" [EMAIL PROTECTED]
 Sent: Thursday, August 31, 2000 8:25 AM
 Subject: Re: Requesting the services of Hercule Poirrot


  Dave Kitabjian [EMAIL PROTECTED] wrote:
  
   However, when I ran qmail-qstat, it showed ~3300 messages
 in the queue
   (normally this is closer to 400). In the past, this has
 indicated an
   onslaught on spam. But if resources are available, and
 smtp and local
 have
   concurrency available, I don't understand why ANY
 incoming message would
 not
   show up in someone's mailbox promptly.
  
   So after an hour or so of analysis, I noticed that the
 queue was finally
   beginning to slowly but steadly drop on its own, and when
 it dropped to
   ~1900, some of my own delayed messages arrived, and I assumed the
 problem
   was on its way out, so I left it to heal on its own.
 
  When this occurs, how many messages does qmail-qstat report
 as not yet
  being processed, as opposed to fully processed and in the
 queue?  If this
  number is large, you may want to look at the big-todo patch.
 
  Charles
  --
  --
  Charles Cazabon   [EMAIL PROTECTED]
  QCC Communications Corporation   Saskatoon, SK
  My opinions do not necessarily represent those of my employer.
  --
 






RE: Alias Support Question

2000-08-31 Thread Tom Sarratt Jr.

Dave,

Thanks for your reply.

1)  Yes - I am defining a virtual domain.
2)  Forwarding command in the .qmail-postmaster file.  Can you please detail
for me what the contents of this file should be?  In reading several
internet sources, no one agrees on what should be in that file (some say
TOUCH the file, some say just put the name in the file, you are saying put a
FORWARD in the file).

Please write the contents of the .qmail-postmaster file for me to review.

Thanks you very much for this assistance.
Tom

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 9:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Alias Support Question


[EMAIL PROTECTED] wrote:

Following is the contents of the ~alias/.qmail-postmaster script:

john.doe.jr

In the users/assign file, there is an entry:

=organization-com-john.doe.jr:pop3ctrl:508:503:/popboxes/organization/d
o
ej2

When I attempt to send EMAIL to the postmaster account, I receive the
dreaded 'no mailbox here...' message as a return EMAIL.

The users/assign entry you provided seems to be associated with a
virtual domain: organization.com, perhaps. But in your
.qmail-postmaster script, you're not forwarding to
john.doe.jr@organization.com.

-Dave




RE: Alias Support Question

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

2)  Forwarding command in the .qmail-postmaster file.  Can you please detail
for me what the contents of this file should be?  In reading several
internet sources, no one agrees on what should be in that file (some say
TOUCH the file, some say just put the name in the file, you are saying put a
FORWARD in the file).

Please write the contents of the .qmail-postmaster file for me to review.

All of those are valid things to do. An empty .qmail file is the same
as a .qmail file that contains the defaultdelivery argument from teh
qmail-start commad line. Putting a name is the file is telling qmail
to forward the mail to that user. If you just specify a username,as
you've done, you're essentially forwarding to user@me.

So, in your case, where you want to forward to
john.doe.jr@organization.com, you want your .qmail file to
contain:

  john.doe.jr@organization.com

This is all detailed in the dot-qmail man page.

-Dave



Telnet 110 - bis

2000-08-31 Thread Marco



Hi again.
First of all, thanks for your help.
Well, following your suggestion, I found out that 
nothing was listening to port 110, actually.Following instructions in LWQ, 
I'vechosen qmail-pop3d: I installed 
checkpassword-0.81and I added the entry in /etc/inetd.conf slightly modified 
(I'm using inetd):

pop3 tcp nowaitroot /var/qmailbin/qmail-popup hostname.domain /bin checkpassword 
/var/qmail/bin/qmail-pop3d Maildir

Telnetting port 110 I receive an OK! message but 
it's not possible to be authenticated.
I would like to use tcpserver ONLY (I can see it 
still running under svscan--supervise) and use something like the scriptI 
see
in LWQ (I tried to do it, with no 
success).
By studyingand trying,I havemore 
and more knowledge ofE-mail systemand Linux (I like it): butit 
would be nicetosee qmail running, 
either.
Thank/you/once/again.
Marco
[EMAIL PROTECTED]




Re: Help..

2000-08-31 Thread Matthew Patterson

I'm not sure if this has had a response yet, and sorry about the time delay.
Take a look at control/virtualdomains and rcpthosts. These files need to
have some type of alias information set up so that mail.thumb.net and
thumb.net get transferred to the control of the same user.

Ex.:

For virtualdomains:
mail.thumb.net:vpopmail
thumb.net:vpopmail

For rcpthosts:
mail.thumb.net
thumb.net

MHP

- Original Message -
From: support2 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 22, 2000 5:28 PM
Subject: Help..


 We have recently had inter-7 set us up with an update to q-mail and a
 webbased program for qmail.. Prior to this upgrade qmail had run
flawlessly
 for over a year.. Now we have a strange challenge.. We can send and
recieve
 email to all but on server. When we try to email this company the email
 either bounce back with the "that mailbox does not exist"
 ([EMAIL PROTECTED])(bounces back) or the email goes out but is never
 recieved ([EMAIL PROTECTED])(never gets to him)..

 However if we address the letters like this
 [EMAIL PROTECTED]
 or
 [EMAIL PROTECTED]

 They go through and get recieved.. I am at my wits end.. Inter-7 doesn't
 know whats going on.. My normal q-mail tech can't find anything wrong and
 thumb.net's tech says all is fine on his end..

 Any light that can be shed will save me a few gray hairs...



 If you have any  further questions please call or email.

 810-679-3395
 [EMAIL PROTECTED]

 Office hours:
 M-F 10a-7p
 Sat 11a-3P

 Thirl F. Wootten
 Technical Support Supervisor
 Sanilac Computer Learning Center System Administrator
 Help Desk Administrator

 Great Lakes Internet
 112 North Howard
 Croswell, MI. 48422






RE: Telnet 110 - bis

2000-08-31 Thread Tim Hunter



For tcpserver you 
want something like this
mail:~$ cat 
/var/qmail/supervise/qmail-pop3d/run#!/bin/shPATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin:/home/vpopmail/binexport 
PATH

exec tcpserver -v -H 
-c5 0 pop-3 qmail-popup mail.cimx.com \ vchkpw qmail-pop3d 
Maildir 21 

mail:~$ cat 
/var/qmail/supervise/qmail-pop3d/log/run 
#!/bin/shPATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/binexport 
PATHexec setuidgid qmaill multilog t s20 
/var/log/qmail/pop3d

Change the files and 
paths accordingly

looking at your 
inetd line however I do not think you want a space between /bin and 
checkpasswd
dont you want 
/bin/checkpassword ??

  -Original Message-From: Marco 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 31, 2000 
  12:59 PMTo: qmail-mailing listCc: Petr Novotny; Brett 
  RandallSubject: Telnet 110 - bis
  Hi again.
  First of all, thanks for your help.
  Well, following your suggestion, I found out that 
  nothing was listening to port 110, actually.Following instructions in 
  LWQ, I'vechosen qmail-pop3d: I installed 
  checkpassword-0.81and I added the entry in /etc/inetd.conf slightly modified 
  (I'm using inetd):
  
  pop3 tcp nowaitroot /var/qmailbin/qmail-popup hostname.domain /bin checkpassword 
  /var/qmail/bin/qmail-pop3d Maildir
  
  Telnetting port 110 I receive an OK! message but 
  it's not possible to be authenticated.
  I would like to use tcpserver ONLY (I can see it 
  still running under svscan--supervise) and use something like the 
  scriptI see
  in LWQ (I tried to do it, with no 
  success).
  By studyingand trying,I 
  havemore and more knowledge ofE-mail systemand Linux (I like 
  it): butit would be nicetosee qmail running, either.
  Thank/you/once/again.
  Marco
  [EMAIL PROTECTED]
  
  


Uninstall Qmail

2000-08-31 Thread tigre21

Please... 
Somebody, know how do delete qmail binarys
I installed  with a version corrupt and
need complier againly.
When I run "qmail start"
Show me this:
4300:/sbin/loader: Fatal Error: cannot malloc
4303:/sbin/loader: Fatal Error: cannot malloc
4306:/sbin/loader: Fatal Error: cannot malloc
4309:/sbin/loader: Fatal Error: cannot malloc
   
Might than binary qmail's are corrupts?

 




Re: Uninstall Qmail

2000-08-31 Thread tigre21

Dear Dave 

I change my file /usr/var/qmail/supervise/qmail-smtpd/run

Now it's:
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 400\
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

Is this correct?
but, Still have the error

12351:/sbin/loader: Fatal Error: cannot malloc
12354:/sbin/loader: Fatal Error: cannot malloc
12357:/sbin/loader: Fatal Error: cannot malloc

I have installed qmail in a Digital Unix Alpha Worktation 500u with Tru64
4.0F .
 


On Thu, 31 Aug 2000, Dave Sill wrote:

 [EMAIL PROTECTED] wrote:
 
 Somebody, know how do delete qmail binarys
 
 Well, "rm /bar/qmail/bin/*" should do the trick, but there's really no 
 need since a reinstall will replace everything anyway.
 
 I installed  with a version corrupt and
 need complier againly.
 When I run "qmail start"
 Show me this:
 4300:/sbin/loader: Fatal Error: cannot malloc
 4303:/sbin/loader: Fatal Error: cannot malloc
 4306:/sbin/loader: Fatal Error: cannot malloc
 4309:/sbin/loader: Fatal Error: cannot malloc

 Might than binary qmail's are corrupts?
 
 Did you see my message about this yesterday? I think you need to raise 
 the "softlimit" limit in your /var/qmail/supervise/qmail-smtpd/run to
 300 or 400.
 
 -Dave
 




Re: capturing emails to unknown users

2000-08-31 Thread Kris Kelley

 At the same time, I also want to have the capability
 of capturing the emails of outside users trying to send emails to
 unknown users in my system.  I want these emails to be routed to my
 badincoming mailbox.

Read the "INSTALL.alias" file that came with qmail's distribution,
particularly the last paragraph.

Beware that accepting everything like this could lead to a pretty bloated
mailbox for the alias account, plus, without additinal tweaking, remote
users won't know if their message didn't make it through, since there will
never be a bounce message.

---Kris Kelley




Re: capturing emails to unknown users

2000-08-31 Thread Dave Sill

Wilson Henriquez [EMAIL PROTECTED] wrote:

I'm new to qmail and I need some help from you guys.   I know that if
I want to capture emails that are coming out of my box to wrong outside
addresses, then all I have to do is add [EMAIL PROTECTED] to the
.qmail-default file and the message will then be routed to my
badoutgoing box.  At the same time, I also want to have the capability
of capturing the emails of outside users trying to send emails to
unknown users in my system.  I want these emails to be routed to my
badincoming mailbox.  How could I get these two things working properly
on my system.

You've got it backwards: ~alias/.qmail-default will catch bad
"incoming" (local) addresses. There's really no way to catch bad
outgoing (remote) addresses because only the remote system can tell
which ones are good and which are bad. You could intercept bounces, I
suppose, but what's the point?

-Dave



Re: Uninstall Qmail

2000-08-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I change my file /usr/var/qmail/supervise/qmail-smtpd/run

Now it's:
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 400\
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

Is this correct?

Yes.

but, Still have the error

12351:/sbin/loader: Fatal Error: cannot malloc
12354:/sbin/loader: Fatal Error: cannot malloc
12357:/sbin/loader: Fatal Error: cannot malloc

I have installed qmail in a Digital Unix Alpha Worktation 500u with Tru64
4.0F .

OK, first try this:

  QMAILDUID=`id -u qmaild`
  NOFILESGID=`id -g qmaild`
  exec /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

In other words, skip softlimit completely. If the error goes away,
we've at least identified the problem. The next step is to put
softlimit back and raise the limit until it works, e.g., by doubling
it each time...800, 1600, etc., then dropping it until it
breaks again. The right value should be about the first even multiple
of 100 that works.

-Dave



Re: few Qs from newbie

2000-08-31 Thread jakubski


On Thu, Aug 31, 2000 at 07:39:38AM +1200, Chris, the Young One wrote:
 
 I presume you're dealing with some sort of Linux distribution here.

Exactly. It's RedHat 6.2 with 2.2.16 kernel.

 A Linux distribution is built up of many separate components, so that
 each component is developed on its own. So, it doesn't surprise me that
 there may be newer versions of the login program around.
 
 The login program is in a package called ``shadow'', unless you use
 Debian, in which case I think it's called ``login''.

In my case 'login' is in package "util-linux-2.10f-7".

 
 Which distribution (e.g., Debian, Red Hat, SuSE, c) do you use?
 
  What is qbiff? 
 
 See qbiff(1). In short, it's a program you invoke in a .qmail file to
 notify you whenever you get a new message.
 
Thanks a lot - I will check this qbiff and if this is the key I'll let
you know.

qba




qmail-start doesn't start

2000-08-31 Thread gmo

Hi,
i've a SCO OpenServer5 system and the rc script failed on start:

/var/qmail/rc
exec env - PATH="/var/qmail/bin:$PATH"
qmail-start ./Mailbox splogger qmail

only i see the process id, but no process is running and no logging
in syslog (because no splogger process). Have you any idea?
Thanks for the help!

best regards
gmo

trace qmail-start ./Mailbox splogger qmail
sysi86 (0x72, 0x400e04) = 12
_sysi86 (0x72, 0x400e04) = 12
chdir ("/") = 0
_chdir ("/") = 0
_umask () = 18
umask () = 18
setgroups (1, 0x7d10) = 0
_setgroups (1, 0x7d10) = 0
setgid (5000) = 0
_setgid (5000) = 0
fcntl (0, 0x3, 0) = 2
_fcntl (0, 0x3, 0) = 2
close (2) = 0
_close (2) = 0
fcntl (0, 0x0, 2) = 2
_fcntl (0, 0x0, 2) = 2
fcntl (0, 0x3, 0) = 2
_fcntl (0, 0x3, 0) = 2
close (3) = 0
_close (3) = 0
fcntl (0, 0x0, 3) = 3
_fcntl (0, 0x0, 3) = 3
fcntl (0, 0x3, 0) = 2
_fcntl (0, 0x3, 0) = 2
close (4) = -1 errno = 9 (Bad file number)
_close (4) = -1 errno = 9 (Bad file number)
fcntl (0, 0x0, 4) = 4
_fcntl (0, 0x0, 4) = 4
fcntl (0, 0x3, 0) = 2
_fcntl (0, 0x3, 0) = 2
close (5) = -1 errno = 9 (Bad file number)
_close (5) = -1 errno = 9 (Bad file number)
fcntl (0, 0x0, 5) = 5
_fcntl (0, 0x0, 5) = 5
fcntl (0, 0x3, 0) = 2
_fcntl (0, 0x3, 0) = 2
close (6) = -1 errno = 9 (Bad file number)
_close (6) = -1 errno = 9 (Bad file number)
fcntl (0, 0x0, 6) = 6
_fcntl (0, 0x0, 6) = 6
pipe (0x400dd4) = 0
_pipe (0x400dd4) = 0
pipe (0x400ddc) = 0
_pipe (0x400ddc) = 0
pipe (0x400de4) = 0
_pipe (0x400de4) = 0
pipe (0x400dec) = 0
_pipe (0x400dec) = 0
pipe (0x400df4) = 0
_pipe (0x400df4) = 0
pipe (0x400dfc) = 0
_pipe (0x400dfc) = 0
_fork () = 3003
_fork () = 0
fcntl (1, 0x3, 0) = 2
_fcntl (1, 0x3, 0) = 2
close (0) = 0
_close (0) = 0
fcntl (1, 0x0, 0) = 0
_fcntl (1, 0x0, 0) = 0
fcntl (8, 0x3, 0) = 1
_fcntl (8, 0x3, 0) = 1
close (1) = 0
_close (1) = 0
fcntl (8, 0x0, 1) = 1
_fcntl (8, 0x0, 1) = 1
fcntl (9, 0x3, 0) = 0
_fcntl (9, 0x3, 0) = 0
close (2) = 0
_close (2) = 0
fcntl (9, 0x0, 2) = 2
_fcntl (9, 0x0, 2) = 2
fcntl (12, 0x3, 0) = 1
_fcntl (12, 0x3, 0) = 1
close (3) = 0
_close (3) = 0
fcntl (12, 0x0, 3) = 3
_fcntl (12, 0x0, 3) = 3
fcntl (13, 0x3, 0) = 0
_fcntl (13, 0x3, 0) = 0
close (4) = 0
_close (4) = 0
fcntl (13, 0x0, 4) = 4
_fcntl (13, 0x0, 4) = 4
fcntl (16, 0x3, 0) = 1
_fcntl (16, 0x3, 0) = 1
close (5) = 0
_close (5) = 0
fcntl (16, 0x0, 5) = 5
_fcntl (16, 0x0, 5) = 5
fcntl (17, 0x3, 0) = 0
_fcntl (17, 0x3, 0) = 0
close (6) = 0
_close (6) = 0
fcntl (17, 0x0, 6) = 6
_fcntl (17, 0x0, 6) = 6
close (7) = 0
_close (7) = 0
close (8) = 0
_close (8) = 0
close (9) = 0
_close (9) = 0
close (10) = 0
_close (10) = 0
close (11) = 0
_close (11) = 0
close (12) = 0
_close (12) = 0
close (13) = 0
_close (13) = 0
close (14) = 0
_close (14) = 0
close (15) = 0
_close (15) = 0
close (16) = 0
_close (16) = 0
close (17) = 0
_close (17) = 0
close (18) = 0
_close (18) = 0
execv ("/bin/qmail-send", 0x4007d8) = -1 errno = 2 (No such file or
directory)
execv ("/usr/bin/qmail-send", 0x4007d8) = -1 errno = 2 (No such file or
directory)
execv ("/tcb/bin/qmail-send", 0x4007d8) = -1 errno = 2 (No such file or
directory)
execv ("/var/qmail/bin/qmail-send", 0x4007d8)
 starting /var/qmail/bin/qmail-send 
_exit (111) = ?

-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: clustered qmail solution

2000-08-31 Thread Sean C Truman

Or if you would like pictures..

LVS www.linuxvirtualserver.com


There are also a couple of companys offering clustering software..

1) turbolinux (But from my experience with the product  tech support I do
not recommend this.. use LVS). www.turbolinux.com
2) UnderStudy (which has ports for NT, FreeBSD, Linux  Solaris)
www.polyserv.com


Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]



- Original Message -
From: Dave Sill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 31, 2000 11:18 AM
Subject: Re: clustered qmail solution


 [EMAIL PROTECTED] wrote:

  what does "clustered qmail solution " mean...

 It means "multiple systems acting as a single system". For example,
 "aol.com" is not a single, huge 25,000 horsepower server box that
 handles all of AOL's incoming mail. Instead, "aol.com" points to a
 list of mail exchangers (MX's), any of which will accept mail for
 addresses at aol.com. When AOL needs additional incoming SMTP
 capacity, they can either add new entries to their MX record, or they
 can upgrade existing systems. Since there are many of them, if one
 breaks or is down for upgrading or patching, their mail still works.

 It's also possible to cluster POP and IMAP servers, either with
 partitioned or shared responsibilities. E.g., you could have two POP
 servers: one for users whose names start with the letters A-M and
 another for those starting with N-Z. That spreads the load, but
 doesn't provide redundancy: if a server is down, some users are unable
 to access their mail. Alternatively, you can have multiple POP servers
 accessing a shared high-availability mail store like a
 network-attached RAID. The RAID is still a single-point-of-failure,
 but it's designed to minimize downtime. qmail's maildir format is
 especially well suited to storage on a network-attached RAID since it
 avoids messy locking problems.

 -Dave




Relay Testing

2000-08-31 Thread Michael T. Babcock

I just decided to manually run the RSS relay tests (telnet to
mail-abuse.org, and it will start a relay test on the machine that connected
to it).  qmail, of course, didn't relay any messages, but I was wondering
why it gave one response it did:

Relay test 7
 MAIL FROM:[EMAIL PROTECTED]@[216.168.105.33]
 250 ok
 RCPT TO:"nobody%mail-abuse.org"
 250 ok
 RSET
 250 flushed

Why the '250 ok' ?  Why would it accept "nobody%mail-abuse.org"?  Maybe I
need to re-read the RFCs?





remove messages from queue

2000-08-31 Thread Daniel Augusto Fernandes


Is this on any FAQ?
How can I safely remove messages from queue?


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Sender domain verification ...

2000-08-31 Thread Michael T. Babcock

A quick one ... ?

... mail is being rejected from one of my clients to one of their partners
because their mail server is claiming that the sending machine's dns doesn't
resolve.  We aren't authoritative (in the Internet sense ;-) for our subnet
for our ISP, so we can't easily make it resolve if they're doing reverse DNS
and checking the host names (which I've seen some mail server software, like
Imail, do).  Logs:

Deferral reasons: (from qmailanalog)
 22   56.96  Connected to 209.146.143.99 but my name was rejected./Remote
host said: 504 DNS verification of sending machine failed: no mail will be
accepted/

From the mail logs:
qmail: 967569833.463729 status: local 0/10 remote 1/20
smtpd: 967569833.603162 tcpserver: end 22548 status 0
smtpd: 967569833.603278 tcpserver: status: 0/50
qmail: 967569834.109640 delivery 6271: deferral:
Connected_to_209.146.143.99_but_my_name_was_rejected./RAug 29 13:23:54 web
qmail: 967569834.109757 status: local 0/10 remote 0/20

The primary mail server there is running groupwise ...
"220 wwd.von.ca GroupWise Internet Agent 5.5.1 Ready (C)1993, 1998 Novell,
Inc."

... which is the one rejecting our mail, but their secondary is running
sendmail:
"220 queue1.magma.ca ESMTP Sendmail 8.9.3/8.9.3; Thu, 31 Aug 2000
15:11:03 -0400 (EDT)"

... and accepts our mail.

Is there an easy way to have mail destined for this domain (wwd.von.ca) go
to the secondary MX instead of the first?  Would the best way to do this be
to copy their domain data and claim to be authoritative for it on my mail
server?

Thank-you.





Re: Relay Testing

2000-08-31 Thread Peter Green

 Relay test 7
  MAIL FROM:[EMAIL PROTECTED]@[216.168.105.33]
  250 ok
  RCPT TO:"nobody%mail-abuse.org"
  250 ok
  RSET
  250 flushed
 
 Why the '250 ok' ?  Why would it accept "nobody%mail-abuse.org"?  Maybe I
 need to re-read the RFCs?

Nope, just the archives. :)

http://www-archive.ornl.gov:8000 and search on ``MAPS relay test''.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
If you go to a costume party at your boss's house, wouldn't you think a good 
costume would be to dress up like the boss's wife? Trust me, it's not.
 (Jack Handey)




Re: Relay Testing

2000-08-31 Thread Charles Cazabon

Michael T. Babcock [EMAIL PROTECTED] wrote:
 I just decided to manually run the RSS relay tests (telnet to
 mail-abuse.org, and it will start a relay test on the machine that connected
 to it).  qmail, of course, didn't relay any messages, but I was wondering
 why it gave one response it did:
 
 Relay test 7
  MAIL FROM:[EMAIL PROTECTED]@[216.168.105.33]
  250 ok
  RCPT TO:"nobody%mail-abuse.org"
  250 ok
  RSET
  250 flushed
 
 Why the '250 ok' ?  Why would it accept "nobody%mail-abuse.org"?  Maybe I
 need to re-read the RFCs?

Because there's no domain, so it defaults to @me -- i.e., qmail will accept
this email and try to deliver it to the local user named "nobody%mail-abuse.org"
at your default domain.  Probably it will end up bouncing, unless you have
an ~alias/.qmail-default.

Charles
-- 
--
Charles Cazabon   [EMAIL PROTECTED]
QCC Communications Corporation   Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--



Re: Relay Testing

2000-08-31 Thread Michael T. Babcock

Thanks ... interesting reading ... a test message would be needed to truly
check I guess is the result.

- Original Message -
From: "Peter Green" [EMAIL PROTECTED]


  Relay test 7
   MAIL FROM:[EMAIL PROTECTED]@[216.168.105.33]
   250 ok
   RCPT TO:"nobody%mail-abuse.org"
   250 ok
   RSET
   250 flushed
 
  Why the '250 ok' ?  Why would it accept "nobody%mail-abuse.org"?  Maybe
I
  need to re-read the RFCs?

 Nope, just the archives. :)

 http://www-archive.ornl.gov:8000 and search on ``MAPS relay test''.




Re: remove messages from queue

2000-08-31 Thread Barrie Bremner

Daniel Augusto Fernandes wrote:
 
 Is this on any FAQ?
 How can I safely remove messages from queue?
 

 I just use a wee perl script called qmHandle. See
http://www.freshmeat.net/

 HTH

 Baz.

--
Barrie J. Bremner

Email: [EMAIL PROTECTED]
   (PGP public key available at pgp.mit.edu)

URL:   http://www.geocities.com/thefatenglishman

Telephone: UK 01672 811246
Mobile:UK 07968 792975

Quis custodiet ipsos custodes?



Re: Sender domain verification ...

2000-08-31 Thread Dave Sill

"Michael T. Babcock" [EMAIL PROTECTED] wrote:

Is there an easy way to have mail destined for this domain (wwd.von.ca) go
to the secondary MX instead of the first?

Yeah, control/smtproutes:

wwd.von.ca:name.of.secondary.mx

-Dave



Re: Sender domain verification ...

2000-08-31 Thread Peter Green

also sprach mbabcock:
 A quick one ... ?
[snip]
 Is there an easy way to have mail destined for this domain (wwd.von.ca) go
 to the secondary MX instead of the first?  Would the best way to do this be
 to copy their domain data and claim to be authoritative for it on my mail
 server?

You should be able to put:

  wwd.von.ca:queue1.magma.ca

in /var/qmail/control/smtproutes. This will route all mail to *@wwd.von.ca
to the queue1.magma.ca server. See qmail-remote(8) for more info.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"You need to go and find someone to teach you the rudiments of
irrational discourse."
--- Larry Wall




Re: remove messages from queue

2000-08-31 Thread Dave Sill

Daniel Augusto Fernandes [EMAIL PROTECTED] wrote:

Is this on any FAQ?

Yes, it's on qmail.faqts.com--one of the most overlooked qmail
resources on the net.

-Dave



Re: Sender domain verification ...

2000-08-31 Thread Michael T. Babcock

Thank-you, I hadn't thought of that.

- Original Message -
From: "Peter Green" [EMAIL PROTECTED]


   wwd.von.ca:queue1.magma.ca

 in /var/qmail/control/smtproutes. This will route all mail to
*@wwd.von.ca
 to the queue1.magma.ca server. See qmail-remote(8) for more info.





Re: Sender domain verification ...

2000-08-31 Thread Charles Cazabon

Michael T. Babcock [EMAIL PROTECTED] wrote:
 
 Is there an easy way to have mail destined for this domain (wwd.von.ca) go
 to the secondary MX instead of the first?  Would the best way to do this be
 to copy their domain data and claim to be authoritative for it on my mail
 server?

Add to /var/qmail/control/smtproutes the line:

wwd.von.ca:secondarymxhostname.domain

Charles
-- 
--
Charles Cazabon   [EMAIL PROTECTED]
QCC Communications Corporation   Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--



simple subdomain question

2000-08-31 Thread Z


i couldn't find this in life with qmail...

how do you make it so that everything that is send to a subdomain,
(foo.bar.com) is sent to one user account (bob)?

thanks,

zspam




Re: remove messages from queue

2000-08-31 Thread Daniel Augusto Fernandes

Barrie Bremner wrote:
 
 Daniel Augusto Fernandes wrote:
 
  Is this on any FAQ?
  How can I safely remove messages from queue?
 
 
  I just use a wee perl script called qmHandle. See
 http://www.freshmeat.net/
 

Thanks for your answer!

I've seen this program some months ago and I think it was very slow if
the queue was very long. It read all the qmail/queue/mess/* searching
for headers. It could last much time if the msg is very big.

But I think now one can tell it to look only for the numbers and let
delete it.

I've made some changes to make it able to work with daemontools.


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: remove messages from queue

2000-08-31 Thread Daniel Augusto Fernandes

Dave Sill wrote:
 
 Daniel Augusto Fernandes [EMAIL PROTECTED] wrote:
 
 Is this on any FAQ?
 
 Yes, it's on qmail.faqts.com--one of the most overlooked qmail
 resources on the net.
 

Yeahh!!!
I didn't know this one

Thanks!!


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



relaying going into the bit bucket

2000-08-31 Thread Matt Sherer

First off, I've read the FAQ. :)

Basically, I've got relaying set up for a selected range of
subnets, using ucspi-tcp. That looks good - attempting to
send messages from within the right range allow the RCPT
line, remote attempts fail, as expected.

The issue is that qmail takes the message from the right
host, says ok, and nothing happens with it. Doesn't bounce,
get to the destination, anything.  Locally spooled mail
works fine - I've been using that for a while.

I have a feeling it's something extremely simple, but I
can't find it. The mail goes in, just never gets queued
to be delivered (or something to that effect.)

Any ideas?

--Matt Sherer


---
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com





Re: simple subdomain question

2000-08-31 Thread markd

On Thu, Aug 31, 2000 at 03:09:33PM -0500, Z wrote:
 
 i couldn't find this in life with qmail...
 
 how do you make it so that everything that is send to a subdomain,
 (foo.bar.com) is sent to one user account (bob)?

What did you think of FAQ 3.2?


Regards.



Re: relaying going into the bit bucket

2000-08-31 Thread markd

On Thu, Aug 31, 2000 at 04:39:39PM -0400, Matt Sherer wrote:
 First off, I've read the FAQ. :)
 
 Basically, I've got relaying set up for a selected range of
 subnets, using ucspi-tcp. That looks good - attempting to
 send messages from within the right range allow the RCPT
 line, remote attempts fail, as expected.
 
 The issue is that qmail takes the message from the right
 host, says ok, and nothing happens with it. Doesn't bounce,
 get to the destination, anything.  Locally spooled mail
 works fine - I've been using that for a while.
 
 I have a feeling it's something extremely simple, but I
 can't find it. The mail goes in, just never gets queued
 to be delivered (or something to that effect.)
 
 Any ideas?

Not without unadulterated logs.



Re: relaying going into the bit bucket

2000-08-31 Thread Charles Cazabon

Matt Sherer [EMAIL PROTECTED] wrote:
 First off, I've read the FAQ. :)

If so, you didn't follow it.  You gave us no config files, no output of
qmail-showctl, didn't show us your tcp.rules file, and quoted no logs.
 
 Basically, I've got relaying set up for a selected range of
 subnets, using ucspi-tcp. That looks good - attempting to
 send messages from within the right range allow the RCPT
 line, remote attempts fail, as expected.
 
 The issue is that qmail takes the message from the right
 host, says ok, and nothing happens with it. Doesn't bounce,
 get to the destination, anything.  Locally spooled mail
 works fine - I've been using that for a while.

What Do The Logs Say? (tm)

Charles

"What Do The Logs Say" is a trademark of Dave Sill.  Used without permission.
-- 
--
Charles Cazabon   [EMAIL PROTECTED]
QCC Communications Corporation   Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--



Re: relaying going into the bit bucket

2000-08-31 Thread Ben Beuchler

On Thu, Aug 31, 2000 at 04:39:39PM -0400, Matt Sherer wrote:

 First off, I've read the FAQ. :)
 
Congratulations!  I think you're maybe the third person to do that...

 I have a feeling it's something extremely simple, but I
 can't find it. The mail goes in, just never gets queued
 to be delivered (or something to that effect.)
 
 Any ideas?

Before anyone else says it:

What Do the Logs Say? (tm)

The logs are your best friend.  They are helpful and verbose.

Ben

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



vchkpw

2000-08-31 Thread Matthew Patterson

In case anyone on the list is using or is trying to use chkpw/qmailadmin,
there is an error in the FAQ.
In the section that discusses setting up one of the domains to be a primary
it says that in order to configure vchkpw to have one of your virtual
domains work like users listed in /etc/passwd (not using %domainname in the
username for a pop login) it says the compile option
is --enable-roaming-users=domainname The option actually
is --enable-default-domain=domainname
I don't know if this has already been addressed in this list or in a list
for vchkpw, but here is the fix if anyone else has been getting kicked in
the ass by this for the past week like i have been.

MHP




qmail-lspawn looks for local user?

2000-08-31 Thread Daniel Augusto Fernandes


Does qmail-lspawn look for local user before it calls qmail-local?

I've been told that "it is not the job of a mail delivery agent, such as
maildrop, to figure out whether a user exists, or not. That's the mail
server's job. That's what it's supposed to do. If the recipient mailbox
does not exist, the mail server must bounce the message, instead of
running a local mail delivery agent for a non-existent account".



Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: remove messages from queue

2000-08-31 Thread Jon Rust

On Thu, Aug 31, 2000 at 08:36:13PM +0100, Barrie Bremner wrote:
 Daniel Augusto Fernandes wrote:
  
  Is this on any FAQ?
  How can I safely remove messages from queue?
  
 
  I just use a wee perl script called qmHandle. See
 http://www.freshmeat.net/
 
  HTH
 
  Baz.

Hrmf. This doesn't work here. It reports 0 mesages at all times (even
though I've got 500+ in the queue right now).

Suggestions? My queue is at /var/qmail/queue. I run it as root. ??

jon



Re: remove messages from queue

2000-08-31 Thread Jon Rust

On Thu, Aug 31, 2000 at 03:30:45PM -0700, Jon Rust wrote:
 
 Hrmf. This doesn't work here. It reports 0 mesages at all times (even
 though I've got 500+ in the queue right now).
 
 Suggestions? My queue is at /var/qmail/queue. I run it as root. ??
 
 jon

Arg. The scripty comes packaged as suid. I unpacked as a non-priv user,
so when I ran it as root, it changed back to non-priv user. Error
checking on the opendir funtion would be nice. :-)

   opendir(DIR,"${queue}remote") || die "can't open queue $!\n";

jon



too many smtp connections still open

2000-08-31 Thread Mike

I am running some tests on qmail and I have a perl script which sends
email  via SMTP to another server.  I noticed that my script crashes
after sending about 40 or 50 emails whe trying to select a socket.  On
doing a netstat -a  on the server where qmail is running there are many

tcp0  0 mailtest:smtp   dev.tanjian.com:2707
TIME_WAIT
tcp0  0 mailtest:1258   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:1257   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:1256   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2704
TIME_WAIT
tcp0  0 mailtest:1255   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2703
TIME_WAIT
tcp0  0 mailtest:1254   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2702
TIME_WAIT
tcp0  0 mailtest:1253   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2701
TIME_WAIT
tcp0  0 mailtest:1252   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2700
TIME_WAIT
tcp0  0 mailtest:1251   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2699
TIME_WAIT
tcp0  0 mailtest:1250   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2698
TIME_WAIT
tcp0  0 mailtest:1249   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:1248   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2696
TIME_WAIT
tcp0  0 mailtest:1247   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:1246   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2694
TIME_WAIT
tcp0  0 mailtest:1245   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2693
TIME_WAIT
tcp0  0 mailtest:1244   dev.tanjian.com:auth
TIME_WAIT
tcp0  0 mailtest:smtp   dev.tanjian.com:2692
TIME_WAIT
tcp0  0 mailtest:1243   dev.tanjian.com:auth
TIME_WAIT

if I throttle my script and sleep long enough for these to close it
seems to work.. UNfortunatelt I'm trying to do some timings on resouce
requirements on qmail-local and it does not provide enough of a "real"
scenario to work.  I would appreciate any suggestions to resolving this
problem.

Thanks

Mike






RE: Alias Support Question

2000-08-31 Thread tom.sarratt.jr

Dave,

I added the following to the .qmail-postmaster file in the alias directory:

john.doe.jr@company.org

I still receive the mailer-daemon message.

What other data can I provide you to unscramble this mystery?

Thanks!
Tom Sarratt

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 11:10 AM
To: [EMAIL PROTECTED]
Subject: RE: Alias Support Question


[EMAIL PROTECTED] wrote:

2)  Forwarding command in the .qmail-postmaster file.  Can you please
detail
for me what the contents of this file should be?  In reading several
internet sources, no one agrees on what should be in that file (some say
TOUCH the file, some say just put the name in the file, you are saying put
a
FORWARD in the file).

Please write the contents of the .qmail-postmaster file for me to review.

All of those are valid things to do. An empty .qmail file is the same
as a .qmail file that contains the defaultdelivery argument from teh
qmail-start commad line. Putting a name is the file is telling qmail
to forward the mail to that user. If you just specify a username,as
you've done, you're essentially forwarding to user@me.

So, in your case, where you want to forward to
john.doe.jr@organization.com, you want your .qmail file to
contain:

  john.doe.jr@organization.com

This is all detailed in the dot-qmail man page.

-Dave




Mailbox vs. Maildir

2000-08-31 Thread Daniel Ceregatti

Hi again,

I had a situation a while back where qmail was delivering the mail to the location 
specified in the qmail-start command line (Mailbox, turns out I was using the wrong 
init script to start qmail) instead of Maildir (Where LDAP and the correct init script 
tell it to go). When LDAP went down a few times a few weeks ago, the users without a 
.qmail file in their dir (all were supposed to have this file, which uses ./Maildir) 
ended up with their mail in the Mailbox file, which pop3 and imapd ignore. Is there 
any way for me to make this mail available to my users? Sorry if this is the wrong 
list to post this question. If so, can you please refer me to the correct list?

Thanks in advance

--

Daniel Ceregatti

Systems and Technology Manager
Kick Media Corporation
(310)280-5421
(310)280-5440 Fax






Anyone know how to intercept mail?

2000-08-31 Thread Wilson Henriquez

Hey all!
I really need to intercept mail coming from outside users that are
trying to contact an unknown user on my mail system.  Does anyone know
how to do it?  Also, I do not know how to reply to this list, can
someone just give me quick instructions?
Thanks again,
-newbie




Re: Mailbox vs. Maildir

2000-08-31 Thread Daniel Ceregatti

Excellent! It's just a perl script so I modified to to run on my box, since all the 
users are LDAP based (hence, have no environment). Thanks. BTW, this did not come with 
my qmail, I had to find it on the internet. mailbox2mbox comes with qmail, though.

Mikko Hänninen wrote:

 Daniel Ceregatti [EMAIL PROTECTED] wrote on Thu, 31 Aug 2000:
  ended up with their mail in the Mailbox file

 ...

  Is there any way for me to make this mail available to my users?

 Sure.

 Qmail comes with a mbox2maildir program of it's own, but it's a bit
 cryptic to use (you can't provide any command line arguments, you
 have to set 3 environment variables for it to work...).

 There's several other mbox - Maildir folder format converters around
 though.  The qmail home page probably has links to several, or at
 least one.  If not, I can mail you one or two perl scripts for this
 which I have archived.  Not that I've used them much myself, but they
 should work...

 Hope this helps,
 Mikko
 --
 // Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
 // The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
 // Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
 I'm not a complete idiot, some parts are missing.

--

Daniel Ceregatti

Systems and Technology Manager
Kick Media Corporation
(310)280-5421
(310)280-5440 Fax






Re: Sending an email to all users of my system

2000-08-31 Thread Alexander Pennace

On Thu, Aug 31, 2000 at 10:32:01PM -0300, Roberto Samarone Araújo 28RSA29 wrote:
 
 I would like to know how can I create an email , so when
 I send a message using this email it will send a copy of it to all users in
 my email system including virtual emails but , if an user try to make a
 reply of this email , it only will send a email to the email that I use to
 send to all user and not to all users in my server . I don't want to create
 a moderated mailing list to do it .

Look into ezmlm, http://www.ezmlm.org/

 PGP signature


Re: vchkpw

2000-08-31 Thread Peter Green

also sprach matthew_patterson:
 In case anyone on the list is using or is trying to use chkpw/qmailadmin,
 there is an error in the FAQ.

Have you brought this up on the vchkpw mailing list? With the package owner
([EMAIL PROTECTED])? Those are better places than this one...

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)




Re: too many smtp connections still open

2000-08-31 Thread Sean C Truman

Mike,

Look at the MAN pages for tcpserver there is a FLAH -c for connection
the Default is set at 40..

Sean
- Original Message -
From: Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 31, 2000 5:22 PM
Subject: too many smtp connections still open


 I am running some tests on qmail and I have a perl script which sends
 email  via SMTP to another server.  I noticed that my script crashes
 after sending about 40 or 50 emails whe trying to select a socket.  On
 doing a netstat -a  on the server where qmail is running there are many

 tcp0  0 mailtest:smtp   dev.tanjian.com:2707
 TIME_WAIT
 tcp0  0 mailtest:1258   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:1257   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:1256   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2704
 TIME_WAIT
 tcp0  0 mailtest:1255   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2703
 TIME_WAIT
 tcp0  0 mailtest:1254   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2702
 TIME_WAIT
 tcp0  0 mailtest:1253   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2701
 TIME_WAIT
 tcp0  0 mailtest:1252   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2700
 TIME_WAIT
 tcp0  0 mailtest:1251   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2699
 TIME_WAIT
 tcp0  0 mailtest:1250   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2698
 TIME_WAIT
 tcp0  0 mailtest:1249   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:1248   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2696
 TIME_WAIT
 tcp0  0 mailtest:1247   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:1246   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2694
 TIME_WAIT
 tcp0  0 mailtest:1245   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2693
 TIME_WAIT
 tcp0  0 mailtest:1244   dev.tanjian.com:auth
 TIME_WAIT
 tcp0  0 mailtest:smtp   dev.tanjian.com:2692
 TIME_WAIT
 tcp0  0 mailtest:1243   dev.tanjian.com:auth
 TIME_WAIT

 if I throttle my script and sleep long enough for these to close it
 seems to work.. UNfortunatelt I'm trying to do some timings on resouce
 requirements on qmail-local and it does not provide enough of a "real"
 scenario to work.  I would appreciate any suggestions to resolving this
 problem.

 Thanks

 Mike






RPM with patches - lost the URL where it is

2000-08-31 Thread Pete Lancashire

I just lost a URL where someone has done a nice
job of adding many patches to Qmail and putting
it all into a SRPM.

I hope someone can point me to the site/person.

TIA !!!

-pete



RE: RPM with patches - lost the URL where it is

2000-08-31 Thread Charles Warwick

http://em.ca/~bruceg/qmail+patches/

-Original Message-
From: Pete Lancashire [mailto:[EMAIL PROTECTED]]
Sent: Friday, 1 September 2000 12:42 PM
To: [EMAIL PROTECTED]
Subject: RPM with patches - lost the URL where it is 


I just lost a URL where someone has done a nice
job of adding many patches to Qmail and putting
it all into a SRPM.

I hope someone can point me to the site/person.

TIA !!!

-pete




RE: Alias Support Question

2000-08-31 Thread tom.sarratt.jr

Tim,

Thank you for the suggestion.

I placed:

john:doe:[EMAIL PROTECTED]

in the file ~alias/.qmail-postmaster

and it still did not work.  I still received the same message back from the
server.

As mentioned before,  the line

=missionprinting-org-john.doe.jr:pop3ctrl:508:503:/popboxes/mprnt/doej2

is in the users/assign file.

I am really confused why I am having this trouble.  Everything else seems to
work just fine.

Thank you very much for your help.  Do you have further suggestions?  Is
there any data that I can provide to help shed some light on this?

Regards,
Tom

-Original Message-
From: Timothy Lorenc [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 6:42 PM
To: [EMAIL PROTECTED]
Subject: RE: Alias Support Question



Try using : instead of .

i.e.

john:doe:jr@company.org


-Original Message-
From: tom.sarratt.jr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 6:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Alias Support Question


Dave,

I added the following to the .qmail-postmaster file in the alias directory:

john.doe.jr@company.org

I still receive the mailer-daemon message.

What other data can I provide you to unscramble this mystery?

Thanks!
Tom Sarratt

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 11:10 AM
To: [EMAIL PROTECTED]
Subject: RE: Alias Support Question


[EMAIL PROTECTED] wrote:

2)  Forwarding command in the .qmail-postmaster file.  Can you please
detail
for me what the contents of this file should be?  In reading several
internet sources, no one agrees on what should be in that file (some say
TOUCH the file, some say just put the name in the file, you are saying put
a
FORWARD in the file).

Please write the contents of the .qmail-postmaster file for me to review.

All of those are valid things to do. An empty .qmail file is the same
as a .qmail file that contains the defaultdelivery argument from teh
qmail-start commad line. Putting a name is the file is telling qmail
to forward the mail to that user. If you just specify a username,as
you've done, you're essentially forwarding to user@me.

So, in your case, where you want to forward to
john.doe.jr@organization.com, you want your .qmail file to
contain:

  john.doe.jr@organization.com

This is all detailed in the dot-qmail man page.

-Dave







user getting mailing list

2000-08-31 Thread Petre Rodan


Hi folks!

I have the following dilema:

peter is a user on my system. peter subscribes to this mailing list.
how can I make sure peter getts the messages from this list?

I ask this because the 'TO:' field doesn't point to the local user but
to [EMAIL PROTECTED]
The only place that peter's name commes up is here:

Received: from muncher.math.uic.edu (muncher.math.uic.edu
[131.193.178.181])
by www.subdimension.com (8.9.3/8.9.3) with SMTP id XAA10288
for [EMAIL PROTECTED]; Thu, 31 Aug 2000 23:02:05 -0400


right now peter is receiving the messages because he is the postmaster:

fetchmail: no local matches, forwarding to postmaster
fetchmail: forwarding to localhost
fetchmail: SMTP MAIL
FROM:[EMAIL PROTECTED]

please help me become a user ;)

Thanks,
Peter

background:
Linux RedHat 6.1, qmail 1.03, fetchmail-5.1.0



How to redeliver messages

2000-08-31 Thread John Van Boxtel

I have a problem that maybe someone has an answer for...

From time to time our mailserver's connection to the net dies.  When it does
this we switch over to a mirrored server on a different ISP.  Works great
except from time to time, messages will get "stranded" between the
transition.

Is there an easy way to "redeliver" the messages in someone's Maildir?
I think you could almost do something like this:

cat ~user/Maildir/new/* | /var/qmail/bin/qmail-inject

but when I tried it, it didn't work...  Also, that would mean I would have
to type it for each user on the box.

I really think there has to be some way to tie together:
ls, grep, cat and some qmail program to list all the mail in the maildirs
and reput them in the queue (which would then see it as remote and deliver
it to the other box)

Thanks,
John




RE: How to redeliver messages

2000-08-31 Thread Charles Warwick

With the serialmail package from the Q-Mail's author, there is a program
called maildirsmtp, which picks up a Maildir and resends it via SMTP.

You could set up a simple script to grab all the Maildir entries and sent
them each through this program in a loop.  The maildir path is a parameter
to maildirsmtp.

Regards,

Charles Warwick

-Original Message-
From: John Van Boxtel [mailto:[EMAIL PROTECTED]]
Sent: Friday, 1 September 2000 2:32 PM
To: [EMAIL PROTECTED]
Subject: How to "redeliver" messages


I have a problem that maybe someone has an answer for...

From time to time our mailserver's connection to the net dies.  When it does
this we switch over to a mirrored server on a different ISP.  Works great
except from time to time, messages will get "stranded" between the
transition.

Is there an easy way to "redeliver" the messages in someone's Maildir?
I think you could almost do something like this:

cat ~user/Maildir/new/* | /var/qmail/bin/qmail-inject

but when I tried it, it didn't work...  Also, that would mean I would have
to type it for each user on the box.

I really think there has to be some way to tie together:
ls, grep, cat and some qmail program to list all the mail in the maildirs
and reput them in the queue (which would then see it as remote and deliver
it to the other box)

Thanks,
John




Virtual Domains

2000-08-31 Thread Aaron Dougherty

Hi,
I'm trying to set up virtual domains with Qmail right now. I'm sure
there's plenty of documentation other there on this, but I don't seem to
be finding it. Any pointers to documentation, or help would be
appreciated.

What I am trying to accomplish is to have [EMAIL PROTECTED] go to
user1 and [EMAIL PROTECTED] go to user2.

So far, I have been able to set qmail up to allow [EMAIL PROTECTED] to go
to user1, and [EMAIL PROTECTED] to go to user1, but not get the same
username on different domains to go to differnt system user.

Thanks!

-Aaron