qmail-Microsoft

2000-11-06 Thread suresh



Hello

I have installed qmail-pop-smtp and courier-imap with Micrsoft sql
authentication succesfully.I am able authenticate imap connections through
IMAP connection.I need to know if i can have a smtp authentication in a
similiar way where mail will delivered after checking the mailfolder from
the same Database
Please advice

Thanx
Suresh
Mithi.com Pvt. Ltd.
--
Send and receive mail in Indian languages
Register free at http://www.mailjol.com





RE: qmail-users, users/assign, and qmail-newu

2000-11-06 Thread Tony Ennis


Ok, if I understand the process, qmail allows me to use the
/var/qmail/users/assign file to define wildcard email address
processing.  Basically, I can define a user and a directory
to use when processing emails whose addresses start with
certain characters.  qmail looks into the specified directory
and tries to file a .qmail file.  If there isn't a suitable one,
it creates something called Mailfile. That isn't what I want.
If it finds a file called .qmail-default, it executes the
instructions within and does exactly what I want.

I don't want to use .qmail-default, however.  My problem is
that I want to use a more specific name for the .qmail file.
I can't deduce from the man pages what the qmail file should
be called.

**
As per the man page for qmail-user, .qmail files ARE involved:

"A simple assignment is a line of the form

  =local:user:uid:gid:homedir:dash:ext:

Here local is an address; user, uid, and gid are the account
name, uid, and gid of the user in charge of local; and messages
to local will be controlled by homedir/.qmaildashext."

*

I believe there is an alias facilty that does something similar
and involves something to do with sticking .qmail files in the
qmail/aliases directory.  I have had poor success with that -
I wonder if the qmail daemon has the authority to write into my
application's directories.

Tony

