qmail Digest 12 Nov 1999 11:00:01 -0000 Issue 818

Topics (messages 32818 through 32918):

Re: qmail, Linux, and NetApp/NFS
        32818 by: Pedro Melo
        32819 by: Pedro Melo

more mailq questions
        32820 by: scott f. lanes
        32833 by: Dave Sill
        32844 by: Anand Buddhdev

Qmail - Address Rewrite
        32821 by: Subba Rao
        32824 by: Russell Nelson

Re: qmail-1.03-maxrcpt.patch
        32822 by: Russell Nelson
        32825 by: Andres Mendez
        32837 by: Magnus Bodin
        32839 by: Mikko H�nninen
        32845 by: Anand Buddhdev

vpopmail installation error
        32823 by: john
        32828 by: Peter Green
        32841 by: Ken Jones

qmailanalog question
        32826 by: jkk.techno-link.com

Re: Prepatched IMAP anyone?
        32827 by: Mirko Zeibig
        32885 by: Sam

Queuing question...
        32829 by: John P. Looney
        32831 by: Chris Johnson
        32835 by: John P. Looney

Big DNS-patch also for t-online.de required
        32830 by: Frank Tegtmeyer

New Document for Qmail install
        32832 by: Subba Rao

Re: Permission bits
        32834 by: Dave Sill

Re: how to give preference to qmail-remote over qmail-smtpd?
        32836 by: Dave Sill

Re: qmail tuning question
        32838 by: Dave Sill
        32855 by: Markus Stumpf
        32887 by: scott f. lanes
        32890 by: Fred Lindberg
        32892 by: scott f. lanes
        32899 by: Fred Lindberg

Virus?
        32840 by: Derek Harkness

Message sequence/ordering when using MAILDIR format
        32842 by: Curtis Generous
        32843 by: Petr Novotny
        32846 by: Russell Nelson
        32847 by: Curtis Generous
        32849 by: Curtis Generous
        32851 by: Russell Nelson

Patches for badmailfrom and RCPT max qty
        32848 by: Martin Paulucci

Global .qmail file
        32850 by: Derek Callaway
        32852 by: Chris Johnson
        32853 by: Derek Callaway
        32854 by: Petr Novotny

mailquotacheck
        32856 by: Luis Bezerra
        32857 by: Petr Novotny

Re: Creating a Structured Directory in Qmail for Users
        32858 by: Bruce Guenter

Large message killing system
        32859 by: Matthew Callaway
        32860 by: Matthew Callaway
        32862 by: Dave Sill

mailquotacheck one more time
        32861 by: Luis Bezerra

Unknown command in qmail startup/shutdown script
        32863 by: Nicole & Ron McIntosh
        32866 by: Dave Sill
        32867 by: eric
        32868 by: Nicole & Ron McIntosh
        32869 by: Dave Sill
        32870 by: Nicole & Ron McIntosh

one more time mailquotacheck
        32864 by: Luis Bezerra

Re: qmail remote delivery logic
        32865 by: Dave Sill

qmail-pop3d message ordering (fwd)
        32871 by: Derek Callaway
        32874 by: Russell Nelson

Okie i think just one more question
        32872 by: Nicole & Ron McIntosh
        32873 by: Dave Sill
        32876 by: Nicole & Ron McIntosh
        32877 by: Dave Sill
        32880 by: Nicole & Ron McIntosh
        32881 by: Dave Sill

Newbie (if u could not tell)
        32875 by: Michael M. Honse
        32878 by: Dave Sill
        32882 by: Michael M. Honse

Ricardo Cerqueira and qmail-1.03-maxrcpt.patch
        32879 by: Andres Mendez

tcpserver/qmail-pop3d/checkpasswd command
        32883 by: Nicole & Ron McIntosh

RBL
        32884 by: Noah Sutherland

tcpserver fatal error
        32886 by: Nicole & Ron McIntosh
        32896 by: Nicole & Ron McIntosh

badmailfrom
        32888 by: Eldar Imangulov
        32909 by: Markus Stumpf

logging confusion..
        32889 by: Marc-Adrian Napoli

Big Todo Patch
        32891 by: Eric Huss
        32893 by: Russell Nelson
        32898 by: David Villeger

VPOPMAIL CONFIGURING PROBLEM - Urgent
        32894 by: john

Starting POP3 service - Clear Document
        32895 by: john
        32910 by: Markus Stumpf

problems with multiple instances of qmail.
        32897 by: Dongping Deng
        32911 by: Markus Stumpf

Maildrop samples
        32900 by: Subba Rao
        32904 by: Benjamin de los Angeles Jr.

Vpopmail-3.4.10 with RH6.1 problem
        32901 by: john
        32906 by: Ken Jones

Stop Delivery of Incoming Mail Temporarily
        32902 by: Carl Perry
        32907 by: Adam Michaud
        32912 by: Markus Stumpf

Mail abuse in syslog
        32903 by: Subba Rao
        32913 by: Markus Stumpf

pop3 How To
        32905 by: john
        32908 by: Benjamin de los Angeles Jr.
        32916 by: Doug Lumpkin

Vchkpw
        32914 by: eric

Re: delivery to a directory
        32915 by: Florian G. Pflug

anybody using smtp-auth with qmail ?  (NOT smtp after pop)
        32917 by: Olivier M.

Benchmark of Qmail SMTPD
        32918 by: Hotdog

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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



On 19-Oct-99 Arnold, Josh A. wrote:
> Based on everything I've been able to gather, the ultimate solution consists
> of multiple qmail servers accessing a NetApp filer via NFS.  In the past, I
> had heard that Linux's NFS implementation was somewhat buggy.  I'm sure that
> it has since been made more robust, however I'm curious if anyone else is
> using a similar setup on a large scale?  I'd be interested in hearing about
> any setups that involve multiple servers accessing a NetApp filer.  Finally,
> with cost being much less important than scalability, performance, etc. what
> would typically be the bottleneck in a setup like this?  The connection from
> the servers to the filer will be gigabit ethernet.  If it makes sense, I'll
> throw quad xeon/1G ram/etc. on all the servers, but I suspect most of it
> would be wasted.  Thanks.

300.000 users and counting... LInux, NFS. No ldap yet, but going there... Mysql
and dump to CDB databases to manage users... Use 2.2.13, SMP is probably not a
safe choice with NFS rigth now, we are keeping away from it for now... Follow
Alan Cox's diary to see NFS/SMP issues... Follow AC kernel's if you have to go
that way.

Bottleneck? assuming that you have enough horse power, bandwith is the issue...
Use Intel boxen. Put at least a scsi drive in each frontend for queue. 

buy a alteon switch (ace director 3 is enough). Put http and smtp on each box,
create a virtual ip on alteon switch and put all the the boxes on the same
group (alteon stuff). Use different interfaces for each service (alteon bug).

Assuming you have a vip (alteon stuff) for smtp, put 2 mx records
(primary and secondary) pointing to the same ip address (hotmail trick, finally
understood it :)

use nocol or similar to monitor services, and mrtg to see what's going on (have
new stuff to mrtg monitor a qmail system... will clean up and send).

have fun, lot's of tea, sit back and relax... been doind netapps+linux+alteon
for a year now... No complains, no downtime. just works

---
Pedro Melo <[EMAIL PROTECTED]>
IP - Engenharia de Rede <http://ip.pt/>
Av. Duque de Avila, 23, 1049-071 LISBOA - PORTUGAL
tel: +351 21 3166740/00 (24h/dia) - fax: +351 21 3166701





On 20-Oct-99 Russell Nelson wrote:
> Arnold, Josh A. writes:
>  > Based on everything I've been able to gather, the ultimate solution
> consists
>  > of multiple qmail servers accessing a NetApp filer via NFS.
> 
> Not completely obvious.  It might be more efficient to have a server
> dedicated to a subset of the mailboxes, and for the smtp front-ends to
> run a variant of qmail-qmqpc to queue the mail on the appropriate
> machine based on the recipient.  I don't know -- I haven't yet had a
> customer who needed that kind of solution who was starting from
> scratch.  Most of them have found that sendmail simply isn't up to the
> task of dealing with more than a few tens of thousands of mailboxes,
> and want me to transition them to qmail.

big mail systems have two classic archs:
 - single (or multiple) nfs store with multiple frontends: in this case all the
   frontends view all the mailboxes, and the client can use any one to access
   his mail. the botleneck here (assuming bandwith is no problem nor is horse
   power) is the cdb/database to store the user info. It get's big. Ldap is the
   solutiong here. So, Netapps (two with the mirroring option), gigabit
   interconnnection with jumbo frames, alteons to loadbalence the frontends,
   and ldap to store the user info (use several ldap boxes and loadbalance them
   with alteon gear also) should get you to 1m users no probs.

 - distributed arch based on nodes simmilar to the previos setup. the entry
   point, a coupple of boxes alteon load balanced, redirects the user to the
   proper none. Scalability probs: bandwith only, imho.

ldap is king as you can see... use as soon as you can, and growth should not be
a problem.


