qmail Digest 6 Nov 1999 11:00:01 -0000 Issue 812

Topics (messages 32525 through 32579):

REMOTE DELIVERY TO MULTIPLE RECIPIENTS
        32525 by: Matej Ondrusek
        32527 by: Sam
        32533 by: Dave Sill

Re: virus scanner
        32526 by: Alex at Star

Re: running ucspi-tcp does not work
        32528 by: Andrés Méndez

mailquotacheck
        32529 by: Andrés Méndez
        32530 by: Andrés Méndez
        32531 by: Magnus Bodin
        32532 by: Petr Novotny

Re: Finally it works (except for root)- add this to a FAQ or whatever
        32534 by: Dave Sill

Stopping spam
        32535 by: Andrés Méndez
        32536 by: Petr Novotny

Re: Concurrency, and your average mail server
        32537 by: Dave Sill

quick question re: starting with rblsmtpd
        32538 by: Brandon Dudley
        32539 by: Dave Sill
        32540 by: Brandon Dudley
        32542 by: Dave Sill
        32543 by: Greg Owen
        32548 by: Brandon Dudley
        32550 by: Peter Abplanalp
        32552 by: Petr Novotny
        32553 by: Peter Abplanalp
        32555 by: Brandon Dudley
        32566 by: troy.graphon.com

list conventions.
        32541 by: Andy Bradford
        32544 by: Dave Sill
        32546 by: Andy Bradford

[Fwd: qmail-start alert]
        32545 by: Stephan Pfeiffer

maxrcpt.patch
        32547 by: Andrés Méndez
        32549 by: Andrés Méndez
        32551 by: Petr Novotny
        32559 by: Andrés Méndez
        32560 by: Ricardo Cerqueira
        32563 by: Andrés Méndez
        32564 by: Ricardo Cerqueira
        32567 by: Andrés Méndez
        32570 by: Andrés Méndez
        32571 by: Andrés Méndez

The timestamp works except......
        32554 by: Genealogy Online
        32561 by: Genealogy Online
        32572 by: Genealogy Online

Qmail - Startup and POP3 Problems
        32556 by: Michael Gatti
        32557 by: Peter Abplanalp
        32558 by: Andrés Méndez
        32578 by: Marco Leeflang

maxrcpt.patch and qmail-1.03
        32562 by: Andrés Méndez

Re: spambait?
        32565 by: David L. Nicol

Re: Command-line mailer
        32568 by: David L. Nicol

Re: extracting passwords from NTMail?
        32569 by: David L. Nicol

Problem with mfcheck patch on www.qmail.org
        32573 by: Racer X

Forwarding Root email
        32574 by: G. Ryan Fawcett
        32577 by: Magnus Bodin

Re: ezmlm problems
        32575 by: Ronald Wiplinger

Removing a delivery from the queue?
        32576 by: paul.cuenet.com

mailquotacheck and quota.patch
        32579 by: Andrés Méndez

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]


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


Hello all,

I send a mail with multiple recipients to qmail. According to qmail 
configuration, it should be forwarded to another host for all listed 
recipients. I would expect, that it will be sended as a single 
message in single SMTP session (with multiple RCPT TO:). But it's not 
true - qmail sends it as many separate messages - for each recipient 
one.

Does anybody know why ? Does anybody know, under which conditions 
will qmail do remote delivery with multiple recipients in single SMTP 
session ?

It's very important question, because qmail is used as a mail server 
on local intranet - it delivers messages for local users on local 
hosts and it forwards all mails for Internet recipients to the ISP's 
mail server via dial-up line. So when single message to many Internet 
recipients is sent, it increases connection time&cost rapidly, if it 
is forwarded to ISP's mail server as seperate mail for each address.

Thank you very much for any answers or recommendations.


Matej Ondrusek
[EMAIL PROTECTED]









On Fri, 5 Nov 1999, Matej Ondrusek wrote:

> recipients. I would expect, that it will be sended as a single 
> message in single SMTP session (with multiple RCPT TO:). But it's not 
> true - qmail sends it as many separate messages - for each recipient 
> one.
> 
> Does anybody know why ?

That's because that's how it works.

>                         Does anybody know, under which conditions 
> will qmail do remote delivery with multiple recipients in single SMTP 
> session ?

Never.

> It's very important question, because qmail is used as a mail server 
> on local intranet - it delivers messages for local users on local 
> hosts and it forwards all mails for Internet recipients to the ISP's 
> mail server via dial-up line. So when single message to many Internet 
> recipients is sent, it increases connection time&cost rapidly, if it 
> is forwarded to ISP's mail server as seperate mail for each address.
> 
> Thank you very much for any answers or recommendations.

Use something else, because Qmail wil not work for you.

--
Sam





Matej Ondrusek <[EMAIL PROTECTED]> wrote:

>Does anybody know why ? Does anybody know, under which conditions 
>will qmail do remote delivery with multiple recipients in single SMTP 
>session ?

See:

    http://Web.InfoAve.Net/~dsill/lwq.html#multi-rcpt

>It's very important question, because qmail is used as a mail server 
>on local intranet - it delivers messages for local users on local 
>hosts and it forwards all mails for Internet recipients to the ISP's 
>mail server via dial-up line. So when single message to many Internet 
>recipients is sent, it increases connection time&cost rapidly, if it 
>is forwarded to ISP's mail server as seperate mail for each address.

qmail is designed for well-connected systems.

-Dave




>Benjamin de los Angeles Jr.:
>How fast is the scan?  

We find that virus scanning slows down the mail system by a factor of 10.
Or, to put it another way, you need 10 times as much hardware as you did without
virus scanning to acheive the same performance.




________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm




Where did you add that line?
 
I recommend you to put the complete location of tcpserver, /usr/sbin/...../tcpserver
----- Original Message -----
From: john
Sent: Friday, November 05, 1999 10:57 AM
Subject: running ucspi-tcp does not work

Hi,
 
I installed ucspi-tcp and i tried replacing smtp with tcpserver
 
so I added tcpserver -v -u 500 -g 500 0 smtp /var/qmail/bin/qmail-smtpd \ 2>$1 | /var/qmail/bin/splogger smtpd 3 &
 
i saved the file and rebooted
 
now I don't seem to be receiving any mails with tcpserver.
 
Help pls
 
John




Hello.
 
I've installed it under Linux RedHat 6.0.
 
One question: Is it possible that when an e-mail bigger than the quota is sent and can't be delivered a return message was sent to the FROM: person? I've thought about that feature because imagine Peter sending messages to a Laura but as Laura has reached her quota limit neither Peter nor Laura will ever know why she isn't receiving the e-mails.
 
Bye.




And how do I stop that message (which is too large), because when it can't be delivered to the user it is send to root -> mailbombing :-(
 
 
----- Original Message -----
To: QMail
Sent: Friday, November 05, 1999 4:29 PM
Subject: mailquotacheck

Hello.
 
I've installed it under Linux RedHat 6.0.
 
One question: Is it possible that when an e-mail bigger than the quota is sent and can't be delivered a return message was sent to the FROM: person? I've thought about that feature because imagine Peter sending messages to a Laura but as Laura has reached her quota limit neither Peter nor Laura will ever know why she isn't receiving the e-mails.
 
Bye.




