qmail Digest 29 Jun 1999 10:00:01 -0000 Issue 686

Topics (messages 27201 through 27242):

rejecting spesific recipient
        27201 by: "Petr Novotny" <[EMAIL PROTECTED]>

How do I fix up messages from broken SMTP clients?
        27202 by: Hideki Kubo <[EMAIL PROTECTED]>

where is checkpassword and ucspi-tcp?
        27203 by: Dave Kitabjian <[EMAIL PROTECTED]>

qmail installation
        27204 by: "Tarkan Hocaoglu" <[EMAIL PROTECTED]>

Bug in rewriting of sender address?
        27205 by: "David Harris" <[EMAIL PROTECTED]>
        27206 by: "David Harris" <[EMAIL PROTECTED]>
        27207 by: Russell Nelson <[EMAIL PROTECTED]>
        27208 by: "David Harris" <[EMAIL PROTECTED]>
        27209 by: Aaron Nabil <[EMAIL PROTECTED]>
        27215 by: "Fred Lindberg" <[EMAIL PROTECTED]>

new environment variable for qmail-local!!
        27210 by: [EMAIL PROTECTED]
        27237 by: "David Harris" <[EMAIL PROTECTED]>

how to deal with mail over quota limit
        27211 by: [EMAIL PROTECTED]
        27212 by: "Petr Novotny" <[EMAIL PROTECTED]>
        27213 by: "Richard Shetron" <[EMAIL PROTECTED]>
        27217 by: "Fred Lindberg" <[EMAIL PROTECTED]>

small "stat" bug in qmail-pop3d.c
        27214 by: Aaron Nabil <[EMAIL PROTECTED]>

does qmail-pop3d not record logins?
        27216 by: Albert Hopkins <[EMAIL PROTECTED]>
        27218 by: Russell Nelson <[EMAIL PROTECTED]>
        27226 by: Balazs Nagy <[EMAIL PROTECTED]>
        27227 by: Russell Nelson <[EMAIL PROTECTED]>
        27228 by: Balazs Nagy <[EMAIL PROTECTED]>
        27229 by: Russell Nelson <[EMAIL PROTECTED]>
        27231 by: Stefan Paletta <[EMAIL PROTECTED]>
        27233 by: Brad Shelton <[EMAIL PROTECTED]>
        27235 by: "David Harris" <[EMAIL PROTECTED]>

PTR issue / question
        27219 by: "Aaron L. Meehan" <[EMAIL PROTECTED]>

onelist.com?
        27220 by: Dave Kitabjian <[EMAIL PROTECTED]>
        27221 by: Qmail ML <[EMAIL PROTECTED]>
        27223 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        27225 by: Mark Fletcher <[EMAIL PROTECTED]>
        27234 by: "Fred Lindberg" <[EMAIL PROTECTED]>

help with Child Crashing during delivery
        27222 by: "Peter Mahnke" <[EMAIL PROTECTED]>
        27224 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        27239 by: "Peter Mahnke" <[EMAIL PROTECTED]>

Solaris 2.7
        27230 by: "Silvia M. Baeder" <[EMAIL PROTECTED]>

Mbox to Maildir conversion issues
        27232 by: [EMAIL PROTECTED]
        27236 by: Giles Lean <[EMAIL PROTECTED]>

follow:How do I fix up messages from broken SMTP clients?
        27238 by: Hideki Kubo <[EMAIL PROTECTED]>
        27241 by: Russell Nelson <[EMAIL PROTECTED]>
        27242 by: Hideki Kubo <[EMAIL PROTECTED]>

DNS error
        27240 by: "Jacob (Mettavihari)" <[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]


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


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

> I believe this would do the trick;
> 
> 
> echo '|/bin/echo "foo.bar does not accept spam. Go away." ; exit 100' > .qmail-user

That's what bouncesaying is for :- ) (man bouncesaying)


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

iQA/AwUBN3dWBFMwP8g7qbw/EQKtuQCgl6wLiFJ0at3sYORY0Msz5nFrjBsAnjV+
Z5C3r7LL9yew8HwhU0SqETFX
=CVhK
-----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]




Hi.
Two FAQ was found as mailer measures by which Message-ID/Date header 
was not put up.  
1. Header supplementation by qmail-inject which uses virtualdomain 
2. Ofmipd operates instead of qmail-smtpd.  

I want to supplement similar header with the qmail-smtpd unit.  
Please teach if you know such Patch or the method.  

-- Hideki





I had the same problem once.

Assuming you have access to an FTP Proxy server, enable it in your web 
browser. Otherwise, you may never get to Dan's qmail page, 
ftp://koobera.math.uic.edu/www/qmail.html.

HTH.

Dave

On Saturday, June 26, 1999 11:16 PM, Denis Voitneko [SMTP:[EMAIL PROTECTED]] 
wrote:
> I am in the process of getting a pop3d working on my box. I've been
> trying to get checkpassword and ucspi-tcp from the sites listed on
> qmail.org but they're dead. Is there an alternative place I can get
> these packages from?
>
> Denis




Hi,

I'm a newbie and I'm trying to install qmail. I have some problems.

I've downloaded qmail-1_03_tar.gz. I want to install it on a RedHat 5.2
Linux box with kernel 2.0.36.

I read INSTALL file and Adam McKENNA's qmail-howto.

I create the working directory and the users then

make setup check

./compile cdb_seek.c
cdb_seek.c: In function 'cdb_bread' :
cdb_seek.c:19:  'EINTR' undeclared {first use this function}
cdb_seek.c:19:  {Each undeclared identifier is reported only once
cdb_seek.c:19:  for each fuunction it appears in.}
cdb_seek.c:21:  'EIO' undeclared {first use this function}
make: *** [cdb_seek.o] Error 1

I have read mailling list archive and I found a user who has had the same
problem.

