qmail Digest 9 May 1999 10:00:01 -0000 Issue 635

Topics (messages 25365 through 25376):

Is this normail? (qmail-rspawn)
        25365 by: Silver CHEN <[EMAIL PROTECTED]>

What does it means?
        25366 by: Silver CHEN <[EMAIL PROTECTED]>

MakeUser, a shell script
        25367 by: ivan <[EMAIL PROTECTED]>

RH 6.0
        25368 by: Fabrice Scemama <[EMAIL PROTECTED]>

( Off Topic )  -  Why do people use Procmail ?  I don't understand what it's for ?
        25369 by: Martin <[EMAIL PROTECTED]>
        25371 by: "Ramesh Panuganty" <[EMAIL PROTECTED]>
        25375 by: [EMAIL PROTECTED]

secondary MX
        25370 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
        25372 by: "Efg�" <[EMAIL PROTECTED]>

User forcing bounce?
        25373 by: Peter Gradwell <[EMAIL PROTECTED]>

qmail-queue
        25374 by: "x" <[EMAIL PROTECTED]>

Newbie LF question
        25376 by: James McGlinn <[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]


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


Dear Sir:
  
  I'm trying to use qmail to send my big mailing list (actually,
  newsletters).

  I've tested qmail with about 35000 recipients with one message,
  it seems ok, but I noticed that qmail-rspawn becomes very big
  several hours later:

  qmailr  2244  0.0  9.1 24048 23684  p0- I     8:14PM   3:06.28 qmail-rspawn
                         ^^^^^ ^^^^^

  I just want to konw that if this is a normal condition, if it is, 
  what makes it so? (I'm just curious)

  I set the message life time to 24h, so there are some bad letters
  still in queue now.

  Thanks for your answers!

--
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
|    Shan-Ta CHEN                    E-Mail : [EMAIL PROTECTED]   |
|    Silver CHEN                     Tel(O) : +886-2-2773-9858-288   |
|    �����F                          Tel(H) : +886-2-2914-1402       |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+




Dear Sir:

  I'm looking at my quee files, I found the 'remote' directory interesting.

  It looks like this:

 
[EMAIL PROTECTED]^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]
 
is.nctu.edu.tw^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]^@Dis83001@
 
cis.nctu.edu.tw^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]^@Dgis87504@c
  ...

  I think the format is "[D|T][EMAIL PROTECTED]{null}", but I don't know
  what the D/T means, and if there are other symbols except for D/T.

  If I want to obtain the number of deferred 'recipients' - not the
  number of 'messages', should I dig into these files and count
  how many 'T's appearred?

  Or there is other tools that can help me for this numbers? I've 
  checked the homepage, but found nothing about this.

  Thanks for your help.

-- 
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
|    Shan-Ta CHEN                    E-Mail : [EMAIL PROTECTED]   |
|    Silver CHEN                     Tel(O) : +886-2-2773-9858-288   |
|    �����F                          Tel(H) : +886-2-2914-1402       |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+




hi,

Here is a short script that creates a user,this includes his /Maildir/ and
user/assign. It doesn't use maildirmake and a temporary file for users/assign
creation.
Think it will be helpfull for you. If you want add at the end qmail-newu. 
Before use change it to sweet your needs.
Here goes :
==============================
#! /bin/bash
# Make a mail box (maildir) for a user (QMAIL)
# $1 - user
# $2 - domain
# $3 - owner
# The format is : makeuser UserName DomainName OwnerOfDir
# Example : makeuser john domain-com popuser 
# The domain directory must exists.
#
# Created by iVAN Georgiev ([EMAIL PROTECTED])
#

[ ! $1 ] && { echo "User name not entered !!!" ; exit }

 # Here are defaults. Change them to sweet your needs  
TOPDIR="/mail/"
OWNER="popuser"
DOMAIN="digicom-bg"

[ $2 ] && DOMAIN=$2 ; MAILDIR="$TOPDIR$DOMAIN"
[ $3 ] && OWNER=$3

[ ! -d $MAILDIR ] && { echo "$MAILDIR doesn't exist. Please create it first"; exit }
# Create maildir
mkdir $MAILDIR/$1
mkdir $MAILDIR/$1/{cur,new,tmp}

# Change the owner
chown $OWNER.$OWNER $MAILDIR/$1
chown $OWNER.$OWNER $MAILDIR/$1/{cur,new,tmp}

# Adjust access to files
chmod 700 $MAILDIR/$1
chmod 700 $MAILDIR/$1/{cur,new,tmp}

# Creating .qmail file
echo "../$1/" > $MAILDIR/$1/.qmail

# Add the user to the user/assign
ASSIGN="/var/qmail/users/assign"
OUID="500"
OGID="500"
RULE="=$DOMAIN-$1:$OUID:$OGID:$MAILDIR/$1:::"
cat $ASSIGN | sed -e '$i\' -e "$RULE" > $ASSIGN 

echo "User : $1 created in dir. $MAILDIR/$1"

==================
HtH
=====
[EMAIL PROTECTED]
=====




Wouldn't be bad if next RH gave people the choice between
sendmail and qmail. Or, when we upgrade, tried to check for
sendmail or qmail being installed before, and kept to the
already chosen MTA.

Installing and uninstalling sounds very w....zie to me.

My 2p.
Fabrice Scemama

-- 
"Ceux que la fumee n'empeche pas de tousser et que
la toux n'empeche pas de fumer ont droit a la
reconnaissance emue de la Regie francaise des tabacs
et des allumettes suedoises nationales." -- Pierre Dac




Hello.

I keep on coming across Procmail.