On Fri, Nov 05, 1999 at 04:29:27PM +0100, Andrés Méndez wrote:
> Hello.
> 
> I've installed it under Linux RedHat 6.0.
> 
> One question: Is it possible that when an e-mail bigger than the quota is sent and 
>can't be delivered a return message was sent to the FROM: person? I've thought about 
>that feature because imagine Peter sending messages to a Laura but as Laura has 
>reached her quota limit neither Peter nor Laura will ever know why she isn't 
>receiving the e-mails.



1. Important: You need to check whether the letter you are bouncing is a
   bounce itself. Otherwise the mailquotacheck can generate looping mails.

2. I'd rather send ONE last letter to the person that has overridden her 
   quota. An informal "You will not receive more mail until you tidy up 
   around here.."
   (of course you will need to check for this mail too before sending 
    another..)



/magnus

--
MOST useless 1998 * http://x42.com/




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

On 5 Nov 99, at 16:39, Magnus Bodin wrote:
> 2. I'd rather send ONE last letter to the person that has overridden her 
>    quota. An informal "You will not receive more mail until you tidy up
>    around here.." (of course you will need to check for this mail too
>    before sending 
>     another..)

I _think_ you can do that by linking a file into his/her ~/Maildir/new 
directory with a special name. That way, it
1. doesn't cost you disk space
2. doesn't get overwritten by qmail-local
3. you can easily check for it, or you can simply re-link it
4. it gets unlinked correctly by qmail-pop3d


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

iQA/AwUBOCMKkVMwP8g7qbw/EQKsPACfYHBwbYLkNIwwRcJ2go0GT5lhbEAAoJzq
RkKFrrhliQbvClF/QBBmguNV
=2RuE
-----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]




Andrés <[EMAIL PROTECTED]>wrote:

>Finally I learned that qmail-pop3d only works with Maildir.

Yeah, it was buried in the second paragraph of the man page. :-)

>I had to change /var/qmail/rc to Maildir.

That's optional. The other alternative is .qmail files in user home
directories specifying delivery to Maildir.

>My /etc/passwd file had the user's directory hacked to contain a /./
>to make wu-ftpd chroot that directory, and qmail didn't like it.

Symptoms? "/./" is a no-op.

>PD: sending an e-mail to root doesn't work yet, really strange
>because it thinks that root's e-mail is in
>/var/qmail/alias/Maildir. Why?

See:

    http://Web.InfoAve.Net/~dsill/lwq.html#root-delivery

-Dave




Hello.
 
If I want to stop some kinds of spam, do I have to install procmail or qmail can defeat spam?
 
Are more programs, like procmail, to defeat spam?




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

On 5 Nov 99, at 17:03, Andrés Méndez wrote:

> If I want to stop some kinds of spam, do I have to install procmail or
> qmail can defeat spam?

How exactly does procmail beat spam?

> Are more programs, like procmail, to defeat spam?

Yes. Have you been to www.qmail.org? There are links for a lot of
them.

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

iQA/AwUBOCMQdVMwP8g7qbw/EQJNRgCg4viyK3d0k6Mfnh9wII8ReIC2hXAAoKin
oL6e0f1s0RhyM5LZ6kCy1jR2
=AJYC
-----END PGP SIGNATURE-----




Eric Dahnke <[EMAIL PROTECTED]> wrote:

>A default qmail/tcpserver installation can do incoming and outgoing
>concurrency of about 255 each, no?

No. A default qmail/tcpserver installation can do 20 local
deliveries, 20 remote deliveries, and 40 incoming SMTP sessions. The
local and remote concurrencies can be raised to 120 by reconfiguration 
and to 255 by adjusting "conf-spawn" and recompiling. There are
patches to raise that even higher, and multiple independent qmail
installations on the same system can also be used.

>How does this compare to the default configs of the best (or better)
>known e-mail servers like sendmail,

Delivery concurrency is one per message plus one or more queue
runners. Incoming concurrency is limited only by system resources,
load average, and inetd's connection rate limit.

>Post.Office

Don't know.

>Postfix,

50 processes total (incoming+outgoing+daemons+local deliveries). Upper 
limit is determined by system resources.

>NTmail, Exchange, Netscape's mail server, etc...

Don't know.

-Dave





I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
working. 

/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin
/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/loca
l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/b
in/splogger smtpd 3 &

when I tried running it at the command line, I got the following error:

Ambiguous output redirect.

which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 2>&1" 
part...the question is, what should it read? Would upgrading to RH 6.1 have 
changed this? I would have thought the redirect syntax has been around longer
than most current high school students. :)

Thanks for the help...

Brandon




Brandon Dudley <[EMAIL PROTECTED]> wrote:

>I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
>working. 
>
>/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
>16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin
>/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/loca
>l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/b
>in/splogger smtpd 3 &
>
>when I tried running it at the command line, I got the following error:
>
>Ambiguous output redirect.
>
>which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 2>&1" 
>part...the question is, what should it read? Would upgrading to RH 6.1 have 
>changed this? I would have thought the redirect syntax has been around longer
>than most current high school students. :)

Which shell are you using? Which shell does your qmail script specify?

-Dave





here's the whole script...short answer is csh:

#!/bin/sh
#
# qmail         /etc/init.d script for qmail (http://www.qmail.org/)
#
# Version:      @(#) /etc/init.d/qmail 1.00 03-Sep-1997
#
# Author:       Larry Doolittle <[EMAIL PROTECTED]>
#               derived from skeleton by Miquel van Smoorenburg,
#               <[EMAIL PROTECTED]>
#

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
        touch /var/lock/subsys/qmail
        env - PATH="/var/qmail/bin:$PATH" \
        csh -cf 'qmail-start ./Mailbox splogger qmail &'
        # should limit RLIMIT_AS here, but bash apparently doesn't
        # know that exists.  For now it is hacked into qmail-smtpd.
        # 0.5M data should be plenty, resists DOS attacks
       /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp 
/usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local/bin/rblsmtpd 
-rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
-rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
       echo $! >/var/local/subsys/qmail-smtpd
        ;;
  stop)
        killall qmail-send
        kill `cat /var/local/subsys/qmail-smtpd`
        rm -f /var/lock/subsys/qmail-smtpd
        rm -f /var/lock/subsys/qmail
        ;;
  *)
        echo "Usage: qmail {start|stop}"
        exit 1
esac

exit 0

> Brandon Dudley <[EMAIL PROTECTED]> wrote:
> 
> >I was using this command in /etc/rc.d/init.d/qmail before, but now it is not
> >working. 
> >
> >/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -q -u
> >16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com /usr/local
   >/bin
> >/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/
   >loca
> >l/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd 2>&1 | /var/qma
   >il/b
> >in/splogger smtpd 3 &
> >
> >when I tried running it at the command line, I got the following error:
> >
> >Ambiguous output redirect.
> >
> >which I guess would have to do with the ".../var/qmail/bin/qmail-smtpd 2>&1"
   > part...the question is, what should it read? Would upgrading to RH 6.1 hav
   >e 
> >changed this? I would have thought the redirect syntax has been around longe
   >r
> >than most current high school students. :)
> 
> Which shell are you using? Which shell does your qmail script specify?
> 
> -Dave




Brandon Dudley <[EMAIL PROTECTED]> wrote:

>here's the whole script...short answer is csh:
>
>#!/bin/sh

That's the problem: you're using Bourne shell syntax in the C Shell.
My csh skills are rusty; I can't remember how to redirect stderr.

-Dave




> Brandon Dudley <[EMAIL PROTECTED]> wrote:
> >here's the whole script...short answer is csh:
> >
> >#!/bin/sh
> 
> That's the problem: you're using Bourne shell syntax in the C Shell.
> My csh skills are rusty; I can't remember how to redirect stderr.

        To redirect both stdin and stderr to one place, use:

progname >& outputfile

        If you wish to redirect them to different places, csh does not
handle this case well.  You need to use a subshell like such:

(progname > stdin-outputfile) >& stderroutputfile

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]





ok, so I dumped my old rc script and modified Dave Sill's with the rblsmtpd
entry I was using (taken from the qmail archives)....smtpd starts and all 
seems hunk dory, except when I telnet into port 25 I don't receive a greeting
from rblsmtpd...is that normal?

Here's the mods I made:

[brandon@misanthrope init.d]# more qmail                                
#!/bin/sh

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

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

case "$1" in
  start)
    echo -n "Starting qmail: qmail-send"
    supervise /var/supervise/qmail/send /var/qmail/rc |
        setuser qmaill cyclog /var/log/qmail &

    echo -n " qmail-smtpd"
    supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb 
-q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd -rrelays.radparker.com 
/usr/local/bin/rblsmtpd -rrelays.orbs.org /usr/local/bin/rblsmtpd -rrbl.maps.vix.com 
/usr/local/bin/rblsmtpd -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 2>&1 | 
setuser qmaill accustamp | setuser qmaill cyclog /var/log/qmail/smtpd &
    echo "."
    ;;

nothing shows up in the logs after starting this up. Telnetting into port 25
gives me this:

brandon@dudman [9:07am] /home/brandon 331> telnet discontent.com 25
Trying 216.100.35.70...
Connected to discontent.com.
Escape character is '^]'.
220 misanthrope.discontent.com ESMTP

