qmail Digest 5 Aug 1999 10:00:01 -0000 Issue 719

Topics (messages 28544 through 28595):

Can I do this with qmail?
        28544 by: torben fjerdingstad <[EMAIL PROTECTED]>

Qmail UCE & Virtualdomains
        28545 by: Robert Varga <[EMAIL PROTECTED]>

question on AUTOTURN
        28546 by: Markus Stumpf <[EMAIL PROTECTED]>
        28573 by: Goh Sek Chye <[EMAIL PROTECTED]>
        28589 by: [EMAIL PROTECTED] ()
        28591 by: Goh Sek Chye <[EMAIL PROTECTED]>

mail volume
        28547 by: "Pieckiel, Kevin A" <[EMAIL PROTECTED]>
        28548 by: Dave Sill <[EMAIL PROTECTED]>
        28549 by: "Petr Novotny" <[EMAIL PROTECTED]>
        28550 by: "Cris Daniluk" <[EMAIL PROTECTED]>
        28552 by: "Pieckiel, Kevin A" <[EMAIL PROTECTED]>
        28553 by: Dave Sill <[EMAIL PROTECTED]>
        28554 by: "Petr Novotny" <[EMAIL PROTECTED]>
        28567 by: David Villeger <[EMAIL PROTECTED]>
        28576 by: Daemeon Reiydelle <[EMAIL PROTECTED]>
        28578 by: <[EMAIL PROTECTED]>
        28579 by: "Johannes Erdfelt" <[EMAIL PROTECTED]>
        28588 by: Ludwig Pummer <[EMAIL PROTECTED]>

tcpserver/checkpassword
        28551 by: Dave Sill <[EMAIL PROTECTED]>

qmail doesn't deliver mail
        28555 by: Dave Sill <[EMAIL PROTECTED]>
        28594 by: Bernat Ginard <[EMAIL PROTECTED]>

Thanking Dave Sill
        28556 by: Russell Nelson <[EMAIL PROTECTED]>
        28558 by: Van Liedekerke Franky <[EMAIL PROTECTED]>
        28559 by: Vince Vielhaber <[EMAIL PROTECTED]>
        28562 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]>
        28568 by: Brad Shelton <[EMAIL PROTECTED]>

Bare LF and zombie processes
        28557 by: Dave Sill <[EMAIL PROTECTED]>

Thanking Russ Nelson (was: Thanking Dave Sill)
        28560 by: Dave Sill <[EMAIL PROTECTED]>

qmail and procmail
        28561 by: [EMAIL PROTECTED]
        28565 by: Dave Sill <[EMAIL PROTECTED]>
        28569 by: [EMAIL PROTECTED]
        28571 by: "Sam" <[EMAIL PROTECTED]>

OT, quitting mailsubj from within a script
        28563 by: Eric Dahnke <[EMAIL PROTECTED]>
        28564 by: Jim Arnott <[EMAIL PROTECTED]>
        28566 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]>

Qmail & PMDF on a SPARC 450 under Sol 7
        28570 by: David McCall <[EMAIL PROTECTED]>

can 'alias' run programs?
        28572 by: Brian Reichert <[EMAIL PROTECTED]>
        28577 by: Chris Johnson <[EMAIL PROTECTED]>

qmail-newu: fatal: bad format in users/assign
        28574 by: "Nguyen Dang Phuoc Dong" <[EMAIL PROTECTED]>
        28575 by: Goh Sek Chye <[EMAIL PROTECTED]>
        28580 by: "Nguyen Dang Phuoc Dong" <[EMAIL PROTECTED]>

spanning lines in .qmail
        28581 by: "Adam D . McKenna" <[EMAIL PROTECTED]>
        28582 by: Paul Farber <[EMAIL PROTECTED]>
        28583 by: "Adam D . McKenna" <[EMAIL PROTECTED]>

Backward Alias System
        28584 by: Daniel Callan <[EMAIL PROTECTED]>
        28587 by: Magnus Bodin <[EMAIL PROTECTED]>
        28592 by: Daniel Callan <[EMAIL PROTECTED]>
        28593 by: Chris Johnson <[EMAIL PROTECTED]>
        28595 by: Chris Johnson <[EMAIL PROTECTED]>

non-existant host - defered?!
        28585 by: Ira Abramov <[EMAIL PROTECTED]>
        28590 by: "Petr Novotny" <[EMAIL PROTECTED]>

queue problem
        28586 by: Enrico Mangano <[EMAIL PROTECTED]>

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 Tue, Aug 03, 1999 at 04:03:19PM -0500, Fred Lindberg wrote:
> On Tue, 3 Aug 1999 16:40:44 +0200, torben fjerdingstad wrote:
> 
> >1) Spam_friends support on smtp level not possible. Can be done
> >   on a later level which means goodbye to rblsmtpd and hello to
> >   a flooded postmaster mailbox.
> 
> Why not put it on a separate host/IP? Leave that open. Small specific
> postmaster box. Forward mail to main box for specific users.

I don't understand. Put what on a seperate ip? Leave what open?

I could have a seperate mailbox for mailer-daemon, but I would
still have to deal with all the doublebounce messages.

Alle users have an email of the form [EMAIL PROTECTED],
so I can't control incoming mailroutes, like:
[EMAIL PROTECTED] go to MX a, while  mail to
[EMAIL PROTECTED] go to MX b

Adding a lookup in a spamlovers file would not cost
more than a lookup in the badmailfrom file, would it?

I wish I was clever enough to create my own patches.
Then I could also make antirbl take a wildcard domain
name, like '.dk'

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C          

Tlf./Phone   +45 35 87 89 41        Mail:  UNI-C                                
Fax.         +45 35 87 89 90               Bygning 304
E-mail: [EMAIL PROTECTED]       DK-2800 Lyngby







On Wed, 4 Aug 1999, Nguyen Dang Phuoc Dong wrote:

> Hi all,
> 
> I'd installed Qmail 1.03 with Qmail-UCE patch. It's working fine except
> virutal domain not works. I'd already set up a virtual domain as follow:
> 
> 1. In my DNS
> 
> virt.dom    IN    MX    10    mail.mycompany.com
>

First probable error. A period is needed after mail.mycompany.com like
this:  mail.mycompany.com.

And I presume you know where you have put this line, but the start of the
line is probably not virt.dom

However your error message seems to indicate that the mail finds the host.
Did you try to send the letter from the machine you are talking about or
from another machine?
 
> 2. In control/rcpthosts, I'd aready added the folowing line:
> 
> virt.dom
> 

That is right.

> 3. In control/virtualdomains, add a line:
> 
> virt.dom: myunixaccount
> 

Here I hope you did not put the space after the colon ( : ). If it is
there, try to remove it.

> Whenerver I send a message to [EMAIL PROTECTED] , my mail.company.com said
> "550 Sorry, no mailbox here at that name. (#5.1.1)
>

You also need either a 

~myunixaccount/.qmail-someone file, or a ~myunixaccount/.qmail-default

or a ~myunixaccount/.qmail file
 
Robert Varga






On Tue, Aug 03, 1999 at 08:52:56AM +0800, Goh Sek Chye wrote:
> Lets say one of my existing ISDN customer has the following MX records:
> 
> customer.com IN MX 10 mx1.customer.com        (customer mail server)
> customer.com IN MX 20 mx2.customer.com        (customer mail server)
> customer.com IN MX 30 mail.big.isp    ( our AUTOTURN server)
> 
> How can I configure mails for this customer's domain "customer.com" to be
> stored in one single directory and when mx1.customer.com. or
> mx2.customer.com. makes a SMTP connection to our AUTOTURN server, mails in
> that directory will be pushed out to whichever server that is making the
> SMTP connection?

Set up excactly like described in the AUTOTURN file of serialmail.
In steps 6) and 7) replace the IP address (1.2.3.4) with the ip address
of   mx1.customer.com

Then do the following:
    # cd /var/qmail/autoturn
    # ln -s <ip_mx1_cust> <ip_mx2_cust>
This creates a symbolic link, so both "IP addresses" share the same
directory.

That should 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  |





Hi!  Thanks for your suggestion.

I have a question though:

in the startup script:

/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 1003 -g 1002 0 smtp \
/bin/sh -c ' /var/qmail/bin/qmail-smtpd
 cd /var/qmail/autoturn
 exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
 /usr/local/bin/maildirsmtp $TCPREMOTEIP \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

maildirsmtp is the engine that is pushing out the mails.

But from maildirsmtp man pages:
--------------------------------------------------
NAME
       maildirsmtp - send a maildir through SMTP

SYNOPSIS
       maildirsmtp dir prefix host helohost