-Original Message-
From: David Geller [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 4:58 PM
To: Tony Ennis
Subject: RE: qmail-users, users/assign, and qmail-newu


On Mon, 6 Nov 2000, Tony Ennis wrote:

> The man pages for the version of qmail I'm using says that the
> cdb file is made from the assign file:
> 
> "qmail-newu  reads  the  assignments  in  /var/qmail/users/assign
> and writes them into /var/qmail/users/cdb in a binary format
> suited for quick access by qmail-lspawn."
> 

I'm confused now about what you're asking. You seem to be repeating what I
just wrote - suggesting that the info you have need to go into a file
named aliases in the /var/qmail/users directory.

There are no .qmail files involved.

- David





Re: Outlook Express

2000-11-06 Thread Felix von Leitner

> Hi everyone. I use the pop daemon from qmail (qmail-pop3d) and the
> Outlook Express program is making me crazy.

Outlook makes everyone crazy.
Get yourself a real email program.
One that gives meaningful error messages.

> What is happening?

Read your log files.

Felix



RE: qmail-users, users/assign, and qmail-newu

2000-11-06 Thread Tony Ennis

The man pages for the version of qmail I'm using says that the
cdb file is made from the assign file:

"qmail-newu  reads  the  assignments  in  /var/qmail/users/assign
and writes them into /var/qmail/users/cdb in a binary format
suited for quick access by qmail-lspawn."

Tony

-Original Message-
From: David Geller [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 4:27 PM
To: Tony Ennis
Cc: [EMAIL PROTECTED]
Subject: Re: qmail-users, users/assign, and qmail-newu


On Mon, 6 Nov 2000, Tony Ennis wrote:

> vy-anon(anumber)@mydomain.com
> 
> where (number) is a timestamp.  I do not know what the number will
> be since it is generated on-the-fly.  However, all such emails
> will be processed by the same facility.
> 
> Reading the man pages (shock!) I found that there is a facility for
> this very thing - you add a config line to users/assign file then
> run newu.  Here is my config line:
> 
> +vy-anon:fred:1000:100:/usr/local/myapp:::
> 
> My problem is that I can't deduce what the .qmail file is supposed
> to be called.  Everything works fine if I put .qmail-default in
> /usr/local/myapp.  But I don't want a default file - I want a config
> file that is explicitly associated with vy-anon.
> 

I think you want this line to go into /var/qmail/users/aliases. Then
run qmail-newu, which will gen the cdb file. I think you might need to
restart qmail too.

- David Geller





Re: qmail-users, users/assign, and qmail-newu

2000-11-06 Thread David Geller

On Mon, 6 Nov 2000, Tony Ennis wrote:

> vy-anon(anumber)@mydomain.com
> 
> where (number) is a timestamp.  I do not know what the number will
> be since it is generated on-the-fly.  However, all such emails
> will be processed by the same facility.
> 
> Reading the man pages (shock!) I found that there is a facility for
> this very thing - you add a config line to users/assign file then
> run newu.  Here is my config line:
> 
> +vy-anon:fred:1000:100:/usr/local/myapp:::
> 
> My problem is that I can't deduce what the .qmail file is supposed
> to be called.  Everything works fine if I put .qmail-default in
> /usr/local/myapp.  But I don't want a default file - I want a config
> file that is explicitly associated with vy-anon.
> 

I think you want this line to go into /var/qmail/users/aliases. Then
run qmail-newu, which will gen the cdb file. I think you might need to
restart qmail too.

- David Geller




qmail-users, users/assign, and qmail-newu

2000-11-06 Thread Tony Ennis

Hello!

My server is going to receive emails that look lke this:

vy-anon(anumber)@mydomain.com

where (number) is a timestamp.  I do not know what the number will
be since it is generated on-the-fly.  However, all such emails
will be processed by the same facility.

Reading the man pages (shock!) I found that there is a facility for
this very thing - you add a config line to users/assign file then
run newu.  Here is my config line:

+vy-anon:fred:1000:100:/usr/local/myapp:::

My problem is that I can't deduce what the .qmail file is supposed
to be called.  Everything works fine if I put .qmail-default in
/usr/local/myapp.  But I don't want a default file - I want a config
file that is explicitly associated with vy-anon.

The documentation spells it out fairly well for simple conversions
but I am confused by the sentence pertaining to wildcards. Here is
a portion of the man page:

|WILDCARD ASSIGNMENTS
|   A wildcard assignment is a line of the form
|
|  +loc:user:uid:gid:homedir:dash:pre:
|


The crux is this "pre" value.  What is this!?  In the example above, what
should
the .qmail file be called?

Thanks,
Tony







RE: Outlook Express

2000-11-06 Thread Alexander Jernejcic

hi,
admin wrote:
> Hi everyone. I use the pop daemon from qmail (qmail-pop3d) and the
how are you starting the pop3-daemon?
try a telnet mail.infomoney.com.br on port 110 from one of your client
workstation. is there a sudden response or a timeout?
and : what does the log say?(TM)

;) a




Outlook Express

2000-11-06 Thread admin

Hi everyone. I use the pop daemon from qmail (qmail-pop3d) and the
Outlook Express program is making me crazy. I looked for a solution in the
archives, but i didn't find it.  My problem is:

My clients use Microshit Outlook Express and i'm having a lot of error
messages from qmail pop server:

Your server has unexpectedly terminated the connection. Possible causes
for this include server problems, network problems, or a long period of
inactivity. Account: 'infomoney', Server: 'mail.infomoney.com.br',
Protocol: POP3,
Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F

Then I try again, and everything works fine! Then I try again and the
error reappear, and ...

The computer with the pop daemon is on the same network that the clients
are. I can ping the machine all the time. There are no network problems
neither a long period of inactivity (i suppose). The config of qmail is so
simple that i couldn't find anything suspect.

What is happening?

There is no way to change from Outlook to other mail client. I have seen
that there are many problems with Outlook, but i need a solution using
outlook express. Can someone help?

I'm sorry if the solution is in the docs, or in the faq, or in the
archives, or ... but I looked for and I found nothing.

Thank you for your help,

cassio.




Re: Can I run multiple qmail-smptd on one install

2000-11-06 Thread Jurjen Oskam

On 02 Nov 2000 09:53:00 -0800, Matt Brown <[EMAIL PROTECTED]>
wrote:

>If you HAVE to do it, then there should be no reason why you can't run
>tcpserver/qmail-smtpd from several different ports.  After all, a new

I've been thinking about something similar.

Suppose you're an ISP that hosts domains for your customers. IMHO it
would be a nice service to offer the option of using MAPS RBL, RSS or
ORBS for your customers.

For example, if you want to offer a) no filtering b) MAPS RBL c) MAPS
RBL + RSS d) MAPS RBL + RSS + ORBS you'd setup your qmail-installation
as you normally would, but create some extra qmail-smtpds on different
IP adresses, and point the domain MX record to the qmail-smtp of your
choice.

Would something like this work?
end
-- 
Jurjen Oskam * carnivore! * http://www.stupendous.org/ for PGP key
assassinate nuclear iraq clinton kill bomb USA eta ira cia fbi nsa kill
president wall street ruin economy disrupt phonenetwork atomic bomb sarin
nerve gas bin laden military -*- DVD Decryption at www.stupendous.org -*-



Unsubscribe qmail (fpo)

2000-11-06 Thread Toby Steel
Title: Unsubscribe qmail (fpo)





unsubscribe qmail


 


 Toby Steel (E-mail 2).vcf


Re: UUCP Setup

2000-11-06 Thread Ian Lance Taylor

   Date: Mon, 06 Nov 2000 17:14:14 +0530
   From: Ruchir Chandra <[EMAIL PROTECTED]>

   1. Qmail on server Q1 is unable to deliver the mail fetched over UUCP to 
   the local POP mailboxes.
   How do we setup Qmail to deliver mail fetched over UUCP to the local pop 
   mailboxes.?

In what way does it fail?  What precisely are you trying to do?

Sending mail over UUCP is normally done by using uux to invoke rmail
on the remote system.  To make this work, you must have a copy of the
rmail program, which is provided by neither qmail nor UUCP.  The rmail
which comes with sendmail will work with qmail.

   2. How does the server Q1 send outgoing email to the central server Q2? We 
   have considered using SMTP, but since the dial up connection is available 
   only for less than an hour daily, it will not be possible for Qmail to pump 
   out all queued emails during that period. Can UUCP solve this problem?