---
Pedro Melo <[EMAIL PROTECTED]>
IP - Engenharia de Rede <http://ip.pt/>
Av. Duque de Avila, 23, 1049-071 LISBOA - PORTUGAL
tel: +351 21 3166740/00 (24h/dia) - fax: +351 21 3166701




when I run 'mailq' i get a list of adresses preceded by done and remote.
Exactly what does 'done' mean? Is this sent or is this processed waiting to
be sent?

sorry for the basic questins, I'm trying to figure this out....

-scott




"scott f. lanes" <[EMAIL PROTECTED]> wrote:

>when I run 'mailq' i get a list of adresses preceded by done and
>remote.

You mean "qmail-qread"?

>Exactly what does 'done' mean? Is this sent or is this processed waiting to
>be sent?

Delivered to the specified recipient.

-Dave




On Thu, Nov 11, 1999 at 07:18:08AM -0500, scott f. lanes wrote:

> when I run 'mailq' i get a list of adresses preceded by done and remote.
> Exactly what does 'done' mean? Is this sent or is this processed waiting to
> be sent?

"done" means it has been delivered. Unprocessed mail does not appear in
a "mailq" output.

-- 
See complete headers for more info





Hello

My Qmail is up and running fine. The only thing remaining
for now is the address rewriting. Right now my MUA (mutt) is doing
the rewriting of the address. If I were to use the local "mail"
command, then the address reverts back to my fake domain address
and the mail doesn't go anywhere.

How can I do address rewrites in Qmail? If anyone is doing
it now, I would appreciate a sample control file.
I would like to change the outbound address rewrite.

Thank you in advance.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/




Subba Rao writes:
 > How can I do address rewrites in Qmail?

Don't.  Get the address correct at the MUA level.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Andres Mendez writes:
 > Where is the new qmail-1.03-maxrcpt.patch?

Not needed.  qmail-smtpd respects the number in control/databytes .

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Could you explain something more?

I haven't understood you.

> Andres Mendez writes:
>  > Where is the new qmail-1.03-maxrcpt.patch?
> 
> Not needed.  qmail-smtpd respects the number in control/databytes .






On Thu, Nov 11, 1999 at 07:33:19AM -0500, Russell Nelson wrote:
> Andres Mendez writes:
>  > Where is the new qmail-1.03-maxrcpt.patch?
> 
> Not needed.  qmail-smtpd respects the number in control/databytes .

I think Andres meant Max RCPT-patch. Max number of RCPT in the SMTP-session,
you know? 

This URL can be found on http://www.qmail.org/

ftp://ftp.surfnetcity.com.au/pub/unix/qmail/qmail-1.01-maxrcpt.patch

/magnus

--
WOW! EXTRA WEEKEND NEXT YEAR! ------------> http://x42.com/datelab/




Magnus Bodin <[EMAIL PROTECTED]> wrote on Thu, 11 Nov 1999:
> ftp://ftp.surfnetcity.com.au/pub/unix/qmail/qmail-1.01-maxrcpt.patch

But wasn't the question about a patch for qmail 1.03, not 1.01?


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 /
"You can't have everything.  Where would you put it?"  -- Stephen Wright




On Thu, Nov 11, 1999 at 07:33:19AM -0500, Russell Nelson wrote:

> Andres Mendez writes:
>  > Where is the new qmail-1.03-maxrcpt.patch?
> 
> Not needed.  qmail-smtpd respects the number in control/databytes .

I think he means the patch which limits the number of RCPT's a client
can issue to qmail-smtpd, not the size of a message.

-- 
See complete headers for more info




When I was installing VPOPMAIL in RH 6.1 i issued the command
 
./configure
 
and then
 
make clean
 
immediately I got an warning message saying :
 
Warning : Clock skew detected. Your installation may be incomplete.
 
What could be the reason ?
 
Could anyone let me know




On Thu, Nov 11, 1999 at 08:44:50PM +0800, john wrote:
> When I was installing VPOPMAIL in RH 6.1 i issued the command
> 
> immediately I got an warning message saying :
> 
> Warning : Clock skew detected. Your installation may be incomplete.

This is a warning from 'make'. Whenever I see this message, it's because the
system clock has somehow gotten offtrack. Usually not a good sign, might be
a hardware (CMOS?) error.

/pg
-- 
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]




> john wrote:
> 
> When I was installing VPOPMAIL in RH 6.1 i issued the command
> 
> ./configure
> 
> and then
> 
> make clean
> 
> immediately I got an warning message saying :
> 
> Warning : Clock skew detected. Your installation may be incomplete.
> 
> What could be the reason ?
> 
> Could anyone let me know

It means you have REALLY fresh software.

Actually, it means the time on the machine that generated the files
(mine)
is newer than the time on your machine.

You can wait untill your's catches up with mine. Or you can do:

touch *

Then start again

make distclean
./configure
etc..

Ken




qmail-1.03, qmailanalog-0.70

I'm truing to make two quieries for a user:

1. Who the user sends mail to (and how many)?
2. Who the user receives mail from (and how many)?

So, I do the folloing with my processed "mail.log":

cat mail.log | xsender [EMAIL PROTECTED] | zrecipients
cat mail.log | xrecipient [EMAIL PROTECTED] | zsenders

The first one works fine, but the second one doesn't.
May be I'm wrong somewhere ...

Thanks for help.

---------------------------------------------
| Georgi Kupenov,     |                     |
| tel.: +359-2-9630641|     ProLink Ltd.    |
|       +359-2-9630651|                     |
---------------------------------------------





On Wed, Nov 10, 1999 at 03:55:27PM -0500, Denis Voitenko wrote:
> I have consistently failed to patch the IMAP source successfully so that it
> could work with Maildir. Does anyone have an already patched source that
> he'd be willing to share with me?

If this is a new system you might want to give mrsam's courier-imapd a
chance which will work with Maildir *only* and seems to be smaller/faster
than UW's.