502 unimplemented (#5.5.1)

502 unimplemented (#5.5.1)
quit
221 misanthrope.discontent.com
Connection closed by foreign host.

Does this look right?

Thanks for all the help so far.

Brandon




That looks correct as far as the telnet goes.  You need to speak SMTP to 
it.  I don't know why nothing would show up in the logs.  Have you looked 
in /var/log/maillog, /var/log/qmail, /var/log/qmail/smtpd ot maybe 
/var/log/qmail-smtpd?

-Peter

> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Delivered-To: mailing list [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: quick question re: starting with rblsmtpd 
> Date: Fri, 05 Nov 1999 09:27:41 -0800
> From: Brandon Dudley <[EMAIL PROTECTED]>
> 
> 
> ok, so I dumped my old rc script and modified Dave Sill's with the 
rblsmtpd
> entry I was using (taken from the qmail archives)....smtpd starts and all 
> seems hunk dory, except when I telnet into port 25 I don't receive a 
greeting
> from rblsmtpd...is that normal?
> 
> Here's the mods I made:
> 
> [brandon@misanthrope init.d]# more qmail                                
> #!/bin/sh
> 
> PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
> export PATH
> 
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> 
> case "$1" in
>   start)
>     echo -n "Starting qmail: qmail-send"
>     supervise /var/supervise/qmail/send /var/qmail/rc |
>         setuser qmaill cyclog /var/log/qmail &
> 
>     echo -n " qmail-smtpd"
>     supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver 
-x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd 
-rrelays.radparker.com /usr/local/bin/rblsmtpd -rrelays.orbs.org 
/usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
-rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 2>&1 | setuser qmaill 
accustamp | setuser qmaill cyclog /var/log/qmail/smtpd &
>     echo "."
>     ;;
> 
> nothing shows up in the logs after starting this up. Telnetting into port 
25
> gives me this:
> 
> brandon@dudman [9:07am] /home/brandon 331> telnet discontent.com 25
> Trying 216.100.35.70...
> Connected to discontent.com.
> Escape character is '^]'.
> 220 misanthrope.discontent.com ESMTP
> 
> 502 unimplemented (#5.5.1)
> 
> 502 unimplemented (#5.5.1)
> quit
> 221 misanthrope.discontent.com
> Connection closed by foreign host.
> 
> Does this look right?
> 
> Thanks for all the help so far.
> 
> Brandon


Peter Abplanalp
StorageTek
[EMAIL PROTECTED]





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

On 5 Nov 99, at 10:26, Peter Abplanalp wrote:

> That looks correct as far as the telnet goes.  You need to speak SMTP to
> it.  I don't know why nothing would show up in the logs.

What should be in the logs? Unless you start tcpserver with -v 
option, it does not log connections - it only barfs about errors. Ditto 
for rblsmtpd and qmail-smtpd.

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

iQA/AwUBOCMirFMwP8g7qbw/EQI80gCZAWxso0o5DE6dD8QErEArhoKhricAniX2
/ardA08R8vADZo4Swm6g8NHp
=aA+q
-----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]




I stand corrected!  I looked at my start up and there is a -v, that is why 
I get stuff in the log file.

-Peter

> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Delivered-To: mailing list [EMAIL PROTECTED]
> From: "Petr Novotny" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Fri, 5 Nov 1999 18:32:12 -0000
> MIME-Version: 1.0
> Content-transfer-encoding: 7BIT
> Subject: Re: quick question re: starting with rblsmtpd 
> X-PM-Encryptor: QDPGP, 4
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 5 Nov 99, at 10:26, Peter Abplanalp wrote:
> 
> > That looks correct as far as the telnet goes.  You need to speak SMTP 
to
> > it.  I don't know why nothing would show up in the logs.
> 
> What should be in the logs? Unless you start tcpserver with -v 
> option, it does not log connections - it only barfs about errors. Ditto 
> for rblsmtpd and qmail-smtpd.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60 
> Comment: http://community.wow.net/grt/qdpgp.html
> 
> iQA/AwUBOCMirFMwP8g7qbw/EQI80gCZAWxso0o5DE6dD8QErEArhoKhricAniX2
> /ardA08R8vADZo4Swm6g8NHp
> =aA+q
> -----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]


Peter Abplanalp
StorageTek
[EMAIL PROTECTED]






I guess I'm ok...just not logging correctly. Did nelson's test and got
the proper response:

Testing your RBL block.  See http://www.crynwr.com/spam/ for more info

Here's how the conversation looked from linux.crynwr.com.
Note that some sites don't apply the RBL block to postmaster, so
I use your envelope sender as the To: address.

I connected to 216.100.35.70 and here's the conversation I had:

220 rblsmtpd.local
helo linux.crynwr.com
250 rblsmtpd.local
mail from:<>
250 rblsmtpd.local
rcpt to:<[EMAIL PROTECTED]>
451 Blackholed - see <URL:http://mail-abuse.org/cgi-bin/lookup?192.203.178.39>
Terminating conversation

Thanks, all!

Brandon
> That looks correct as far as the telnet goes.  You need to speak SMTP to 
> it.  I don't know why nothing would show up in the logs.  Have you looked 
> in /var/log/maillog, /var/log/qmail, /var/log/qmail/smtpd ot maybe 
> /var/log/qmail-smtpd?
> 
> -Peter
> 
> > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> > Delivered-To: mailing list [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Re: quick question re: starting with rblsmtpd 
> > Date: Fri, 05 Nov 1999 09:27:41 -0800
> > From: Brandon Dudley <[EMAIL PROTECTED]>
> > 
> > 
> > ok, so I dumped my old rc script and modified Dave Sill's with the 
> rblsmtpd
> > entry I was using (taken from the qmail archives)....smtpd starts and all 
> > seems hunk dory, except when I telnet into port 25 I don't receive a 
> greeting
> > from rblsmtpd...is that normal?
> > 
> > Here's the mods I made:
> > 
> > [brandon@misanthrope init.d]# more qmail                                
> > #!/bin/sh
> > 
> > PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
> > export PATH
> > 
> > QMAILDUID=`id -u qmaild`
> > NOFILESGID=`id -g qmaild`
> > 
> > case "$1" in
> >   start)
> >     echo -n "Starting qmail: qmail-send"
> >     supervise /var/supervise/qmail/send /var/qmail/rc |
> >         setuser qmaill cyclog /var/log/qmail &
> > 
> >     echo -n " qmail-smtpd"
> >     supervise /var/supervise/qmail/smtpd /usr/local/bin/tcpserver 
> -x/etc/tcp.smtp.cdb -q -u16 -g51 -t1 0 smtp /usr/local/bin/rblsmtpd 
> -rrelays.radparker.com /usr/local/bin/rblsmtpd -rrelays.orbs.org 
> /usr/local/bin/rblsmtpd -rrbl.maps.vix.com /usr/local/bin/rblsmtpd 
> -rdul.maps.vix.com /var/qmail/bin/qmail-smtpd-wrapper 2>&1 | setuser qmaill 
> accustamp | setuser qmaill cyclog /var/log/qmail/smtpd &
> >     echo "."
> >     ;;
> > 
> > nothing shows up in the logs after starting this up. Telnetting into port 
> 25
> > gives me this:
> > 
> > brandon@dudman [9:07am] /home/brandon 331> telnet discontent.com 25
> > Trying 216.100.35.70...
> > Connected to discontent.com.
> > Escape character is '^]'.
> > 220 misanthrope.discontent.com ESMTP
> > 
> > 502 unimplemented (#5.5.1)
> > 
> > 502 unimplemented (#5.5.1)
> > quit
> > 221 misanthrope.discontent.com
> > Connection closed by foreign host.
> > 
> > Does this look right?
> > 
> > Thanks for all the help so far.
> > 
> > Brandon
> 
> 
> Peter Abplanalp
> StorageTek
> [EMAIL PROTECTED]
> 




On  5 Nov, Dave Sill wrote:
| Brandon Dudley <[EMAIL PROTECTED]> wrote:
| 
|>here's the whole script...short answer is csh:
|>
|>#!/bin/sh
| 
| That's the problem: you're using Bourne shell syntax in the C Shell.
| My csh skills are rusty; I can't remember how to redirect stderr.

In his case, I think he needs to replace:

   2>&1 | 

with:

   |&

...Troy





Are there any standard conventions for this mailing list?  I'm just curious 
because I see a lot of HTML mail come through and HTML makes a lot of noise 
in an email.  If there aren't any conventions or others that feel the same 
way then kindly /dev/null this message. :)
Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+






Andy Bradford <[EMAIL PROTECTED]> wrote:

>Are there any standard conventions for this mailing list?  I'm just curious 
>because I see a lot of HTML mail come through and HTML makes a lot of noise 
>in an email.  If there aren't any conventions or others that feel the same 
>way then kindly /dev/null this message. :)

HTML in e-mail is a waste of bandwidth and annoying to those whose
mailers don't support it. It's probably not worth complaining about,
though.

-Dave




Thus said Dave Sill on Fri, 05 Nov 1999 11:44:59 EST:

> HTML in e-mail is a waste of bandwidth and annoying to those whose
> mailers don't support it. It's probably not worth complaining about,
> though.
I agree that it is a waste of bandwidth... fortunately, my reader will 
handle this type of mail but I prefer plain text. :)
I hope that I didn't sound like I was complaining either.
Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+







-- 
----------------------------------------------------------------------
Stephan Pfeiffer                                   planNET Systems GmbH
mailto:[EMAIL PROTECTED]                       Haid-und-Neu-Strasse 7

FON:         (+49) 721 66 36 36                   mailto:[EMAIL PROTECTED]
FAX:         (+49) 721 66 36 30                    http://www.planNET.de
-----------------------------------------------------------------------


Hello list,

I am a newbie, and I musst install qmail as releying. Now, I've read all
install files and the howto (www.qmail.org), but if I start qmail, I get
following message:

alert: cannot start: hath the daemon spawn no fire?


I have look with strace, what are the problem, but I haven't any idea.
output of strace:

...
open("control/percenthack", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
open("control/virtualdomains", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
chdir("queue")                          = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8048b20, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8048b40, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x8048b60, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
umask(077)                              = 077
open("lock/sendmutex", O_WRONLY|O_NONBLOCK) = 7
flock(7, LOCK_EX|LOCK_NB)               = 0
read(2, "", 1)                          = 0
--- SIGCHLD (Der Kind-Prozeß ist beendet) ---
write(0, "alert: cannot start: hath the da"..., 52alert: cannot start:
hath the daemon spawn no fire?
) = 52
_exit(111)                              = ?
...

Can everybody help me? Second question is: is there an german
qmail-list?

Thanks for help...


mfg     stephan
-- 
----------------------------------------------------------------------
Stephan Pfeiffer                                   planNET Systems GmbH
mailto:[EMAIL PROTECTED]                       Haid-und-Neu-Strasse 7

FON:         (+49) 721 66 36 36                   mailto:[EMAIL PROTECTED]
FAX:         (+49) 721 66 36 30                    http://www.planNET.de
-----------------------------------------------------------------------






I'd like to add qmail the option to limit the number of RCPT TO: addresses. I've seen that this patch does it and explains to apply the patch in the source code.
 
If I have qmail already installed, how do I update my qmail to use this patch?
 
Thanks.




I'm afraid that I don't keep the source code.

I used a RPM version with --rebuild. What can I do to apply the patch?

----- Original Message -----
From: Petr Novotny <[EMAIL PROTECTED]>
To: Andrés Méndez <[EMAIL PROTECTED]>
Sent: Friday, November 05, 1999 7:20 PM
Subject: Re: maxrcpt.patch


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 5 Nov 99, at 18:10, Andrés Méndez wrote:
> > If I have qmail already installed, how do I update my qmail to use this
> > patch?
>
> Did you keep the source tree (with your modifications)? If yes, then
> 1. apply patch
> 2. recompile  (make)
> 3. become root
> 4. stop qmail
> 5. make setup check
> 6. restart qmail - it's been patched already
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60
> Comment: http://community.wow.net/grt/qdpgp.html
>
> iQA/AwUBOCMf51MwP8g7qbw/EQKLJQCg8uYpAAX72mtXQPg5+FoDPjti7e8AoJvb
> 9ydZXRGpnETc6PZKWV0Licuo
> =O3vZ
> -----END PGP SIGNATURE-----
>





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

On 5 Nov 99, at 18:20, Andrés Méndez wrote:

> I'm afraid that I don't keep the source code.
>
> I used a RPM version with --rebuild. What can I do to apply the patch?

1. Get the source rpm
2. Install it
3. Add the patch to the SOURCES directory
4. Edit the .spec file (in SPECS directory) to use that patch
5. Do rpm -ba spec_file in the SPECS directory
6. in the RPMS directory, you have both source and i386 rpm

Read RPM-HOWTO if unsure

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

iQA/AwUBOCMhmFMwP8g7qbw/EQIgmQCfQm6sbIK/UduXSBGjeq75qcsS56gAoNMb
UbDV+UDh1cdsy2bW4ci9rFVX
=5Kph
-----END PGP SIGNATURE-----




> 1. Get the source rpm

OK, I copy qmail-1.03-102memphis.src.rpm to /2/

> 2. Install it

I execute "rpm -i /2/qmail-1.03-102memphis.src.rpm"

> 3. Add the patch to the SOURCES directory

I go to /usr/src/redhat/SOURCES and decompress var-qmail-1.03.tar.gz inside
/usr/src/redhat/SOURCES/var-qmail-1.03

Then I go to /usr/src/redhat/SOURCES/var-qmail-1.03/ and execute "patch -p1
< /2/qmail-1.01-maxrcpt.patch", but then it asks for a file to patch.

As you can see I'm giving you all the details if I do something wrong.

Which file does it have to patch, qmail-smtpd.c? because it doesn't exists
(exists qmail-smtpd and qmail-smtpd.8).

> 4. Edit the .spec file (in SPECS directory) to use that patch
> 5. Do rpm -ba spec_file in the SPECS directory
> 6. in the RPMS directory, you have both source and i386 rpm
>
> Read RPM-HOWTO if unsure

NOTE: After that I would like to apply another patch: mfcheck. I suppose I
can apply another patch too, can't I?







There's a small problem in all this... the maxrcpt patch was written for qmail 1.01. 
It does NOT apply on 1.03. I've rewritten this last week, but merged it with other 
patches. I'll try to re-separate it from the rest next Monday.


On Fri, Nov 05, 1999 at 07:58:57PM +0100, Andrés Méndez wrote:
> > 1. Get the source rpm
> 
> OK, I copy qmail-1.03-102memphis.src.rpm to /2/
> 
> > 2. Install it
> 
> I execute "rpm -i /2/qmail-1.03-102memphis.src.rpm"
> 
> > 3. Add the patch to the SOURCES directory
> 
> I go to /usr/src/redhat/SOURCES and decompress var-qmail-1.03.tar.gz inside
> /usr/src/redhat/SOURCES/var-qmail-1.03
> 
> Then I go to /usr/src/redhat/SOURCES/var-qmail-1.03/ and execute "patch -p1
> < /2/qmail-1.01-maxrcpt.patch", but then it asks for a file to patch.
> 
> As you can see I'm giving you all the details if I do something wrong.
> 
> Which file does it have to patch, qmail-smtpd.c? because it doesn't exists
> (exists qmail-smtpd and qmail-smtpd.8).
> 
> > 4. Edit the .spec file (in SPECS directory) to use that patch
> > 5. Do rpm -ba spec_file in the SPECS directory
> > 6. in the RPMS directory, you have both source and i386 rpm
> >
> > Read RPM-HOWTO if unsure
> 
> NOTE: After that I would like to apply another patch: mfcheck. I suppose I
> can apply another patch too, can't I?
> 
> 

When using RPMS, it's easier to get the SPEC file to apply patches for you.
Just add lines like

Patch0: maxrcpt.patch
Patch1: mfcheck.patch

and so on, after the Source: line (within the header). Then, after the %setup line, 
add lines like:

%patch0 -p1
%patch1 -p1

Note: The patch files referred to in the Patch: lines must reside in the 
$RPM_SOURCE_DIR.

                                        Regards;
                                                Ricardo

-- 
+-------------------
| Ricardo Cerqueira  -  [EMAIL PROTECTED]
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional 
| Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100




Where can I download the merged patch? and what does it contain?


> There's a small problem in all this... the maxrcpt patch was written for
qmail 1.01. It does NOT apply on 1.03. I've rewritten this last week, but
merged it with other patches. I'll try to re-separate it from the rest next
Monday.
>
>
> On Fri, Nov 05, 1999 at 07:58:57PM +0100, Andrés Méndez wrote:
> > > 1. Get the source rpm
> >
> > OK, I copy qmail-1.03-102memphis.src.rpm to /2/
> >
> > > 2. Install it
> >
> > I execute "rpm -i /2/qmail-1.03-102memphis.src.rpm"
> >
> > > 3. Add the patch to the SOURCES directory
> >
> > I go to /usr/src/redhat/SOURCES and decompress var-qmail-1.03.tar.gz
inside
> > /usr/src/redhat/SOURCES/var-qmail-1.03
> >
> > Then I go to /usr/src/redhat/SOURCES/var-qmail-1.03/ and execute
"patch -p1
> > < /2/qmail-1.01-maxrcpt.patch", but then it asks for a file to patch.
> >
> > As you can see I'm giving you all the details if I do something wrong.
> >
> > Which file does it have to patch, qmail-smtpd.c? because it doesn't
exists
> > (exists qmail-smtpd and qmail-smtpd.8).
> >
> > > 4. Edit the .spec file (in SPECS directory) to use that patch
> > > 5. Do rpm -ba spec_file in the SPECS directory
> > > 6. in the RPMS directory, you have both source and i386 rpm
> > >
> > > Read RPM-HOWTO if unsure
> >
> > NOTE: After that I would like to apply another patch: mfcheck. I suppose
I
> > can apply another patch too, can't I?
> >
> >
>
> When using RPMS, it's easier to get the SPEC file to apply patches for
you.
> Just add lines like
>
> Patch0: maxrcpt.patch
> Patch1: mfcheck.patch
>
> and so on, after the Source: line (within the header). Then, after the
%setup line, add lines like:
>
> %patch0 -p1
> %patch1 -p1
>
> Note: The patch files referred to in the Patch: lines must reside in the
$RPM_SOURCE_DIR.
>
> Regards;
> Ricardo
>
> --
> +-------------------
> | Ricardo Cerqueira  -  [EMAIL PROTECTED]
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
> | FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional
> | Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100
>





OK, here goes maxrcpt for qmail 1.03. I've given it its own error code (666 :) ). RFC 
fanatics, strip it out yourselves ;-)

One note. The default maxrcpt behavior is to deliver it's max number of messages, and 
dropping the others. If you want it to reject everything, change 

void err_excessrcpt() { out("666 Too many recipients specified (#5.5.4)\r\n"); }

to

void err_excessrcpt() { out("666 Too many recipients specified (#5.5.4)\r\n"); 
_exit(1); }

Changing the funcion's name to "die_excessrcpt" would also be adequate, but 
funcionally irrelevant.

                                        Regards;
                                                Ricardo

-- 
+-------------------
| Ricardo Cerqueira  -  [EMAIL PROTECTED]
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional 
| Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100
diff -u qmail-1.03/qmail-smtpd.c qmail-1.03-maxrcpt/qmail-smtpd.c
--- qmail-1.03/qmail-smtpd.c    Mon Jun 15 11:53:16 1998
+++ qmail-1.03-maxrcpt/qmail-smtpd.c    Fri Nov  5 20:11:54 1999
@@ -27,6 +27,8 @@
 #define MAXHOPS 100
 unsigned int databytes = 0;
 int timeout = 1200;
+int rcptcounter = 0;
+int maxrcpt = -1;
 
 int safewrite(fd,buf,len) int fd; char *buf; int len;
 {
@@ -58,6 +60,7 @@
 void err_noop() { out("250 ok\r\n"); }
 void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
 void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
+void err_excessrcpt() { out("666 Too many recipients specified (#5.5.4)\r\n"); }
 
 
 stralloc greeting = {0};
@@ -109,6 +112,7 @@
   if (liphostok == -1) die_control();
   if (control_readint(&timeout,"control/timeoutsmtpd") == -1) die_control();
   if (timeout <= 0) timeout = 1;
+  if (control_readint(&maxrcpt,"control/maxrcpt") == -1) die_control();
 
   if (rcpthosts_init() == -1) die_control();
 
@@ -240,6 +244,7 @@
 void smtp_mail(arg) char *arg;
 {
   if (!addrparse(arg)) { err_syntax(); return; }
+  rcptcounter = 0;
   flagbarf = bmfcheck();
   seenmail = 1;
   if (!stralloc_copys(&rcptto,"")) die_nomem();
@@ -248,7 +253,9 @@
   out("250 ok\r\n");
 }
 void smtp_rcpt(arg) char *arg; {
+  rcptcounter++; 
   if (!seenmail) { err_wantmail(); return; }
+  if (checkrcptcount() == 1) {err_excessrcpt(); }
   if (!addrparse(arg)) { err_syntax(); return; }
   if (flagbarf) { err_bmf(); return; }
   if (relayclient) {
@@ -392,6 +399,12 @@
   if (*qqx == 'D') out("554 "); else out("451 ");
   out(qqx + 1);
   out("\r\n");
+}
+
+int checkrcptcount() {
+  if (maxrcpt == -1) {return 0;}
+  else if (rcptcounter > maxrcpt) {return 1;}
+  else {return 0;}
 }
 
 struct commands smtpcommands[] = {




Thanks for the patch.
Now I have an "old problem". After I have done all changes in SPEC file, I
do:
rpm -ba spec_file
But it asks for a file to patch, which file do I have to patch?

Thanks.

> On Fri, Nov 05, 1999 at 08:55:09PM +0100, Andrés Méndez wrote:
> > Where can I download the new merged patch? and what does it contain?
>
> OK, I've finished the patch, and I am sending it to the qmail mlist now.
It's basically the same maxrcpt patch, but adapted to qmail 1.03 (and I've
added an error code of it's own).
> The other patches are mine, but only to adapt qmail to my needs
(directories, translation of messages, and such things).
>
> Regards;
> Ricardo
>
>
> --
> +-------------------
> | Ricardo Cerqueira  -  [EMAIL PROTECTED]
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
> | FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional
> | Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100
>





If I try to patch the source code (not a RPM) it gives 6 failed hunks.

I'm using qmail 1.03 and maxrcpt 1.03.

Why?

----- Original Message -----
From: Ricardo Cerqueira <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 05, 1999 9:19 PM
Subject: Re: maxrcpt.patch


> OK, here goes maxrcpt for qmail 1.03. I've given it its own error code
(666 :) ). RFC fanatics, strip it out yourselves ;-)
>
> One note. The default maxrcpt behavior is to deliver it's max number of
messages, and dropping the others. If you want it to reject everything,
change
>
> void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); }
>
> to
>
> void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); _exit(1); }
>
> Changing the funcion's name to "die_excessrcpt" would also be adequate,
but funcionally irrelevant.
>
> Regards;
> Ricardo
>
> --
> +-------------------
> | Ricardo Cerqueira  -  [EMAIL PROTECTED]
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
> | FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional
> | Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100
>