You can send outgoing mail over UUCP.  See
http://cr.yp.to/qmail/faq/outgoing.html#uucp

However, if your dialup connection is not up for long enough to send
out all your mail messages, then you are still going to have trouble.
UUCP does not increase the bandwidth available over a link.

Ian



Re: ANNOUNCE: qrblcheck -- rbl checking for .qmail

2000-11-06 Thread Jon Rust

Looks good... I tried not play with the original rblcheck as much as
possible. Thanks for the tips, I'll roll them in when I get a chance.

My plan is to rewrite the whole mess to make it a bit more
coherent (not that rblcheck wasn't, but the combo of my code and his
isn't the cleanest, and there's extra stuff in there that doesn't need
to be).

jon

On Mon, Nov 06, 2000 at 03:25:33PM +, Tullio Andreatta wrote:
> >I'm not an experienced C programmer, so feedback is welcome and
> >encouraged.
> 
> Using dynamic allocated memory to store static data is not so good.
> Since we know RBL domains at compile time, how about ...
> 
>   struct rbl {
> char *site;
> unsigned int rating;
>   } rblsites[] = {
> { "rbl.maps.vix.com", 16},
> { "dul.maps.vix.com", 8},
> { "relays.mail-abuse.org", 4},
> { "outputs.orbs.org", 2},
> { "relays.orbs.org", 1},
> { NULL, 0 }
>   };
> 
>   struct rbl *ptr;
> 
> ... and ...
> 
>   rblfiltered = 0;
>   for (ptr = rblsites; ptr->site != NULL; ptr++)
>   {
> if (max_rating >= ptr->rating)
> {
>   response = rblcheck(a, ptr->site, txt);
>   if (response)
> rbfiltered += ptr->rating;
> }
>   }
> 
>   return rbfiltered;
> }
> 
> ... ?



Re: UUCP Setup

2000-11-06 Thread Frank Tegtmeyer


> How do we setup Qmail to deliver mail fetched over UUCP to the local pop 
> mailboxes.?

Use the rmail program included in the BSMTP package on www.qmail.org

> 2. How does the server Q1 send outgoing email to the central server Q2? We 
> have considered using SMTP, but since the dial up connection is available 
> only for less than an hour daily, it will not be possible for Qmail to pump 
> out all queued emails during that period. Can UUCP solve this problem?

Yes. Deliver to a maildir and use maildir2bsmtp from the above mentioned 
package.

Regards, Frank 



Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Peter van Dijk