but errno.h file is in the good directory, /usr/include.

So is there a problem with glibc version ?

Thanks.

Best regards.

-----------------------------------------------------
Tarkan HOCAOGLU
[EMAIL PROTECTED]
-----------------------------------------------------







An e-mail off to Dan six days ago describing a bug in qmail-local.c and have
not heard any response back. When I posted the original bug report to the
list there was some discussion about it, but no one confirmed or disproved
the bug report.

Now I am at the point of assuming that my bug report is valid and there is a
real bug in qmail-local.c regarding the rewriting of the sender addresses..
otherwise someone would have disproved me in the list discussion.

I'm quite disconcerted that Dan and the qmail community don't _seem_ to be
interested in dealing with this bug. This bug is minor and should be EASY to
fix.

Would somebody please _care_ about this....

 - David Harris
   Principal Engineer, DRH Internet Services


-----Original Message-----
From:   David Harris [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, June 22, 1999 8:50 PM
To:     D. J. Bernstein
Subject:        RE: Bug in rewriting of sender address?

Dan,

I posted a message titled "Bug in rewriting of sender address?". This
message pointed out what I see as a bug in qmail-local.c when use with
virtual domains where it rewrites the sender address for .qmail-bla based on
seeing .qmail-bla-owner.

So far, no one from the list has shown me to be wrong and the discussion
kind of fizzled out. Could you take a look at this, please?

I've include my original message and the one response that really addressed
my test.

 - David Harris
   Principal Engineer, DRH Internet Services

#################################

-----Original Message-----
From:   David Harris [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, June 15, 1999 4:11 PM
To:     qmail-list
Subject:        Bug in rewriting of sender address?


I think I've found a bug in qmail-local regarding the handling rewriting a
sender address with virtualdomains. Let me show you my test setup:

This is all in the home directory of the user "test12" which has the domain
"test12.com" mapped to their username with the control/virtualdomains file.
The system is "hobbes.drh.net"

     [test12@hobbes home]$ echo $USER
     test12
     [test12@hobbes home]$ grep test12 /var/qmail/control/virtualdomains
     test12.com:test12
     [test12@hobbes home]$ cat /var/qmail/control/me
     hobbes.drh.net

I have five .qmail files setup for this user. First, .qmail-foo forwards
e-mail so it will go to the files .qmail-bar and .qmail-bouncer. But first,
notice the .qmail-foo-owner, which should cause all e-mail going through
.qmail-foo to acquire .qmail-foo-owner as the sender. Any mail going to
.qmail-foo-owner will get dropped in the mbox ./mailfile-foo-owner.

     [test12@hobbes home]$ cat .qmail-foo
     [EMAIL PROTECTED]
     [EMAIL PROTECTED]
     [test12@hobbes home]$ cat .qmail-foo-owner
     ./mailfile-foo-owner

Now the two destinations files... .qmail-bar stores the e-mail to the mbox
./mailfile-var. .qmail-bouncer will bounce the e-mail, so it should end up
going back to .qmail-foo-owner and end up in the mbox ./mailfile-foo-owner.

     [test12@hobbes home]$ cat .qmail-bar
     ./mailfile-bar
     [test12@hobbes home]$ cat .qmail-bouncer
     bouncesaying "bounced as a test"

Okay, look good?

Now we send a test message, first clearing out the two mailfiles for the
test

     [test12@hobbes home]$ rm mailfle-*
     [test12@hobbes home]$ qmail-inject
     to: [EMAIL PROTECTED]
     subject: here we go and test stuff

     testing line one
     testing line two
     [test12@hobbes home]$

Now, we _should_ have a copy of the message in mailfile-bar and a copy of a
bounce in mailfile-foo-owner.

Looking at mailfile-bar reveals that the owner has been rewritten
incorrectly, IMO.

     [test12@hobbes home]$ cat mailfile-bar
     From [EMAIL PROTECTED] Tue Jun 15 20:08:22 1999
     Return-Path: <[EMAIL PROTECTED]>
     Delivered-To: [EMAIL PROTECTED]
     Received: (qmail 2374 invoked by uid 513); 15 Jun 1999 20:08:22 -0000
     Delivered-To: [EMAIL PROTECTED]
     Received: (qmail 2371 invoked by uid 513); 15 Jun 1999 20:08:20 -0000
     Date: 15 Jun 1999 20:08:10 -0000
     Message-ID: <[EMAIL PROTECTED]>
     From: [EMAIL PROTECTED]
     to: [EMAIL PROTECTED]
     subject: here we go and test stuff

     testing line one
     testing line two

     [test12@hobbes home]$

The "^From" line should read "[EMAIL PROTECTED]" or
"[EMAIL PROTECTED]", right?

IMO, the iron clad test of this sender rewriting is this: Did we get bounce
messages? The answer is no:

     [test12@hobbes home]$ cat mailfile-foo-owner
     cat: mailfile-foo-owner: No such file or directory

This make sense to anyone else there?

 - David Harris
   Principal Engineer, DRH Internet Services

#################################

-----Original Message-----
From:   Stefan Paletta [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, June 16, 1999 7:53 AM
Cc:     qmail-list
Subject:        Re: Bug in rewriting of sender address?

David Harris wrote/schrieb/scribsit:
>      [test12@hobbes home]$ cat .qmail-bouncer
>      bouncesaying "bounced as a test"
      ^^
This is missing a pipe sign here. But even if it's there,
the result is the same.

> The "^From" line should read "[EMAIL PROTECTED]" or
> "[EMAIL PROTECTED]", right?

Yes. (That's what makes sense (to me), but the documentation is
confusing me right now.)

> IMO, the iron clad test of this sender rewriting is this: Did we get
bounce
> messages? The answer is no:

Postmaster's got the double-bounce since [EMAIL PROTECTED]
does not exist.

> This make sense to anyone else there?

Yup. I *think* this got wrong when Delivered-To lines were changed
to reflect the virtualdomain the message was sent to and not `me' as
the host.
qmail-local uses local"-owner@"host as NEWSENDER, but it should
use either ext"-owner@"host or local"-owner@"`me'.

Dan? Anyone?
Stefan







David Harris [[EMAIL PROTECTED]] wrote:
> An e-mail off to Dan six days ago describing a bug in qmail-local.c and
have
[snip]

Change to "I sent an e-mail...."

*sigh*

 - David Harris
   Principal Engineer, DRH Internet Services






David Harris writes:
 > 
 > An e-mail off to Dan six days ago describing a bug in qmail-local.c and have
 > not heard any response back. When I posted the original bug report to the
 > list there was some discussion about it, but no one confirmed or disproved
 > the bug report.

Typically, Dan doesn't acknowledge bug reports.  He just fixes them
for the next release.  Given that Dan is working on qmail 2.0, I
expect that you'll find the problem gone by then.

In the meantime, submit a patch and I'll put it on www.qmail.org.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) 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!





Russell Nelson [mailto:[EMAIL PROTECTED]]
<mailto:[mailto:[EMAIL PROTECTED]]> wrote:
> Typically, Dan doesn't acknowledge bug reports.  He just fixes them
> for the next release.  Given that Dan is working on qmail 2.0, I
> expect that you'll find the problem gone by then.
>
> In the meantime, submit a patch and I'll put it on www.qmail.org.

Weird. I'm used to seeing developers jump on bug reports and reply with some
kind of answer. At a minimum "okay, we got it". That's what I've seen on
other projects I participate in Apache, mod_ssl, etc... and how I operate
with the little teeny projects I run myself.

Well, if just knowing that the message got into Dan's INBOX is good enough
for you, then I'm happy. :-)

 - David Harris
   Principal Engineer, DRH Internet Services






David Harris writes...
>Russell Nelson [mailto:[EMAIL PROTECTED]]
><mailto:[mailto:[EMAIL PROTECTED]]> wrote:
>> Typically, Dan doesn't acknowledge bug reports.  He just fixes them
>> for the next release.  Given that Dan is working on qmail 2.0, I
>> expect that you'll find the problem gone by then.
>>
>> In the meantime, submit a patch and I'll put it on www.qmail.org.
>
>Weird. I'm used to seeing developers jump on bug reports and reply with some
>kind of answer. At a minimum "okay, we got it". That's what I've seen on
>other projects I participate in Apache, mod_ssl, etc... and how I operate
>with the little teeny projects I run myself.

I think that's the difference between the "cathedral" and "bazzar" open 
source development paradigms.

I do work on one piece of open source software where the author only
acknowledges bug reports that are wrong.  It bugged me at first, but
I quickly got used to it.  If I didn't see a refutation in a few days,
I knew my fix would be in the next release. :)


-- 
Aaron Nabil




On Mon, 28 Jun 1999 10:16:54 -0400, David Harris wrote:

>An e-mail off to Dan six days ago describing a bug in qmail-local.c and have
>not heard any response back. When I posted the original bug report to the
>list there was some discussion about it, but no one confirmed or disproved
>the bug report.

This bug [sender rewriting within virtual domain] was reported by
others to DJB at least 6 months ago. AFAIK, Dan acknowledged that
report. This is important, but not critical for the vast majority of
qmail users. Given this and that qmail is a mission-critical
application and Dan's previously stated aversion to patches, I would
expect it to be fixed in the next version of qmail, but not before.


-Sincerely, Fred

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






hi,

some days ago i posted to this list asking for the possibility to add a
environment variable to qmail-local.
here again my question:
anybody got an idea how to add an environment variable MESSAGESIZE to
qmail-local? this would be great
for message routing depending on their size.
i tried this with several `wc -c` commands but it's is not a good
approach. working with env var. would be 
much more better!

i am a poor programmer so i do not have any idea how to add this feature
to qmail-local. i had a look into
the sources and i found the place where all the other env. var. are set.
i think it must be easy for a skilled
programmer to add a system-call getting the message size from the file
in the mess directory!

regards
jodok







Try:

struct stat filesize_stat;
char filesize_str[30];

if ( !fstat(0, &filesize_stat) && filesize_stat )
    if ( sprintf(filesize_str, "%i", filesize_stat.st_size) )
       env_put2("MESSAGESIZE", filesize_str);

Warning: This is not debugged, just off the top of my head.

 - David Harris
   Principal Engineer, DRH Internet Services


-----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 28, 1999 10:54 AM
To:     [EMAIL PROTECTED]
Subject:        new environment variable for qmail-local!!

hi,

some days ago i posted to this list asking for the possibility to add a
environment variable to qmail-local.
here again my question:
anybody got an idea how to add an environment variable MESSAGESIZE to
qmail-local? this would be great
for message routing depending on their size.
i tried this with several `wc -c` commands but it's is not a good
approach. working with env var. would be
much more better!

i am a poor programmer so i do not have any idea how to add this feature
to qmail-local. i had a look into
the sources and i found the place where all the other env. var. are set.
i think it must be easy for a skilled
programmer to add a system-call getting the message size from the file
in the mess directory!

regards
jodok






What is the normal policy for handling email that goes
over a users quota?

Is the mail normally bounced back to the sender, just dropped
or something else?

I'm looking at adding user quota's to vchkpw, which uses a single
/etc/passwd user for all pop mail accounts. 

Ken Jones
Inter7




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

> What is the normal policy for handling email that goes
> over a users quota?

I would think it should be one of the items of local policy agenda. 
Either it is immediately bounced to the sender (notifying him that 
the addressee didn't receive the mail, and keeping the queue 
reasonably empty), or it is deferred with temporary error, enabling 
delivery after user cleans his POP3 box.

I would prefer the second option as a user, and the first one as an 
administrator :-)

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

iQA/AwUBN3eeP1MwP8g7qbw/EQLHmQCcCbNDuZjEnckjqth06i55/W1DfsgAoO6p
dfVJyDW75ssDwUllQrdTL+EC
=Z2sf
-----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]