It appears to be a complicated piece of junk. What is it's purpose and why
would it be used with a Qmail installation ???

Regards...Martin

-- 


                                \\\\\//                                    
       \\|//       _\\|//_      |     |      _\\|//_       \\|//           
       (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)           
+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+





Qmail is not some junk but is a very useful tool for filtering incoming mails.
This is a mail processing tool and hence the name procmail. Read the man
pages for more details.

-Ramesh

| Hello.
| 
| I keep on coming across Procmail.
| 
| It appears to be a complicated piece of junk. What is it's purpose and why
| would it be used with a Qmail installation ???
| 
| Regards...Martin





It is a mail filter.

We use it heavily to automatically process incomming messages which are
designed to send/receive structured information from one computer to another.

For example, I wouldn't be suprised if the InterNIC uses it to process
their domain name registration messages (if you have ever registered a
domain name, you know you must send a structured email message to the
InterNIC).

Regards,
Dick

> Hello.
> 
> I keep on coming across Procmail.
> 
> It appears to be a complicated piece of junk. What is it's purpose and why
> would it be used with a Qmail installation ???
> 
> Regards...Martin
> 
> -- 
> 
> 
>                                 \\\\\//                                    
>        \\|//       _\\|//_      |     |      _\\|//_       \\|//           
>        (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)           
> +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
> 




rcpthosts is sufficient.

The DNS should be set up similar to this:

domain  IN MX 10        primary
domain  IN MX 20        your host as backup

Nothing else is required.  Since your host has the domain in rcpthosts,
your mailserver will accept mail for domain into its local queue for
delivery.  Since domain is NOT in locals or virtualdomains, all mail for
domain will remain in your queue until the higher priority (lower MX
number) mail server is available.  In this case the primary.

If and only if the primary is behind a firewall and NOT in DNS do you need
to use smtproutes.  For the vast majority of secondary MX servers, this is
NOT needed.

On Fri, 7 May 1999, Florent Guillaume wrote:

> Hello,
> 
> What would be a basic configuration for a secondary MX, whose
> only role would be "queue everything allowed (rcpthosts) and
> send'em when primary comes back up ?"
> 
> Is rcpthosts + smtproutes sufficient ?
> 
> Thanks.
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





Thanks for all your answers.


> I didn't see your explanation of the problem that you expect to solve
> with a secondary MX record, though.

Oh right, now I remember that a number of you people are against the use
of secondary MX. Could you restate your reasons ? Have you had by
experience with them ?

Would you also hold the same position against an _intelligent_ secondary
MX that could do mail distribution exactly like the primary (but this
was not the point of my original question).

Basically, I think I'd rather have a secondary MX because I'd rather
have mail queued at my end than at sender's end, where I don't control
delay before bounce, queue reliability, and so on.

Also, if I remember well, you stated that secondary MX was even
unnecessary in the case of service outage on the primary due to
maintenance, given that mail will wait at the other end. Again, I'd
rather have mail wait at my end. Maybe this is a misguided attempt at
controling too much ?




At 9:37 pm +0000 7/5/99,the wonderful John Conover wrote:
>Is there a way for a user to force a bounce out of ~/.qmail, with an
>unknown error?


yeah, if you send mail to [EMAIL PROTECTED], I bounce it.
the contents of /qmail-pete is:

peter@ice:~$ cat .qmail-gradwelldotcom-pete
|bouncesaying "Sorry, we will NEVER accept email to pete even if he did exist."
peter@ice:~$


peter.

--
peter at gradwell dot com; http://www.gradwell.com/
gradwell dot com Ltd. Enabling the internet you don't see.

** Cheap and easy ecommerce: http://www.gradwell.net/ **




hello,

some two weeks ago i modified a bit qmail-queue.c, i thought it works,
but at that time i still didn't have my server -
my isdn card did not work in linux - never really tested it.

uh, hum, well....
data ends in three files..
info/**/nn        - Ffrom@x
mess/**/nn     - message itself
remote/**/nn  - Tto@y

what could be missing, how should this files look like.. why is it not sent
?
i can't do much testing on remote computer already running qmail

http://www.kiss.uni-lj.si/~k4fe0331/qmail.c
http://www.kiss.uni-lj.si/~k4fe0331/date822fmt.c
http://www.kiss.uni-lj.si/~k4fe0331/datetime.c





I'm trying to fix the qmail-smtpd error 256 problem, without any success
so far.
I'm invoking qmail-smtpd using:

tcpserver -v -c40 -x /etc/tcprules.d/qmail-smtpd.db -u`id -u qmaild` \
          -g`id -g qmaild` -H1 0 smtp sh -c 'fixcr | qmail-smtpd' \
          2>&1| setuser qmaill accustamp \
          | setuser qmaill  cyclog -s 1000000 /var/log/qmail-smtpd &

(having replaced "qmail-smtpd" with "sh -c 'fixcr | qmail-smtpd'" as
suggested by another poster)

My log file still shows qmail-smtpd returning error 256:

1999-05-09 16:48:21.216709 tcpserver: status: 1/40
1999-05-09 16:48:21.216959 tcpserver: pid 16014 from 198.41.0.91
1999-05-09 16:48:47.220261 tcpserver: ok 16014
merlin.entertainz.co.nz:172.24.10.101:25 :198.41.0.91::47225
1999-05-09 16:48:47.237652 tcpserver: end 16014 status 256
1999-05-09 16:48:47.237746 tcpserver: status: 0/40  

198.41.0.91 is opsmail.internic.net - so far the only sender I've seen
this problem with.
172.24.10.101 is the qmail machine merlin's IP behind the firewall -
could this be causing a problem?

Regards,
James McGlinn


Reply via email to