On Mon, Nov 06, 2000 at 07:17:23AM -0800, Matt Brown wrote:
[snip]
> > In Apache, pre-forking is useful because it is one big fat whale.
> > 
> > If you take a look at WN, for example (http://www.wnserver.org/), that
> > doesn't pre-fork, you'll see that it shows similar or better
> > performance.
> 
> I know Dan has commented on this kind of thing before, and I'm sure
> he'd actually tested it.  The gist of his comments as I remember was
> that fork() and exec() have gotten an unjustified bad reputation among
> UNIX programmers which they DO NOT DESERVE.  Forking a small process
> is quite cheap, and exec is even cheaper.

Right now, fork() and exec() (funny how exec() actually doesn't exist :)
are the only calls that I trust to be portable over a wide range of
UNIXes.

> I think expending effort on an ugly hack of an optimization like this
> is poorly considered when there are far more fundamental causes of
> poor performance than this in qmail.

Very correct. Useful things would possibly be redesigning the scheduler
so that high concurrency could be reached much faster while injection is
still happening.

Even djb states (in THOUGHTS?) that there is room for improvement.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Markus Stumpf

On Sun, Nov 05, 2000 at 11:15:50AM -0700, Sean Reifschneider wrote:
> Unless you're running a file-system that doesn't do effectively a
> linear scan of a directory for every insert and remove operation,
> keeping the todo small is a very good idea.  Otherwise you chew up
> a lot of time in the kernel.  That's why I said it's a good idea
> to have a scheduler that gives precedence to the todo queue.  Why
> do you disagree?

I totally agree with the performance gain of the big todo patch on such
systems.
However, if you e.g. have a busy "incoming" server I don't see why it
would be good to give precedence to processing the incoming queue.
IMHO you can't generalize that. It heavily depends on the sort of
messages you receive.
If within one loop of the scheduler you always have one incoming
message with one remote delivery it's a pari situation, but if
you always have one incoming message with more than one remote delivery
it would be IMHO better to priorize deliveries.

> >Sorry? No you can't, at least not with a lot of the bounces. If
> >qmail-remote gets a permantent error, it signals back to qmail-send
> >and a bounce is generated internally (i.e. injected into the queue).
> >You can't avoid this happen locally.
> 
> Sorry?  Yes you can.  If it's important to you to do so, simply move
> into place a qmail-queue which injects the messages into the other queue.
> If you're still injecting into the main queue at this time, you'll need
> to call qmail-queue directly.  It all comes down to how important it
> is to you to get better performance.

Ok, thats a valid point :-)
I'll try setting up a second queue (i.e. for bounces) on the "waving"
server and see if performance changes.

> The images posted previously suggest that their biggest problem was with
> remote bounces, however.  If they were local bounces, I would expect to
> have seen consistently lower performance, but the way it looked to me
> was that delivery would pick up quite nicely and run for a while until
> remote hosts started turning around a bunch of bounces.  That was just
> a guess, but it seemed not entirely an unreasonable one.

In the first image (wavy server) the MX of the sender address is set to
another server. The slow down because of bounces are those bounces that
get a permanent error directly from qmail-remote.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Unsubscribe qmail (fpo)

2000-11-06 Thread Franck PORCHER

unsubscribe qmail




Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Sean Reifschneider

On Sun, Nov 05, 2000 at 06:48:38PM +0100, Markus Stumpf wrote:
>I think there shouldn't be one queue in the scheduler. There's IMHO no
>need to have the scheduler do both: insert new messages and schedule
>deliveries. the big-todo patch has nothing to do with it. it just

Unless you're running a file-system that doesn't do effectively a
linear scan of a directory for every insert and remove operation,
keeping the todo small is a very good idea.  Otherwise you chew up
a lot of time in the kernel.  That's why I said it's a good idea
to have a scheduler that gives precedence to the todo queue.  Why
do you disagree?

>Sorry? No you can't, at least not with a lot of the bounces. If
>qmail-remote gets a permantent error, it signals back to qmail-send
>and a bounce is generated internally (i.e. injected into the queue).
>You can't avoid this happen locally.

Sorry?  Yes you can.  If it's important to you to do so, simply move
into place a qmail-queue which injects the messages into the other queue.
If you're still injecting into the main queue at this time, you'll need
to call qmail-queue directly.  It all comes down to how important it
is to you to get better performance.

The images posted previously suggest that their biggest problem was with
remote bounces, however.  If they were local bounces, I would expect to
have seen consistently lower performance, but the way it looked to me
was that delivery would pick up quite nicely and run for a while until
remote hosts started turning around a bunch of bounces.  That was just
a guess, but it seemed not entirely an unreasonable one.

Sean
-- 
 Hack the man.
 VOTE!  November 7, 2000
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Qmail madness? (2)

2000-11-06 Thread Paul


Hi all,

I think I found the problem and fixed it, by removing the 'stream' for
qmail-smtpd in /etc/inetd.conf

So no more need to look into this problem.

Regards
Paul

--
Oyster (n.): a person who sprinkles his conversation
with Yiddish expressions.

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
  -=PINE 4.21 on Linux Mandrake 7.1=-
-- Forwarded message --
Date: Sun, 5 Nov 2000 21:13:11 +0100 (CET)
From: Paul <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Qmail madness?


Hello,

I had to reinstall part of my system, and since then qmail is acting
strangely. I have tried to locate the answer in the archives, but I cannot
find it.

When I dial into my ISP, qmail now starts downloading incoming mail by
itself. It did not do that before. In itself this is not a terrible thing,
but the mail that is retrieved is dumped into the alias-directory that I
set up for serialmail. This directory usually just contains the mail I
want to send out.

Can anyone please tell me how to prevent qmail from downloading my
e-mails? I usually get that with Getmail, this puts things where they
belong.

Regards,
Paul

--
Oyster (n.): a person who sprinkles his conversation
with Yiddish expressions.

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
  -=PINE 4.21 on Linux Mandrake 7.1=-






Re: Quota on outgoing mail

2000-11-06 Thread Markus Stumpf

On Sat, Nov 04, 2000 at 11:06:31AM -0800, [EMAIL PROTECTED] wrote:
> And once you have that limit in place, just make sure your users don't
> send two mails of half the size to get around this limit...

Also that will only work for eMails injected via SMTP. Real "local"
users that inject via qmail-inject can still send messages of any size.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



RE: QMail is't starting....

2000-11-06 Thread Javier Morquecho Morquecho

Thanks Joost...

I just solved my problem with the 25 port (I was wrong the initd.conf
file), but right now I have problem with the 110 port...this is the error :
telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

any idea...??

Thanks in advance...

Ing. J@vier Morquecho Morquecho
Cedetel
Desarrollo de proyectos comerciales
Tel : 177-10-87
Cel : 177-00-87
e-mail : [EMAIL PROTECTED]
e-movil   : [EMAIL PROTECTED]
Home Cedetel : http://www.cedetel.com.mx

"#define QUESTION ((bb) || !(bb))// Shakespeare"



-Mensaje original-
De: Joost van Baal [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado 4 de Noviembre de 2000 5:13 PM
Para: Javier Morquecho Morquecho
CC: [EMAIL PROTECTED]
Asunto: Re: QMail is't starting


On Thu, Nov 02, 2000 at 04:20:29PM -0600, Javier Morquecho Morquecho wrote:
>
>   I just instaled QMail, but it is not starting, I can not  to telnet to my
> machine by 25 or 110 ports (I can to do a normal telnet), where can to
check
> ??, I'm using RedHat

What exactly happens when you telnet to port 25? Do you get a telnet thingie
like `Escape character is '^]'.' ?
What does your startup script look like? Did you look at your logfiles? What
do they say?

Joost

--
  . .
Joost van Baal   .   .
 .   .  http://mdcc.cx/
  . .




Qmail madness?

2000-11-06 Thread Paul


Hello,

I had to reinstall part of my system, and since then qmail is acting
strangely. I have tried to locate the answer in the archives, but I cannot
find it.

When I dial into my ISP, qmail now starts downloading incoming mail by
itself. It did not do that before. In itself this is not a terrible thing,
but the mail that is retrieved is dumped into the alias-directory that I
set up for serialmail. This directory usually just contains the mail I
want to send out.

Can anyone please tell me how to prevent qmail from downloading my
e-mails? I usually get that with Getmail, this puts things where they
belong.

Regards,
Paul

--
Oyster (n.): a person who sprinkles his conversation
with Yiddish expressions.

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
  -=PINE 4.21 on Linux Mandrake 7.1=-





Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Markus Stumpf

On Sun, Nov 05, 2000 at 10:21:58AM -0700, Sean Reifschneider wrote:
> Giving precidence to processing the todo queue seems like a good idea,
> especially if you don't have the big-todo patch applied.

I think there shouldn't be one queue in the scheduler. There's IMHO no
need to have the scheduler do both: insert new messages and schedule
deliveries. the big-todo patch has nothing to do with it. it just
speeds up access time on some filesystems.

> >well administrated and even after the queue has reached a status where
> >you have no unprocessed messages at one point the bounces slow down
> >qmail quite a lot.
> 
> Sounds like a good case for setting up a second qmail, one just for pumping
> mail out while another is handling bounces.

Sorry? No you can't, at least not with a lot of the bounces. If
qmail-remote gets a permantent error, it signals back to qmail-send
and a bounce is generated internally (i.e. injected into the queue).
You can't avoid this happen locally.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Matt Brown

Peter van Dijk <[EMAIL PROTECTED]> writes:

> On Thu, Nov 02, 2000 at 04:52:50PM -0700, Sean Reifschneider wrote:
> [snip]
> > The first thing to do about this if you want to implement it is to
> > find out exactly WHY apache chose to do it that way.  What were they
> > hoping to resolve with that, and did it actually achieve the desired
> > results?
> 
> In Apache, pre-forking is useful because it is one big fat whale.
> 
> If you take a look at WN, for example (http://www.wnserver.org/), that
> doesn't pre-fork, you'll see that it shows similar or better
> performance.

I know Dan has commented on this kind of thing before, and I'm sure
he'd actually tested it.  The gist of his comments as I remember was
that fork() and exec() have gotten an unjustified bad reputation among
UNIX programmers which they DO NOT DESERVE.  Forking a small process
is quite cheap, and exec is even cheaper.

I think expending effort on an ugly hack of an optimization like this
is poorly considered when there are far more fundamental causes of
poor performance than this in qmail.

-Matt

-- 
| Matthew J. Brown - Senior Network Administrator - NBCi Shopping |
| 1983 W. 190th St, Suite 100, Torrance CA 90504  |
|  Phone: (310) 538-7122|  Work: [EMAIL PROTECTED]  |
|   Cell: (714) 457-1854|  Personal: [EMAIL PROTECTED]   |




Re: odd error - with /etc/qmail/aliases ?!?

2000-11-06 Thread Brett Randall

On Sun, 05 Nov 2000, [EMAIL PROTECTED] wrote:

> Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/

One of your .qmail* files somewhere on your system has the line:
/etc/qmail/aliases
or
/etc/qmail/aliases/

Unless you are using an unusual qmail distribution, or you modified
the source/applied an unknown patch.

Brett.
-- 
>... File not found. Should I fake it? (Y/N)



RE: queue problem

2000-11-06 Thread Tim Hunter

This means your queue is screwed up, try running make setup check from the
qmail dir.

-Original Message-
From: Sebastian [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 9:10 AM
To: qmail liste
Subject: queue problem


hello,

I have succesfully installed qmail on my local system.
How I connect via telnet to my server and write
a mail. It works pretty fine, but at the end
of the smtp session he says "451 qq trouble creating files in queue
(#4.3.0)",
what does that mean and where can I get information about
this error?

Thanks
Sebastian





Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Sean Reifschneider

On Fri, Nov 03, 2000 at 01:00:10AM +0100, Markus Stumpf wrote:
>qmail doesn't use concurrencies to their max as long as there are still
>unprocessed messages in the queue or the deliveries generate a lot of
>bounces.

Giving precidence to processing the todo queue seems like a good idea,
especially if you don't have the big-todo patch applied.

>well administrated and even after the queue has reached a status where
>you have no unprocessed messages at one point the bounces slow down
>qmail quite a lot.

Sounds like a good case for setting up a second qmail, one just for pumping
mail out while another is handling bounces.

>I think a big gain in performance would be to split up the scheduler
>in qmail-send into at least one for remote, one for locals and one
>for sorting in new messages into the remote or local queue.

Maybe some profiling on qmail-send would be appropriate...

Sean
-- 
 Hack the government.
 VOTE!  November 7, 2000
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Sean Reifschneider

On Fri, Nov 03, 2000 at 11:38:24AM +, Greg Cope wrote:
>Hence to improve performance inject should be split up i.e inject 2000,
>wait, inject another 2000.  In the wait times concurrency remote would
>be reached.

I always felt that it wasn't that useful to have the concurrency hit,
until the injection was completed.  It takes time to ramp up and down
from full concurrencyremote.  During this time you're not reaching
full performance for either sending or injection.  Unless you're out
of space on the queue device.

>Any ideas on what a good number to try would be for inject / wait cycle
>?

You don't want your todo to get too big, I'd pause injection when the todo
gets to be a few hundred messages, especially if you aren't using the
big-todo patches.

Sean
-- 
 Hack the government.
 VOTE!  November 7, 2000
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: Quota on outgoing mail

2000-11-06 Thread Peter van Dijk

On Sat, Nov 04, 2000 at 07:49:57PM +0100, Jens Georg wrote:
> hi peter,
> 
> > > are making constant overloads on my bandwidth...
> > 
> > echo 10485760 > /var/qmail/control/databytes
> 
> is this really enough ? i remember to read once that qmail has to be
> compiled specially to use this feature.

qmail-smtpd instantly picks up this setting, no need for recompiles or
restarts.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: Error Code

2000-11-06 Thread Adrian Turcu

Wesley Darlington wrote:
> 
> Hi Adrian,
> 
> Check your `ulimit's?
> 
> Wesley.
> 
> On Fri, Nov 03, 2000 at 07:48:22PM +0200, Adrian Turcu wrote:
> > Hello,
> >
> > I am using qmail v1.03 on RedHat 6.2 system.
> > After installation, when I try to test the mail-server locally
> > I got the following error:
> >
> >  unable to exec qq (#4.3.0)
> >
> > What happen ?
> > The installation is for Maildir.
> >
> > I am using qmail for some times, but never get this message until now (it is 
>always a beginning)
> >
> > Thank you in advance,
> >
> > Adrian Turcu
> > E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]

Hi,

I have this problem only when I use what it's called "DRBD" device.
This device is like NBD and RAID-1 (mirroring) if it sounds you familiar.

Well, when I mount this device, everything looks fine until qmail try to 
do something with its queue, because when I mount local device (hdd) and run
the same configuration qmail works fine (without errors and fast deliveries).

It could be related to this kind of device (DRBD) ? If so, why ?
What is the procedure of qmail server when try to queue ? It is
a special procedure (I found somewhere in docs, that qmail identify
messages using references on disk - inodes) ?

Thanks,

-- 
Adrian Turcu
System Administrator
 Computers Department
 Romanian Railway Company
 Constanta Region
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
Phone:  +40 92 563791 (any time)
+40 43 363977 (home)



odd error - with /etc/qmail/aliases ?!?

2000-11-06 Thread Greg Cope


Dear All

I've setup a qmail / vpopmail combo and added a Virtual domain.  This
machine is not connected to the internet (I am using it for local
testing / install scripts for a bunch of servers).

It delivers to know address fine - but when I send a message to a
nonexistant_address@existing_domain I get the log entries below (no
funny what do the logs say ... comments ;-).

I know I am missing something simple - but why is qmail looking in
/etc/qmail/aliases ?!?!

in /var/qamil/aliases/.qmail-postmaster is:

&[EMAIL PROTECTED]

Is this mix up due to the fact that I do not have a DNS entry for
localhost.localdomain (obviously!) and that gjjc@rubber ... is a non
local address ?

Clues for this cluess admin welcome!

Greg


@40003a05b4f52c665734 info msg 114975: bytes 736 from <> qp 15484
uid 107
@40003a05b4f5371a50cc starting delivery 3: msg 114975 to local
[EMAIL PROTECTED]
@40003a05b4f5371b9cd4 status: local 1/10 remote 0/220
@40003a05b4f5380be48c delivery 3: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
@40003a05b4f601acd734 status: local 0/10 remote 0/220
@40003a05b4f60ad7e6dc bounce msg 114975 qp 15487
@40003a05b4f60c685694 end msg 114975
@40003a05b4f61116fe0c new msg 114974
@40003a05b4f6111a596c info msg 114974: bytes 1215 from <#@[]> qp
15487 uid 107
@40003a05b4f619ef9084 starting delivery 4: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b4f619f0d4bc status: local 1/10 remote 0/220
@40003a05b4f61a922d6c delivery 4: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b4f61a9394cc status: local 0/10 remote 0/220
@40003a05b55b1a0aec6c starting delivery 5: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b55b1a0c4fe4 status: local 1/10 remote 0/220
@40003a05b55b1aa4a3fc delivery 5: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b55b1aa60774 status: local 0/10 remote 0/220
@40003a05b6880ebcc22c starting delivery 6: msg 114974 to local
[EMAIL PROTECTED]
@40003a05b6880ebcf4f4 status: local 1/10 remote 0/220
@40003a05b6881078453c delivery 6: deferral:
Unable_to_switch_to_/etc/qmail/alias:_file_does_not_exist._(#4.3.0)/
@40003a05b68810787bec status: local 0/10 remote 0/220
@40003a05b87b0fed7614 starting delivery 7: msg 114974 to local
[EMAIL PROTECTED]



serialsmtp: fatal: network read error: no error

2000-11-06 Thread Michael Renner

Hi,
I installed qmail and serialmail and configured it,
that outgoing mail is queue in ~alias/pppdir.
That work fine.
But the system will to sent the mails out:
gemini:/root # maildirsmtp ~alias/pppdir alias-ppp- mail.gmx.de 
mpik180.kyb.tuebingen.mpg.de
serialsmtp: fatal: network read error: no error
serialsmtp: fatal: network read error: no error
serialsmtp: fatal: network read error: no error
maildirserial: fatal: making no progress, giving up

The host mail.gmx.de is the smtp server from my
ISP. It is reachable. mpik180.kyb.tuebingen.mpg.de
is the 'official' hostname of my linux box.

When I sent mail from the mailclient direct to
the isp, everything works fine.

What can be wrong?
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-72072 Tuebingen   Germany|
|Germany Don't drink as root!  ESC:wq



Re: SPAM - Help!

2000-11-06 Thread Brett Randall

On Fri, 27 Oct 2000, [EMAIL PROTECTED] wrote:

> I've temporary created this unknows user, but how can I stop
> this? I can't remove the domain of my list of virtual domains
> because there are more then 100 valid users to this domain...

I find a bit of detective work never goes astray. Look at the Received
headers, see if you can tell the first SMTP server it comes from. Test
it to see if it is an open relay. If it is, you're in trouble because
it is hard to track them. If it isn't, the spam is being sent from a
user authorised to use that server. Easy solution? Create a
~alias/.qmail-user that contains &[EMAIL PROTECTED] or
&postmaster@[ip.addr.of.relay] and let their postmaster deal with it.

Brett.
-- 
"I don't have anything against geeks. I was one for 11 years! I used
to think PC's were the greatest thing since sliced bread... Then
someone showed me sliced bread."



UUCP Setup

2000-11-06 Thread Ruchir Chandra

Hi Everyone

We need transfer emails using UUCP.

The n/w consists of a QMail server (Q1) which needs to fetch/send mails 
from a central qmail server (Q2) using UUCP over dialup. Now the fetching 
of emails is partly complete.

We have two problems.

1. Qmail on server Q1 is unable to deliver the mail fetched over UUCP to 
the local POP mailboxes.
How do we setup Qmail to deliver mail fetched over UUCP to the local pop 
mailboxes.?

2. How does the server Q1 send outgoing email to the central server Q2? We 
have considered using SMTP, but since the dial up connection is available 
only for less than an hour daily, it will not be possible for Qmail to pump 
out all queued emails during that period. Can UUCP solve this problem?

Any help would be greatly welcomed.

Thanks
Ruchir




Re: tcpserver dying?

2000-11-06 Thread markd

Was it started at reboot or did you start it manually?
If the latter, did it exit when the login session that started it,
logged out?

How about now? How did you restart it? Reboot or manually?
If the latter, is that login session still going?

Regards.


On Mon, Nov 06, 2000 at 08:57:10AM -0500, Hubbard, David wrote:
> Hi all, does anyone know why tcpserver would die?  I have
> a lightly hit server and discovered that it was not servicing
> pop3 requests anymore, tcpserver was not running.  The
> only non-standard things I'm doing is authenticating with
> vchkpw from the vpopmail software.  It started right back up
> but I see no reason why it would have stopped.
> 
> Here's how I start it:
> 
> case "$1" in
>   start)
> # Start daemons.
> echo -n "Starting the POP3 daemon: "
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -v -g 200 -u 407 -p -R 0 pop3 \
> /var/qmail/bin/qmail-popup my.server.com \
> /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
> 2>&1 | \
> /var/qmail/bin/splogger pop3 20 &
> echo "Done."
> ;;
> 
> 
> Thanks,
> 
> David



queue problem

2000-11-06 Thread Sebastian

hello,

I have succesfully installed qmail on my local system.
How I connect via telnet to my server and write
a mail. It works pretty fine, but at the end
of the smtp session he says "451 qq trouble creating files in queue
(#4.3.0)",
what does that mean and where can I get information about
this error?

Thanks
Sebastian




Re: high performance configs [was: Blocked pipe to qmail-queue]

2000-11-06 Thread Sean Reifschneider

On Sun, Nov 05, 2000 at 07:39:42PM +0100, Markus Stumpf wrote:
>If within one loop of the scheduler you always have one incoming
>message with one remote delivery it's a pari situation, but if
>you always have one incoming message with more than one remote delivery
>it would be IMHO better to priorize deliveries.

If you always have more than one new message on each loop of the
scheduler, your system is not going to be able to catch up unless
you can make the scheduler loop more often.  ;-)

The problem is that it's fairly easy to create traffic which causes
the todo queue to grow faster than it can be processed.  At one point
a few years ago I had tweeked with building an SMTP system that could
handle injecting messages into a queue much faster than qmail, and I
had relative success.  Let me run that test again...  Nearly 400
3KB messages per second.  I really should find time to work on that
system again...

Sean
-- 
 America has the best government money can buy!
 VOTE!  November 7, 2000
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



SMTP Server test failed

2000-11-06 Thread Christophe . Andreoli



I tested SMTP on my qmail installation  (installed with "life with Qmail")
with TEST.receive


1. SMTP server test: Forge some mail locally via SMTP. Replace ``me''
   with your username and ``domain'' with your host's name.
   % telnet 127.0.0.1 25
   Trying 127.0.0.1...
   Connected to 127.0.0.1.
   Escape character is '^]'.
   220 domain ESMTP
   helo dude
   250 domain
   mail 
   250 ok
   rcpt 
   250 ok
   data
   354 go ahead
   Subject: testing

   This is a test.
   .
   250 ok 812345679 qp 12345
   quit
   221 domain

Everything worked fine at the shell but I couldn't find the test email in
the gast Mailbox  ? Why could be the reason ?

   Thanks!





Re: Error Code

2000-11-06 Thread Adrian Turcu

Wesley Darlington wrote:
> 
> Hi Adrian,
> 
> Check your `ulimit's?
> 
> Wesley.
> 
> On Fri, Nov 03, 2000 at 07:48:22PM +0200, Adrian
Turcu wrote:
> > Hello,
> >
> > I am using qmail v1.03 on RedHat 6.2 system.
> > After installation, when I try to test the
mail-server locally
> > I got the following error:
> >
> >  unable to exec qq (#4.3.0)
> >
> > What happen ?
> > The installation is for Maildir.
> >
> > I am using qmail for some times, but never get
this message until now (it is always a
beginning)
> >
> > Thank you in advance,
> >
> > Adrian Turcu
> > E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]

Hi,

I have this problem only when I use what it's called
"DRBD" device.
This device is like NBD and RAID-1 (mirroring) if it
sounds you familiar.

Well, when I mount this device, everything looks fine
until qmail try to 
do something with its queue, because when I mount
local device (hdd) and run
the same configuration qmail works fine (without
errors and fast deliveries).

It could be related to this kind of device (DRBD) ? If
so, why ?
What is the procedure of qmail server when try to
queue ? It is
a special procedure (I found somewhere in docs, that
qmail identify
messages using references on disk - inodes) ?

Thanks,

-- 
Adrian Turcu
System Administrator
 Computers Department
 Romanian Railway Company
 Constanta Region
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
Phone:  +40 92 563791 (any time)
+40 43 363977 (home)

__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/



Re: Quota on outgoing mail

2000-11-06 Thread Jens Georg

hi,

> > Yes, this really is all that needs to be done---no special compiling or
> > patches.  Read the man pages and you'll see. ;-)
> 
> And once you have that limit in place, just make sure your users don't
> send two mails of half the size to get around this limit...
> 
> databytes will stop naive dis-interested users, but not determined naive users.

so, what does seeting ../control/databytes i.e. to 1meg exactly do ?
noone can send or receive emails larger than 1meg with the qmail system ?

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



tcpserver dying?

2000-11-06 Thread Hubbard, David

Hi all, does anyone know why tcpserver would die?  I have
a lightly hit server and discovered that it was not servicing
pop3 requests anymore, tcpserver was not running.  The
only non-standard things I'm doing is authenticating with
vchkpw from the vpopmail software.  It started right back up
but I see no reason why it would have stopped.

Here's how I start it:

case "$1" in
  start)
# Start daemons.
echo -n "Starting the POP3 daemon: "
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -v -g 200 -u 407 -p -R 0 pop3 \
/var/qmail/bin/qmail-popup my.server.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
2>&1 | \
/var/qmail/bin/splogger pop3 20 &
echo "Done."
;;


Thanks,

David



Re: SPAM - Help! - my solution

2000-11-06 Thread Petr Danecek


Hello,

I have been having exactly the same problem. I solved it
by creating an empty ~alias/.qmail-default file. After this, my server 
accepts (and immediately forgets) all error messages comming to
[EMAIL PROTECTED]

Petr



On Fri, 27 Oct 2000, Ari Arantes Filho wrote:

> Hello,
> 
> Someone is using another smtp server to send a very big spam, but they
> write the header with FROM = an unknown user of one of my virtual domains,
> so postmasters keep sending bounce messages or autoresponders to this
> unknown user and my postmaster is receving more than 1 emails.
> 
> I've temporary created this unknows user, but how can I stop this? I
> can't remove the domain of my list of virtual domains because there are more
> then 100 valid users to this domain...
> 
> The spammer is from USA and I'm from Brazil, I don't known this f...
> 
> I really need help!!!
> 
> Thanks,
> 
> Ari
> 
> 
> 

-- 





SMTP-Autenticating without being root

2000-11-06 Thread Christopher Suarez


Hi, I'm using the patch found at members.elysium.pl/brush/qmail-smtpd-auth
to autenticate senders. My problem is that I have to run it (through
inetd) as root, in order for it to work, my inetd.conf has the following
entry:

smtp   stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
/var/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true

That configuration only works if i substitute qmaild with root. I have
tried chmoding /etc/shadow so qmaild can read it. I've also set so qmaild
can execute /bin/checkpassword.

Now, I know you're supposed to run qmaild through tcpserver nowadays, but
I can't seem to get that to work with another user except from root
either.


Anyone with a clue? The logs don't show anything unnormal as I can see.

Thanks

/Chris