We don't run hard quota's.  We do charge for extra disk usage.  If a
customer goes way over we may contact them as excessive disk space
in email is often a sign of a problem.  The user may be getting mail
bombed, the account might be hacked, etc.  If the problem is not the
user's fault or does not seem intentional and gets corrected quickly,
we waive the charges.


> What is the normal policy for handling email that goes
> over a users quota?
> 
> Is the mail normally bounced back to the sender, just dropped
> or something else?
> 
> I'm looking at adding user quota's to vchkpw, which uses a single
> /etc/passwd user for all pop mail accounts. 
> 
> Ken Jones
> Inter7
> 


-- 
Richard Shetron  [EMAIL PROTECTED] [EMAIL PROTECTED]
                 What is the Meaning of Life?
There is no meaning,
It's just a consequence of complex carbon based chemistry; don't worry about it
The Super 76, "Free Aspirin and Tender Sympathy", Las Vegas Strip.




On Mon, 28 Jun 1999 10:03:07 -0500, [EMAIL PROTECTED] wrote:

>What is the normal policy for handling email that goes
>over a users quota?

Looking at logs for a number of mailing lists, it's about 50:50. There
are even sites that bounce mail for "user is over hourly mail quota".

IMHO, you bounce mail for permanent problems, defer it for temporary
problems. Over quota is clearly a temporary problem.