Take a look at freshmeat.net and look for courier and imap to get the URL
(wasn't it posted to the list a few days back, then?).
Sorry, but could not find the URL in the source quikly.


Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads




Mirko Zeibig writes:

> On Wed, Nov 10, 1999 at 03:55:27PM -0500, Denis Voitenko wrote:
> > I have consistently failed to patch the IMAP source successfully so that it
> > could work with Maildir. Does anyone have an already patched source that
> > he'd be willing to share with me?
> 
> If this is a new system you might want to give mrsam's courier-imapd a
> chance which will work with Maildir *only* and seems to be smaller/faster
> than UW's.
> 
> Take a look at freshmeat.net and look for courier and imap to get the URL
> (wasn't it posted to the list a few days back, then?).
> Sorry, but could not find the URL in the source quikly.

The URL is http://www.inter7.com/courierimap/

One word of caution is that Netscape's IMAP client is horribly broken, and
it often sends IMAP commands that explicitly break the syntax specified in
RFC 2060.  I suppose that other IMAP servers grudgingly have been written
to accomodate Netscape's crap, but I'd rather have Netscape fix their
broken code instead.

As long as you're not using Netscape Communicator, it'll be OK.

-- 
Sam






 For some reason, qmail seems to be taking a long time (perhaps forever)
to deliver certain mails. Some mails seem to sit in the queue for ages,
and I can't work out how to discern why they are being delayed. It may
be that the destination host isn't there - but I can't tell that.
Sendmail was always nice enough to tell me if mails were being
delayed...how can I get qmail to tell me what's up ?

 Second, when I run a fetchmail, to get mails from a very remote host,
it dumps them in the local queue (fetchmail connects to port 25 locally,
for delivery). qmail-qstat shows them sitting there, and they are never
delivered - until I do something like "/etc/rc.d/init.d/qmail.init
restart" - and then they are delivered inside a second.

 Any ideas ?

John




On Thu, Nov 11, 1999 at 02:14:36PM +0000, John P. Looney wrote:
> 
>  For some reason, qmail seems to be taking a long time (perhaps forever) to
>  deliver certain mails. Some mails seem to sit in the queue for ages, and I
>  can't work out how to discern why they are being delayed. It may be that the
>  destination host isn't there - but I can't tell that.  Sendmail was always
>  nice enough to tell me if mails were being delayed...how can I get qmail to
>  tell me what's up ?

Check the logs.

>  Second, when I run a fetchmail, to get mails from a very remote host,
> it dumps them in the local queue (fetchmail connects to port 25 locally,
> for delivery). qmail-qstat shows them sitting there, and they are never
> delivered - until I do something like "/etc/rc.d/init.d/qmail.init
> restart" - and then they are delivered inside a second.

Check the permissions on /var/qmail/queue/lock/trigger. They sould look like
this:

prw--w--w-  1 qmails  qmail  0 Nov 11 09:38 /var/qmail/queue/lock/trigger

Chris




Chris Johnson wrote:
> On Thu, Nov 11, 1999 at 02:14:36PM +0000, John P. Looney wrote:
> >  For some reason, qmail seems to be taking a long time (perhaps forever) to
> >  deliver certain mails. Some mails seem to sit in the queue for ages, and I
> >  can't work out how to discern why they are being delayed. It may be that the
> >  destination host isn't there - but I can't tell that.  Sendmail was always
> >  nice enough to tell me if mails were being delayed...how can I get qmail to
> >  tell me what's up ?
> Check the logs.

 Right. It's not quite as easy to read as sendmail - that's all. I
wasn't matching up the "starting delivery <number>" with the "delivery
11: deferral" bits. Now things are a bit clearer.

> >  Second, when I run a fetchmail, to get mails from a very remote host,
> > it dumps them in the local queue (fetchmail connects to port 25 locally,
> > for delivery). qmail-qstat shows them sitting there, and they are never
> > delivered - until I do something like "/etc/rc.d/init.d/qmail.init
> > restart" - and then they are delivered inside a second.
> 
> Check the permissions on /var/qmail/queue/lock/trigger. They sould look like
> this:
> 
> prw--w--w-  1 qmails  qmail  0 Nov 11 09:38 /var/qmail/queue/lock/trigger

 That's what was up! I had prw------ ! Thank you!

John

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen




Just for your info:

after several weeks of problems with delivery to one of the large german 
online services (T-Online) they reacted and created the next problem.

They now also (like AOL) exceed the 512Byte margin in DNS replies and 
generate the well known "CNAME lookup failed temporarily".

Regards, Frank




After several Qmail installation attempts, I have written up a document
with the sequence of commands, on howto install Qmail.

It is at the following address.
        http://pws.prserv.net/truemax/OS/Qmail.html

Please review it and let me know, if it is helpful for Qmail newbies.
Any language and grammer corrections for this document, is much
appreciated.

Thank you.

Subba Rao
[EMAIL PROTECTED]

http://pws.prserv.net/truemax/




"Steve Kapinos" <[EMAIL PROTECTED]> wrote:

>What should the permissions be for a Maildir and a .qmail file?

Maildirs need to be readable, writable, and executable by the
user. The sudirectories (new, cur, tmp) need the same.

.qmail files need to be readable by the user.

-Dave




Nagendra Mishr <[EMAIL PROTECTED]> wrote:

>I need to change the priority of email deliveries to be a higher then
>for accepting more email..

You can limit the number of simulataneous SMTP connections with
tcpserver and bump up concurrencyremote/concurrencylocal.

>Ideally, I'd like to accept email for delivery when remote deliveries
>ahave timed out, etc..

You could wrap qmail-smtpd with something that checks the status,
e.g., using qmail-qstat. Since qmail-qstat requires privilege, you
might want to set up a qstat service using tcpservice and check it via 
tcpclient.

-Dave




"scott f. lanes" <[EMAIL PROTECTED]> wrote:

>I have just moved a mailing list to qmail/ezmlm. The list has a little over
>1800 users and I am finding that the mailq is running at about 20K
>messages. I added the /var/qmail/control/concurrencyremote file with a
>value of 75. Sometimes it is running at 75 remotes but more often it is at
>13-15. Is there any way to get qmail to push more of the messages through?

Give it the resources it needs. Probably I/O bandwidth on the queue
disk, but could also be CPU, memory, or network bandwidth. Since qmail 
isn't able to reach the concurrency limit you've set, the problem is
not pushing qmail, but giving it what it needs.

>I was also wondering if anyone had any problems with qmail clling it quits
>when the mailq reaches a cetain point. I read somewhere that it can run
>with big mailq's as long as you have enough disk to store the messages. Is
>there a way to clear the q manually if I need to?

Stop qmail, delete queue files, restart qmail. There are tools on
www.qmail.org to make this easier.

-Dave




On Thu, Nov 11, 1999 at 10:39:42AM -0500, Dave Sill wrote:
> >I have just moved a mailing list to qmail/ezmlm. The list has a little over
> >1800 users and I am finding that the mailq is running at about 20K
> >messages. I added the /var/qmail/control/concurrencyremote file with a
> >value of 75. Sometimes it is running at 75 remotes but more often it is at
> >13-15. Is there any way to get qmail to push more of the messages through?
> 
> Give it the resources it needs. Probably I/O bandwidth on the queue
> disk, but could also be CPU, memory, or network bandwidth. Since qmail 
> isn't able to reach the concurrency limit you've set, the problem is
> not pushing qmail, but giving it what it needs.

I've encountered the same problems and did some debugging.
As far as I think I have tracked it down it's kind of a "weakness" of
qmail-send scheduling:
Each iteration of the processing loop gives at most one message to
qmail-lspwan, qmail-rspawn and takes one message from the queue.
As long as there are messages in the queue qmail will not fill up the
concurrency limits. Even with the big-todo patch from Russ processing
the todo queue takes relatively long time. Thus you have the effect
that deliveries (even remote) take as long as inserting new messages
to the queue. This results in the effect that qmail is not "filling up"
the delivery queues and gives the impression that one makes no progress.
This happens even more, if some of the deliveries result in bounces,
as new messages are added to the todo-queue.
IMHO (as remote deliveries usually tend to take more time) it would
be fine, if qmail-send could spend a few more cycles filling up the
delivery queues to concurrency max (or (max-cur)/2 + cur) in each iteration,
as this is handled by separate process(es) anyway.

However I didn't have the time to *fully* dig into the code, so my
analysis could be wrong.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |




>Stop qmail, delete queue files, restart qmail. There are tools on
>www.qmail.org to make this easier.
>

is this just as simple as deleting the files within each one of the
numbered directories in /var/qmail/queue/remote and /var/qmail/queue/mess?


-scott







On Wed, 10 Nov 1999 23:36:37 -0500, scott f. lanes wrote:

>I have just moved a mailing list to qmail/ezmlm. The list has a little over
>1800 users and I am finding that the mailq is running at about 20K
>messages. I added the /var/qmail/control/concurrencyremote file with a
>value of 75. Sometimes it is running at 75 remotes but more often it is at
>13-15. Is there any way to get qmail to push more of the messages through?

Something is screwed up. ezmlm generates one message per post, not one
per recipient. 20K queued messages come from somewhere else (do you
process a lot of other mail?)

If you don't saturate concurrency, and there are no pointers in the log
(a la "memory exhausted - can't fork"), then there is nothing to push
through. You queue is full of messages that are deferred. This is
normal for a busy system, i.e. when you handle e.g. 20 K messages/day
and 14% are deferred for > queue life (more commonly 50 K messages and
10% deferred for varying amounts of time). If you handle much less mail
that that, you have some network or config problem (see log).

If you're an open relay, your system may be busy due to spam :-(

ezmlm may generate a lot of messages in one circumstance: You migrate a
list from e.g. majordomo (no automated bounce handling), then run your
list the first time. A large fraction of bad messages bounce. After
about 11 days, ezmlm will send a warning message to all of these.

Another fraction will be "permanently" deferred. They come back to
ezmlm after 7 days. After another 11 days ezmlm sends warnings. These
warnings will be deferred as well. Still, that's at most one per
subscriber, i.e. << 1800.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






I dont process much other mail on this server at all. almost all (about
98%) of the lines when I type 'mailq' are labeled as 'done'. From what I
understand this means that the message has been delivered to some of the
recipients, but those 'done' lines wont be cleared out of the queue until
the message is delivered to *all* of the recipients. Is this actually the case?

That leaves about 1-2% of the messages in the queue as defered. Please
correct me if I am incorrect or heading in the wrong direction, I am very
new at this.

The traffic on the list I am running runs about 75-100 posts per day. 

thanks in advance for any suggestions.....

-scott




>Something is screwed up. ezmlm generates one message per post, not one
>per recipient. 20K queued messages come from somewhere else (do you
>process a lot of other mail?)
>
>If you don't saturate concurrency, and there are no pointers in the log
>(a la "memory exhausted - can't fork"), then there is nothing to push
>through. You queue is full of messages that are deferred. This is
>normal for a busy system, i.e. when you handle e.g. 20 K messages/day
>and 14% are deferred for > queue life (more commonly 50 K messages and
>10% deferred for varying amounts of time). If you handle much less mail
>that that, you have some network or config problem (see log).
>If you're an open relay, your system may be busy due to spam :-(
>
>ezmlm may generate a lot of messages in one circumstance: You migrate a
>list from e.g. majordomo (no automated bounce handling), then run your
>list the first time. A large fraction of bad messages bounce. After
>about 11 days, ezmlm will send a warning message to all of these.
>
>Another fraction will be "permanently" deferred. They come back to
>ezmlm after 7 days. After another 11 days ezmlm sends warnings. These
>warnings will be deferred as well. Still, that's at most one per
>subscriber, i.e. << 1800.
>
>
>-Sincerely, Fred
>
>(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
>





On Thu, 11 Nov 1999, scott f. lanes wrote:

> I dont process much other mail on this server at all. almost all (about
> 98%) of the lines when I type 'mailq' are labeled as 'done'. From what I
> understand this means that the message has been delivered to some of the
> recipients, but those 'done' lines wont be cleared out of the queue until
> the message is delivered to *all* of the recipients. Is this actually the case?

/var/qmail/bin/qmail-qstat tells you how many messages are in the queue.

mailq shows you one line per recipient. All list messages stay in the
queue for 7 days simply because there is always at least one subscriber
that is "permanently deferred", so 20K recipients / 1800 subscribers = 11
messages. 1-2% not done means that 1-2% of the recipients are deferring.

Congratulations, you have a lightly loaded perfectly running qmail
installation. The reason you don't use the maximum concurrency is that
there isn't enough work to do ;-) Stop worrying, and apply the latest bind
and apache security fixes instead ;-)

-Sincerely, Fred

Fred Lindberg, Inf. Dis., WashU, St. Louis, MO, USA





Is there any type of virus scanner that can scan incoming mail?

Thanks
Derek





What is the mailbox ordering scheme that is returned by applications
as qmail-pop3d when using MAILDIR?

For example, if when using the 'LIST' or 'UIDL' command to POP,
in what sequence will files be listed? In cronological order, or
file creation time, or ????  Do files in ~/Maildir/cur come before
~/Maildir/new? 

I wasn't able to find any mention of this either in the archives or
in any of the doc files.

Thanks

--curtis




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

On 11 Nov 99, at 11:03, Curtis Generous wrote:
> I wasn't able to find any mention of this either in the archives or
> in any of the doc files.

How about - deliberately undocumented?

What exactly do you need to know the order for?

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOCr3nFMwP8g7qbw/EQJGkACg4PSJgA+p6IjhS6Jf+ZywEJipX1MAoNRv
YRRcxiobsrSXbwyH0910eF4y
=u7Ys
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Curtis Generous writes:
 > What is the mailbox ordering scheme that is returned by applications
 > as qmail-pop3d when using MAILDIR?
 > 
 > For example, if when using the 'LIST' or 'UIDL' command to POP,
 > in what sequence will files be listed? In cronological order, or
 > file creation time, or ????  Do files in ~/Maildir/cur come before
 > ~/Maildir/new? 

File modification time.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




According to Petr Novotny:
> 
> On 11 Nov 99, at 11:03, Curtis Generous wrote:
> > I wasn't able to find any mention of this either in the archives or
> > in any of the doc files.
> 
> How about - deliberately undocumented?
>
> What exactly do you need to know the order for?

I need to make sure that mailbox ordering is preserved for our
users after we migrate from old POP client (non MAILDIR based)
to the QMAIL-POPPER so that it doesn't confuse their MUA's.

The UIDL is being preserved, but some clients are choking on
the ordering change.

Thanks,

--curtis




According to Russell Nelson:
> 
> Curtis Generous writes:
>  > What is the mailbox ordering scheme that is returned by applications
>  > as qmail-pop3d when using MAILDIR?
>  > 
>  > For example, if when using the 'LIST' or 'UIDL' command to POP,
>  > in what sequence will files be listed? In cronological order, or
>  > file creation time, or ????  Do files in ~/Maildir/cur come before
>  > ~/Maildir/new? 
> 
> File modification time.

Across both /cur and /new?  What if files in /new are older than in /cur?
And how does it mitigate between two files with same modification time?

Thanks,

--curtis




Curtis Generous writes:
 > According to Russell Nelson:
 > > 
 > > Curtis Generous writes:
 > >  > What is the mailbox ordering scheme that is returned by applications
 > >  > as qmail-pop3d when using MAILDIR?
 > >  > 
 > >  > For example, if when using the 'LIST' or 'UIDL' command to POP,
 > >  > in what sequence will files be listed? In cronological order, or
 > >  > file creation time, or ????  Do files in ~/Maildir/cur come before
 > >  > ~/Maildir/new? 
 > > 
 > > File modification time.
 > 
 > Across both /cur and /new?  What if files in /new are older than in /cur?

Across both /cur and /new.

 > And how does it mitigate between two files with same modification time?

The time is the only key used, so the resultant order depends on the
order the files are presented by readdir().

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Hi all,

In that case, where is the patch, and also, anybody knows where can I find
a patch to use wildcards in the badmailfrom /var/qmail/control file, so I
can put for example: admin__@* or something like that. Nicolas told me
there was one.

Thanks!



Anand Buddhdev escribio:

> On Thu, Nov 11, 1999 at 07:33:19AM -0500, Russell Nelson wrote:
> 
> > Andres Mendez writes:
> >  > Where is the new qmail-1.03-maxrcpt.patch?
> > 
> > Not needed.  qmail-smtpd respects the number in control/databytes .
> 
> I think he means the patch which limits the number of RCPT's a client
> can issue to qmail-smtpd, not the size of a message.
> 
> -- 
> See complete headers for more info




I need to have a .qmail file that is read for each and every user
(including virtual domains). Currently, I am creating a symbolic link from
$HOME/.qmail to the .qmail file that contains the commands that I want.
I'm sure there's a more elegant solution, but I didn't see anything
about it in the dot-qmail manpage or qmail FAQ.

--
Derek Callaway <[EMAIL PROTECTED]> 
Programmer; CE Net, Inc.
(302) 854-5440 Ext. 206





On Thu, Nov 11, 1999 at 11:54:29AM -0500, Derek Callaway wrote:
> I need to have a .qmail file that is read for each and every user (including
> virtual domains). Currently, I am creating a symbolic link from $HOME/.qmail
> to the .qmail file that contains the commands that I want.  I'm sure there's
> a more elegant solution, but I didn't see anything about it in the dot-qmail
> manpage or qmail FAQ.

What is it that you're trying to accomplish? If you tell us that, perhaps
someone can come up with a solution that doesn't involve .qmail files all over
the place.

Chris




Pipe every incoming message through a program that analyzes the messages.
I want the effect of "| command". in a user's .qmail file, but globally.

On Thu, 11 Nov 1999, Chris Johnson wrote:

> On Thu, Nov 11, 1999 at 11:54:29AM -0500, Derek Callaway wrote:
> > I need to have a .qmail file that is read for each and every user (including
> > virtual domains). Currently, I am creating a symbolic link from $HOME/.qmail
> > to the .qmail file that contains the commands that I want.  I'm sure there's
> > a more elegant solution, but I didn't see anything about it in the dot-qmail
> > manpage or qmail FAQ.
> 
> What is it that you're trying to accomplish? If you tell us that, perhaps
> someone can come up with a solution that doesn't involve .qmail files all over
> the place.
> 
> Chris
> 





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

On 11 Nov 99, at 12:11, Derek Callaway wrote:

> Pipe every incoming message through a program that analyzes the messages.
> I want the effect of "| command". in a user's .qmail file, but globally.

Specify it with qmail-start's invocation. Disable users to create their 
own .qmail files.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

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




anyone could help me on setup to mailquotacheck. I installed but it's
not work well

the error messages are:

Hi. This is the qmail-send program at secbak.celular.com.br.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

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

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

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

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

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

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

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

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

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

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

<msgbytes=`$cat - | $wc -c`@secbak.celular.com.br>:
Sorry, no mailbox here by that name. (#5.1.1)

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

<if [ ${ERROR} -ne 0 ]; [EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

<  # If this fails then you are in trouble ;) - Check program defs at
the [EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

<dir="$HOME"@secbak.celular.com.br>:
Sorry, no mailbox here by that name. (#5.1.1)


regards

Luis Bezerra






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

On 11 Nov 99, at 14:27, Luis Bezerra wrote:

> anyone could help me on setup to mailquotacheck. I installed but it's not
> work well

How did you install it?

> the error messages are:
> 
> Hi. This is the qmail-send program at secbak.celular.com.br.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
[snip]

It seems you copied the script in the place of .qmail file. Don't. 
Create a .qmail file with contents like
| mailquotacheck
./Maildir/
(you get the idea)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOCsLaFMwP8g7qbw/EQJ42QCeLUlPq1szAhTRuDxilnwMWgRpbysAoNsE
EZNL8KJqY5YzHDKB4577Yc8X
=M2Nb
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




On Thu, Nov 11, 1999 at 03:24:52AM -0600, Ken Jones wrote:
> Alphabetical distributions are not symetrical. It is better to allocate
> users based on additions.

Or some other scheme which produces nearly evenly distributed results.
A good hash function will do this as well (I use/abuse a 32-bit CRC for
this).
-- 
Bruce Guenter, QCC Communications Corp.  EMail: [EMAIL PROTECTED]
Phone: (306)249-0220               WWW: http://www.qcc.sk.ca/~bguenter/




Greetings,

    I've recently encountered a problem with qmail handling large
messages (~10 MB) being sent to many users (~15).  The problem doesn't
seem to be related to bandwidth, but rather how the processes are
handled on the machine.

Some stats:

qmail-1.01 (yes we know it's not the newest, but that shouldn't relate
to the problem at hand)
Red Hat Linux 4.2 (kernel 2.0.35)
running on a pentium 133
with 16 MB of RAM
Diskspace is plentiful.

Mail seems to be successfully delivered, but then processes grind to a
halt, and the machine actually crashes.  Upon rebooting, the machine
dies again during the boot process, and rebooting a third time it died
at the login prompt.  Only after the fourth reboot does it seem to
recover.

It's obvious that 150 MB of mail is a lot to process on such a pokey
little machine, but it seems a bit odd for the machine to completely
choke and die.

Any opinions?

Matt Callaway





Earlier I wrote:

> Mail seems to be successfully delivered, but then processes grind to a
> halt, and the machine actually crashes.  Upon rebooting, the machine
> dies again during the boot process, and rebooting a third time it died
> at the login prompt.  Only after the fourth reboot does it seem to
> recover.

Some points of clarification:

1)  The mail was not successfully delivered.  To be more accurate the
SMTP connection
was successfully terminated.

2) The workaround was to take qmail out of the boot scripts, clear the
queue, and then restart.

Also, we know that you can put limits on the message size, but we've
decided that that would not be a good solution, as it is sometimes
required that people send large messages.  So, barring that option, is
there some reason that qmail kills the machine?  Or, more to the point,
is there a way to *prevent* qmail from killing the system?

Matt Callaway







Matthew Callaway <[EMAIL PROTECTED]> wrote:

>qmail-1.01 (yes we know it's not the newest, but that shouldn't relate
>to the problem at hand)
>Red Hat Linux 4.2 (kernel 2.0.35)
>running on a pentium 133
>with 16 MB of RAM
>Diskspace is plentiful.
>
>It's obvious that 150 MB of mail is a lot to process on such a pokey
>little machine, but it seems a bit odd for the machine to completely
>choke and die.

If you push an underpowered system running antiquated software to the
breaking point, don't be surprised if it breaks.

Is that 16 MB RAM parity, ECC (:-), or pot luck? Do you have adequate
swap?

If qmail croaks a system, either the hardware or the OS is buggy.

-Dave




the mailquotacheck is already running, but these messages
are delivered to sender:

Nov 11 16:34:04 secbak splogger: 942348844.056187 delivery 1369:
failure: shell-init:_could_not_get_current_directory:
_getcwd:_cannot_access_parent_directories:_Permission_denied/shell-init:

_could_not_get_current_directory:_getcwd:_cannot_access_parent_directories:_Permission_denied/job-working-directory

:_could_not_get_current_directory:_getcwd:_cannot_access_parent_directories:

_Permission_denied/job-working-directory:_could_not_get_current_directory:

_getcwd:_cannot_access_parent_directories:_Permission_denied/job-working-directory:

_could_not_get_current_directory:
_getcwd:_cannot_access_parent_directories:_Permission_denied/

could you help me to exclude these messages of my MTA?


thanks in advance

Luis








Getting this error msg from qmail in the smtpd log -
 
942299214.528322 tcpserver: status: 0/40
942299883.328050 tcpserver: status: 1/40
942299883.328836 tcpserver: pid 656 from 12.18.xxx.xxx
942299883.887604 tcpserver: ok 656 pigsnpoof.com:208.44.xxx.xxx:25 mx.bentonrea.com:12.18.xxx.xxx::8266
942299883.920400 /var/qmail/bin/qmail-smtpd-wrapper: 1+: command not found
942299886.647921 tcpserver: end 656 status 0
here is the line in qmail startup/shutdown script -
 
echo -n " qmail-smtpd"
    supervise /var/supervise/qmail/smtpd tcpserver -v -x/etc/tcp.smtp.cdb
-u$QMAILDUID -g$NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd-wrapper 2>&1 | set | setuser qmaill accustamp | setuser qmaill cyclog /var/log/qmail/smtpd &
 
Thanx in advance for any and all help with this
Nicole & Ron McIntosh




"Nicole & Ron McIntosh" <[EMAIL PROTECTED]> wrote:

>942299883.920400 /var/qmail/bin/qmail-smtpd-wrapper: 1+: command not found

What platform are you on?

Post a copy of your qmail-smtpd-wrapper.

-Dave




; >942299883.920400 /var/qmail/bin/qmail-smtpd-wrapper: 1+: command not found
; 
; What platform are you on?
; 
; Post a copy of your qmail-smtpd-wrapper.

He probably mistook the { }'s for ( )'s 

(I did it myself)





Okie i had the () instead of the {} i changed that now getting a different error :o(

tcpserver: usage: tcpserver [ -1pPhHrRoOdDqQv ] [ -c limit ] [ -x rules.cdb ] [
-B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ]
 host port program
 pop3d.

I am using RedHat 5.2 with kernal 2.2.?? I have /bin/bash

here is the qmail-smtpd-wrapper

#!/bin/bash

ulimit -d 1024

exec /var/qmail/bin/qmail-smtpd ${1+"$@"}


Nicole & Ron McIntosh




"Nicole & Ron McIntosh" <[EMAIL PROTECTED]> wrote:

>tcpserver: usage: tcpserver [ -1pPhHrRoOdDqQv ] [ -c limit ] [ -x rules.cdb ] [
>-B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ]
> host port program
> pop3d.

What does your pop tcpserver command look like? Exactly...

-Dave




thank you for help on ( ) { } that was the problem .. found the typo too, an
extra space boy can those be deadly

Nicole & Ron McIntosh
----- Original Message -----
From: eric <[EMAIL PROTECTED]>
To: Nicole & Ron McIntosh <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 1999 11:46 AM
Subject: Re: Unknown command in qmail startup/shutdown script


>
> Go back and check all your syntax for tcpserver!!
>
>
> ; tcpserver: usage: tcpserver [ -1pPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ ; -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ]
> ;  host port program
> ;  pop3d.
> ; I am using RedHat 5.2 with kernal 2.2.?? I have /bin/bash
> ;
> ; here is the qmail-smtpd-wrapper
> ;
> ; #!/bin/bash
> ;
> ; ulimit -d 1024
> ;
> ; exec /var/qmail/bin/qmail-smtpd ${1+"$@"}
> ;
> ;
> ; Nicole & Ron McIntosh
> ;
>
> --
>  Eric Pancer                @ "I don't give advice; geniuses don't
>  [EMAIL PROTECTED]         ! need it, and amateurs don't want it."
>  http://www.catastrophe.net    |         -- Vida Chenoweth





the mailquotacheck is already running, but these messages
are delivered to sender:




shell-init: could not get current directory: getcwd: cannot access
parent directories: Permission denied
shell-init: could not get current directory: getcwd: cannot access
parent directories: Permission denied
job-working-directory: could not get current directory: getcwd: cannot
access parent directories: Permission denied
job-working-directory: could not get current directory: getcwd: cannot
access parent directories: Permission denied
job-working-directory: could not get current directory: getcwd: cannot
access parent

could you help me to exclude these messages of my MTA?


thanks in advance



--
-----------------------------
Lu�s Bezerra de A. Junior
[EMAIL PROTECTED]
SecrelNet Inform�tica LTDA
Fortaleza - Cear� - Brasil
Fone: 021852882090
-----------------------------






Sam <[EMAIL PROTECTED]> wrote:

>... Qmail will also do
>pretty well when the mail volume is low, although there are certain
>pathological situations where Qmail will fail miserably with low mail
>volume.

What situations are you referring to?

>Also, Qmail will do poorly in the extreme upper end of the range,
>where your mail volume goes through the roof.

All MTA's do poorly in the extreme upper end.

>That's mostly a result due
>to a combination of factors: namely excessive amounts of DNS queries,

You continue to make this claim, but I've yet to see any
evidence. ``Profile, don't speculate.''

>and a
>lot of excessive TCP/IP traffic because Qmail does not recycle TCP/IP
>connections, nor does it batch same-domain recipients in any way.

"Excessive" is a value judgement. The fact is that qmail was
specifically designed to sacrifice bandwidth for simplicity and
performance. If you want/need an MTA that's miserly with bandwidth,
use one.

>Also, the fact that its limited to 255 concurrent qmail-remotes also
>comes into play, at one point.

1) There's a patch that raises that limit.
2) You can run multiple qmails per system.
3) qmail 2, if/when it's available, will undoubtedly remove that
   limit.

>Sure, you can argue that all you have to do is to put
>in a dozen of OC-3s to handle the excessive amounts of bandwidth, and solve
>the 255 qmail-remote issue by instead splitting the mail traffic across
>multiple servers, in parallel.  However, multiple servers still adds up to
>the same amount of bandwidth via your pipes, and no amount of bandwidth
>will affect the fact that a few hops away, most your traffic gets squeezed
>through a single T-1, or even a T-3.

Engineering is the art of balancing tradeoffs. No MTA can maximize
delivery speed, reliability, security, and flexibilty while
simultaneously minimizing bandwidth, disk I/O, memory usage, etc.

-Dave




When two or more messages are received by SMTP in the same second, how
does POP decide on how to order them? I presumed it was by PID, but not
after experimenting with the LIST and UIDL commands. 

UIDL 107
+OK 107 942346573.9303.b52.com
UIDL 108
+OK 108 942346573.17032.b52.com
UIDL 109
+OK 109 942346573.31434.b52.com
UIDL 110
+OK 110 942346573.7572.b52.com

The POP ordering and directory listing do not seem to compliment each
other, either.

--
Derek Callaway <[EMAIL PROTECTED]> 
Programmer; CE Net, Inc.
(302) 854-5440 Ext. 206






Derek Callaway writes:
 > When two or more messages are received by SMTP in the same second, how
 > does POP decide on how to order them?

It's dependent upon the directory traversal order proferred by
readdir().  A more useful term is "in random order".

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




qmail starts with no errors now(thanx) but i STILL can not telnet to port 110 i get the following
 
telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
What do i seem to be doing wrong??
 

Nicole & Ron McIntosh




"Nicole & Ron McIntosh" <[EMAIL PROTECTED]> wrote:

>telnet 127.0.0.1 110
>Trying 127.0.0.1...
>Connected to 127.0.0.1.
>Escape character is '^]'.
>Connection closed by foreign host.
>
>What do i seem to be doing wrong??

Insufficient data.

Show us your pop tcpserver command. Do any errors get logged?

-Dave




first is pop tcpserver my pop3d in qmail startup script?
 
If so then both popup and pop3d are a bunch of control characters like
 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^H^E^By^^^^^^C^B^a
 
and so on (a bunch of jibberish i assume??)
 
in my smptd logs there is an error that says -
 
/etc/rc.d/init.d/qmail: -u507: command not found

Nicole & Ron McIntosh




"Nicole & Ron McIntosh" <[EMAIL PROTECTED]> wrote:

>first is pop tcpserver my pop3d in qmail startup script?

Yes.

>If so then both popup and pop3d are a bunch of control characters like
>
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>^H^E^By^^^^^^C^B^a
>
>and so on (a bunch of jibberish i assume??)

That's bad. Sounds like your startup script is hosed. Can you figure
out how it got that way? Can you recover a good version, e.g., from
backups?

If not, re-create it by downloading the copy linked on LWQ and re-add
the pop stuff.

-Dave




>That's bad. Sounds like your startup script is hosed. Can you figure
>out how it got that way? Can you recover a good version, e.g., from
>backups?
>
>If not, re-create it by downloading the copy linked on LWQ and re-add
>the pop stuff.
 
the jibberish isnt in my startup script its in the /var/qmail/bin/popup and /var/qmail/bin/pop3d

Nicole & Ron McIntosh




"Nicole & Ron McIntosh" <[EMAIL PROTECTED]> wrote:

>the jibberish isnt in my startup script its in the
>/var/qmail/bin/popup and /var/qmail/bin/pop3d 

OK, yes, of course they're jibberish: they're binaries.

What we need to see is the tcpserver/qmail-pop3d/checkpasswd command
that's responsible to starting the pop service.

-Dave




Set up a new qmail server to replace my sendmail server..
2 of my domains are Mx to the new server..
have set u selective relays but

INBOUND mail is being get the following response:
note: Original message from a hotmail account to [EMAIL PROTECTED] a
(virtual) domain on the qmail box.

Hi. This is the qmail-send program at hotmail.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:208.129.195.197 does not like recipient.
Remote host said: 550 <[EMAIL PROTECTED]>... Relay Denied
Giving up on 208.129.195.197.


Any help would be MUCH to me







"Michael M. Honse" <[EMAIL PROTECTED]> wrote:

>Remote host said: 550 <[EMAIL PROTECTED]>... Relay Denied

That's not qmail.

I'm confused. Are you ablecompor.com, ablecompoh.com, or both?

-Dave




I am :
        Ablecomp.com    (primary domain on Qmail)
        ablecompor.com  (primary domain on sendmail)
        ablecompwa.com  (vertual on sendmail)
        ablecompco.com  (vert on qmail)
        ablecompoh.com  (vert on qmail)
        ablecompmi.com  (vert on qmail)
hope this helps...

?? if the error is not from qmail any idea where its from ?


-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 11, 1999 12:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie (if u could not tell)


"Michael M. Honse" <[EMAIL PROTECTED]> wrote:

>Remote host said: 550 <[EMAIL PROTECTED]>... Relay Denied

That's not qmail.

I'm confused. Are you ablecompor.com, ablecompoh.com, or both?

-Dave





The patch 1.01 doesn't work if you have qmail 1.03.

Ricardo Cerqueira posted a new one which worked with 1.03, but the file was
corrupted or truncated.

Can you post it again or tell us where can we download it please?

> Magnus Bodin <[EMAIL PROTECTED]> wrote on Thu, 11 Nov 1999:
> > ftp://ftp.surfnetcity.com.au/pub/unix/qmail/qmail-1.01-maxrcpt.patch
>
> But wasn't the question about a patch for qmail 1.03, not 1.01?
>
>
> Mikko






tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup pnp.pigsnpoof.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger pop3d &
 
checkpassword works as per the test instructions.

Nicole & Ron McIntosh




I am trying to set up the RBL for the first time. It just is *not*
working. OK, first, here is the recommended startup line from the web
site:
tcpserver 0 25 tcpcontrol /etc/smtp.cdb /usr/local/bin/smtplog qmail-smtpd
2>&1 | logger -p mail.notice &

Since I'm running ucspi 0.84, I believe I shouldn't use tcpcontrol
(correct?) so here is my current startup line:
/usr/local/bin/tcpserver -c100 -u502 -g501 -x/etc/tcp.smtp.cdb 0 25
/var/qmail/bin/smtplog /var/qmail/bin/qmail-smtpd 2>&1 | logger -p
mail.notice &

I'm hoping that my problem now is to get the correct syntax into
/etc/tcp.smtp.cdb. I am not currently allowing any relaying so the only
line in it right now is:
:allow

I haven't really been able to find any documentation on the syntax though.
The man page for tcprules isn't helping me.

Sincerely,
Noah Sutherland       System Administrator - Internet On-Ramp
[EMAIL PROTECTED]

To get my PGP public key, please email to [EMAIL PROTECTED]
or you can get it at BAL's public key server at http://pgp.ai.mit.edu/






When i try to telnet to 127.0.0.1 110 I get the following -
 
telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
I went and looked in my pop3d logs and the error in there says -
 
tcpserver: fatal: unable to bind: address already used
 
Why am i getting this and how do I go about resolve it ?


Nicole & Ron McIntosh Proud Parents To
Devin- 5, Britni- 4, Sierra- 2, & Tyler- 1
***************************************************
 
 
 
 
 
Web page services - PnP Designs http://www.pigsnpoof.com/pnpdesigns Tell your friends about us!!!




no where do i have it set to use inet.d

Nicole & Ron McIntosh Proud Parents To
Devin- 5, Britni- 4, Sierra- 2, & Tyler- 1
***************************************************
 
 
 
 
 
Web page services - PnP Designs http://www.pigsnpoof.com/pnpdesigns Tell your friends about us!!!




hello!

what is the format of badmailfrom file?

please, send a couple of strings as sample

thanks

================================
Regards,
Eldar Imangulov
([EMAIL PROTECTED])
http://www.netcity.ru/
http://www.muslim.ru/






On Fri, Nov 12, 1999 at 02:46:21AM +0300, Eldar Imangulov wrote:
> what is the format of badmailfrom file?

Two possibilities:

@host.example.com
[EMAIL PROTECTED]

No wildcards, no subdomains etc.
However there are patches (surely found on www.qmail.org) that enhance
badmailfrom capabilities.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |




Hi all, sorry for the ofllowing long mail.

I'm running tcpserver with the -v option and splogger to catch stuff.

I run qmail-send as follows:

csh -cf 'qmail-start ./Maildir/ splogger qmail &'

and i run smtpd as follows:

/usr/local/bin/tcpserver -v -D -lcia.com.au -b30 -H -R -c100 -x/var/qmail/tc
p.smtp.cdb -u71 -g65534 0 sm
tp /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &

Syslog has a line pointing mail.* to /var/log/mail.log

Consequently, here is a snippet of my mail.log file:

ov 12 10:55:12 newmi5 splogger: 942364512.563582 tcpserver: end 19025 status
0
Nov 12 10:55:12 newmi5 splogger: 942364512.606325 starting delivery 43168:
msg 38869 to remote dgoldney@
csu.edu.au
Nov 12 10:55:12 newmi5 splogger: 942364512.606648 status: local 1/10 remote
5/20
Nov 12 10:55:13 newmi5 splogger: 942364513.013454 tcpserver: pid 19042 num
10 from 208.210.124.59
Nov 12 10:55:13 newmi5 splogger: 942364513.014911 tcpserver: ok 19042
cia.com.au:203.17.36.17:25 :208.21
0.124.59::3221
Nov 12 10:55:13 newmi5 splogger: 942364513.563590 new msg 38870
Nov 12 10:55:13 newmi5 splogger: 942364513.563991 info msg 38870: bytes
57672 from <[EMAIL PROTECTED]
et> qp 19040 uid 3487
Nov 12 10:55:13 newmi5 splogger: 942364513.611796 starting delivery 43169:
msg 38870 to local allistar_t
[EMAIL PROTECTED]
Nov 12 10:55:13 newmi5 splogger: 942364513.612124 status: local 2/10 remote
5/20
Nov 12 10:55:13 newmi5 splogger: 942364513.612363 delivery 43167: success:
/_SEARCHING:_.qmail-securegat
e:net-a:twigg/did_0+1+0/qp_19040/
Nov 12 10:55:13 newmi5 splogger: 942364513.612575 status: local 1/10 remote
5/20
Nov 12 10:55:13 newmi5 splogger: 942364513.612770 end msg 38859

I'm assuming that there aer two things coming up in my log:

1. The incoming smtpd connections that qmail-smtpd is dealing with, and

2. The qmail-send program which is deciding whether to spawn qmail-lspawn or
qmail-rspawn for outgoing mails.

Now, if my assumption is right, can anyone else think of any other handy
information to log?

And, can anyone suggest how i use qmail-analog to parse my mail.log file?
Running matchup < /var/log/mail.log just cats the mail.log file and gives me
no useful information :(

Thanks for your help!

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750





Does anyone have any empirical evidence that the Big Todo patch actually
improves performance?

I tried a few tests, and didn't seem to find any difference in performance
between stock qmail and one that was patched.

One test included shutting down qmail, putting 5,000 messages (to local
recipients) into the queue, and the starting qmail and timing how long it
would take till the queue was empty.

The other test (a bit more complicated) measured the amount of time it
took qmail to "process" a message (move it out of the todo directory).

Both situations seemed to take the same amount of time.  This is under
Solaris 2.6.

-Eric





Eric Huss writes:
 > Does anyone have any empirical evidence that the Big Todo patch actually
 > improves performance?

Yes, but I don't have the numbers anymore.  I provisioned two 486/66
Linux machines, one with and the other without.  The one with got
through a 10,000 todo queue well before the one without.  Your results
will probably vary with filesystem, os, and hardware.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




At 04:23 PM 11/11/99 -0800, Eric Huss wrote:
>Does anyone have any empirical evidence that the Big Todo patch actually
>improves performance?
>
>I tried a few tests, and didn't seem to find any difference in performance
>between stock qmail and one that was patched.
[...]
>Both situations seemed to take the same amount of time.  This is under
>Solaris 2.6.

A lot of people have claimed serious improvements, but I must admit I
haven't measured anything significant.

I use Solaris 2.6 as well so I am starting to believe the patch has little
effect with this OS.

We send lots and lots of emails. Using qmail, the todo dir grows quickly
and more than 10000 messages wait to be processed in the queue. The big
todo patch doesn't help a bit.

I stopped using qmail for outbound email because of this problem and had to
write an MTA (or part of) that fits our needs better.

David.
______________________________________
David Villeger
(212) 673 6100 ext 264

http://www.CheetahMail.com
The Internet Email Publishing Solution




While configuring Vpopmail I got this error message :
 
According to Ken I did a
 
touch *
 
make distclean
./configure
then when I did a
make clean  ---- it was ok
make --- gave me a error saying
 
vcdb.c:36:cdbmake.h : No such file or directory
make:*** (vcdb.o) Error 1
 
(Infact I installed cdb also in my machine)
 
 
Urgent Please
 
Thanks
John




    I seem to be not successful in starting the POP3 service and SMTP after nearly trying it third time Qmail Installation.
 
Could anyone clearly specify a document how this could be done in Red Hat. As in Red Hat 6.0 as well as 6.1 it shows
POP-3 and not POP3  in the inet.conf file.
 
Any proper documents for this please.
 
Thanks & Regards
John




On Fri, Nov 12, 1999 at 09:09:49AM +0800, john wrote:
>     I seem to be not successful in starting the POP3 service and SMTP after nearly 
>trying it third time Qmail Installation.

If you would tell a bit more about your problems/errors people would
probably be able to help.

In the meantime you might want to take a look at
    Life with qmail  <URL:http://Web.InfoAve.Net/~dsill/lwq.html>

        \Maex

P.S. I never understand why people always look for something especially
     for this and that Linux Distribution. Always thought that Linux is
     kinda Unix ... am I wrong?
-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |




We just bought a valinux machine running redhat 6.0. I installed two
instances (qmail and qmail2) of qmail. I wrote a testing script to inject
mail (1000) alternatively to qmail and qmail2. I always I get these errors
after a few hundreds messages are injected.

(sometimes these)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
qmail-inject: fatal: unable to run qmail-queue
Broken pipe

(sometimes these)
qmail-inject: fatal: unable to exec qq (#4.3.0)
qmail-inject: fatal: qq crashed (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
bin/qmail-queue: error in loading shared libraries: libc.so.6: cannot open
shared object file: Error 23
qmail-inject: fatal: qq temporary problem (#4.3.0)
qmail-inject: fatal: unable to exec qq (#4.3.0)
qmail-inject: fatal: qq crashed (#4.3.0)
qmail-inject: fatal: qq crashed (#4.3.0)
qmail-inject: fatal: qq crashed (#4.3.0)
Broken pipe

If I shut down one of them, say qmail2, run the same script, I don't get
these error messages. Then after I restart qmail2, the injected msgs start
to go out. 

If I only inject to one of them (both qmail/qmail2 are running), it also
works fine. It seems the two instances start to do something funny. Any
ideas?

Thanks
dp







On Thu, Nov 11, 1999 at 05:15:14PM -0800, Dongping Deng wrote:
> If I only inject to one of them (both qmail/qmail2 are running), it also
> works fine. It seems the two instances start to do something funny. Any
> ideas?

You're running out of filedescriptors (either for that users (qmail*)
or system wide). Increase the limits and it should work. For that you
either have to use "ulimit" before starting qmail, configure some
kernel limits or even build a new kernel.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |





I know this question has been asked quite a few
times on this list. Currently, I am using "deliver-maildir"
MDA to get my email. I have installed "Maildrop", since
for "Procmail" there is a lot of work around. I am not
able to find any good sample Maildrop filters, from which
I can learn.

If anyone is using maildrop, I would appreciate a copy of
your maildrop filter(s). My MTA is Qmail.

TIA.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/





Search Maildrop's mailing list, the author gave some examples
there.  I wonder why it's not in the docs of Maildrop.

On Thu, 11 Nov 1999, Subba Rao wrote:

> 
> I know this question has been asked quite a few
> times on this list. Currently, I am using "deliver-maildir"
> MDA to get my email. I have installed "Maildrop", since
> for "Procmail" there is a lot of work around. I am not
> able to find any good sample Maildrop filters, from which
> I can learn.
> 
> If anyone is using maildrop, I would appreciate a copy of
> your maildrop filter(s). My MTA is Qmail.
> 





Hi,
 
I installed Vpopmail-.4.10 with RH6.1 it gave me an error message for CDB file.
 
Later I downloaded the old version vpopmail-3.4.9 and installed it went through fine.
 
 




> john wrote:
> 
> Hi,
> 
> I installed Vpopmail-.4.10 with RH6.1 it gave me an error message for
> CDB file.
> 
> Later I downloaded the old version vpopmail-3.4.9 and installed it
> went through fine.
> 
> 

vpopmail-3.4.10 requires the ucspi-tcp compiled source code. It uses
the cdb functions. Unpack and compile ucspi at the same level as
vpopmail and the configure program will pick it up. That is:
if you are inside the vpopmail source directory , ucspi should
be at ../ucspi-tcp-0.84.

Ken Jones




I'm having a problem with my NIS server dying now and then and all my
user's are complaining of lost mail.  qMail returns a "no mailbox here
by that name" message.  I would like to tell qMail to recieve but not
deliver mail when the NIS server does down.  I'm writing a program to do
determine when that happens, but how do I tel qMail to stop delivery?
Once the NIS server comes back up, I would like to tell qMail to deliver
all recieved messages.  Is this possible as well?
 
 
-- 
                -Carl Perry
                [EMAIL PROTECTED]
 




Setting /var/qmail/control/concurrencylocal to 0 will stop all local
delivery, which is what I assume you want.

Adam


On Thu, 11 Nov 1999, Carl Perry wrote:

> I'm having a problem with my NIS server dying now and then and all my
> user's are complaining of lost mail.  qMail returns a "no mailbox here
> by that name" message.  I would like to tell qMail to recieve but not
> deliver mail when the NIS server does down.  I'm writing a program to do
> 
> determine when that happens, but how do I tel qMail to stop delivery?
> Once the NIS server comes back up, I would like to tell qMail to deliver
> 
> all recieved messages.  Is this possible as well?
> 
> 
> 
> --
>                 -Carl Perry
>                 [EMAIL PROTECTED]
> 
> 
> 





On Thu, Nov 11, 1999 at 10:39:02PM -0600, Adam Michaud wrote:
> Setting /var/qmail/control/concurrencylocal to 0 will stop all local
> delivery, which is what I assume you want.

But to get that effective you have to restart qmail-send.
If you do this "by hand" please keep in mind that qmail may not exit
immediately if there are pending deliveries, so you need a bit more
logic than just kill and start.
I have never looked at "supervise", but that may do the trick.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |





Hello,

I saw this in my syslog file.

Nov 11 22:43:51 starsys qmail: 942378231.489619 delivery 34: deferral: 
Connected_to_189.9.90.12_but_greeting_failed./Remote_host_said:_553-See_<URL:http://mail-abuse.org/dul/>/553-If_you_feel_we_mistreat_you,_do_contact_us./553_Ask_HELP_for_our_contact_information./

Why am I getting this message? All the outbound/inbound mail is transfering fine.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/




On Thu, Nov 11, 1999 at 10:53:45PM -0500, Subba Rao wrote:
> Nov 11 22:43:51 starsys qmail: 942378231.489619 delivery 34: deferral: 
>Connected_to_189.9.90.12_but_greeting_failed./Remote_host_said:_553-See_<URL:http://mail-abuse.org/dul/>/553-If_you_feel_we_mistreat_you,_do_contact_us./553_Ask_HELP_for_our_contact_information./
> 
> Why am I getting this message? All the outbound/inbound mail is transfering fine.

DUL (as you can read if you follow the above URL) is Dial-Up User List. It's
an RBL type service that hold lists of dial-in IP adresses.
Mailers participating in this initiative do not accept eMails from these
IP addresses as they are typically used by SPAMmers.
The IP address your mailer used/uses is in this list.
This only affects outbound messages and only to mail servers using the
DUL list.

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |




Hi,
 
Is there anyone who can clearly specify how to start pop3 and smtp services ?
 
Does anyone have a clear document. I dont seem to find the following files under
 
/etc/rc.d/init.d/qmail.init start
/etc/rc.d/init.d/qmail-smtpd.init start
/etc/rc.d/init.d/qmail-pop3d.init start


so what should be installed. I have already installed ucspi-tcp-0.84 but what else
 
please





Install daemontools-0.61 and qmail's pop3d.
I have a modified qmail and pop3d init scripts derived from Dan Sill's
example which works with ucspi-tcp-0.84 and daemontools-0.61.
Message me if you want the scripts, and I will be post it on my
homepage.

On Fri, 12 Nov 1999, john wrote:

> Hi,
> 
> Is there anyone who can clearly specify how to start pop3 and smtp services ?
> 
> Does anyone have a clear document. I dont seem to find the following files under
> 
> /etc/rc.d/init.d/qmail.init start
> /etc/rc.d/init.d/qmail-smtpd.init start
> /etc/rc.d/init.d/qmail-pop3d.init start
> 
> 
> so what should be installed. I have already installed ucspi-tcp-0.84 but what else
> 
> please 
> 
> 






Please do post...

--
Doug Lumpkin
[EMAIL PROTECTED]
----- Original Message -----
From: Benjamin de los Angeles Jr. <[EMAIL PROTECTED]>
To: john <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 1999 8:43 PM
Subject: Re: pop3 How To


>
> Install daemontools-0.61 and qmail's pop3d.
> I have a modified qmail and pop3d init scripts derived from Dan Sill's
> example which works with ucspi-tcp-0.84 and daemontools-0.61.
> Message me if you want the scripts, and I will be post it on my
> homepage.
>
> On Fri, 12 Nov 1999, john wrote:
>
> > Hi,
> >
> > Is there anyone who can clearly specify how to start pop3 and smtp
services ?
> >
> > Does anyone have a clear document. I dont seem to find the following
files under
> >
> > /etc/rc.d/init.d/qmail.init start
> > /etc/rc.d/init.d/qmail-smtpd.init start
> > /etc/rc.d/init.d/qmail-pop3d.init start
> >
> >
> > so what should be installed. I have already installed ucspi-tcp-0.84 but
what else
> >
> > please
> >
> >
>
>
>





Does Vchkpw require pam support for normal password checking in /etc/shadow?

We are running a Debian distrubution and trying to get it working with
virtual users and real users for pop3.

Thanks.





Hi

> fgp> There is an explanation for virtualdomains/multiple users with signed system
> fgp> user/uid on www.qmail.org.
> 
> I'm not sure I find this or not.  I didn't find something literally that,
> but I found many "virtual" things there.  Part of the problem, I think, is
> that there isn't a precise meaning for "virtual".
Well.. you are right - but "virtualdomain" ist quite precise, if you stay in
the qmail context ;-)


> fgp> It is bases on the users/assign file (in /var/qmail/users/assign). This
> fgp> files tells qmail where mail to a certain user shall be delivered too (thus
> fgp> overiding /etc/passwd). This together with the virtualdomains files gives
> fgp> you excellent support for a _lot_ of domains and a _lot_ of users. Note that
> fgp> (as far as I remember) the user/assign file is _compiled_ into some sort of
> fgp> binary file, so it should be fast also with a lot of entries.
> 
> If it uses /var/qmail/users/assign then it's not what I want, and not what I
> call virtual.  To me, one of the attributes of virtual is that there is no
> table of mapping between a user e-mail address and where to deliver, but
> instead, the determination of where to deliver is a functional relation to
> the e-mail address.
It�s virtual, the same as you have "virtual" http-hosts...
But I guess I know what you want - from the address [EMAIL PROTECTED], you
want the mail to be stored in "/somepath/domain.com/user" - not a
"static" mapping, "calculated" from the address? Then you could think about
patching/rewriting qmail-local - altough maybe you should hink about writing
you own smtp-server/mda for that purpose.


> I want the very minimum of administrative work to manage it.  This will
> require such things as automatically deriving the user authentication data
> from the customer account database.  I expect to write something that will
> rebuild certain files (password CDB, rcpthosts, virtualdomains) from the
> data obtained from the database.
jes - create /users/assign from the database.. ;-))

> I don't want a .qmail file for each user (except for local host users).  If
> by leaving it out I can deliver to each users's maildir, that' what I want.


> 
> At the same time there may be a catch.  The default delivery for the local
> host (e.g. listed in locals, for users in /etc/passwd, with distinct uids),
> is not maildir, but "./Mailbox".  I need to be able to leave local users as
> all "./Mailbox" by default (unless overridden in a .qmail file for each user
> individually), yet have maildirs used for all the virtualdomains users without
> creating zillions of .qmail files.
you could make .qmail files for local users, overiding the Maildir default
to Mailbox - or just take one machine for all those thousands of users and
"virtual"domains, and another one for the shell accounts.

> We'll be doing the web interface for administration as an integral part of
> the whole internet service administration, working through a central database
> that records every service, not just e-mail.  E-mail configuration will then
> be derived from that database much like web configuration, DNS configuration,
> and so forth.  I will be able to add a new customer, specify domains, and
> let them add their own users and subdomains, and it will automatically set
> up their e-mail, radius for dialup, routing for dedicated DSL, web service,
> and whatever else (the exact system hasn't been chosen, yet).
Wow.. Zero Administration ISP - sounds quite cool.

Greetings, Florian Pflug




Netscape & Outlook allow to setup a login/passwd pair for
smtp outgoing mails : I saw a kind of patch on http://www.nimh.org, but
I can't understand how it work : it doesn't call any "checkpasswd" program.

Is anybody using this (or other smtp-auth) patch ? If possible with vmailmgrd.

Regards,
Olivier




"qmail is a secure, reliable, efficient, simple message transfer agent. It is meant as 
a replacement for the entire sendmail-binmail system on typical Internet-connected 
UNIX hosts", yeah,yeah....but in my feeling, it is not so fast at all.(I have use 
qmail for nearly 1 year!)

And following is the data of my test:

Server            MTA              OS           Time spend(1000 letters)  Server 
Hardware       Server status
-----------------------------------------------------------------------------------------------------------
202.96.237.177   Qmail1.03     FreeBSD3.3        314  seconds        K62 350,64MRam 4G 
IDE      little load
202.96.210.242   Sendmail8.10  FreeBSD3.2        202  seconds        PII450*2,1GRam 
36G SCSI    little load
202.101.18.155   Qmail1.03     FreeBSD3.2        555  seconds        
PII450*2,512MRam,36G SCSI  heavy load
202.101.18.157   Qmail1.03     FreeBSD3.2        404  seconds        
PII450*2,512MRam,36G SCSI  No any load

(Average value of 3 tests.)

All letters was sent to MTA by port 25,and to a local address.


The data show:
1. Qmail is more slow  than sendmail;
2. Qmail can run more fast in some worm-eaten computer. (Impossible? but it is really!)

WHY ?  WHY ?

And the following is my test program:

/*  speed.c  */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "connect.c"

void main()
{
  int i;
  time_t time1,time2;
  int handle;
  char s[1024];
  FILE *f;

  time(&time1);
  printf(" Now test start at %d...\n",time1);
  handle=opensockets("127.0.0.1",25);
  readsockets(handle,s);
  writesockets(handle,"helo localhost");
  readsockets(handle,s);
  for (i=1;i<=1000;i++)
  {
    if (i%100==0) printf("send letter %d...\n",i);
    writesockets(handle,"mail from:<>");
    readsockets(handle,s);
    writesockets(handle,"rcpt to:<nothisaddr@hostname>");   //please change host to 
local hostnae
    readsockets(handle,s);
    writesockets(handle,"data");
    readsockets(handle,s);
    f=fopen("speed.c","r");
    while (!feof(f))
    {
      fscanf(f,"%s",s);
      writesockets(handle,s);
    }
    fclose(f);
    writesockets(handle,".");
    readsockets(handle,s);
    if (strstr(s,"250 ok")==NULL) printf("error at %d!\n",i);
  }
  writesockets(handle,"quit");
  readsockets(handle,s);
  close(handle);
  time(&time2);
  printf("End at %d,total use %d seconds.\n",time2,time2-time1);
}



            Hotdog
            hotdog#soim.com



Reply via email to