DESCRIPTION
maildirsmtp scans a maildir, dir, and sends each message to host through
SMTP.  It removes prefix from the begin- ning of each envelope recipient
address.  It ignores any message whose recipient address does not begin
with pre-fix.
-----------------------------------------------------

I believe the prefix here refers to  autoturn-$TCPREMOTEIP- which is the
IP address of the mail server that is making the ETRN/SMTP connection.

If you look at a sample message in the autoturn directory:

*******************************************************************
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
              ^^^^^^^^^^^^^^^^^^^^^^^^^
Received: (qmail 557 invoked from network); 30 Jul 1999 03:12:21 -0000
Received: from singapura.singnet.com.sg (165.21.10.10)
  by tsunami.singnet.com.sg with SMTP; 30 Jul 1999 03:12:21 -0000
Received: from localhost (sekchye@localhost) by singapura.singnet.com.sg
(8.8.5/
8.7.2) with ESMTP id TAA13056 for <[EMAIL PROTECTED]>; Fri,
30 Jul 
1999 19:10:58 +0800 (SST)
Date: Fri, 30 Jul 1999 19:10:58 +0800 (SST)
From: Goh Sek Chye <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test AUTOTURN 1
Message-ID:
<[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
*******************************************************************



It occurs to me that maildirsmtp will not deliver messages that does not
match the IP address of the mail server (mx1 or mx2) that is making the
SMTP or ETRN connection to the AUTOTURN server, even though the mails for
both server are in the same directory.

This would means that if the customer wants to retrieve all his mails,
both mx1 and mx2 must make the ETRN/SMTP connection (but of course not at
the same time)

What I would like here is to push out all the mails to the customer when
either mx1 or mx2 do the ETRN/SMTP connection.  That way, if mx1 is down,
mx2 can still get all the mails.


Appreciate any suggestions and help.

Thanks.



On Wed, 4 Aug 1999, Markus Stumpf wrote:

#On Tue, Aug 03, 1999 at 08:52:56AM +0800, Goh Sek Chye wrote:
#> Lets say one of my existing ISDN customer has the following MX records:
#> 
#> customer.com IN MX 10 mx1.customer.com       (customer mail server)
#> customer.com IN MX 20 mx2.customer.com       (customer mail server)
#> customer.com IN MX 30 mail.big.isp   ( our AUTOTURN server)
#> 
#> How can I configure mails for this customer's domain "customer.com" to be
#> stored in one single directory and when mx1.customer.com. or
#> mx2.customer.com. makes a SMTP connection to our AUTOTURN server, mails in
#> that directory will be pushed out to whichever server that is making the
#> SMTP connection?
#
#Set up excactly like described in the AUTOTURN file of serialmail.
#In steps 6) and 7) replace the IP address (1.2.3.4) with the ip address
#of   mx1.customer.com
#
#Then do the following:
#    # cd /var/qmail/autoturn
#    # ln -s <ip_mx1_cust> <ip_mx2_cust>
#This creates a symbolic link, so both "IP addresses" share the same
#directory.
#
#That should 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  |
#






In order to invoke maildirsmtp, you have to know the host, the
prefix, and the dir. The AUTOTURN file describes a method in which
all these things are obtained from $TCPREMOTEIP.  You can do it any
other way.

For your case, I would do it this way.  In virtualdomains:
  virt.dom:autoturn-username
In /etc/tcp.smtp.cdb:
  1.2.3.4:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
  9.8.7.6:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
(These are the 2 mail servers for your dialup client)
In the startup script:
  tcpserver -x /etc/tcp.smtp.cdb ... \
  sh -c 'qmail-smtpd
  [ -z "$DIR" -o -z "$MXS" ] && exit 0
  cd /var/qmail/autoturn
  for mx in $MXS; do
    setlock -nx ./$DIR/seriallock \
      maildirsmtp ./$DIR/ autoturn-$DIR- $mx AutoTURN && exit 0
  done
  '

-harold






Hi!  Thanks for your advise!  I will try it out!  

This solution looks promising! :)

I should have read more docs on tcpserver ...


On 5 Aug 1999 [EMAIL PROTECTED] wrote:

#In order to invoke maildirsmtp, you have to know the host, the
#prefix, and the dir. The AUTOTURN file describes a method in which
#all these things are obtained from $TCPREMOTEIP.  You can do it any
#other way.
#
#For your case, I would do it this way.  In virtualdomains:
#  virt.dom:autoturn-username
#In /etc/tcp.smtp.cdb:
#  1.2.3.4:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#  9.8.7.6:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#(These are the 2 mail servers for your dialup client)
#In the startup script:
#  tcpserver -x /etc/tcp.smtp.cdb ... \
#  sh -c 'qmail-smtpd
#  [ -z "$DIR" -o -z "$MXS" ] && exit 0
#  cd /var/qmail/autoturn
#  for mx in $MXS; do
#    setlock -nx ./$DIR/seriallock \
#      maildirsmtp ./$DIR/ autoturn-$DIR- $mx AutoTURN && exit 0
#  done
#  '
#
#-harold
#






How do you increase the fd limit?  I know that on a login shell, I can
use ulimit to change certain limits for the current login and any child
processes, but how on earth do you change that for a daemon that runs at
startup and in the background?

Kevin

-----Original Message-----
From: David Villeger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 03, 1999 4:12 PM
To: [EMAIL PROTECTED]
Subject: Re: mail volume


So for a reasonable concurrencyremote (>30), you will need to increase
the
fd limit. But even if you do, you *can't* bring concurrencyremote over
256.

David.
______________________________________
David Villeger
(212) 972 2030 x34

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




Daemeon Reiydelle <[EMAIL PROTECTED]> wrote:

>Going out on a limb, my guess would be you could expect 50-100 1000 byte
>messages per second (or better) outbound with an OC-12, hardware assist,
>etc.

OC-12 is 622 Mbps, or roughly 60 MBps. Say sending a 1k message with
SMTP uses 3k bandwidth--that's generous. Dividing 60 MBps by 3k yields
20000 messages per second (1.7 billion messages/day).

Even if they only have a T1 (1544 Kbps, ~150 KBps), they could do 50
messages/second (4.3 million messages/day).

Network bandwidth is *not* going to be their bottleneck.

-Dave




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

> How do you increase the fd limit?  I know that on a login shell, I can use
> ulimit to change certain limits for the current login and any child
> processes, but how on earth do you change that for a daemon that runs at
> startup and in the background?

like "echo 4096 > /proc/sys/kernel/file-max" anywhere in the boot 
scripts. My default is 1024 (2.0.36 kernel).

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

iQA/AwUBN6hHE1MwP8g7qbw/EQKFCwCeI2QYcEt1c4IYzUvcuNsAk29xNX0AoM1q
8nsbLmJm321dtgDedhn6tpLk
=4ktl
-----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]




Not necessarily. These messages contain information on stock portfolios.
They're consequentially quite large. Plus, a 1k message is easily a 2k
message after headers. Plus you neglect to consider the time it takes to
establish the connection, resolve the domains, and have an ident request
sent (which most SMTP servers appear to do). The messages are about (rough
guess) 10-12k with headers. We were maximizing a T1 at about <10 messages
per second. However, the network is now on a T3. With 30x more bandwidth
we'd expect at least 10x more speed :)

Cris Daniluk

-----Original Message-----
From: Dave Sill <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, August 04, 1999 6:49 AM
Subject: Re: mail volume


>Daemeon Reiydelle <[EMAIL PROTECTED]> wrote:
>
>>Going out on a limb, my guess would be you could expect 50-100 1000 byte
>>messages per second (or better) outbound with an OC-12, hardware assist,
>>etc.
>
>OC-12 is 622 Mbps, or roughly 60 MBps. Say sending a 1k message with
>SMTP uses 3k bandwidth--that's generous. Dividing 60 MBps by 3k yields
>20000 messages per second (1.7 billion messages/day).
>
>Even if they only have a T1 (1544 Kbps, ~150 KBps), they could do 50
>messages/second (4.3 million messages/day).
>
>Network bandwidth is *not* going to be their bottleneck.
>
>-Dave
>





Even though I don't have a file called /proc/sys/kernel/file-max?  I
don't know much of anything about the proc filesystem.  Please, tell me
how you are privvy to that information.  I have been looking for that
(and other similar) info for a while now, and it's nowhere to be found
in the linux doco.  Do you know Alan Cox or Linux Torvolds or something?
I'd never ask them because they wouldn't take time to stop and answer
individual questions like that.

Thank you,

Kevin