Another interesting possibility is to do a quota check (soft) in .qmail
and redirect excess mail to a place where the customer can "buy it
out", i.e. they can pay for an increased quota or you deliver the
excess mail with an e.g. 7 day delay provided that the quota then
permits (else bounce). The first message to the "holding maildir"
generates a message directly to the users maildir informing him/her
about this.


-Sincerely, Fred

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






Aaron Nabil writes...
>Stat is only supposed to include un-marked-for-deletion messages for 
>both the size and enumeration values, not just the size as qmail
>is doing.

A couple people asked me for "more info", here's an extract from 
rfc1939 that describes the STAT command.  The important bit is
the "Note that messages marked as deleted are not counted in either
total." line.

I don't know if this bug breaks any maintstream clients, but it sure
had a funny result on my web-based POP email tool, when you deleted
a messages the count of remaining messages would stay the same!

I've put the patch in http://www.spiritone.com/~nabil/popstatbug.diff ,
sorry if the "fuzz" is way off, I have some other patches in my local
copy.


          STAT

          Arguments: none

          Restrictions:
          may only be given in the TRANSACTION state

          Discussion:
          The POP3 server issues a positive response with a line
          containing information for the maildrop. This line is called a
          "drop listing" for that maildrop.

          In order to simplify parsing, all POP3 servers are required to
          use a certain format for drop listings. The positive response
          consists of "+OK" followed by a single space, the number of
          messages in the maildrop, a single space, and the size of the
          maildrop in octets. This memo makes no requirement on what
          follows the maildrop size. Minimal implementations should just
          end that line of the response with a CRLF pair. More advanced
          implementations may include other information.

          NOTE: This memo STRONGLY discourages implementations from
          supplying additional information in the drop listing. Other,
          optional, facilities are discussed later on which permit the
          client to parse the messages in the maildrop.

          Note that messages marked as deleted are not counted in either
          total.

          Possible Responses:

             +OK nn mm

          Examples:

             C: STAT
             S: +OK 2 320

-- 
Aaron Nabil





I've got qmail-pop3d piped to splogger, but I am not seeing any logins in
my log files.  Does qmail-pop3d not support this?




--
Albert Hopkins
Sr. Systems Specialist
Dynacare, Inc
[EMAIL PROTECTED]





Albert Hopkins writes:
 > 
 > I've got qmail-pop3d piped to splogger, but I am not seeing any logins in
 > my log files.  Does qmail-pop3d not support this?

qmail-pop3d has nothing to say about what it does.  You could write a
shell script wrapper around any one of qmail-popup, checkpassword, or
qmail-pop3d.  For the latter, e.g.:

#!/bin/sh
NEW=`ls $1/new|wc -l`
echo "$USER has $NEW new messages" >&2
exec /var/qmail/bin/qmail-pop3d $1

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) 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 Mon, 28 Jun 1999, Russell Nelson wrote:

> Albert Hopkins writes:
>
> > I've got qmail-pop3d piped to splogger, but I am not seeing any logins
> > in my log files.  Does qmail-pop3d not support this?
> 
> qmail-pop3d has nothing to say about what it does.  You could write a
> shell script wrapper around any one of qmail-popup, checkpassword, or
> qmail-pop3d.  For the latter, e.g.:
> 
> #!/bin/sh
> NEW=`ls $1/new|wc -l`
> echo "$USER has $NEW new messages" >&2
> exec /var/qmail/bin/qmail-pop3d $1

And where will you log?  I think you'll directly to stdout...

[root@zweiblumen /var/qmail/bin]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user julian7
+OK 
pass xxxxxxx
julian7 has       1 new messages
+OK 

By the way I don't think it's a HA solution but sounds good ;)
-- 
Regards: Kevin (Balazs)





Balazs Nagy writes:
 > And where will you log?  I think you'll directly to stdout...

If you're using inetd, sure.  Inetd is stupid, broken, and susceptible
to slow-motion denial of service attacks.  Don't use it.  Use
tcpserver instead.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) 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 Mon, 28 Jun 1999, Russell Nelson wrote:

> Balazs Nagy writes:
>  > And where will you log?  I think you'll directly to stdout...
> 
> If you're using inetd, sure.  Inetd is stupid, broken, and susceptible
> to slow-motion denial of service attacks.  Don't use it.  Use
> tcpserver instead.

;) Iam using supervise/tcpserver.  AFAIK qmail-popup dup(2)s stdout to
stderr just before checkpassword (line 91), due to the stupidity of some
inetd implementations.
-- 
Regards: Kevin (Balazs)





Balazs Nagy writes:
 > On Mon, 28 Jun 1999, Russell Nelson wrote:
 > 
 > > Balazs Nagy writes:
 > >  > And where will you log?  I think you'll directly to stdout...
 > > 
 > > If you're using inetd, sure.  Inetd is stupid, broken, and susceptible
 > > to slow-motion denial of service attacks.  Don't use it.  Use
 > > tcpserver instead.
 > 
 > ;) Iam using supervise/tcpserver.  AFAIK qmail-popup dup(2)s stdout to
 > stderr just before checkpassword (line 91), due to the stupidity of some
 > inetd implementations.

Damn.  Could be.  Well, thanks for checking it.  :(

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) 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!




Albert Hopkins wrote/schrieb/scribsit:
> I've got qmail-pop3d piped to splogger, but I am not seeing any logins in
> my log files.  Does qmail-pop3d not support this?

$ cat /var/qmail/bin/qmail-pop3d-log
#!/bin/sh
logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEHOST [$TCPREMOTEIP]"
exec /var/qmail/bin/qmail-pop3d $1

Stefan
 




On Mon, Jun 28, 1999 at 11:39:07PM +0200, Stefan Paletta wrote:
> Albert Hopkins wrote/schrieb/scribsit:
> > I've got qmail-pop3d piped to splogger, but I am not seeing any logins in
> > my log files.  Does qmail-pop3d not support this?
> 
> $ cat /var/qmail/bin/qmail-pop3d-log
> #!/bin/sh
> logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEHOST [$TCPREMOTEIP]"
> exec /var/qmail/bin/qmail-pop3d $1

Or... to use Russ's original number of messages post:

----------
#!/bin/sh

        NEW=`ls $1/new|wc -l | sed 's; ;;g'`
        OLD=`ls $1/cur|wc -l | sed 's; ;;g'`

logger -p local2.info -t qmail-pop3d "User $USER messages: $NEW new, $OLD old: 
Accessing from $TCPREMOTEIP"

exec /var/qmail/bin/qmail-pop3d $1
----------

-- 
Brad Shelton  On Line Exchange  http://ole.net
                ----
810.939.7604            Phone - Tech Support
810.264.7051            Fax   - Tech Support
313.961.7100            Phone - Main Office
313.961.7101            Fax   - Main Office





I got around this with a wrapper before and after checkpassword.. I call it
logpopauth-pre and logpopauth-post. It is written in perl and works quite
fine with both tcpserver and inetd.

The logpopauth-pre program sets up a filehandle to whatever you want to log
to, places the fd number in the environment, and execs checkpassword. Then
logpopauth-post runs right after checkpassword and prints the authentication
line out to fd identified in the environment, closes the fd, and then execs
qmail-pop3d.

This is a part of my POP before SMTP-replay package, smtp-poplock:

    http://www.davideous.com/smtp-poplock/

Or just grab the two files you need:


http://www.davideous.com/smtp-poplock/distrib/smtp-poplock-2.01/logpopauth-p
re

http://www.davideous.com/smtp-poplock/distrib/smtp-poplock-2.01/logpopauth-p
ost

Note: you will have to slightly modify logpopauth-pre to not read
configuration from /etc/smtp-poplock.conf, but this should be a snap to do.

 - David Harris
   Principal Engineer, DRH Internet Services


-----Original Message-----
From:   Albert Hopkins [mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 28, 1999 11:46 AM
To:     Qmail Mailing List
Subject:        does qmail-pop3d not record logins?


I've got qmail-pop3d piped to splogger, but I am not seeing any logins in
my log files.  Does qmail-pop3d not support this?




--
Albert Hopkins
Sr. Systems Specialist
Dynacare, Inc
[EMAIL PROTECTED]





Quoting Scott D. Yelich ([EMAIL PROTECTED]):
> > > > Jun 26 01:10:23 ns1 tcp-env[4348]: refused connect from 216.221.160.30
> > > > dig -x output...
> > > > ;; ANSWER SECTION:
> > > > 30.160.221.216.in-addr.arpa.  11h22m24s IN PTR  cobalt.
> > > > 30.160.221.216.in-addr.arpa.  11h22m24s IN PTR  cobalt.propagation.net.
> 
> Well, I don't want to get into a pissing contest -- but I hate to make
> hacks on software (ie: qmail/tcp-env) to allow a special case to work. 
> I'm going to wait and continue to investigate if this is a tcp-env snafu
> or a loose bind implementation, etc.

The problem here is, as DJB pointed out, tcp wrappers can't do a
lookup on 216.221.160.30 and cobalt.propagation.net and get the
responses to jive.  cobalt.propagation.net=216.221.160.30 but
216.221.160.30=cobalt.  Why do you have two PTR entries?  The second,
correct PTR record is sufficient, unless I'm really missing something.

Tcp wrappers behaves like this if compiled with D_PARANOID set or
something, or "ALL: PARANOID" is in /etc/hosts.deny.

In any case, if you dropped the first entry, it would probably work
fine.  I'd just use tcpserver, really, as Dan suggested quite
vehemently :-).

Aaron





Does anyone know if "onelist.com" uses Qmail/ezmlm?

We seem to get a lot of mail to our customers from "onelist.com" of the form:

        <[EMAIL PROTECTED]>

Or do other mailing lists use the "joeuser=domain.com" syntax?

Dave




On Mon, Jun 28, 1999 at 01:33:09PM -0400, Dave Kitabjian wrote:
> Does anyone know if "onelist.com" uses Qmail/ezmlm?