The patch you've sended is incomplete, or at least my pop server has
delivered a patch which lacks of its end.

Please, resend the patch or tell us of the web where we can download it.

----- Original Message -----
From: Ricardo Cerqueira <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 05, 1999 9:19 PM
Subject: Re: maxrcpt.patch


> OK, here goes maxrcpt for qmail 1.03. I've given it its own error code
(666 :) ). RFC fanatics, strip it out yourselves ;-)
>
> One note. The default maxrcpt behavior is to deliver it's max number of
messages, and dropping the others. If you want it to reject everything,
change
>
> void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); }
>
> to
>
> void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); _exit(1); }
>
> Changing the funcion's name to "die_excessrcpt" would also be adequate,
but funcionally irrelevant.
>
> Regards;
> Ricardo
>
> --
> +-------------------
> | Ricardo Cerqueira  -  [EMAIL PROTECTED]
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
> | FCCN/RCCN  -  Fundacao para a Computacao Cientifica Nacional
> | Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 1 8440100
>






        ...when I pipe a file from the command line to
/var/qmail/bin/sendmail. It always arrives with the time zone "-0000".

        This, for instance......

ns2:~$ echo test | /var/qmail/bin/sendmail [EMAIL PROTECTED]

        results in this.....

Date: 5 Nov 1999 17:46:04 -0000
From: [EMAIL PROTECTED]
Cc: recipient list not shown:  ;