-----Original Message-----
From: Petr Novotny [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 04, 1999 9:59 AM
To: Pieckiel, Kevin A
Cc: [EMAIL PROTECTED]
Subject: RE: mail volume


like "echo 4096 > /proc/sys/kernel/file-max" anywhere in the boot 
scripts. My default is 1024 (2.0.36 kernel).




"Cris Daniluk" <[EMAIL PROTECTED]> wrote:

>Not necessarily. These messages contain information on stock portfolios.
>They're consequentially quite large. Plus, a 1k message is easily a 2k
>message after headers.

The assumption was OC-12 and 1k messages. My point was that even at
T3/1k messages, bandwidth wouldn't be the bottleneck. Obviously, if
your messages are larger, your messages rate will decrease. Also, I
specifically stated 3k bandwidth for a 1k message to allow for the
header and SMTP overhead.

>Plus you neglect to consider the time it takes to
>establish the connection, resolve the domains, and have an ident request
>sent (which most SMTP servers appear to do). ...

I didn't neglect to consider latency: it's irrelevant to the question
of bandwidth. 100 messages/second is 100 messages/second, whether each 
message takes 1 second from start to finish or a hundred.

-Dave




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

Let's move to private mail - this is linux-related and not qmail-
related.

> Even though I don't have a file called /proc/sys/kernel/file-max?

You don't? Are you using Linux? :-) Which version? Which kernel? 
(uname -a)

>  I
> don't know much of anything about the proc filesystem.  Please, tell me
> how you are privvy to that information.

Got it on [EMAIL PROTECTED] list some time ago. I was told this trick is 
documented in the manual of squid. Also, /usr/doc/procinfo* might 
be helpful to you - in fact those files are perfectly documented in 
there.

> I have been looking for that (and
> other similar) info for a while now, and it's nowhere to be found in the
> linux doco.

Didn't look carefully enough :-) I know how difficult it sometimes is 
to find some internal info, you don't have to tell me.

>  Do you know Alan Cox or Linux Torvolds or something?

I wish I did.

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

iQA/AwUBN6hLLlMwP8g7qbw/EQJd4QCg07vlk7P3U1tt2hcF1OVYPVt1J8cAoJN4
t+0R1AeIbOOEwdnaKAwZAgBm
=0+6x
-----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]




At 08:56 AM 8/4/99 -0400, Pieckiel, Kevin A wrote:
>How do you increase the fd limit?  I know that on a login shell, I can
>use ulimit to change certain limits for the current login and any child
>processes, but how on earth do you change that for a daemon that runs at
>startup and in the background?

ulimit changes the limit in the current shell *and* its descendents. So
just write a wrapper that calls ulimit and then executes your program in
the background.

For example, in /var/qmail/rc:

#/bin/sh

ulimit -n 1024
exec ... qmail-start ...

Note that you must be able to also change this limit globally and
permanently either at boot time or on the fly. This depends on the OS you use.

David.
______________________________________
David Villeger
(212) 972 2030 x34

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




"Pieckiel, Kevin A" wrote:
> 
> How do you increase the fd limit?  I know that on a login shell, I can
> use ulimit to change certain limits for the current login and any child
> processes, but how on earth do you change that for a daemon that runs at
> startup and in the background?

The parameter beyond some limit needs to be changed in the kernel. This
change is OS specific but e.g. in  Solaris it does not require
rebuilding. In FreeBSD and Linux it probably still does. You will need
to read up on kernel tuning parameters.

The issue re. 256 is also OS specific and depends on the maximum size of
the applicable data structures. I was told that 256 is no longer a limit
under Linux. It is definitely not a limitation under FreeBSD and Solaris
(2.6 or later). There may be limitations within e.g. qmail-[lr]spawn
about how many children it can manage. I am not working with that code
right know so I don't know. Anyone?


> 
> Kevin
> 
> -----Original Message-----
> From: David Villeger [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 03, 1999 4:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: mail volume
> 
> So for a reasonable concurrencyremote (>30), you will need to increase
> the
> fd limit. But even if you do, you *can't* bring concurrencyremote over
> 256.
> 
> David.
> ______________________________________
> David Villeger
> (212) 972 2030 x34
> 
> http://www.CheetahMail.com
> The Internet Email Publishing Solution

-- 
Daemeon Reiydelle
Systems Engineer, Anthropomorphics Inc.
[EMAIL PROTECTED]




On Wed, 4 Aug 1999, Daemeon Reiydelle wrote:

> (2.6 or later). There may be limitations within e.g. qmail-[lr]spawn
> about how many children it can manage. I am not working with that code
> right know so I don't know. Anyone?

This is what people have been trying to say -- the protocol between
qmail-Xspawn and qmail-send only passes a single byte for the delivery
attempt back in the status messages. if you want to increase the maximum
number above 256 one has to modify qmail-send and the common code in
qmail-Xspawn. making it a short should allow up to 2**16 concurrency
remotes.

**CAUTION** if you do this one should realise that qmail-send might try to
open 64K connections to the /same/ host because it doesn't maintain a
per-domain concurrency. this is distinctly Unfriendly. I produced some
code for qmail to do this, but when I asked my ISP if i could open >>1024
connections to one of their mail relays for testing they were less than
enthusiastic... (the code is on my desktop system somewhere between here
and Austin where I'm moving to next week, so I can't email it, and without
testing it I won't email it. the changes to up the concurrency are fairly 
straightforward, the once for a per-domain concurrency are non-trivial)

RjL
==================================================================
You know that. I know that. But when  ||  Fax:   +44 870 0521198        
when you talk to a monkey you have    ||  Email: [EMAIL PROTECTED]
to grunt and wave your arms       -ck ||  Phone: +44 1706 882419





On Thu, Aug 05, 1999, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Wed, 4 Aug 1999, Daemeon Reiydelle wrote:
> 
> > (2.6 or later). There may be limitations within e.g. qmail-[lr]spawn
> > about how many children it can manage. I am not working with that code
> > right know so I don't know. Anyone?
> 
> This is what people have been trying to say -- the protocol between
> qmail-Xspawn and qmail-send only passes a single byte for the delivery
> attempt back in the status messages. if you want to increase the maximum
> number above 256 one has to modify qmail-send and the common code in
> qmail-Xspawn. making it a short should allow up to 2**16 concurrency
> remotes.
> 
> **CAUTION** if you do this one should realise that qmail-send might try to
> open 64K connections to the /same/ host because it doesn't maintain a
> per-domain concurrency. this is distinctly Unfriendly. I produced some
> code for qmail to do this, but when I asked my ISP if i could open >>1024
> connections to one of their mail relays for testing they were less than
> enthusiastic... (the code is on my desktop system somewhere between here
> and Austin where I'm moving to next week, so I can't email it, and without
> testing it I won't email it. the changes to up the concurrency are fairly 
> straightforward, the once for a per-domain concurrency are non-trivial)

This is the patch that I use at suse.com. We do almost 1 million
messages a day with this patch and concurrencyremote set to 400.

This patch comes with the standard disclaimer. No warranty, it may not
work, etc. But it works for me :)

It's also not pretty. It's against qmail-1.03+verh-0.02 (the ezmlm patch
l and h patch). So the offsets may be off a little bit.

JE

diff -u qmail-1.03.orig/chkspawn.c qmail-1.03/chkspawn.c
--- qmail-1.03.orig/chkspawn.c  Mon Jun 15 03:53:16 1998
+++ qmail-1.03/chkspawn.c       Wed Aug  4 20:33:22 1999
@@ -22,8 +22,8 @@
     _exit(1);
   }
 