They at least use qmail :

orion:/var/named/sirius $ telnet www.onelist.com 25
Trying 209.207.164.201...
Connected to www.onelist.com.
Escape character is '^]'.
220 onelist.com ESMTP
help
214 qmail home page: http://pobox.com/~djb/qmail.html


Cheers,
Olivier




On Mon, 28 Jun 1999 13:33:09 -0400, Dave Kitabjian wrote:

>Does anyone know if "onelist.com" uses Qmail/ezmlm?

They used to use ezmlm+ezmlm-idx, but seem to have since made their own
software (strongly ezmlm-influenced) that uses a database back-end.
Their system appears user centered whereas ezmlm is list centered. They
also acknowledge MySQL, so my guess is that they use a MySQL database
with a user table, a list table, and a table that links user<->list.
This makes it easy to list all the lists you're a subscriber of when
you log in to their site (in contrast to std ezmlm where you'd have a
table per list).

They do appear to use essentially straight qmail.

<[EMAIL PROTECTED]>

A guess is that for errors-default they use ezmlm-weed pretty much as
is, then a hacked version of ezmlm-return. "joeuser=domain.com" is
standard VERP per DJB. "159" is the message number. "34435" is most
likely the record number of this list in the list table. With a
user-centered approach it becomes easiest to keep track of bounces per
user [as opposed to per list per user as for std ezmlm]. Probably, they
store bounces in the database rather than as 2 files as ezmlm does. I
don't know if they tell users about messages missed (as ezmlm) or just
unsubscribe them after a given number/density of bounces. The latter is
less "proper" but a lot less resource-using.

ezmlm uses listlocal-return- in place of "errors-". It does this since
it is mainly to allow different users on a system to create independent
lists. You'd need a .qmail link (or users/assign entry) per list, which
scales poorly for very many lists. Setting the return address as
onelist.com does allows the use of a single link, and of course they
[presumably] handle all the lists under a single "unix" user.


-Sincerely, Fred

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






Dave Kitabjian wrote:
> 
> Does anyone know if "onelist.com" uses Qmail/ezmlm?
> 
> We seem to get a lot of mail to our customers from "onelist.com" of the form:
> 
>         <[EMAIL PROTECTED]>
> 
> Or do other mailing lists use the "joeuser=domain.com" syntax?
> 
Yes, we use qmail. Everything else is custom written. VERPs are great
for bounce handling.

Cheers,


Mark
ONElist Team




On Mon, 28 Jun 1999 13:46:45 -0500, Fred Lindberg wrote:

>They used to use ezmlm+ezmlm-idx, but seem to have since made their own

Sorry - my info was for makelist->eGroups, not onelist.com. I now know
that onelist.com is a totally different venture and that they never
used ezmlm in production.


-Sincerely, Fred

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






Hello,

I have a problem with deliveries of mail seeming to crash in the server
during delivery.  The mail headers get delivered, but the system attempts to
redeliver the email every minute or so, crashing , but devilering the
headers, creating a real headache....

I have included the qmail log as well as a few diagnostic programs.

Also, I am running vmailmgr... but there are no errors in its log file.

Any ideas?

Thanks in advance,

Peter Mahnke


/var/log/qmail/currentlog OUTPUT