test


        Sending through a standard email client works fine.

        BTW, I tried a symlink to datemail but premail hangs and nothing
goes out. I'm using version 1.03 witn Linix kernel 2.0.30.

        Thanks for any help.

-Michael

--

Michael Cooley, System Administrator
Genealogy Online
http://www.genealogy.org/






On Fri, 5 Nov 1999, eric wrote:

> Date: Fri, 5 Nov 1999 12:05:51 -0600 (CST)
> From: eric <[EMAIL PROTECTED]>
> To: Genealogy Online <[EMAIL PROTECTED]>
> Subject: Re: The timestamp works except......
> 
> Yep -
> 
> 0000 is used for tracking across time zones easier.

        But I'd like it to arrive at the destination with the correct
stamp on it. How can I change this behavior? For instance, your email came
to me as......

> Date: Fri, 5 Nov 1999 12:05:51 -0600 (CST)

        I wouldn't want it any other way.

Thanks,
Michael

> 
> On Fri, 5 Nov 1999, Genealogy Online wrote:
> 
> ; 
> ;     ...when I pipe a file from the command line to
> ; /var/qmail/bin/sendmail. It always arrives with the time zone "-0000".
> ; 
> ;     This, for instance......
> ; 
> ; ns2:~$ echo test | /var/qmail/bin/sendmail [EMAIL PROTECTED]
> ; 
> ;     results in this.....
> ; 
> ; Date: 5 Nov 1999 17:46:04 -0000
> ; From: [EMAIL PROTECTED]
> ; Cc: recipient list not shown:  ;
> ; 
> ; test
> ; 
> ; 
> ;     Sending through a standard email client works fine.
> ; 
> ;     BTW, I tried a symlink to datemail but premail hangs and nothing
> ; goes out. I'm using version 1.03 witn Linix kernel 2.0.30.
> ; 
> ;     Thanks for any help.
> ; 
> ; -Michael
> ; 
> ; --
> ; 
> ; Michael Cooley, System Administrator
> ; Genealogy Online
> ; http://www.genealogy.org/
> ; 
> ; 
> ; 
> 
> -- 
>  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
> 

--

Michael Cooley, System Administrator
Genealogy Online
http://www.genealogy.org/







        Well, I think I figured out what happens........

Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 5 Nov 1999 14:36:00 -0600 (CST)
To: Genealogy Online <[EMAIL PROTECTED]>
Subject: Re: The timestamp works except......
In-Reply-To: Genealogy Online's message

        That date came from somewhere. But not from qmail (as I had been
assuming) and, obviously, not from here. It's an original header from the
email software. So, I created the header at the top of the file to be
piped to sendmail and got what I wanted. (Actually, I wrote a script to do
it.) 

Thanks,
Michael


On Fri, 5 Nov 1999, David Dyer-Bennet wrote:

> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 19271 invoked from network); 5 Nov 1999 20:36:10 -0000
> Received: from emcee.com (HELO ns.emcee.com) (207.167.87.50)
>   by ns2.emcee.com with SMTP; 5 Nov 1999 20:36:10 -0000
> Received: (qmail 27670 invoked by alias); 5 Nov 1999 20:36:08 -0000
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 27658 invoked from network); 5 Nov 1999 20:36:07 -0000
> Received: from gw.dd-b.net ([EMAIL PROTECTED])
>   by emcee.com with SMTP; 5 Nov 1999 20:36:07 -0000
> Received: (qmail 20340 invoked by uid 501); 5 Nov 1999 20:36:01 -0000
> From: "David Dyer-Bennet" <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Message-ID: <[EMAIL PROTECTED]>
> Date: Fri, 5 Nov 1999 14:36:00 -0600 (CST)
> To: Genealogy Online <[EMAIL PROTECTED]>
> Subject: Re: The timestamp works except......
> In-Reply-To: Genealogy Online's message 
><[EMAIL PROTECTED]> of 5 November 1999
> References: <[EMAIL PROTECTED]>
>       <[EMAIL PROTECTED]>
> X-Mailer: VM 6.63 under Emacs 20.3.1
> 
> Genealogy Online <[EMAIL PROTECTED]> writes on 5 November 1999 at 11:21:27 -0800
>  > On Fri, 5 Nov 1999, eric wrote:
>  > 
>  > > Date: Fri, 5 Nov 1999 12:05:51 -0600 (CST)
>  > > From: eric <[EMAIL PROTECTED]>
>  > > To: Genealogy Online <[EMAIL PROTECTED]>
>  > > Subject: Re: The timestamp works except......
>  > > 
>  > > Yep -
>  > > 
>  > > 0000 is used for tracking across time zones easier.
>  > 
>  >    But I'd like it to arrive at the destination with the correct
>  > stamp on it. How can I change this behavior? 
> 
> You can't.  The timezone is available only through the standard C
> library, which qmail deliberately avoids using because it's a system
> dependency, and often buggy.  Furthermore, think about this -- unless
> you know the timezone that the recipient of your message is in, you
> can't stamp in his timezone anyway.  You can stamp in *your* timezone
> in theory, but that won't be right for some recipients.
> 
> The correct solution is for MUAs to canonicalize all the date-time
> stamps they display to the current time zone *at the time of
> display*.  This always works -- the MUA is on a system local to the
> viewer (generally), and it's not a security-critical program so the
> arguments against using the standard library go away, too.
> -- 
> David Dyer-Bennet / Join the 20th century before it's too late! / [EMAIL PROTECTED]
> http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
> http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
> 

--

Michael Cooley, System Administrator
Genealogy Online
http://www.genealogy.org/






Hello everyone
 
I just installed, for the first time, the Qmail Mail Server on a RedHat 6.0 Box.
Although I tried my best to install the software as explained in the docs, I still
encountered 2 (maybe simple) problems:
 
1º - The POP3 service is not initializing on startup, a have to go to the
/etc/rc.d/init.d and manually start qmail-pop3d.init (./qmail-pop3d.init start)
 
2º - When I test the POP3 service, after I start it manually, telneting the
POP3 port (telnet 192.168.100.1 110) this is what I receive:
 
-------------------------
 
[root@exion /root]# telnet 192.168.100.1 110
Trying 192.168.100.1...
Connected to 192.168.100.1.
Escape character is '^]'.
+OK <1405.941834174@checkpassword>
user mike
+OK
pass 1234
-ERR this user has no $HOME/Maildir
Connection closed by foreign host. 
 
-------------------------
 
Any help is thankful ...
 
Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - Brazil
 
 




Hello, I've had similar problems ;-)

> 1º - The POP3 service is not initializing on startup, a have to go to the
> /etc/rc.d/init.d and manually start qmail-pop3d.init (./qmail-pop3d.init 
start)

You probably need to link /etc/rc.d/init.d/qmail-popsd.init to an rc script 
in the rc*.d directories.  i.e.

ln -s /ets/rc.d/init.d/qmail-pop3d.init /etc/rc.d/rc0.d/K50qmail-pop3d

you might want to do that for all the run levels.  An easier fix is to just 
add the pop command line to the existing /etc/rc.d/init.d/qmail script.

> 2º - When I test the POP3 service, after I start it manually, telneting 
the
> POP3 port (telnet 192.168.100.1 110) this is what I receive:
> 
> -------------------------
> 
> [root@exion /root]# telnet 192.168.100.1 110
> Trying 192.168.100.1...
> Connected to 192.168.100.1.
> Escape character is '^]'.
> +OK <1405.941834174@checkpassword>
> user mike
> +OK
> pass 1234
> -ERR this user has no $HOME/Maildir
> Connection closed by foreign host.  
> 
> -------------------------

Make sure that maildir in the pop3d command line is Maildir.  It is case 
sensitive.  I made the same mistake.

-Peter

Peter Abplanalp
StorageTek
[EMAIL PROTECTED]





Hello.
 
qmail-pop3d only works with /Maildir/ boxes (read the FAQ and Life with qmail). If you want to use /Mailbox or /var/spool/mail/ you'll have to install another pop3 daemon.
 
Have you installed checkpassword?
 
If you want to enable a /Maildir/ for a user execute this as the user:
/var/qmail/bin/maildirmake $HOME/Maildir
echo ./Maildir/ > ~/.qmail
----- Original Message -----
Sent: Friday, November 05, 1999 7:40 PM
Subject: Qmail - Startup and POP3 Problems

Hello everyone
 
I just installed, for the first time, the Qmail Mail Server on a RedHat 6.0 Box.
Although I tried my best to install the software as explained in the docs, I still
encountered 2 (maybe simple) problems:
 
1º - The POP3 service is not initializing on startup, a have to go to the
/etc/rc.d/init.d and manually start qmail-pop3d.init (./qmail-pop3d.init start)
 
2º - When I test the POP3 service, after I start it manually, telneting the
POP3 port (telnet 192.168.100.1 110) this is what I receive:
 
-------------------------
 
[root@exion /root]# telnet 192.168.100.1 110
Trying 192.168.100.1...
Connected to 192.168.100.1.
Escape character is '^]'.
+OK <1405.941834174@checkpassword>
user mike
+OK
pass 1234
-ERR this user has no $HOME/Maildir
Connection closed by foreign host. 
 
-------------------------
 
Any help is thankful ...
 
Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - Brazil
 
 




i should make a link to a S50qmail-pop3d.
Sxx are start scripts Kxx are shutdown scripts
ln -s /ets/rc.d/init.d/qmail-pop3d.init /etc/rc.d/rc2.d/S50qmail-pop3d

marco leeflang

Peter Abplanalp wrote:

> Hello, I've had similar problems ;-)
>
> > 1º - The POP3 service is not initializing on startup, a have to go to the
> > /etc/rc.d/init.d and manually start qmail-pop3d.init (./qmail-pop3d.init
> start)
>
> You probably need to link /etc/rc.d/init.d/qmail-popsd.init to an rc script
> in the rc*.d directories.  i.e.
>
> ln -s /ets/rc.d/init.d/qmail-pop3d.init /etc/rc.d/rc0.d/K50qmail-pop3d
>
> you might want to do that for all the run levels.  An easier fix is to just
> add the pop command line to the existing /etc/rc.d/init.d/qmail script.
>
> > 2º - When I test the POP3 service, after I start it manually, telneting
> the
> > POP3 port (telnet 192.168.100.1 110) this is what I receive:
> >
> > -------------------------
> >
> > [root@exion /root]# telnet 192.168.100.1 110
> > Trying 192.168.100.1...
> > Connected to 192.168.100.1.
> > Escape character is '^]'.
> > +OK <1405.941834174@checkpassword>
> > user mike
> > +OK
> > pass 1234
> > -ERR this user has no $HOME/Maildir
> > Connection closed by foreign host.
> >
> > -------------------------
>
> Make sure that maildir in the pop3d command line is Maildir.  It is case
> sensitive.  I made the same mistake.
>
> -Peter
>
> Peter Abplanalp
> StorageTek
> [EMAIL PROTECTED]