-  if (auto_spawn > 255) {
-    substdio_puts(subfderr,"Oops. You have set conf-spawn higher than 255.\n");
+  if (auto_spawn > 65000) {
+    substdio_puts(subfderr,"Oops. You have set conf-spawn higher than 65000.\n");
     substdio_flush(subfderr);
     _exit(1);
   }
diff -u qmail-1.03.orig/conf-spawn qmail-1.03/conf-spawn
--- qmail-1.03.orig/conf-spawn  Mon Jun 15 03:53:16 1998
+++ qmail-1.03/conf-spawn       Tue Jul 27 13:32:30 1999
@@ -1,4 +1,4 @@
-120
+1000
 
 This is a silent concurrency limit. You can't set it above 255. On some
 systems you can't set it above 125. qmail will refuse to compile if the
diff -u qmail-1.03.orig/qmail-send.c qmail-1.03/qmail-send.c
--- qmail-1.03.orig/qmail-send.c        Mon Jun 15 03:53:16 1998
+++ qmail-1.03/qmail-send.c     Wed Aug  4 20:37:23 1999
@@ -262,6 +262,8 @@
  while (!stralloc_copys(&comm_buf[c],"")) nomem();
  ch = delnum;
  while (!stralloc_append(&comm_buf[c],&ch)) nomem();
+ ch = delnum >> 8;
+ while (!stralloc_append(&comm_buf[c],&ch)) nomem();
  fnmake_split(id);
  while (!stralloc_cats(&comm_buf[c],fn.s)) nomem();
  while (!stralloc_0(&comm_buf[c])) nomem();
@@ -906,41 +908,42 @@
      dline[c].len = REPORTMAX;
      /* qmail-lspawn and qmail-rspawn are responsible for keeping it short */
      /* but from a security point of view, we don't trust rspawn */
-   if (!ch && (dline[c].len > 1))
+   if (!ch && (dline[c].len > 2))
     {
      delnum = (unsigned int) (unsigned char) dline[c].s[0];
+     delnum += (unsigned int) ((unsigned int) dline[c].s[1]) << 8;
      if ((delnum < 0) || (delnum >= concurrency[c]) || !d[c][delnum].used)
        log1("warning: internal error: delivery report out of range\n");
      else
       {
        strnum3[fmt_ulong(strnum3,d[c][delnum].delid)] = 0;
-       if (dline[c].s[1] == 'Z')
+       if (dline[c].s[2] == 'Z')
         if (jo[d[c][delnum].j].flagdying)
          {
-          dline[c].s[1] = 'D';
+          dline[c].s[2] = 'D';
           --dline[c].len;
           while (!stralloc_cats(&dline[c],"I'm not going to try again; this message 
has been in the queue too long.\n")) nomem();
           while (!stralloc_0(&dline[c])) nomem();
          }
-       switch(dline[c].s[1])
+       switch(dline[c].s[2])
        {
         case 'K':
           log3("delivery ",strnum3,": success: ");
-          logsafe(dline[c].s + 2);
+          logsafe(dline[c].s + 3);
           log1("\n");
           markdone(c,jo[d[c][delnum].j].id,d[c][delnum].mpos);
           --jo[d[c][delnum].j].numtodo;
           break;
         case 'Z':
           log3("delivery ",strnum3,": deferral: ");
-          logsafe(dline[c].s + 2);
+          logsafe(dline[c].s + 3);
           log1("\n");
           break;
         case 'D':
           log3("delivery ",strnum3,": failure: ");
-          logsafe(dline[c].s + 2);
+          logsafe(dline[c].s + 3);
           log1("\n");
-          addbounce(jo[d[c][delnum].j].id,d[c][delnum].recip.s,dline[c].s + 2);
+          addbounce(jo[d[c][delnum].j].id,d[c][delnum].recip.s,dline[c].s + 3);
           markdone(c,jo[d[c][delnum].j].id,d[c][delnum].mpos);
           --jo[d[c][delnum].j].numtodo;
           break;
@@ -1544,7 +1547,7 @@
  numjobs = 0;
  for (c = 0;c < CHANNELS;++c)
   {
-   char ch;
+   char ch, ch1;
    int u;
    int r;
    do
@@ -1552,7 +1555,13 @@
    while ((r == -1) && (errno == error_intr));
    if (r < 1)
     { log1("alert: cannot start: hath the daemon spawn no fire?\n"); _exit(111); }
+   do
+     r = read(chanfdin[c],&ch1,1);
+   while ((r == -1) && (errno == error_intr));
+   if (r < 1)
+    { log1("alert: cannot start: hath the daemon spawn no fire?\n"); _exit(111); }
    u = (unsigned int) (unsigned char) ch;
+   u += (unsigned int) ((unsigned char) ch1) << 8;
    if (concurrency[c] > u) concurrency[c] = u;
    numjobs += concurrency[c];
   }
diff -u qmail-1.03.orig/sendmail.c qmail-1.03/sendmail.c
--- qmail-1.03.orig/sendmail.c  Mon Jun 15 03:53:16 1998
+++ qmail-1.03/sendmail.c       Mon Jul 26 20:20:53 1999
@@ -113,7 +113,7 @@
   if (!qiargv) nomem();
  
   arg = qiargv;
-  *arg++ = "bin/qmail-inject";
+  *arg++ = "bin/new-inject";
   *arg++ = (flagh ? "-H" : "-a");
   if (sender) {
     *arg++ = "-f";
@@ -124,6 +124,6 @@
   *arg = 0;
  
   execv(*qiargv,qiargv);
-  substdio_putsflush(subfderr,"sendmail: fatal: unable to run qmail-inject\n");
+  substdio_putsflush(subfderr,"sendmail: fatal: unable to run new-inject\n");
   _exit(111);
 }
diff -u qmail-1.03.orig/spawn.c qmail-1.03/spawn.c
--- qmail-1.03.orig/spawn.c     Mon Jun 15 03:53:16 1998
+++ qmail-1.03/spawn.c  Tue Jul 27 12:25:14 1999
@@ -63,7 +63,7 @@
 int flagreading = 1;
 char outbuf[1024]; substdio ssout;
 
-int stage = 0; /* reading 0:delnum 1:messid 2:sender 3:recip */
+int stage = 0; /* reading 0:delnum 1:delnum2 2:messid 3:sender 4:recip */
 int flagabort = 0; /* if 1, everything except delnum is garbage */
 int delnum;
 stralloc messid = {0};
@@ -73,6 +73,7 @@
 void err(s) char *s;
 {
  char ch; ch = delnum; substdio_put(&ssout,&ch,1);
+ ch = delnum >> 8; substdio_put(&ssout,&ch,1);
  substdio_puts(&ssout,s); substdio_putflush(&ssout,"",1);
 }
 
@@ -155,16 +156,19 @@
     {
      case 0:
        delnum = (unsigned int) (unsigned char) ch;
-       messid.len = 0; stage = 1; break;
+       stage = 1; break;
      case 1:
+       delnum += (unsigned int) ((unsigned int) ch) << 8;
+       messid.len = 0; stage = 2; break;
+     case 2:
        if (!stralloc_append(&messid,&ch)) flagabort = 1;
        if (ch) break;
-       sender.len = 0; stage = 2; break;
-     case 2:
+       sender.len = 0; stage = 3; break;
+     case 3:
        if (!stralloc_append(&sender,&ch)) flagabort = 1;
        if (ch) break;
-       recip.len = 0; stage = 3; break;
-     case 3:
+       recip.len = 0; stage = 4; break;
+     case 4:
        if (!stralloc_append(&recip,&ch)) flagabort = 1;
        if (ch) break;
        docmd();
@@ -201,7 +205,8 @@
 
  initialize(argc,argv);
 
- ch = auto_spawn; substdio_putflush(&ssout,&ch,1);
+ ch = auto_spawn; substdio_put(&ssout,&ch,1);
+ ch = auto_spawn >> 8; substdio_putflush(&ssout,&ch,1);
 
  for (i = 0;i < auto_spawn;++i) { d[i].used = 0; d[i].output.s = 0; }
 
@@ -236,7 +241,8 @@
           continue; /* read error on a readable pipe? be serious */
         if (r == 0)
          {
-           ch = i; substdio_put(&ssout,&ch,1);
+           char ch; ch = i; substdio_put(&ssout,&ch,1);
+           ch = i >> 8; substdio_put(&ssout,&ch,1);
           report(&ssout,d[i].wstat,d[i].output.s,d[i].output.len);
           substdio_put(&ssout,"",1);
           substdio_flush(&ssout);




At 07:31 PM 8/4/1999 -0700, Daemeon Reiydelle wrote:
>In FreeBSD and Linux it probably still does. You will need
>to read up on kernel tuning parameters.

Can't have someone thinking unfavorably of FreeBSD, now can I? (don't 
bother responding to that, I know that wasn't your intention)

toy# sysctl -a | grep maxfiles
kern.maxfiles: 2088
kern.maxfilesperproc: 2088
toy# sysctl -w kern.maxfiles=4096 kern.maxfilesperproc=4096
kern.maxfiles: 2088 -> 4096
kern.maxfilesperproc: 2088 -> 4096

Linux has a similar thing in the /proc filesystem, as someone else has 
already pointed out.

--Ludwig Pummer <[EMAIL PROTECTED]>




"Alvaro Escobar" <[EMAIL PROTECTED]> wrote:
>
>I made the same mistake. When we read Live with qmail of Dave Sill,
>we see checkpasswd. But the correct form is checkpassword. 

That's been fixed for some time, now.

-Dave




Bernat Ginard <[EMAIL PROTECTED]> wrote:
>
>I've installed qmail, and I can send mail to remote servers, 
>but I can't send mail to local users: I have configured it
>to send the mail to ~/Maildir. It doesn't writte error messages
>to the log and nevertheless return the message to the sender, 
>it simply disapears.

What do your logs say?

Have you created ~/Maildir using maildirmake for each user, as that
user?

-Dave




Dave Sill wrote:
> 
> Bernat Ginard <[EMAIL PROTECTED]> wrote:
> >
> >I've installed qmail, and I can send mail to remote servers,
> >but I can't send mail to local users: I have configured it
> >to send the mail to ~/Maildir. It doesn't writte error messages
> >to the log and nevertheless return the message to the sender,
> >it simply disapears.
> 
> What do your logs say?
> 
> Have you created ~/Maildir using maildirmake for each user, as that
> user?
> 
> -Dave

There was a mispelling in ~/.qmail

Thanks for your interest

-- 
Bernat Ginard Llad�
mailto:[EMAIL PROTECTED]           http://www.kaos.es




Dave Sill writes:
 > What do your logs say?

I want to take a moment to publicly thank Dave Sill.  He's been *the*
man on the spot for qmail users, both with his Living With Qmail
document and asking the right questions of users who have a problem.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
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!




I totally agree on this!

Franky

> ----------
> From:         Russell Nelson[SMTP:[EMAIL PROTECTED]]
> Sent:         Wednesday, August 04, 1999 3:25 PM
> To:   [EMAIL PROTECTED]
> Subject:      Thanking Dave Sill
> 
> Dave Sill writes:
>  > What do your logs say?
> 
> I want to take a moment to publicly thank Dave Sill.  He's been *the*
> man on the spot for qmail users, both with his Living With Qmail
> document and asking the right questions of users who have a problem.
> 
> -- 
> -russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
> 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!
> 




On Wed, 4 Aug 1999, Van Liedekerke Franky wrote:

> I totally agree on this!

Ditto!

Vince.


> 
> Franky
> 
> > ----------
> > From:       Russell Nelson[SMTP:[EMAIL PROTECTED]]
> > Sent:       Wednesday, August 04, 1999 3:25 PM
> > To:         [EMAIL PROTECTED]
> > Subject:    Thanking Dave Sill
> > 
> > Dave Sill writes:
> >  > What do your logs say?
> > 
> > I want to take a moment to publicly thank Dave Sill.  He's been *the*
> > man on the spot for qmail users, both with his Living With Qmail
> > document and asking the right questions of users who have a problem.
> > 
> > -- 
> > -russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
> > 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!
> > 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







On Wed, 4 Aug 1999, Russell Nelson wrote:

>Dave Sill writes:
> > What do your logs say?
>
>I want to take a moment to publicly thank Dave Sill.  He's been *the*
>man on the spot for qmail users, both with his Living With Qmail
>document and asking the right questions of users who have a problem.
>

Agreed, i've seen him pour tons of time both into this list and the LWQ
list, and he should be commended. Thank you very much Dave.

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
 11:15am  up 12 days, 20:08,  3 users,  load average: 0.05, 0.11, 0.10





On Wed, Aug 04, 1999 at 09:25:48AM -0400, Russell Nelson wrote:
> Dave Sill writes:
>  > What do your logs say?
> 
> I want to take a moment to publicly thank Dave Sill.  He's been *the*
> man on the spot for qmail users, both with his Living With Qmail
> document and asking the right questions of users who have a problem.

Seconded with enthusiasm.

-- 
Brad Shelton  On Line Exchange  http://ole.net




Ferhat Doruk <[EMAIL PROTECTED]> wrote:

>After some our client's Bare LF problem, I used fixcr according to DJB's
>suggestion and I started qmail-smtpd process by using a command like this:
>
>/usr/local/bin/tcpserver -H -R -x/etc/tcp.smtp.cdb -c 200 -u 82 -g 81 0 smtp
>\
>sh -c '/usr/local/bin/fixcr|/var/qmail/bin/qmail-smtpd' 2>&1 |
>/var/qmail/bin/splogger smtpd 3 & 
>
>But some time later, I noticed that there were a lot of zombie processes
>like these;
>
>qmaild   46427  0.0  0.1   764  260  ??  I    Tue09AM   0:00.01
>/usr/local/bin/fixcr
>qmaild   46440  0.0  0.1   496  292  ??  I    Tue09AM   0:00.00 sh -c
>/usr/local/bin/fixcr|/var/qmail/bin/qmail-smtpd
>qmaild   46441  0.0  0.1   764  260  ??  I    Tue09AM   0:00.01
>/usr/local/bin/fixcr
>qmaild   46455  0.0  0.1   496  292  ??  I    Tue09AM   0:00.00 sh -c
>/usr/local/bin/fixcr|/var/qmail/bin/qmail-smtpd
>
>The zombies occur after connections only from clents have bare LF problem.
>How can I prevent these zombie processes? 

See:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/06/msg00661.html

>Second question:
>After I have read LWQ (by Dave), I have created a concurrencyremote file
>under /var/qmail/control and used 200 in that file.
>Can be a problem to use large numbers, because of default is relatively
>small (20)? 

This can cause problems if your system or the qmail processes don't
have sufficient resources (RAM, disk bandwidth, network bandwidth,
file descriptors, etc.) to run 200 qmail-remotes. The failure modes
are usually not catastrophic and shouldn't (won't?) cause mail to be
lost.

-Dave




Russell Nelson <[EMAIL PROTECTED]> wrote:
>
>I want to take a moment to publicly thank Dave Sill.  He's been *the*
>man on the spot for qmail users, both with his Living With Qmail
>document and asking the right questions of users who have a problem.

Russ, you're too kind. For four years you've been the man on the spot
for qmail users. I'm a just a Johnny-come-lately Russ Nelson
wannabe. A great deal of what I've learned about qmail and how to help
qmail users I learned from you.

This meeting of the Mutual Admiration Society is adjourned. :-)

-Dave




Im fishing for suggestions for my qmail box at home. I'm trying to get rid of
spam and have installed the rblsmtp program to help..
What I'd like to also do is learn how to filter stuff thats not specifically
addressed to me with procmail. Looking at Dave Sill's excellent "Life with
Qmail" document, it seems that procmail needs some tweaking to work with qmail.
Should I try to get procmail to work or would maildrop be a lot easier? And if
maildrop would be the preferred method, does anyone have any rules for for
blocking things not specifically addressed to the local user (i.e.
http://www.css.tayloru.edu/~bbell/spam-filter/)

I believe that Im using the maildir format.. :)

thanks.






[EMAIL PROTECTED] wrote:

>Im fishing for suggestions for my qmail box at home. I'm trying to get rid of
>spam and have installed the rblsmtp program to help..
>What I'd like to also do is learn how to filter stuff thats not specifically
>addressed to me with procmail. Looking at Dave Sill's excellent "Life with
>Qmail" document, it seems that procmail needs some tweaking to work with qmail.
>Should I try to get procmail to work or would maildrop be a lot easier?

If you don't already know procmail, maildrop is probably the way to
go.

>And if
>maildrop would be the preferred method, does anyone have any rules for for
>blocking things not specifically addressed to the local user (i.e.
>http://www.css.tayloru.edu/~bbell/spam-filter/)

Can't help you there, but watch your use of "filter" and "block". In
antispam circles these mean different things. Filtering is passing
messages through a pattern matching tool and filing/munging/ignoring/
bouncing messages that match various patterns. Blocking is rejecting
SMTP connections from known/suspected/likely spammers. Bouncing can
occur in two places: during the SMTP dialogue and after the message
has been accepted by the MTA, but before delivery. On the case of
spam, bouncing during the SMTP dialogue is preferable since spam often
has invalid return paths and the initial SMTP session is the only
contact you'll have with the spammer.

-Dave




>> On Wed, 4 Aug 1999 12:49:56 -0400, 
>> [EMAIL PROTECTED] said:

J> What I'd like to also do is learn how to filter stuff thats not
J> specifically addressed to me with procmail.

   I've included a small .procmailrc file which does that below.  You can
   add additional checks, and then make your final disposition decision
   based on how many "X-Spam" headers you end up with.

   Good spam and procmail information can be found here:

      http://www.best.com/~ariel/nospam/
      http://www.hrweb.org/spambouncer/spambnc.tar.Z
      http://www-new.hrweb.org/spambouncer/proctut.shtml

J> ... it seems that procmail needs some tweaking to work with qmail.

   I've never had a problem using qmail with procmail, delivering to a
   regular mailbox.  My ~/.qmail file looks like this:

      | preline /usr/local/bin/procmail

   If I want a copy of an outgoing message, I include the header
      "Bcc: vogelke-bcc" 
   which makes use of the ~/.qmail-bcc file:

      | (preline /bin/cat; echo) >> $HOME/mail/sentmail

   This way, I see the actual message as created by qmail.  I also like to
   keep track of messages I've sent recently (even if I don't need a copy
   of the whole thing), so I include the header
      "Bcc: vogelke-header"
   which makes use of the ~/.qmail-header file:

      | (preline formail -XFrom: -XSubject: -XDate: -XTo: -XMessage-ID: ;
           echo) >> $HOME/mail/SENT.`/bin/date +%Yw%W`

   All on one line, of course.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]

The Uniform Commercial Code protects the innocent purchaser, but it is not a 
shield for the sly conniver, the blindly naive, or the hopelessly gullible.
                        --Ruling in Atlas Auto Rental Corp. v. Weisberg,
                                                N.Y. City Civ. Ct. 1967

---------------------------------------------------------------------------
# Search path.
PATH=/bin:/usr/bin:/usr/local/bin

# Current directory while procmail is executing.  All pathnames are
# relative to this directory.
MAILDIR=$HOME/mail

# File containing error messages or diagnostics.  If this file does not
# exist, then said messages will be bounced back to the message sender.
#LOGFILE=$MAILDIR/MAILLOG

# If yes, keep an abstract of the From and Subject lines of each delivered
# message, the folder it was delivered to, and the size of the message.
# If no, skip this abstract.
#LOGABSTRACT=yes

# If on, describe actions of procmail in detail.
#VERBOSE=on

# Number of seconds before procmail zaps a lockfile by force.
LOCKTIMEOUT=1

# Default shell and umask value.
SHELL=/bin/sh
UMASK=022

#--------------------------------------------------------------------------
# Flag anything not addressed to me.

:0 f
* !^TO_.*vogelke
| formail -A "X-Spam: not addressed to me"

# other rules here...




[EMAIL PROTECTED] writes:

> Should I try to get procmail to work or would maildrop be a lot easier? And if
> maildrop would be the preferred method, does anyone have any rules for for
> blocking things not specifically addressed to the local user (i.e.
> http://www.css.tayloru.edu/~bbell/spam-filter/)
> 
> I believe that Im using the maildir format.. :)

If you're using maildir, you will need to patch procmail, as it doesn't
deliver to to maildirs.  As far as Bcc-s go,

if ( !hasaddr("foo@bar") )
{
     exit
}

This will discard all your blind-carbon-copied mail.




-- 
Sam





Hello List,

We have the following script on our mailserver to catch telnet attempts:

#!/bin/sh                                                              
logger "WARNING!!! Somebody wants to log into the system!!!"           
/var/qmail/bin/mailsubj "Login attempt at Mail Server!"
[EMAIL PROTECTED]  
exit 0                                                                 

However, this script stays alive until the user closes the attempted
telnet session. I assume it stays alive because mailsubj is sitting
there waiting for the Cntrl D.

Can someone suggest how to modify my script so that it runs and exits
immediately. Maybe qmail-inject?


Thx Eric

 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +





Try :
        echo | /var/qmail/bin/mailsubj "Login attempt at Mail Server!" 
[EMAIL PROTECTED]
        
-jim

> 
> Hello List,
> 
> We have the following script on our mailserver to catch telnet attempts:
> 
> #!/bin/sh                                                              
> logger "WARNING!!! Somebody wants to log into the system!!!"           
> /var/qmail/bin/mailsubj "Login attempt at Mail Server!"
> [EMAIL PROTECTED]  
> exit 0                                                                 
> 
> However, this script stays alive until the user closes the attempted
> telnet session. I assume it stays alive because mailsubj is sitting
> there waiting for the Cntrl D.
> 
> Can someone suggest how to modify my script so that it runs and exits
> immediately. Maybe qmail-inject?
> 
> 
> Thx Eric
> 
>  
> + + + + + + + + + + + + + + + + + + + +
> Spark Sistemas
>    - presentado por IWCC Argentina S.A.
>    Tel: 4702-1958
>    e-mail: [EMAIL PROTECTED]
> + + + + + + + + + + + + + + + + + + + +










#!/bin/bash
echo From: [EMAIL PROTECTED]
echo To: [EMAIL PROTECTED]
echo Subject: blah
echo
uptime
uname -a

Something like this will work if you pipe the output out to qmail-inject


On Wed, 4 Aug 1999, Eric Dahnke wrote:

>#!/bin/sh                                                              
>logger "WARNING!!! Somebody wants to log into the system!!!"           
>/var/qmail/bin/mailsubj "Login attempt at Mail Server!"
>[EMAIL PROTECTED]  
>exit 0                                                                 
>
>However, this script stays alive until the user closes the attempted
>telnet session. I assume it stays alive because mailsubj is sitting
>there waiting for the Cntrl D.
>
>Can someone suggest how to modify my script so that it runs and exits
>immediately. Maybe qmail-inject?
>
>
>Thx Eric
>
> 
>+ + + + + + + + + + + + + + + + + + + +
>Spark Sistemas
>   - presentado por IWCC Argentina S.A.
>   Tel: 4702-1958
>   e-mail: [EMAIL PROTECTED]
>+ + + + + + + + + + + + + + + + + + + +
>

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
 11:30am  up 12 days, 20:23,  3 users,  load average: 0.06, 0.12, 0.13





anyone done it?
does it work?
any comments?
thanks ahead of time
dmc





I must be utterly misunderstanding the documentation.

I"m trying to create a system-wide alias to catch pager requests.

So, I created:

  # cat ~alias/.qmail-page
  | /usr/local/bin/sendpage -B -S -c Subject: -f "$EXT"

  # ls -l ~alias/.qmail-page
  -rw-r--r--  1 root  qmail  84 Aug  4 19:55 /var/qmail/alias/.qmail-page

My logs show:

  Aug  4 20:06:57 cerebro qmail: 933815217.325457 new msg 126985

  Aug  4 20:06:57 cerebro qmail: 933815217.331690 info msg 126985:
  bytes 436 from <[EMAIL PROTECTED]> qp 21533 uid 1001
  
  Aug  4 20:06:57 cerebro qmail: 933815217.340879 starting
  delivery 75: msg 126985 to local [EMAIL PROTECTED]

  Aug  4 20:06:57 cerebro qmail: 933815217.342534 status: local
  1/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.355588
  delivery 75: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

  Aug  4 20:06:57 cerebro qmail: 933815217.361805 status: local
  0/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.390392
  bounce msg 126985 qp 21536

Checking with qmail-getpw:

  # echo "`qmail-getpw page-brian`"
  alias 1002 1002 /var/qmail/alias - page-brian

Look good to me.

I restarted qmail-send, etc.  I realize I'll eventually need to be
more clever with exit codes, but why _can't_ I do this at it is?

FWIW, this is with qmail-1.03 under FreeBSD3-3.2.

Opinions?

-- 
Brian 'you Bastard' Reichert            [EMAIL PROTECTED]
37 Crystal Ave. #303                    Daytime number: (781) 899-7484 x704
Derry NH 03038-1713 USA                 Intel architecture: the left-hand path




On Wed, Aug 04, 1999 at 08:15:06PM -0400, Brian Reichert wrote:
> I must be utterly misunderstanding the documentation.
> 
> I"m trying to create a system-wide alias to catch pager requests.
> 
> So, I created:
> 
>   # cat ~alias/.qmail-page
>   | /usr/local/bin/sendpage -B -S -c Subject: -f "$EXT"
> 
>   # ls -l ~alias/.qmail-page
>   -rw-r--r--  1 root  qmail  84 Aug  4 19:55 /var/qmail/alias/.qmail-page
> 
> My logs show:
> 
>   Aug  4 20:06:57 cerebro qmail: 933815217.325457 new msg 126985
> 
>   Aug  4 20:06:57 cerebro qmail: 933815217.331690 info msg 126985:
>   bytes 436 from <[EMAIL PROTECTED]> qp 21533 uid 1001
>   
>   Aug  4 20:06:57 cerebro qmail: 933815217.340879 starting
>   delivery 75: msg 126985 to local [EMAIL PROTECTED]
> 
>   Aug  4 20:06:57 cerebro qmail: 933815217.342534 status: local
>   1/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.355588
>   delivery 75: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> 
>   Aug  4 20:06:57 cerebro qmail: 933815217.361805 status: local
>   0/10 remote 0/20 Aug  4 20:06:57 cerebro qmail: 933815217.390392
>   bounce msg 126985 qp 21536
> 
> Checking with qmail-getpw:
> 
>   # echo "`qmail-getpw page-brian`"
>   alias 1002 1002 /var/qmail/alias - page-brian
> 
> Look good to me.

Your ~alias/.qmail-page file should be ~alias/.qmail-page-default.

Chris




I installed Qmail 1.03 + UCE patch + Maildrop filter 4 month ago. I'm feel
very happy because anything well. Now we have a branch office, and I intend
to use e-mail offline service. I'd downloaded and installed serialmail.
Follow the instructions described in FROMISP and TOISP, I'd set up a virtual
domain for our branch office. Anything is OK! Unfortunately when I set up
AutoTurn service, the problem occurs. This is not serialmail problem, but
it's qmail problem.

Follow step 2 (described in file AUTOTURN), I put the following line:

+autoturn-:qmaild:202:201:/var/qmail/autorturn:-::

 into /var/qmail/control/assign. (in my case, 202 = qmaild UID, 201 =
nofiles GID)

Then I run qmail-newu and it says "qmail-newu: fatal: bad format in
users/assign".

I had read the qmail-users, qmail-newu manual page carefully. So, I don't
know why it doesn't work.

Please tell me what's wrong in my configuration. Thank you very much.

Best regards,

Dong

----------------------------------------------------------------
Nguyen Dang Phuoc Dong
Phuong Nam Net. - System Administrator.






# into /var/qmail/control/assign. (in my case, 202 = qmaild UID, 201 =
#nofiles GID)
#
#Then I run qmail-newu and it says "qmail-newu: fatal: bad format in
#users/assign".

Make sure your last line in users/assign file ends with a line with only a
dot like this:
.


#
#I had read the qmail-users, qmail-newu manual page carefully. So, I don't
#know why it doesn't work.
#
#Please tell me what's wrong in my configuration. Thank you very much.
#
#Best regards,
#
#Dong
#
#----------------------------------------------------------------
#Nguyen Dang Phuoc Dong
#Phuong Nam Net. - System Administrator.
#
#

________________________________
Goh Sek Chye
SingNet Network Operations Centre
-------------------------------------------------------------------
PGP Public Key:         finger [EMAIL PROTECTED]
Key fingerprint =  55 9E FF EA 4D A7 33 25  03 00 3E BF A2 F3 AF 6A
-------------------------------------------------------------------





Hello,

+AD4-Make sure your last line in users/assign file ends with a line with only a
+AD4-dot like this:
+AD4-.
+AD4-


Exactly+ACE- Thank you very much. It's not qmail problem. I didn't read the
qmail-users manual page carefully. I'm terribly sorry, :-)

Best regards,
Dong
--------------------------------------------------------
Nguyen Dang Phuoc Dong
Phuong Nam Net. - System Administrator.





if I make a .qmail file that looks like this:

| echo "Dear $SENDER,
Thank You for joining our e-newsletter. This e-mail is a confirmation that
you have been added to our e-newsletter mailing list.
"
| MAILNAME="Flounder.net autoresponder" qmail-inject $SENDER

qmail says:

933825055.140515 delivery 18846: deferral:
/bin/sh:_-c:_line_1:_unexpected_EOF_while_looking_for_matching_`"'//bin/sh:_-c:_line_2:_syntax_error:_unexpected_end_of_file/

Is there a way to span lines like this?  I want to make autoresponders
without reading external files or spawning scripts...  But I don't want the 
entire e-mail to be on one line :)  Even if I put \'s at the end of each 
line, qmail-local treats all of the lines as separate commands.  I know that 
this is documented behavior..  What I want to know is if there is a way around
it.. :)

TIA

--Adam




try adding \ at the end of each line.

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]

On Wed, 4 Aug 1999, Adam D . McKenna wrote:

> if I make a .qmail file that looks like this:
> 
> | echo "Dear $SENDER,
> Thank You for joining our e-newsletter. This e-mail is a confirmation that
> you have been added to our e-newsletter mailing list.
> "
> | MAILNAME="Flounder.net autoresponder" qmail-inject $SENDER
> 
> qmail says:
> 
> 933825055.140515 delivery 18846: deferral:
> 
>/bin/sh:_-c:_line_1:_unexpected_EOF_while_looking_for_matching_`"'//bin/sh:_-c:_line_2:_syntax_error:_unexpected_end_of_file/
> 
> Is there a way to span lines like this?  I want to make autoresponders
> without reading external files or spawning scripts...  But I don't want the 
> entire e-mail to be on one line :)  Even if I put \'s at the end of each 
> line, qmail-local treats all of the lines as separate commands.  I know that 
> this is documented behavior..  What I want to know is if there is a way around
> it.. :)
> 
> TIA
> 
> --Adam
> 





never mind, I figured it out.

the answer was "man echo"

--Adam

On Thu, Aug 05, 1999 at 12:11:38AM -0400, Paul Farber wrote:
> try adding \ at the end of each line.
> 
> Paul D. Farber II
> Farber Technology
> Ph. 570-628-5303
> Fax 570-628-5545
> [EMAIL PROTECTED]
> 
> On Wed, 4 Aug 1999, Adam D . McKenna wrote:
> 
> > if I make a .qmail file that looks like this:
> > 
> > | echo "Dear $SENDER,
> > Thank You for joining our e-newsletter. This e-mail is a confirmation that
> > you have been added to our e-newsletter mailing list.
> > "
> > | MAILNAME="Flounder.net autoresponder" qmail-inject $SENDER
> > 
> > qmail says:
> > 
> > 933825055.140515 delivery 18846: deferral:
> > 
>/bin/sh:_-c:_line_1:_unexpected_EOF_while_looking_for_matching_`"'//bin/sh:_-c:_line_2:_syntax_error:_unexpected_end_of_file/
> > 
> > Is there a way to span lines like this?  I want to make autoresponders
> > without reading external files or spawning scripts...  But I don't want the 
> > entire e-mail to be on one line :)  Even if I put \'s at the end of each 
> > line, qmail-local treats all of the lines as separate commands.  I know that 
> > this is documented behavior..  What I want to know is if there is a way around
> > it.. :)
> > 
> > TIA
> > 
> > --Adam
> > 
> 




Hi all,

I know that the archive is full of alias problems but so far I cannot
seem to find someone mentioning the simplest (and worst) problem of
them all: If an account exists that is the same name as a virtual-domain
specific alias (or even any alias for that matter), the account takes
preference over the alias and the mail goes straight to the account.

Am I the only who thinks this is completey backwards???

We have got all the fastforward/dot-forward packages included and have
still been suffering from this for almost a year now. Our prior two years 
with Sendmail means that we have quite a serious dependance on the concept
that an alias will override an account of the same name. Worse still, we
have WWW access for our resellers/agents to add users to the system.
The system ofcourse checks to see if the user is taken/invalid and if not, 
allows them to add the user. However, we might have (for example) 5
different aliases for "design" 
ie:     [EMAIL PROTECTED]  -->  account1
        [EMAIL PROTECTED]  -->  account2
        [EMAIL PROTECTED]  -->  account3
        [EMAIL PROTECTED]  -->  account4
        [EMAIL PROTECTED]  -->  account5

Now, it only takes one of them to unknowingly create a "design"
account (thru the adduser system) to completely stuff things up and
give me 5 complaining customers in one hit. Mail for "design@anything"
will ONLY go to the mailbox (completely ignoring the aliases).

I have examined the modular nature of qmail's smtp procedure
but it still forces this BACKWARDS preference towards accounts,
within a single step so I cannot even change the order of things.

This whole situation is getting VERY frustrating.
Guess how much fun it is explaining to a domain customer that someone 
else has your mail, purely because they chose an alias that was less
than eight chars. I just had to right now :-(

Has anyone managed to get a sane alias system going under Qmail?

This can't be the way they intended it???

Regards and appologies for my stressed tone,
-Daniel

PS: I haven't been subscribed to this list just yet so please
cc any posts to my email too. thanks


         Daniel Callan
        System Engineer/
       Senior Programmer

     [EMAIL PROTECTED]
      -- DataLine.net.au --
     http://dataline.net.au 

"Nothing travels faster than the speed of light 
with the possible exception of bad news, 
which obeys its own special laws."
-Douglas Adams
Mostly Harmless




On Thu, 5 Aug 1999, Daniel Callan wrote:

> Hi all,
> 
> I know that the archive is full of alias problems but so far I cannot
> seem to find someone mentioning the simplest (and worst) problem of
> them all: If an account exists that is the same name as a virtual-domain
> specific alias (or even any alias for that matter), the account takes
> preference over the alias and the mail goes straight to the account.

This is not correct. I don't know what you mean by "virtual-domain
specific alias", but only domains that are local - i.e. exists in
control/locals will result in an immediate delivery to the local user if
the user exists. 
   ALL local deliveries are done first.

> Am I the only who thinks this is completey backwards???

Unfortunately not.
 
> We have got all the fastforward/dot-forward packages included and have
> still been suffering from this for almost a year now. Our prior two years 
> with Sendmail means that we have quite a serious dependance on the concept
> that an alias will override an account of the same name. Worse still, we
> have WWW access for our resellers/agents to add users to the system.
> The system ofcourse checks to see if the user is taken/invalid and if not, 
> allows them to add the user. However, we might have (for example) 5
> different aliases for "design" 
> ie:   [EMAIL PROTECTED]  -->  account1
>       [EMAIL PROTECTED]  -->  account2
>       [EMAIL PROTECTED]  -->  account3
>       [EMAIL PROTECTED]  -->  account4
>       [EMAIL PROTECTED]  -->  account5
> 
> Now, it only takes one of them to unknowingly create a "design"
> account (thru the adduser system) to completely stuff things up and
> give me 5 complaining customers in one hit. Mail for "design@anything"
> will ONLY go to the mailbox (completely ignoring the aliases).

[...]

> Has anyone managed to get a sane alias system going under Qmail?

yes. indeed.

Check out 

http://x42.com/doc/qmail/vdomains1.txt

for an old posting to this list.

There will be a section in LWQ about this. 

/magnus





Hi Magnus,

Thanks for your reply.

At 08:21 5/08/99 +0200, you wrote:
>> I know that the archive is full of alias problems but so far I cannot
>> seem to find someone mentioning the simplest (and worst) problem of
>> them all: If an account exists that is the same name as a virtual-domain
>> specific alias (or even any alias for that matter), the account takes
>> preference over the alias and the mail goes straight to the account.
>
>This is not correct. 

Which part?

>I don't know what you mean by "virtual-domain
>specific alias", 

I meant (in /etc/aliases):

[EMAIL PROTECTED]:        account1        (domain specific alias)
[EMAIL PROTECTED]:        account2

AS OPPOSED TO

design: account1                (gloabal alias)

>but only domains that are local - i.e. exists in
>control/locals will result in an immediate delivery to the local user if
>the user exists. 
>   ALL local deliveries are done first.

All of the virtual domains I'm using are in control/locals AND
in control/virtdomains. If they weren't, I couldn't use them as domains
for all the local accounts. None of the domains are soley for either
purpose, they are all used for BOTH accounts and aliases.

Point is, Sendmail was able to have virtual domains apply to all
known accounts and aliases (WITH ALIASES CHECKED BEFORE ACCOUNTS).

>
>> Am I the only who thinks this is completey backwards???
>
>Unfortunately not.

Glad to hear that at least ;-)

> 
>> Has anyone managed to get a sane alias system going under Qmail?
>
>yes. indeed.
>
>Check out 
>http://x42.com/doc/qmail/vdomains1.txt
>for an old posting to this list.
>
>There will be a section in LWQ about this. 
>

I did and strangely enough it doesn't vary from our setup very much
at all. More particularly, we have already achieved the goals of that
page. Only we DO have them in locals (to make the normal accounts respond 
to that domain too) and we run the aliases straight from the /etc/aliases
(to keep the lusers from wiping their .qmail* files under FTP)

ie:
>>I am trying to set up multiple domains with multiple aliases. For
> example:
>  Joe B. has a login of joeb and an email address of -  [EMAIL PROTECTED] Yet
>  Joe H. has a login in as joeh and an email address of - [EMAIL PROTECTED]
>

I can already do this quite effectively :-)

What I CAN'T do is:

Joe B. has a login of "joeb" and an email address of -  [EMAIL PROTECTED]  
(WORKS OK)
Joe H. has a login in as "joeh" and an email address of - [EMAIL PROTECTED]  
(STILL WORKS)
Joe ? comes along and gets the login "joe" for email of - [EMAIL PROTECTED]
(DOH! THIS ACCOUNT GETS MAIL FOR ALL THREE OF THEM)

This was not the case in Sendmail. Why change?

As I mentioned earlier, I definately require BOTH kinds of
functionality for each domain (ie: local aliases AND local accounts).
We are a Virtual ISP / Web Domain hosting service and have about
200 virtual domains on this mailserver (about 50 of which have 100-500
local email accounts for each of that clients' users AND a gaggle of aliases 
for themselves, some of which shorter than 8 chars eg: design, info).

This is why solutions such as "Domain only works for local aliases" or
"Domain only works for local accounts" are not even an option for us.
I need both. :-\

It just seems so silly to check accounts before aliases, for any reason 
at all. I really can't fathom a single benefit from that order.


Thanks for the help anyway, 
(sorry if I'm sounding out of sorts, 
I am having the day from hell here)

Regards,
-Daniel


         Daniel Callan
        System Engineer/
       Senior Programmer

     [EMAIL PROTECTED]
      -- DataLine.net.au --
     http://dataline.net.au 




On Thu, Aug 05, 1999 at 06:41:46PM +1000, Daniel Callan wrote:
> Hi Magnus,
> 
> Thanks for your reply.
> 
> At 08:21 5/08/99 +0200, you wrote:
> >> I know that the archive is full of alias problems but so far I cannot
> >> seem to find someone mentioning the simplest (and worst) problem of
> >> them all: If an account exists that is the same name as a virtual-domain
> >> specific alias (or even any alias for that matter), the account takes
> >> preference over the alias and the mail goes straight to the account.
> >
> >This is not correct. 
> 
> Which part?
> 
> >I don't know what you mean by "virtual-domain
> >specific alias", 
> 
> I meant (in /etc/aliases):
> 
> [EMAIL PROTECTED]:      account1        (domain specific alias)
> [EMAIL PROTECTED]:      account2
> 
> AS OPPOSED TO
> 
> design:       account1                (gloabal alias)
> 
> >but only domains that are local - i.e. exists in
> >control/locals will result in an immediate delivery to the local user if
> >the user exists. 
> >   ALL local deliveries are done first.
> 
> All of the virtual domains I'm using are in control/locals AND
> in control/virtdomains.

This is *always * wrong. There's never a situation where a domain should be in
both locals and virtualdomains. In fact, putting a domain in locals and
virtualdomains is exactly the same as putting it in locals only.

Chris




On Thu, Aug 05, 1999 at 06:41:46PM +1000, Daniel Callan wrote:
> Hi Magnus,
> 
> Thanks for your reply.
> 
> At 08:21 5/08/99 +0200, you wrote:
> >> I know that the archive is full of alias problems but so far I cannot
> >> seem to find someone mentioning the simplest (and worst) problem of
> >> them all: If an account exists that is the same name as a virtual-domain
> >> specific alias (or even any alias for that matter), the account takes
> >> preference over the alias and the mail goes straight to the account.
> >
> >This is not correct. 
> 
> Which part?
> 
> >I don't know what you mean by "virtual-domain
> >specific alias", 
> 
> I meant (in /etc/aliases):
> 
> [EMAIL PROTECTED]:      account1        (domain specific alias)
> [EMAIL PROTECTED]:      account2
> 
> AS OPPOSED TO
> 
> design:       account1                (gloabal alias)
> 
> >but only domains that are local - i.e. exists in
> >control/locals will result in an immediate delivery to the local user if
> >the user exists. 
> >   ALL local deliveries are done first.
> 
> All of the virtual domains I'm using are in control/locals AND
> in control/virtdomains. If they weren't, I couldn't use them as domains
> for all the local accounts. None of the domains are soley for either
> purpose, they are all used for BOTH accounts and aliases.

First of all, you'll have to clear up your understanding of the whole
locals/virtualdomains thing. Then, grab this message from the archives for a
simple solution to your problem that I posted a while back:
[EMAIL PROTECTED]

Chris






I just noticed messages to non-existant hosts (due to typos or whatever)
don't get bounced, but instead stay stuck in the queue for the full
lifetime (1 week here). any REALLY good reaon for that?





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

> I just noticed messages to non-existant hosts (due to typos or whatever)
> don't get bounced, but instead stay stuck in the queue for the full
> lifetime (1 week here). any REALLY good reaon for that?

If qmail gets hard error (authoritative answer "host doesn't exist"), it 
bounces immediatelly. However, if it gets soft error (non-
authoritative answer, lame server etc.), it keeps retrying, giving the 
chance to the remote admin to fix his DNS setup.

Check your logs and your bind why is returns temporary errors for 
non-existing hosts.

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

iQA/AwUBN6lHnFMwP8g7qbw/EQJ3igCgw/Xmot89WHi2JEDAzZp3YgdWEzwAoMcI
bkzl84PwCAS7bgcyc9M/fdpV
=oMf2
-----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]




Sorry, but I'm new with serialmail.
I have a Debian 2.1 with kernel 2.0.34, qmail 1.03, serialmail 0.75,
ucspi_tcp 0.84 and mutt
0.95.
I have a problem with serialmail. I created the maildir pppdir with
maildirmake in
/var/qmail/alias/ and my script to send mails is this:

#!/bin/sh
DIR=/var/qmail/alias/pppdir
PREFIX=alias-ppp-
IP=mail.iol.it
HELOHOST=`hostname --fqdn`
/usr/local/bin/maildirsmtp $DIR $PREFIX $IP $HELOHOST

So, when i write a message with mutt and i send it, the message doesn't
queue up the pppdir directory
so that i pratically can't send  it with my script.
__
Thank you in advance,
                    Enrico Mangano.



Reply via email to