930589844.541360 starting delivery 77: msg 72873 to local
[EMAIL PROTECTED]
930589844.541414 status: local 2/10 remote 1/20
930589844.541445 delivery 74: deferral: Aack,_child_crashed._(#4.3.0)/
930589844.541487 status: local 1/10 remote 1/20
930589844.649928 delivery 77: success:
vdeliver:_Delivered_to_maildir:_./users/vbuddha/did_0+0+1/
930589844.649988 status: local 0/10 remote 1/20
930589844.650019 end msg 72873
930589850.387299 delivery 76: success:
205.180.60.13_accepted_message./Remote_host_said:_250_ok_dirdel/
930589850.387367 status: local 0/10 remote 0/20
930589850.387420 end msg 72874




QMAIL-QREAD OUTPUT

bash# /var/qmail/bin/qmail-qread
25 Jun 1999 04:56:45 GMT  #72889  3667  <[EMAIL PROTECTED]>
        local   [EMAIL PROTECTED]
26 Jun 1999 23:15:50 GMT  #72869  7144  <[EMAIL PROTECTED]>
        local   [EMAIL PROTECTED]
28 Jun 1999 15:01:39 GMT  #72870  1140  <[EMAIL PROTECTED]>
        local   [EMAIL PROTECTED]
        local   [EMAIL PROTECTED]
27 Jun 1999 18:01:40 GMT  #72871  3423  <>
        remote  [EMAIL PROTECTED]
28 Jun 1999 15:03:15 GMT  #72872  1181  <[EMAIL PROTECTED]>
        local   [EMAIL PROTECTED]
        local   [EMAIL PROTECTED]
        local   [EMAIL PROTECTED]
        local   [EMAIL PROTECTED]
        local   [EMAIL PROTECTED]



QMAIL-QSTAT OUTPUT

bash# /var/qmail/bin/qmail-qstat
messages in queue: 5
messages in queue but not yet preprocessed: 0



QMAIL-SHOWCTL OUTPUT

bash# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 80, 81, 82, 0, 83, 84, 85, 86.
group ids: 80, 81.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is baby.internal.network.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is baby.internal.network.

defaulthost: (Default.) Default host name is baby.internal.network.

doublebouncehost: (Default.) 2B recipient host: baby.internal.network.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is baby.internal.network.

helohost: (Default.) SMTP client HELO host name is baby.internal.network.

idhost: (Default.) Message-ID host name is baby.internal.network.

localiphost: (Default.) Local IP address becomes baby.internal.network.

locals:
Messages for baby.internal.network are delivered locally.

me: My name is baby.internal.network.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is baby.internal.network.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at baby.internal.network.
SMTP clients may send messages to recipients at transitionelement.com.
SMTP clients may send messages to recipients at boilard.com.
SMTP clients may send messages to recipients at siteforyou.com.
SMTP clients may send messages to recipients at siteforher.com.
SMTP clients may send messages to recipients at siteforhim.com.
SMTP clients may send messages to recipients at baramerica.com.
SMTP clients may send messages to recipients at computerclassifieds.com.
SMTP clients may send messages to recipients at bwanazulia.com.
SMTP clients may send messages to recipients at queenswest.com.
SMTP clients may send messages to recipients at atwood.org.
SMTP clients may send messages to recipients at mahnke.net.
SMTP clients may send messages to recipients at tannic.com.
SMTP clients may send messages to recipients at marinucci.com.
SMTP clients may send messages to recipients at vbuddha.com.
SMTP clients may send messages to recipients at web-reports.net.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 baby.internal.network.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.



virtualdomains:
Virtual domain: transitionelement.com:transitionelement
Virtual domain: boilard.com:boilard
Virtual domain: siteforyou.com:siteforyou
Virtual domain: siteforher.com:siteforher
Virtual domain: siteforhim.com:siteforhim
Virtual domain: baramerica.com:baramerica
Virtual domain: computerclassifieds.com:compclassifieds
Virtual domain: bwanazulia.com:bwanazuilia
Virtual domain: queenswest.com:queenswest
Virtual domain: atwood.org:atwood
Virtual domain: mahnke.net:mahnke
Virtual domain: tannic.com:tannic
Virtual domain: marinucci.com:marinucci
Virtual domain: vbuddha.com:vbuddha
Virtual domain: web-reports.net:web-reports






On Mon, 28 Jun 1999 14:42:11 -0400, Peter Mahnke wrote:

>930589844.541445 delivery 74: deferral: Aack,_child_crashed._(#4.3.0)/

This is the only line in your except that refers to delivery 74. Most
likely, you have a program delivery in the particular .qmail file and
that program crashes. If delivery 77 is a result of delivery 74, then
you probably have a program further down than "vdeliver" that crashes.
This causes redelivery to the .qmail file with redelivery to "vdeliver"
and your crashing program, etc, etc.


-Sincerely, Fred

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






First of all, thanks for the email...

Second of all... I poked around... and I still have no idea.... where do I
start looking?

It seems that only 2 virtual domains have this problem.... but the
.qmail-default files are the same as other directories... as well as all of
the file ownership and permissions....  can I email you more information?

Any other thoughts?

Thanks Again,

Peter Mahnke

-----Original Message-----
From: Fred Lindberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 28, 1999 3:00 PM
To: Peter Mahnke; [EMAIL PROTECTED]
Subject: Re: help with Child Crashing during delivery


On Mon, 28 Jun 1999 14:42:11 -0400, Peter Mahnke wrote:

>930589844.541445 delivery 74: deferral: Aack,_child_crashed._(#4.3.0)/

This is the only line in your except that refers to delivery 74. Most
likely, you have a program delivery in the particular .qmail file and
that program crashes. If delivery 77 is a result of delivery 74, then
you probably have a program further down than "vdeliver" that crashes.
This causes redelivery to the .qmail file with redelivery to "vdeliver"
and your crashing program, etc, etc.


-Sincerely, Fred

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







Hi all,

I have just installed Solaris 2.7 - sparc  10 . I use Sun compiler to
compile qmail. When i run the test, the qmail processes start but the
splogger dies. I tried to change the permission of /dev/conslog (622) but
it didn't work.
In fact, i tried to change a lot of permissions but it didn't work at all.
Could anybody help us?

Thanks a lot

Silvia M. Baeder
[EMAIL PROTECTED]





Albert Hopkins <[EMAIL PROTECTED]> writes:

> ...My problem now is getting mail from users stored in ~/Mailbox to
> convert to Maildir...Is there a utility or spec to do this?

Yes, there is: formail (part of the procmail package) to split the mbox,
and safecat to deposit each one in a maildir. You can get safecat at my
web page: <http://www.pobox.com/~lbudney/linux/software/safecat.html>.

Once you have both, the appropriate command is:

   formail -I 'From ' -s safecat MAILDIR/tmp MAILDIR/new

Note also that safecat can store anything you like in a Maildir. Some
of DJB's tools, notably serialmail, assume that the messages were
delivered by qmail; in particular they assume that "Return-Path" and
"Delivered-To" are the first two headers in the message, in that
order.

Len.

-- 
It is not good to accept the person of the wicked, to overthrow the
righteous in judgment. --Proverbs 18:5





On 28 Jun 1999 17:55:16 -0400  [EMAIL PROTECTED]
wrote:

> Once you have both, the appropriate command is:
> 
>    formail -I 'From ' -s safecat MAILDIR/tmp MAILDIR/new
> 
> Note also that safecat can store anything you like in a Maildir. Some
> of DJB's tools, notably serialmail, assume that the messages were
> delivered by qmail; in particular they assume that "Return-Path" and
> "Delivered-To" are the first two headers in the message, in that
> order.

I wrote Yet Another program to deliver to maildirs.  It is more
specific to delivering email than safecat.

- temporary errors are reported with exit code 111 (if running under
  sendmail) or 75 otherwise for sendmail and its clones

- $RPLINE and $DTLINE are added, if present in the environment

  This just sounds strange; much in the way that Dan provides
  'forward' a maildir writer is useful from scripts sometimes.

- If $RPLINE is not present the first line of the input is
  examined and if it is a "From " line it is translated to
  a Return-Path line.

Available from:

  ftp://ftp.nemeton.com.au/pub/src/deliver-maildir.shar

Regards,

Giles







Hi.
It is following of the mail which I transmitted last time. 

>Hi.
>Two FAQ was found as mailer measures by which Message-ID/Date header 
>was not put up.  
>1. Header supplementation by qmail-inject which uses virtualdomain 
>2. Ofmipd operates instead of qmail-smtpd.  
>
>I want to supplement similar header with the qmail-smtpd unit.  
>Please teach if you know such Patch or the method.  

As processing of mail.
(usually) 
qmail-smtpd -> qmail-queue 

(virtualdomain)
qmail-smtpd -> qmail-queue -> qmail-local -> qmail-inject -> qmail-queue 

qmail-inject generates Date and/or Message-Id to mail header, except for no
Message-ID and/or Date rugged line.  

Here's the setup:
1)I put the following line in /var/qmail/control/me:
        smtp.test.co.jp
2)I put the following line in virtualdomains:
        smtp-v.test.co.jp:vuser
3)I create ~vuser/.qmail-default with this line in
it:
   |qmail-inject -f "$SENDER" "$EXT"