This patch was created for qmail-1.01.
 
Do anybody knows if it is already inserted in qmail-1.03?
 
I have tried to patch qmail-1.03 and I can't, it gives 4 errors :-(





I'd like to play too -- is there an address to forward my trapped spam
to,
if I was to set up a couple clearly marked spam addresses and stick them
on my web pages?  I have control over virtmaps and aliases files on
several domains right now


"John R. Levine" wrote:

> The closest automated thing is the MAPS RSS which lists open relays
> that send spam.  Many spam traps (including mine) autoforward stuff
> for testing and listing.  To prevent spoofing, people who the manager
> knows get passwords to put in the submissions that let them bypass his
> manual scrutiny.
> 
> It works pretty well, blocks a lot of spam for me.

______________________________________________________________
                      David Nicol 816.235.1187 [EMAIL PROTECTED]
                     End Daylight Savings Time in our lifetime





mpack can be incorporated into your packing schemes, instead of
using one part of a larger higher=level abstraction

http://filewatcher.org/sec/mpack/  


Jason Haar wrote:
> 
> Sending an attachment as you do requires something more sophisticated than
> mailsubj. I'd use mutt - darn near the best mailer money can't buy!!!
> 
> http://www.mutt.org/



______________________________________________________________
                      David Nicol 816.235.1187 [EMAIL PROTECTED]
                     End Daylight Savings Time in our lifetime




Theodore Cekan wrote:
> 
> I will be converting our NTMail installation to qmail.  Does anyone know if
> there is a way to extract passwords in plain text from NTMail?
> 
> Thanks,
> 
> Ted

Keep the NTmail server up during a transitional period, and write
a fallback script to your password database that checks mismatches
against the NTmail server using pop3.  You can even get
the libntlm package and use NTLM authentications during your
transitional period but that is may be silly.

So you aren't extracting them, but trapping them, which is more work
but means the users jsut have to log in during the transitional period
instead of assigning them new passwords at transition time.

POP3 checkers are easy to write, I can send you UMKCs if you need.

libntlm is by Grant Edwards; is used in recent Fetchmail releases;
his FTP space is
ftp://ftp.visi.com/users/grante/stuff


______________________________________________________________
                      David Nicol 816.235.1187 [EMAIL PROTECTED]
                     End Daylight Savings Time in our lifetime




I believe there is a bug in the mfcheck patch on the qmail Web site.  I
noticed a strange interaction between one of my mailing list servers and our
main mail server.  qmail generated a double bounce because of a problem with
ezmlm (nothing major).  It attempted to deliver the message to
~alias/dot-qmail-postmaster, which is forwarded to a remote address.  qmail
uses <#@[]> as the envelope sender on the message, but this is refused by
the main mail server with the mfcheck patch, saying "envelope sender domain
must exist."

Now, I suppose that forwarding double bounces to a remote machine may not be
the best practice, and I only do it on this one machine.  However, I think
that the mfcheck routine should check for the special sender address.  It
seems kinda silly that qmail should refuse its own "special" address, and
besides that the mfcheck routine already allows <> through (yes, I know this
is required anyway).

I'm aware of the environment variable setting, which I will use for the time
being.

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.






I was wondering if it was possible to forward root email to an out side
address. For 

"There's a fine line between genius and insanity."
G. Ryan Fawcett
Unix Network Admin.
AudioBase Inc. 
[EMAIL PROTECTED]






On Fri, Nov 05, 1999 at 03:59:05PM -0800, G. Ryan Fawcett wrote:
> I was wondering if it was possible to forward root email to an out side
> address. For 

yes. Do this for example:

echo '&[EMAIL PROTECTED]' > ~alias/.qmail-root

/magnus

--
MOST useless 1998 * http://x42.com/




(resent, can anybody give me a hint, please)


Ronald Wiplinger wrote:

> I have installed (successfully) qmail with Paul Gregg's single user
> extension for virtual domains.
>
> Now I try to install ezmlm, but somehow I am lost.
> The ezmlm-test works!
>
> When I create a list with:
>
> ezmlm-make -rdugm -5 [EMAIL PROTECTED] \
>     /var/qmail/ezmlm/test \
>     /var/qmail/ezmlm/.qmail-test \
>     ronald-test \
>     wiplinger.org
>
> eqmlm-sub /var/qmail/ezmlm/test [EMAIL PROTECTED]
> eqmlm-sub /var/qmail/ezmlm/test/digist [EMAIL PROTECTED]
> eqmlm-sub /var/qmail/ezmlm/test/mod [EMAIL PROTECTED]
>
> and send then a message to:
>
> [EMAIL PROTECTED], [EMAIL PROTECTED], .....
> it came back with unknown user.
>
> Maybe I need to put a reference in /var/qmail/users/assign, but if which
> one?
> +wiplinger-org-test:popuser:103:103:/var/qmail/ezmlm/test:::
> would come in my mind
>
> However, it did also not work!
>
> ====
>
> In the second step I would like to use ezmlm as a special autoreply with
> alias names. It came into my mind, when I read the docs, that it let you
> send single messages of the archive. E.g, some alias name like
> product-2345 will send back the message about this product, which I have
> prepared into the archive.
>
> Has anybody any ideas/coments to this?
>
> bye
>
> Ronald
begin:vcard 
n:Wiplinger;Ronald
tel;pager:0943-154953
tel;cell:0935-869459
tel;fax:2600-0132
tel;home:2609-0652 ext. 80
tel;work:2609-0652 ext. 12
x-mozilla-html:FALSE
url:www.trace.net.tw
org:Wang's Trace Tech. Enterprise Co., Ltd.
adr:;;No. 11, Lane 96, Sec. 1, Wen Hua 2nd Road, Linkou Hsian;Taipei Hsien;;24442;Taiwan
version:2.1
email;internet:[EMAIL PROTECTED]
title:Gen. Manager
fn:Ronald Wiplinger
end:vcard




Hi,

Sorry if this has been asked before, but...

I run some mailing lists and the short story is 2 or 3 emails were
accidentally fired off to a large list. So they are all queued up
and partially delivered but alot of it is not. However, the queue
also contains quite a bit of undelivered emails that need to be
delivered.

What I did was to kill qmail-send and all qmail-remotes, then 
mv queue queue.yikes and made a new queue then restarted qmail so
other incoming mail jobs could be processed and sent out.

Now I want to get into queue.yikes and delete the stuff I don't
want to go out without disturbing the remaining emails that need to
be delivered.

Can this be done? 

Thanks for any comments,

--Paul T.


-- 
"I used to think the brain was the most advanced part of the body.  Then I
realized, look what's telling me that." -- Emo Phillips




Hello.
 
I've installed mailquotacheck, but I would like that when a message can't be delivered (because exceeds the quota) it is sent back to the sender.
 
I've seen that exists a patch, quota.patch, which is supposed to do this. Is there a manual or whatever on how to use it, select the quota... because I can only download the patch with no instructions.


Reply via email to