(ofmipd)
ofmipd -> qmail-queue 

ofmipd generates Date and/or Message-Id to mail header, except for no
Message-ID and/or Date rugged line.  

I want to know the method of generating Date and/or Message-Id to mail
header with
qmail-smtpd like ofmipd, except for no Message-ID and/or Date rugged line.  


============
Hideki Kubo <[EMAIL PROTECTED]>

FUJITSU BUSINESS SYSTEMS LTD.
phone:+81(3)5804-8292   fax:+81(3)5804-8298   inline phone:7090-4074




Hideki Kubo writes:
 > I want to know the method of generating Date and/or Message-Id to
 > mail header with qmail-smtpd like ofmipd, except for no Message-ID
 > and/or Date rugged line.

Why not use ofmipd?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




At 01:37 午前 1999/06/29 -0400, you wrote:
> Hideki Kubo writes:
>  > I want to know the method of generating Date and/or Message-Id to
>  > mail header with qmail-smtpd like ofmipd, except for no Message-ID
>  > and/or Date rugged line.
> 
> Why not use ofmipd?
> 

The functions not supported with ofmipd are provided in qmail-smtpd judging
from my examining.

As one example
1.ESMTP
  qmail-smtpd:support
  ofmipd     :no

2.counting  hops.It  rejects any message with 100 or more Received or
Delivered-To header.
  qmail-smtpd:support
  ofmipd     :no

3.databytes (many control files)
  qmail-smtpd:support
  ofmipd     :no

4.generates Date and/or Message-Id to mail header, except for no Message-ID
and/or Date rugged line.  
  qmail-smtpd:no
  ofmipd     :support

I am examining the method of doing the header generation like ofmipd to
qmail-smtpd.  
And,  I want to use .  






On Sun, 27 Jun 1999, Robbie Walker wrote:

> Like I said, I don't have my ref book here, but I don't think you are
> supposed to have a nameserver entry point to a CNAME...

Thank you very much I think you are right,
I have changed the DNS entry as you suggested.
I though still have an error.
I am working on a test machine.
which is not connected to the net,
and the differences will only be updated later today.
to the online machine.


> - ----------------------------------------------------------
> >             IN      NS      dhamma.metta.lk.
> >dhamma               IN      CNAME   metta.lk.
> - ----------------------------------------------------------
> 
> I would recommend changing you named.hosts files as follows:
> - ----------------------------------------------------------
> /var/named.hosts
> - ----------------
> ;DNS-Format-Version-1
> ; Domains defined in this file:
> ;     metta.lk.
> ;     col7.metta.lk
> $ORIGIN metta.lk.
> @                     IN      SOA     dhamma.metta.lk. root.metta.lk. (
>                                   8           ; serial
>                                   28800       ; refresh
>                                   7200        ; retry
>                                   604800      ; expire
>                                   86400       ; minimum
>                               )
>               IN      NS      dhamma.metta.lk.
>               IN      NS      server1.tradenetsl.lk.
> 
> dhamma                IN      A       204.143.107.46  
> 
>               IN      A       204.143.107.46
> 
> metta.lk.     IN      MX      10      dhamma.metta.lk.
> 
> www           IN      CNAME   dhamma.metta.lk.
> 
> col7.metta.lk.        IN      A       172.16.1.1
> col7.metta.lk.        IN      MX      10      metta.lk. ;I'm not sure you need this
> col4.metta.lk.        IN      A       172.16.2.1
> col7.metta.lk.        IN      MX      10      metta.lk  ;I'm not sure you need this
> 
> 
> /var/named.rev
> - --------------
> ;DNS-Format-Version-1
> ;
> ; Domains defined in this file:
> ;     107.143.204.in-addr.arpa.
> ;
> $ORIGIN 107.143.204.in-addr.arpa.
> @                     IN      SOA     dhamma.metta.lk.  root.dhamma.metta.lk. (
>                                   1           ; serial
>                                   28800       ; refresh
>                                   7200        ; retry
>                                   604800      ; expire
>                                   86400       ; minimum
>                               )
>               IN      NS      dhamma.metta.lk.        
>               IN      NS      server1.tradenetsl.lk.
> 34            IN      PTR     server1.tradenetsl.lk.
> 46            IN      PTR     dhamma.metta.lk.
> - ----------------------------------------------------------
> 
> Here's the dig of your domain (metta.lk)
> as you can see, in the section where it lists, nameservers, dhamma is not
> listed.
> - ----------------------------------------------------------

[root@dhamma qmail-1.03]# ./config
Your hostname is dhamma.metta.lk.
soft error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
--------------------------------------------------------------
I modified as per your suggestion, but did not have a good result
The machine is a test machine which is not conneted to the NET
I shall update the DNS in the main machine later today.

perhaps you might get a different result if if you say

dig all metta.lk @tradenetsl.lk





Reply via email to