Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie

On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote:
On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote:
[snip]
 This is the 'run' script started by supervise:
 
 #!/bin/sh
 exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \ 
/var/qmail/bin/qmail-pop3d Maildir 21

Could you show us a hexdump of that file? This is interesting :)

000 2123 622f 6e69 732f 0a68 7865 6365 2f20
010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374
020 7370 7265 6576 2072 782d 2f20 7465 2f63
030 6374 7270 6c75 7365 642e 742f 7063 702e
040 706f 2e33 6463 2062 762d 2d20 2052 482d
050 2d20 206c 2030 2030 3131 2030 0a5c 2f09
060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71
070 6961 2d6c 6f70 7570 2070 6469 2e73 7274
080 7669 6169 2e6c 7633 2e61 656e 2074 622f
090 6e69 632f 6568 6b63 6170 7373 6f77 6472
0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c
0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064
0c0 614d 6c69 6964 2072 3e32 3126 0a0a 
0ce

Remember, it _only_ doesn't work when run by supervise. 
When run without supervise it works fine :\



-- 

Grtz, 

Arjen.




Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie

On Fri, Jul 06, 2001 at 08:42:57AM +0200, Arjen van Drie wrote:
On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote:
On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote:
[snip]
 This is the 'run' script started by supervise:
 
 #!/bin/sh
 exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \ 
/var/qmail/bin/qmail-pop3d Maildir 21

When i run this one like this:

#!/bin/sh
exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword 
/var/qmail/bin/qmail-pop3d Maildir 21

it works!

Duh! All other qmail run scripts with multiple lines ended by '\' do
work. Nou breekt mijn klomp :\

(Dutch expression: now my wooden shoe breaks).




Could you show us a hexdump of that file? This is interesting :)

000 2123 622f 6e69 732f 0a68 7865 6365 2f20
010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374
020 7370 7265 6576 2072 782d 2f20 7465 2f63
030 6374 7270 6c75 7365 642e 742f 7063 702e
040 706f 2e33 6463 2062 762d 2d20 2052 482d
050 2d20 206c 2030 2030 3131 2030 0a5c 2f09
060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71
070 6961 2d6c 6f70 7570 2070 6469 2e73 7274
080 7669 6169 2e6c 7633 2e61 656e 2074 622f
090 6e69 632f 6568 6b63 6170 7373 6f77 6472
0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c
0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064
0c0 614d 6c69 6964 2072 3e32 3126 0a0a 
0ce

Remember, it _only_ doesn't work when run by supervise. 
When run without supervise it works fine :\



-- 

Grtz, 

Arjen.


-- 

Grtz, 

Arjen.




Re: Qmail tries to deliver to /home/usr/Maildir

2001-07-06 Thread GIC MLs

  I still don't see why qmail is trying to put the mail in
/home/usr/Maildir
  instead of under the vpopmail/domains directory...

 Repeating myself:  your virtualdomains configuration.  Post the contents
of
 virtualdomains.

 Charles

Apologies to Charles and the list -

I was working on this problem at a couple of different occaisions, but had
left Outlook Express open at this location in the meantime, so this machine
was grabbing responses to my posts before I could see them at the other
place. I did subscrible to the vpopmail mailing list in the meantime though,
thanks.

I never really did find out what the root of the problem was, but fixed it
by removing and re-adding the domain. I backed up vpopmail/domains/mydomain,
removed the original, added it again, then wrote a perl script to add the
200 users back into the new domain, check the copy of the original domain
subdirectories for leftover user mails and copy them to the new domain.
Things seem to be working so far...

Thanks again to Charles and everyone else for their help.

Shawn




Re: How can i get the mail size in qmail-local.c

2001-07-06 Thread Peter van Dijk

On Thu, Jul 05, 2001 at 09:06:55PM -0600, Charles Cazabon wrote:
 qftang [EMAIL PROTECTED] wrote:
 
  now i am doing some development based on qmail,and i want to get the mail
  size in the file qmail-local.c,how can i do that.
 
 If you mean you're writing a program called for delivery from a .qmail file by
 qmail-local, the message file descriptor is seekable -- a quick hack would be
 to seek to the end and do an ftell() or equivalent.

Check the archives for 'sizechecker' in that case, which uses fstat()
which is even better than seek+ftell.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Question MX ..cjk

2001-07-06 Thread Frank Tegtmeyer

Constantine Koulis [EMAIL PROTECTED] writes:

 I want my emails to go to my both emails Servers.. for backup reasons
 MX1 and MX2.

Create mx records for both of them. If one of them should be preferred
give it a lower preference than the other.

Regards, Frank



ip logging

2001-07-06 Thread Mike Culbertson

This has been a modestly common subject, but after scouring the lists 
repeatedly, I have seen no complete answer.  Actually getting the IPs logged 
is no problem...I am using the LWQ style multilog logging, getting info from 
tcpserver.  The question I have yet to see answered is: What now?
I have seen no discernable way to easily correlate the data found in the 
qmail-send logs and the tcpserver\qmail-smtpd logs.  Is there a tool availble 
that I have missed?  I wouldn't be opposed to writing one, but better to find 
out first.  Thanks.

Mike Culbertson



smtp relay testing w/ abuse.net

2001-07-06 Thread Suyanta Satria



dear all,

why if i testing my qmail smtp 
serverrelayusing www.abuse.net/relay.html
the test result never more thanrelay test 
7
but if using smtp relay with sendmail the test 
result until relay test 17

why 

regards


yayan


smtproutes and mail still in queue

2001-07-06 Thread Subba Rao

Hi,

My mail client is Mutt. Few days ago I have subscribed to their mailing list.
Their list server is at gbnet.net. The list server attempts to authenticate
my server by calling to identd. I have opened up ipchains to access identd for
the gbnet.net domain and the mail is still the mail queue.

Since my initial subscription (sometime ago) to Mutt list, I have added the
gbnet.net in the /var/qmail/control/smtproutes file. The relaying server is my
ISP's mail server. In this case, this mail should have left my system long time
ago but it still remains in the mail queue. Why is it trying to authenticate my
system via identd when the smtproutes has been defined for this domain?

Thank you in advance for any help.
-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217
Key fingerprint = 2B4C 498E 1860 5A2B 6570  5852 7527 882A 27FC 9217



Re: smtp relay testing w/ abuse.net

2001-07-06 Thread Lars Hansson

On Fri, 6 Jul 2001 16:23:31 +0700 Suyanta Satria [EMAIL PROTECTED] wrote:

 dear all,
 
 why if i testing my qmail smtp server relay using www.abuse.net/relay.html
 the test result never more than relay test  7
 but if using smtp relay with sendmail the test result until relay test 17
 
 why 
 
 regards
 

Because the test is broken (kinda). It stops on test 7 because qmail will
accept that mail. What the test dont know is that Qmail will never
deliver that email. I think this has been discussed a couple of times
before and someone else probably knows the exact details on this better
than I do.

Cheers
Lars





Re: smtp relay testing w/ abuse.net

2001-07-06 Thread Suyanta Satria

i install qmail follow the lifewithqmail direction
my server is running properly
how can i make my qmail server can accept all relay test until relay test 17
what should i do with the configuration ?
is my server secure ?

sorry i am new with qmail.
- Original Message -
From: Lars Hansson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 5:37 PM
Subject: Re: smtp relay testing w/ abuse.net


 On Fri, 6 Jul 2001 16:23:31 +0700 Suyanta Satria [EMAIL PROTECTED]
wrote:

  dear all,
 
  why if i testing my qmail smtp server relay using
www.abuse.net/relay.html
  the test result never more than relay test  7
  but if using smtp relay with sendmail the test result until relay test
17
 
  why 
 
  regards
 

 Because the test is broken (kinda). It stops on test 7 because qmail will
 accept that mail. What the test dont know is that Qmail will never
 deliver that email. I think this has been discussed a couple of times
 before and someone else probably knows the exact details on this better
 than I do.

 Cheers
 Lars







Re[2]: smtp relay testing w/ abuse.net

2001-07-06 Thread Lars Hansson

On Fri, 6 Jul 2001 17:15:41 +0700 Suyanta Satria [EMAIL PROTECTED] wrote:

 i install qmail follow the lifewithqmail direction
 my server is running properly
 how can i make my qmail server can accept all relay test until relay test 17
 what should i do with the configuration ?
 is my server secure ?
 

If you followed lifewithqmail to the letter; Yes.
If you still have doubts have mail-abuse.org or ordb.org test your server. 
I'm sure they'll find your server secure.

Cheers
Lars





Re: smtp relay testing w/ abuse.net

2001-07-06 Thread Mike Culbertson

i install qmail follow the lifewithqmail direction
my server is running properly
how can i make my qmail server can accept all relay test until relay test 17
what should i do with the configuration ?
is my server secure ?

As far as I know, you cannot make qmail get all the way to test 17.  However, 
it really does not matter, because also as far as I know, a properly 
configured qmail system will pass all the tests in reality.  As Lars pointed 
out, qmail /appears/ to accept the mail, but in fact it would never be 
delivered.  This I know for a fact, and it is the same with several tests 
after that, which I have done manually.  

Lastly...Is your server secure?  I don't know.  If you did a proper install 
of qmail, that component should be fine.  I recommend you try the tests 
manually and see what you find.  Good luck.

Mike Culbertson



RE: Question MX ..cjk

2001-07-06 Thread Mike Culbertson

 I want my emails to go to my both emails Servers.. for backup reasons
 MX1 and MX2.

You cannot accomplish this with your MX records.
If you add two or more machines as MX records, with the same priority, they 
will be treated like round-robin DNS entries and mail will flow to both 
servers...back and forth between the two, not each mail going to both.  That 
is generally best used when you have mail relays or a similar setup where 
mail does not reside on the machines listed in the MX records.
If one has a higher priority (lower number), it will be preferenced by 
outside mail systems, and will receive the majority of the mail for your 
domain.  No matter what you do, however, there is no DNS entry that will 
cause an outside machine to send a message to more than one server instead of 
just one.

Best bet for you most likely is to set up some kind of auto-forward system 
where each machine will send a copy to the other whenever it receives a mail. 
This may be a little tricky to do, but I would imagine it is possible.  Or 
even better, maybe just use cron to automatically tar up the maildirs, or 
some other backup strategy.

Mike Culbertson



Maildir

2001-07-06 Thread cyberruz

qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00

Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

Add a trailing slash to ./Maildir/ ...

Cheers -d

Interesting...especially when the scripts in /var/qmail/boot   don't
have a trailing '/' after ./Maildir
(ie. that's how they come with qmail)

In answer to the other post, Maildir works well, especially when you get
heaps of email in one mailbox!

Rob..






Re: Maildir

2001-07-06 Thread Henning Brauer

On Fri, Jul 06, 2001 at 10:02:12PM -0500, cyberruz wrote:
 Interesting...especially when the scripts in /var/qmail/boot   don't
 have a trailing '/' after ./Maildir
 (ie. that's how they come with qmail)

#pwd
/var/qmail/boot/
#grep Maildir *
#

There is no file in boot containing a Maildir delivery instruction. There
are ./Mailbox examples, and this is correct, but MailBOX and not MailDIR
format.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



re: maildir

2001-07-06 Thread cyberruz

#pwd
/var/qmail/boot/
#grep Maildir *
#

There is no file in boot containing a Maildir delivery instruction.
There
are ./Mailbox examples, and this is correct, but MailBOX and not
MailDIR
format.


My mistake..sorry...no wonder I can't get the Maildir to work :-)

Rob..







Re: smtp relay testing w/ abuse.net

2001-07-06 Thread Rodrigo P. Telles

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Suyanta Satria, I too have this problem on my qmail smtp server, and this problem  
 is relate
of this strings:
abuse.net!relaytest
relaytest%abuse.net

The original qmail package permit this string to pass of rcpthosts (very bady),
for solve this, I aply one patch write by:

AUTHORS
- ---

Rask Ingemann Lambertsen - who provided the original RELAY Patch
Marc Pohl - ported it to QMAIL 1.03 ([EMAIL PROTECTED])
Mark Delany - Auther of the WILDMAT Patch ([EMAIL PROTECTED])
Erwin Hoffmann - ported it to QMAIL 1.03 and put it all together


for use another's files for block this strings im FROM and RCPT fields.
If you interest for this patch, contact me.

No more

Todos têm o direito de ser burros, o problema é que alguns abusam...
UIN: 14414330 - http://www.dicaslinux.com.br
 9:00am  up 6 days  19:43   0 users

On Fri, 6 Jul 2001, Suyanta Satria wrote:

RPT dear all,
RPT
RPT why if i testing my qmail smtp server relay using www.abuse.net/relay.html
RPT the test result never more than relay test  7
RPT but if using smtp relay with sendmail the test result until relay test 17
RPT
RPT why 
RPT
RPT regards
RPT
RPT
RPT yayan
RPT
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtFssYACgkQzW1cKu9OlHe70gCZAVFxRILwrHYn8v/1EXYgS0Gw
eN0AniUMDCkk7ywSkfYIGPvAMcmaw/lJ
=ABdB
-END PGP SIGNATURE-




Attachment blocking

2001-07-06 Thread qmail


Hi,

Anybody think of a way of blocking ALL email attachments to a particular
virtual domain. My other domains should receive them as normal.

The messages to the domain in question are large in volume, processed
automatically, and plagued by virus files. Simply blocking mail with
attachments would be my prefered solution.

Ta!



Re: ip logging

2001-07-06 Thread Charles Cazabon

Mike Culbertson [EMAIL PROTECTED] wrote:
 This has been a modestly common subject, but after scouring the lists 
 repeatedly, I have seen no complete answer.  Actually getting the IPs logged 
 is no problem...I am using the LWQ style multilog logging, getting info from 
 tcpserver.  The question I have yet to see answered is: What now?
 I have seen no discernable way to easily correlate the data found in the 
 qmail-send logs and the tcpserver\qmail-smtpd logs.

Unfortunately, qmail-smtpd logs nothing itself, and tcpserver only logs
connections and exit status of qmail-smtpd.  There is therefore no surefire
way to correlate entries in the qmail-smtpd log and the qmail-send logs.
However, it is rarely critical -- qmail-analog can determine from the
qmail-send log alone which messages arrived over the network.

A good 'nuff approximation is simply using timestamps of the two logs to
correlate.

 Is there a tool availble that I have missed?  I wouldn't be opposed to
 writing one, but better to find out first.

Various people have posted patches to qmail-smtpd to make it log more
information.  You could also do it by writing a wrapper around qmail-queue
(used only by qmail-smtpd, not qmail-inject or forward, etc) which logs
various info.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Question MX ..cjk

2001-07-06 Thread Will Yardley

you should make sure that one server is configured to be a backup. 
there's no way to make email go to BOTH machines; if you set them to
equal weights, they will (in theory) each get about half the mail.  you
shouldn't do this unless you know what you are doing.  you could also
setup one as a backup mail exchanger.

for most purposes, it's better to use one MX record and one mail
machine.  most other mail machines will keep trying if your machine is
down; whereas if the backup machine is misconfigured (which is easy to
do) it will deliver to there; however if the backup machine isn't
configured right, it will deliver it there instead of queuing it and
delivering it to the preferred machine.

basically keep it simple unless you really, really need a backup mail
exchanger.
doing anything involving keeping redundant copies of mail or load
balancing is pretty complex to do...
i would suggest just using one machine and backup regularly.

w
Constantine Koulis wrote:
 
 Hello.
 I want my emails to go to my both emails Servers.. for backup reasons
 MX1 and MX2.
 
 How i do that...
 
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



RE: ip logging

2001-07-06 Thread Mike Culbertson

Unfortunately, qmail-smtpd logs nothing itself, and tcpserver only logs
connections and exit status of qmail-smtpd.  There is therefore no surefire
way to correlate entries in the qmail-smtpd log and the qmail-send logs.
However, it is rarely critical -- qmail-analog can determine from the
qmail-send log alone which messages arrived over the network.

Yeah, I agree.  I was really mostly hoping to find that there was something 
qmailanalog-esque that could read the qmail-smtpd(tcpserver) log and 
rank/show IP connection info.

Various people have posted patches to qmail-smtpd to make it log more
information.  You could also do it by writing a wrapper around qmail-queue
(used only by qmail-smtpd, not qmail-inject or forward, etc) which logs 
various info.

I have seen these as well, they are fine if you are viewing the logs 
manually, but I'm shooting for totals and averages.  Like I said, I'm not 
opposed to writing a log parser to handle that log, but I'm kind of surprised 
that there isn't one already.  Is erybody using header info currently to 
track down spammer machine IPs? I'd would prefer to be able to see which IP 
connected how many times and when myself...
Thanks for the info Charles.

Mike Culbertson



Re: Re: SAFECAT ERROR

2001-07-06 Thread Cleiton Luiz Siqueira

Dear,

The Perl delivery program is only used  to call safecat program,
nothing else.
Because this I think the safecat is failing sometimes.
The variables $login and $domain I get through the enviroment variables
$ENV{'RECIPIENT'} and after I split the address in two parts.
I use these variables when I run safecat program with the following
sintaxe:

system(/usr/local/bin/safecat /home/$domain/$login/Maildir/tmp
/home/$domain/$login/Maildir/new);

I verified how this variables get and if they are being splited
correctly. They always are getting and splited correctly.
Safecat program is the only one thing that probably is failing, due to
Perl program does nothing else.

Regards,
Cleiton




FreeBSD: /etc/mailer.conf

2001-07-06 Thread Moritz Schmitt

Hello,

could anybody please post the content of the mailer.conf file?

Thanks,
-Moritz



Re: FreeBSD: /etc/mailer.conf

2001-07-06 Thread Peter van Dijk

On Fri, Jul 06, 2001 at 04:58:23PM +0200, Moritz Schmitt wrote:
 Hello,
 
 could anybody please post the content of the mailer.conf file?

It's /etc/mail/mailer.conf, and these are the contents on my box:

# $FreeBSD: src/etc/mail/mailer.conf,v 1.2 1999/12/29 18:24:06 peter Exp $
#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/var/qmail/bin/sendmail
send-mail   /var/qmail/bin/sendmail
mailq   /var/qmail/bin/qmail-qread
newaliases  /var/qmail/bin/newaliases



Note that mailer.conf is unreliable, currently. A FreeBSD bug report
(PR misc/25218) is open and contains patches, but those have not been
committed by anybody yet. It is therefore recommended to create the
symlinks as defined in the qmail documentation.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



localhost setup

2001-07-06 Thread cyberruz

I am trying to send mail locally into local mailboxes in my machine.

I am getting the following error:

Sorry..i couldn't find any host named localhost.localhost

where localhost is my machine name

I am trying to send to the local mailbox as follows:

echo To: username   | qmail-inject

and qmail thinks that I am trying to send to
[EMAIL PROTECTED] rather than username@localhost

At least the failure messages bounce to postmaster@localhost which I can
read via elm (using elq and Maildir setup..finally figured it out!!)

The default files in /var/qmail/control all contain localhost in them.

Why is it so?

Rob..






Life-with-qmail question

2001-07-06 Thread Moritz Schmitt

It's me again,

who has another newbie question. Like some of you suggested I'm now reading
Life with qmail instead Running qmail. I got to the point in the
document where the author describes the qmailctl script. But I don't really
understand what to do with it... I understand the script and I figured out
that it needs an argument. But the author wants me to put it into
/var/qmail/bin and to create a link to my init.d directory as far as I
understood him. At first I'm not sure what my init.d dir on my FreeBSX box
is. Isn't it /usr/local/etc/rc.d? If I'm right then I don't understand why
to create a link because the script expects an argument and FreeBSD is just
executing the link at startup _without_ any arguments AFAIK. What do I
misunderstand?

Please more enlightenment,
-Moritz




Re: Re: SAFECAT ERROR

2001-07-06 Thread Charles Cazabon

Cleiton Luiz Siqueira [EMAIL PROTECTED] wrote:
 
 The Perl delivery program is only used  to call safecat program, nothing
 else.  Because this I think the safecat is failing sometimes.

No.  Your Perl script is buggy.

 The variables $login and $domain I get through the enviroment variables
 $ENV{'RECIPIENT'} and after I split the address in two parts.

This isn't always safe.  For instance, send mail to user-foo@bar@domain and
see what happens.

 I use these variables when I run safecat program with the following
 sintaxe:
 
 system(/usr/local/bin/safecat /home/$domain/$login/Maildir/tmp
 /home/$domain/$login/Maildir/new);

Put the whole script up somehwere and post a URL to it, so any curious Perl
hackers here can verify it works correctly.  Are you checking the exit code of
safecat?  If not, you're dropping mail on the floor.

 Safecat program is the only one thing that probably is failing, due to
 Perl program does nothing else.

safecat is fine.  Your program is buggy.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Re: SAFECAT ERROR

2001-07-06 Thread Henning Brauer

On Fri, Jul 06, 2001 at 10:57:50AM -0300, Cleiton Luiz Siqueira wrote:
 The Perl delivery program is only used  to call safecat program,
 nothing else.
 Because this I think the safecat is failing sometimes.

This is Unix, stop acting so helpless.

You got the explanation, but you did not understand it. Time to learn some
unix basics.

Hint: return values...

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: FreeBSD: /etc/mailer.conf

2001-07-06 Thread Henning Brauer

On Fri, Jul 06, 2001 at 04:58:23PM +0200, Moritz Schmitt wrote:
 Hello, 
 could anybody please post the content of the mailer.conf file?

#   $OpenBSD: mailer.conf,v 1.3 2000/04/06 18:24:19 millert Exp $
#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/var/qmail/bin/sendmail
send-mail   /var/qmail/bin/sendmail
mailq   /usr/bin/false
newaliases  /usr/bin/false
hoststat/usr/bin/false
purgestat   /usr/bin/false

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: localhost setup

2001-07-06 Thread Charles Cazabon

cyberruz [EMAIL PROTECTED] wrote:
 
 I am getting the following error:
 
 Sorry..i couldn't find any host named localhost.localhost
 
 where localhost is my machine name

Post the real error message, and the unedited output of qmail-showctl.  Don't
try to mask or hide anything.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: localhost setup

2001-07-06 Thread Lukas Beeler

try your /etc/resolv.conf
probably there stands something like
search domain.org
remove or comment this line, and try again

At 01:47 07.07.2001 -0500, cyberruz wrote:
I am trying to send mail locally into local mailboxes in my machine.

I am getting the following error:

 Sorry..i couldn't find any host named localhost.localhost

where localhost is my machine name

I am trying to send to the local mailbox as follows:

echo To: username   | qmail-inject

and qmail thinks that I am trying to send to
[EMAIL PROTECTED] rather than username@localhost

At least the failure messages bounce to postmaster@localhost which I can
read via elm (using elq and Maildir setup..finally figured it out!!)

The default files in /var/qmail/control all contain localhost in them.

Why is it so?

Rob..

--
Lukas Maverick Beeler / Telematiker
[PD] Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: Life-with-qmail question

2001-07-06 Thread Henning Brauer

On Fri, Jul 06, 2001 at 05:52:28PM +0200, Moritz Schmitt wrote:
 /var/qmail/bin and to create a link to my init.d directory as far as I
 understood him. At first I'm not sure what my init.d dir on my FreeBSX box
 is. 

BSD has no such thingy (and this is a Good Thing(tm) ). BSD systems start
all daemons throug /etc/rc and /etc/rc.local. 
FreeBSD complicated things by adding something sysv-init-like, but 
don't ask me if the expected start/stop in $1 is privided to the scripts.

Just add these lines to /etc/rc.local:

PATH=$PATH:/usr/local/bin
svscan /service 

(assuming you have the supervise dirs in /service).

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: localhost setup

2001-07-06 Thread cyberruz

Lukas Beeler wrote:

 try your /etc/resolv.conf
 probably there stands something like
 search domain.org
 remove or comment this line, and try again

I only have the following lines in resolv.conf:

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

These are my ISP's nameservers.  I also have bind setup as well, but it
doesn't seem to recognise localhost when I do a dig.  The above nameservers
are also setup as forwarders in named.conf.

The problem still exists (as below).

Rob..



 At 01:47 07.07.2001 -0500, cyberruz wrote:
 I am trying to send mail locally into local mailboxes in my machine.
 
 I am getting the following error:
 
  Sorry..i couldn't find any host named localhost.localhost
 
 where localhost is my machine name
 
 I am trying to send to the local mailbox as follows:
 
 echo To: username   | qmail-inject
 
 and qmail thinks that I am trying to send to
 [EMAIL PROTECTED] rather than username@localhost
 
 At least the failure messages bounce to postmaster@localhost which I can
 read via elm (using elq and Maildir setup..finally figured it out!!)
 
 The default files in /var/qmail/control all contain localhost in them.
 
 Why is it so?
 
 Rob..

 --
 Lukas Maverick Beeler / Telematiker
 [PD] Project: D.R.E.A.M / every.de - Your Community
 Web: http://www.projectdream.org
 Mail: [EMAIL PROTECTED]




Re: Life-with-qmail question

2001-07-06 Thread Charles Cazabon

Moritz Schmitt [EMAIL PROTECTED] wrote:
 
 I got to the point in [Life with qmail] 
 where the author describes the qmailctl script. But I don't really
 understand what to do with it... I understand the script and I figured out
 that it needs an argument.

The script serves two purposes:  it's a single-point control script for the
sysadmin to use to do various common tasks (qmailctl cdb, qmailctl stop, etc),
and it's suitable for use as a SysV-style init script.  Your BSD doesn't use a
SysV-style init system, so ignore the second use for now.

 But the author wants me to put it into
 /var/qmail/bin and to create a link to my init.d directory as far as I
 understood him.

Skip the init.d link; FreeBSD doesn't use SysV-style init.

Instead, you want to put a line in (IIRC) /etc/rc.d/rc.local that contains
something like /var/qmail/bin/qmailctl start.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: localhost setup

2001-07-06 Thread cyberruz

Charles Cazabon wrote:

 cyberruz [EMAIL PROTECTED] wrote:
 
  I am getting the following error:
 
  Sorry..i couldn't find any host named localhost.localhost
 
  where localhost is my machine name

 Post the real error message, and the unedited output of qmail-showctl.  Don't
 try to mask or hide anything.

I have attached rob.txt as the qmail-showctl  output and rob2.txt as the email
bounce

Thanks.

Rob..






 


qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 64010, 64011, 64015, 0, 64016, 64014, 64013, 64012.
group ids: 1003, 64010.

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

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

bouncehost: (Default.) Bounce host name is cyberruz.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

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

defaultdomain: (Default.) Default domain name is cyberruz.

defaulthost: (Default.) Default host name is cyberruz.

doublebouncehost: (Default.) 2B recipient host: cyberruz.

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

envnoathost: (Default.) Presumed domain name is cyberruz.

helohost: (Default.) SMTP client HELO host name is cyberruz.

idhost: (Default.) Message-ID host name is cyberruz.

localiphost: (Default.) Local IP address becomes cyberruz.

locals: 
Messages for cyberruz are delivered locally.

me: My name is cyberruz.

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

plusdomain: (Default.) Plus domain name is cyberruz.

qmqpservers: (Default.) No QMQP servers.

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

rcpthosts: (Default.) SMTP clients may send messages to any recipient.

morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 cyberruz.

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: (Default.) No virtual domains.


From #@[] Sat Jul 07 07:13:32 2001
Return-Path: #@[]
Delivered-To: cyberruz@cyberruz
Received: (qmail 1726 invoked by alias); 7 Jul 2001 07:13:32 -
Delivered-To: postmaster@cyberruz
Received: (qmail 1723 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: postmaster@cyberruz
Subject: failure notice
Status: O

Hi. This is the qmail-send program at cyberruz.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 1721 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: [EMAIL PROTECTED]
Subject: failure notice

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

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 1719 invoked by uid 1000); 7 Jul 2001 07:13:31 -
Date: 7 Jul 2001 07:13:31 -
Message-ID: 20010707071331.1718.qmail@cyberruz
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]




Re: FreeBSD: /etc/mailer.conf

2001-07-06 Thread Karsten W. Rohrbach

MarkD([EMAIL PROTECTED])@2001.07.06 15:48:16 +:
 On Fri, Jul 06, 2001 at 04:58:23PM +0200, Moritz Schmitt allegedly wrote:
  Hello,
  
  could anybody please post the content of the mailer.conf file?
 
 This is what I use on FreeBSD systems, but note that mailq is non-standard:
 
 sendmail/var/qmail/bin/sendmail
 send-mail   /var/qmail/bin/sendmail
 mailq   /usr/local/bin/qmail-mailq
 newaliases  /var/qmail/bin/newaliases
 
 A normal entry would probably be:
 
 sendmail/var/qmail/bin/sendmail
 send-mail   /var/qmail/bin/sendmail
 mailq   /var/qmail/bin/qmail-queue
NO

qmail-queue(8):
   qmail-queue - queue a mail message for delivery

qmail-qread(8):
   qmail-qread - list outgoing messages and recipients

...you don't want to inject an empty and broken message from your
/etc/periodic scripts, won't you? ;-)

sendmail/var/qmail/bin/sendmail
send-mail   /var/qmail/bin/sendmail
mailq   /var/qmail/bin/qmail-qread
newaliases  /usr/bin/true


 newaliases  /var/qmail/bin/newaliases
 
 If you don't use fastforward, perhaps:
 
 sendmail/var/qmail/bin/sendmail
 send-mail   /var/qmail/bin/sendmail
 mailq   /var/qmail/bin/qmail-queue
 newaliases  /bin/true

true and false belong into the runtime userland on bsd systems - /usr/bin

 The reason for the non-standard queue entry is that qmail-queue needs
 elevated priviledged to access the queue so I use a tcpserver service
 to provide access to qmail-queue. This technique is discussed in the
 archives.

this is a good idea, but on my systems the users do not have to fiddle 
with the mailqueue anyway -- no moving parts inside. it solely depends
on you privacy and security philosophy. that said, security and
convenience usually are mutually exclusive concepts.

 As an aside, mailer.conf should include a from entry too, methinx. I
 keep meaning to mention that to the FreeBSD crowd but haven't yet.

why that? would you like to set up a system wide default for the user
name? this is unix, not windows... this would not make much sense as far
i can understand it.

if you want a systemwide default from: for all outgoing mail and you got
mailwarper^Wmailwrapper then install a shellscript that invokes qmail's
sendmail with -f [EMAIL PROTECTED]

/k

-- 
 I can emulate the Beta-version of every C  #include signal.h
 program I've ever written in two lines! - main() {raise(11);}
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karstenrohrbach.de -- alphangenn.net -- alphascene.org -- [EMAIL PROTECTED]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46
Please do not remove my address from To: and Cc: fields in mailing lists. 10x

 PGP signature


Re: localhost setup

2001-07-06 Thread Lukas Beeler

try to send the mail with telnet
aka
telnet localhost 25
mail FROM: me@localhost
rcpt TO: me@localhost
data
TEST
.
if this works, it's your mail client which does the mistakes

At 02:16 07.07.2001 -0500, you wrote:
Charles Cazabon wrote:

  cyberruz [EMAIL PROTECTED] wrote:
  
   I am getting the following error:
  
   Sorry..i couldn't find any host named localhost.localhost
  
   where localhost is my machine name
 
  Post the real error message, and the unedited output of 
 qmail-showctl.  Don't
  try to mask or hide anything.

I have attached rob.txt as the qmail-showctl  output and rob2.txt as the email
bounce

Thanks.

Rob..






  
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 64010, 64011, 64015, 0, 64016, 64014, 64013, 64012.
group ids: 1003, 64010.

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

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

bouncehost: (Default.) Bounce host name is cyberruz.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

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

defaultdomain: (Default.) Default domain name is cyberruz.

defaulthost: (Default.) Default host name is cyberruz.

doublebouncehost: (Default.) 2B recipient host: cyberruz.

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

envnoathost: (Default.) Presumed domain name is cyberruz.

helohost: (Default.) SMTP client HELO host name is cyberruz.

idhost: (Default.) Message-ID host name is cyberruz.

localiphost: (Default.) Local IP address becomes cyberruz.

locals:
Messages for cyberruz are delivered locally.

me: My name is cyberruz.

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

plusdomain: (Default.) Plus domain name is cyberruz.

qmqpservers: (Default.) No QMQP servers.

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

rcpthosts: (Default.) SMTP clients may send messages to any recipient.

morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 cyberruz.

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: (Default.) No virtual domains.
 From #@[] Sat Jul 07 07:13:32 2001
Return-Path: #@[]
Delivered-To: cyberruz@cyberruz
Received: (qmail 1726 invoked by alias); 7 Jul 2001 07:13:32 -
Delivered-To: postmaster@cyberruz
Received: (qmail 1723 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: postmaster@cyberruz
Subject: failure notice
Status: O

Hi. This is the qmail-send program at cyberruz.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 1721 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: [EMAIL PROTECTED]
Subject: failure notice

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

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 1719 invoked by uid 1000); 7 Jul 2001 07:13:31 -
Date: 7 Jul 2001 07:13:31 -
Message-ID: 20010707071331.1718.qmail@cyberruz
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

--
Lukas Maverick Beeler / Telematiker
[PD] Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: localhost setup

2001-07-06 Thread cyberruz

Lukas Beeler wrote:

 try to send the mail with telnet
 aka
 telnet localhost 25
 mail FROM: me@localhost
 rcpt TO: me@localhost
 data
 TEST
 .
 if this works, it's your mail client which does the mistakes


No, it didn't work.  I get the following when I telnet:

Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused



Rob..





Re: Life-with-qmail question

2001-07-06 Thread Greg White

On Fri, Jul 06, 2001 at 05:52:28PM +0200, Moritz Schmitt wrote:
 It's me again,
 
 who has another newbie question. Like some of you suggested I'm now reading
 Life with qmail instead Running qmail. I got to the point in the
 document where the author describes the qmailctl script. But I don't really
 understand what to do with it... I understand the script and I figured out
 that it needs an argument. But the author wants me to put it into
 /var/qmail/bin and to create a link to my init.d directory as far as I
 understood him. At first I'm not sure what my init.d dir on my FreeBSX box
 is. Isn't it /usr/local/etc/rc.d? If I'm right then I don't understand why
 to create a link because the script expects an argument and FreeBSD is just
 executing the link at startup _without_ any arguments AFAIK. What do I
 misunderstand?
 

If you're running FreeBSD-4.3, or FreeBSD-stable, scripts in
/usr/local/etc/rc.d are executed with a 'start' argument. Cannot recall
exactly when this was implemented, but it was sometine between
4.1-RELEASE and 4.3. IIRC, this should work just fine with the qmailctl
script.* Alternatively, you could avoid the link thing altogether and
simply call '/var/qmail/bin/qmailctl start' from
/usr/local/etc/rc.d/qmail.sh. (Scripts that parse no arguments still
work just fine.)


* see /etc/rc and /etc/rc.shutdown -- rc.shutdown also runs '*.sh stop'
in the local startup directories.

 Please more enlightenment,
 -Moritz
 

Start from 'man man' and work outwards. ;)

-- 
Greg White



Re: localhost setup

2001-07-06 Thread cyberruz

Lukas Beeler wrote:

 try to send the mail with telnet
 aka
 telnet localhost 25
 mail FROM: me@localhost
 rcpt TO: me@localhost
 data
 TEST
 .
 if this works, it's your mail client which does the mistakes


Finally got the above working.forgot to put in qmail-smtpd in the inetd.conf
file.

But I still get the error as before.

I am doing

echo To: cyberruz | qmail-inject


Rob..







Re: localhost setup

2001-07-06 Thread Charles Cazabon

I wrote:

 cyberruz [EMAIL PROTECTED] wrote:
  Post the real error message, and the unedited output of qmail-showctl.
  Don't try to mask or hide anything.

 Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)
[...]
 defaultdomain: (Default.) Default domain name is cyberruz.
 defaulthost: (Default.) Default host name is cyberruz.

This is expected behaviour.  You tried to send mail to user.  qmail then
appended defaulthost, because the address didn't have a hostname.  It then
appended defaultdomain, because the host didn't contain a dot.

`man qmail-inject` will tell you more.  In essence, defaulthost and
defaultdomain contain incorrect values -- change them to the correct ones.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: smtproutes and mail still in queue

2001-07-06 Thread Alex Pennace

On Fri, Jul 06, 2001 at 06:36:19AM +, Subba Rao wrote:
 Hi,
 
 My mail client is Mutt. Few days ago I have subscribed to their mailing list.
 Their list server is at gbnet.net. The list server attempts to authenticate
 my server by calling to identd. I have opened up ipchains to access identd for
 the gbnet.net domain and the mail is still the mail queue.
 
 Since my initial subscription (sometime ago) to Mutt list, I have added the
 gbnet.net in the /var/qmail/control/smtproutes file. The relaying server is my
 ISP's mail server. In this case, this mail should have left my system long time
 ago but it still remains in the mail queue. Why is it trying to authenticate my
 system via identd when the smtproutes has been defined for this domain?

What do the logs say? Has qmail-send tried any deliveries to gbnet.net
since you altered smtproutes?



Re: localhost setup

2001-07-06 Thread cyberruz

Lukas Beeler wrote:

 are your sure that you did type

 telnet localhost 25
   ^^
 The 25 marks the smtp port
 if you just type
 telnet localhost
 you will try to access your port 23 [standard telnet port]

 if you did type the 25, your smtp server is down...
 check www.lifewithqmail.org and try again


I got it working...didn't have qmail-smtp in the inetd.conf file

Thanks...unfortunately the LWQ doesn't mention the inetd.conf file (or
xinetd.conf file)...unless I didn't look in the right spot.

Rob..






RE: stopping delivery to remote domain

2001-07-06 Thread Michael Boyiazis

They don't accept bounces or are so slow to react that
bounces don't succeed and so clutter up the queue 
quite substantially.  I just added them to the badmailfrom
file since they tried juggling IPs for a while after I blocked
them with tcpserver.  Badmailfrom did the trick.  
(It did however take blocking
@opt01.edirectnetwork.net
@opt02.edirectnetwork.net
...
@opt39.edirectnetwork.net
@opt40.edirectnetwork.net)

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.

 -Original Message-
 From: Thomas Blauvelt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 05, 2001 9:11 AM
 To: Charles Cazabon
 Cc: qmail-list.cr.yp.to
 Subject: Re: stopping delivery to remote domain
 
 
 
 We had the same problem with this domain, but of course it 
 was 'remote'
 mail that was hanging, not local. Our solution was to add this domain
 to our local DNS so it would be delivered locally and then dumped.
 We have also blocked smtp connections from the many IPs that these
 hosts resolved to.
 
 
 
 On Thu, 5 Jul 2001, Charles Cazabon wrote:
 
  Dale [EMAIL PROTECTED] wrote:
   Is there a way to stop local mail from being delivered to 
 a remote domain.
   I have a domain that keeps filling up my que and never 
 delivers.  the domain
   is always listed as opt??.edirectnetworks.net For some 
 reason they never
   seem to time out and drop out of the que.  They just sit 
 there... and
   finally will build up to the point that I will have to 
 reboot the system to
   clear out the cue enough to start the delivery of my 
 local mail in a timely
   manner.
  
  Messages sitting in the queue do not stop local deliveries 
 from happening.
  Even in-progress remote deliveries which are stalled do not 
 stop local
  deliveries from happening -- concurrency is maintained 
 separately for local
  and remote deliveries.
  
  You're micromanaging the queue.  Have you actually seen 
 local mail delivery
  delayed by these stuck messages?  If so, post the log of 
 qmail-send during
  the time it was happening.
  
  Charles
  -- 
  
 --
 -
  Charles Cazabon
 [EMAIL PROTECTED]
  GPL'ed software available at:  
 http://www.qcc.sk.ca/~charlesc/software/
  
 --
 -
  
 
 
 Thank you.
 
 tom blauvelt
 
 
 Thomas Blauvelt  NorthNet Internet Services, Inc.
North Country Reference  Research 
 Resources Council
 [EMAIL PROTECTED] 7 Commerce Lane  Canton NY 13617 USA  
 (315) 386-4569
 




Re: localhost setup

2001-07-06 Thread Lukas Beeler

follow LWQ _exactly_ and you dont have to use inetd(suxx)
use daemontools instead

At 03:40 07.07.2001 -0500, cyberruz wrote:
Lukas Beeler wrote:

  are your sure that you did type
 
  telnet localhost 25
^^
  The 25 marks the smtp port
  if you just type
  telnet localhost
  you will try to access your port 23 [standard telnet port]
 
  if you did type the 25, your smtp server is down...
  check www.lifewithqmail.org and try again
 

I got it working...didn't have qmail-smtp in the inetd.conf file

Thanks...unfortunately the LWQ doesn't mention the inetd.conf file (or
xinetd.conf file)...unless I didn't look in the right spot.

Rob..

--
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: localhost setup

2001-07-06 Thread Greg White

On Sat, Jul 07, 2001 at 03:40:56AM -0500, cyberruz wrote:
 Lukas Beeler wrote:
 
  are your sure that you did type
 
  telnet localhost 25
^^
  The 25 marks the smtp port
  if you just type
  telnet localhost
  you will try to access your port 23 [standard telnet port]
 
  if you did type the 25, your smtp server is down...
  check www.lifewithqmail.org and try again
 
 
 I got it working...didn't have qmail-smtp in the inetd.conf file
 
 Thanks...unfortunately the LWQ doesn't mention the inetd.conf file (or
 xinetd.conf file)...unless I didn't look in the right spot.
 
 Rob..

LWQ doesn't mention inetd.conf because it doesn't _use_ inetd.conf at
all. Read the instructions again, carefully -- it includes directions on
using tcpserver instead of inetd.
 
 
 

-- 
Greg White



Re: smtproutes and mail still in queue

2001-07-06 Thread Subba Rao

On  0, Alex Pennace [EMAIL PROTECTED] wrote:
 On Fri, Jul 06, 2001 at 06:36:19AM +, Subba Rao wrote:
  Hi,
  
  My mail client is Mutt. Few days ago I have subscribed to their mailing list.
  Their list server is at gbnet.net. The list server attempts to authenticate
  my server by calling to identd. I have opened up ipchains to access identd for
  the gbnet.net domain and the mail is still the mail queue.
  
  Since my initial subscription (sometime ago) to Mutt list, I have added the
  gbnet.net in the /var/qmail/control/smtproutes file. The relaying server is my
  ISP's mail server. In this case, this mail should have left my system long time
  ago but it still remains in the mail queue. Why is it trying to authenticate my
  system via identd when the smtproutes has been defined for this domain?
 
 What do the logs say? Has qmail-send tried any deliveries to gbnet.net
 since you altered smtproutes?
 

---
Jun 29 22:15:54 myhost qmail: 993852954.669066 starting delivery 65: msg 197156 to 
remote [EMAIL PROTECTED]
Jun 29 22:15:54 myhost qmail: 993852954.670044 status: local 0/10 remote 1/20
Jun 29 22:15:55 myhost qmail: 993852955.514653 delivery 65: deferral: 
Connected_to_194.70.126.10_but_connection_died._(#4.4.2)/
Jun 29 22:15:55 myhost qmail: 993852955.515821 status: local 0/10 remote 0/20
Jun 29 22:22:35 myhost qmail: 993853355.538097 starting delivery 66: msg 197156 to 
remote [EMAIL PROTECTED]
Jun 29 22:22:35 myhost qmail: 993853355.538447 status: local 0/10 remote 1/20
Jun 29 22:22:36 myhost qmail: 993853356.268755 delivery 66: deferral: 
Connected_to_194.70.126.10_but_connection_died._(#4.4.2)/
Jun 29 22:22:36 myhost qmail: 993853356.269908 status: local 0/10 remote 0/20
---

The following is from this morning.

---
Jul  6 06:22:35 myhost qmail: 994400555.804312 starting delivery 59: msg 197156 to 
remote [EMAIL PROTECTED]
Jul  6 06:22:35 myhost qmail: 994400555.804480 status: local 0/10 remote 1/20
Jul  6 06:22:45 myhost qmail: 994400565.356285 delivery 59: deferral: 
Connected_to_194.70.126.10_but_connection_died._(#4.4.2)/
Jul  6 06:22:45 myhost qmail: 994400565.356445 status: local 0/10 remote 0/20
---

The mail is still in the queue. Here is the output of mailq,

29 Jun 2001 22:15:54 GMT  #197156  621  [EMAIL PROTECTED] 
remote  [EMAIL PROTECTED]

The smtproutes has the following entry:

gbnet.net:mail.home.com

I have tried the following too: 

.gbnet.net:mail.home.com

-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217
Key fingerprint = 2B4C 498E 1860 5A2B 6570  5852 7527 882A 27FC 9217



qmail-send FROM address

2001-07-06 Thread David U.


Hi, when email bounces from my server it sends a header like this:

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

[EMAIL PROTECTED]:
ezmlm-store: fatal: I'm sorry, you are not allowed to post messages to this list
(#5.7.2)
---END---

Where is it getting the scooby.gangstabitches.net

from the PTR record in DNS, from /var/qmail/control/me, /etc/HOSTNAME?

How can I change that to be the qmail-send program at everydns.net

thanks
-davidu




Re: FreeBSD: /etc/mailer.conf

2001-07-06 Thread MarkD

On Fri, Jul 06, 2001 at 06:43:35PM +0200, Karsten W. Rohrbach allegedly wrote:
  mailq   /var/qmail/bin/qmail-queue
 NO

Oops. as you say, qmail-qread.

  newaliases  /bin/true
 
 true and false belong into the runtime userland on bsd systems - /usr/bin

Double oops. Too many days switching between Solaris and FreeBSD methinx.

  As an aside, mailer.conf should include a from entry too, methinx. I
  keep meaning to mention that to the FreeBSD crowd but haven't yet.
 
 why that? would you like to set up a system wide default for the user
 name? this is unix, not windows... this would not make much sense as far
 i can understand it.

I think we're talking about different things. Apropos the thread, I'm
talking about the 'from' command which lists the contents of your
mailbox.

The 'from' that ships with FreeBSD assumes an mbox format mailbox. I
would expect that *all* commands related to mail should be mapped to a
mail-system specific commands. Perhaps 'biff' is another command that
should likewise be mappable.


Regards.



dot-qmail-default

2001-07-06 Thread GARGIULO Eduardo INGDESI

I'have installed qmail on my system, but I don't know if
is necesary to create a .qmail-default file, because I
don't clearly understand the meaning of this file.

Should I create it? and what should I write there?

~edu



RE: smtproutes and mail still in queue

2001-07-06 Thread GARGIULO Eduardo INGDESI

 My mail client is Mutt. Few days ago I have subscribed to 
 their mailing list.
 Their list server is at gbnet.net. The list server attempts 
 to authenticate
 my server by calling to identd. I have opened up ipchains to 
 access identd for
 the gbnet.net domain and the mail is still the mail queue.
 
 Since my initial subscription (sometime ago) to Mutt list, I 
 have added the
 gbnet.net in the /var/qmail/control/smtproutes file. The 
 relaying server is my
 ISP's mail server. In this case, this mail should have left 
 my system long time
 ago but it still remains in the mail queue. Why is it trying 
 to authenticate my
 system via identd when the smtproutes has been defined for 
 this domain?
 
 Thank you in advance for any help.
 -- 
 

Look at the recipients of mutt list messages. You subscribe to
gbnet.net but the message recipients are @mutt.org
You can post to @mutt.org too

hope this help

~edu



if all else fails, send to

2001-07-06 Thread Gary MacKay

How do I tell qmail to send any incoming messages to unknown users to a
particular user? Lots of times a sender will misspell a users name and
my client would like to have all unknown user type messages forwarded
to a person who can look at it, then pass it on to the proper
person/spelling.



Re: smtproutes and mail still in queue

2001-07-06 Thread Greg White

On Fri, Jul 06, 2001 at 06:36:41AM +, Subba Rao wrote:
 Hi,
 
 My mail client is Mutt. Few days ago I have subscribed to their mailing list.
 Their list server is at gbnet.net. The list server attempts to authenticate
 my server by calling to identd. I have opened up ipchains to access identd for
 the gbnet.net domain and the mail is still the mail queue.
 
 Since my initial subscription (sometime ago) to Mutt list, I have added the
 gbnet.net in the /var/qmail/control/smtproutes file. The relaying server is my
 ISP's mail server. In this case, this mail should have left my system long time
 ago but it still remains in the mail queue. Why is it trying to authenticate my
 system via identd when the smtproutes has been defined for this domain?

qmail does not ignore control files. Verify that
/var/qmail/control/smtproutes contains the correct information (and is
named correctly), restart qmail, send qmail-send an ALRM signal to retry
all queued mail, and watch the mail fly off to your ISP. 
 
 Thank you in advance for any help.

NP. :)

-- 
Greg White



Re: if all else fails, send to

2001-07-06 Thread Greg White

On Fri, Jul 06, 2001 at 04:10:46PM -0400, Gary MacKay wrote:
 How do I tell qmail to send any incoming messages to unknown users to a
 particular user? Lots of times a sender will misspell a users name and
 my client would like to have all unknown user type messages forwarded
 to a person who can look at it, then pass it on to the proper
 person/spelling.

Try 'man dot-qmail', and look for 'default'. Your answer is there.
(Not trying to be rude or short with you, but the docs are good. If you
can't understand the docs, post back with what you don't understand in
the docs.)

-- 
Greg White



Re: if all else fails, send to

2001-07-06 Thread Gary MacKay

Thanks Greg. No offence taken. I had tried man pages but didn't try the
right key word and found that the man pages had been installed under
/var/qmail so they wouldn't have shown up if I did. Oh well.

.qmail-default works fine. However, in preperation for handling multiple
domains, I would like to do this on a per domain basis. The man page
says to use .qmail-ext but I can't seem to get that to work. Am I
misreading the man page?

- Gary


Greg White wrote:
 
 On Fri, Jul 06, 2001 at 04:10:46PM -0400, Gary MacKay wrote:
  How do I tell qmail to send any incoming messages to unknown users to a
  particular user? Lots of times a sender will misspell a users name and
  my client would like to have all unknown user type messages forwarded
  to a person who can look at it, then pass it on to the proper
  person/spelling.
 
 Try 'man dot-qmail', and look for 'default'. Your answer is there.
 (Not trying to be rude or short with you, but the docs are good. If you
 can't understand the docs, post back with what you don't understand in
 the docs.)
 
 --
 Greg White



Virus scanning

2001-07-06 Thread qmail


Hi,

Anybody care to recommend a good setup for scanning messages going through
qmail for viruses.

I see in the qmail website add-ons for doing this which obviously attach to
an existing virus scanner.

Has anybody actually done it, and so can recommend a working setup?

Thanks



Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie

On Fri, Jul 06, 2001 at 12:04:39AM -0700, Ian Lance Taylor wrote:
Arjen van Drie [EMAIL PROTECTED] writes:

 On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote:
 
 Could you show us a hexdump of that file? This is interesting :)
 
 000 2123 622f 6e69 732f 0a68 7865 6365 2f20
 010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374
 020 7370 7265 6576 2072 782d 2f20 7465 2f63
 030 6374 7270 6c75 7365 642e 742f 7063 702e
 040 706f 2e33 6463 2062 762d 2d20 2052 482d
 050 2d20 206c 2030 2030 3131 2030 0a5c 2f09
 060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71
 070 6961 2d6c 6f70 7570 2070 6469 2e73 7274
 080 7669 6169 2e6c 7633 2e61 656e 2074 622f
 090 6e69 632f 6568 6b63 6170 7373 6f77 6472
 0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c
 0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064
 0c0 614d 6c69 6964 2072 3e32 3126 0a0a 
 0ce

There is a space after the second backslash.  This means that the
backslash is not a line continuation character, since that only
happens if the backslash appears at the end of the line.  That means
that checkpassword is being run with no arguments, which causes it to
silently and immediately exit.

You will see this if you use `cat -ve' on the file.

Thanks all. It works now. How does one read hexdumps? Is there 
a howto or a table somewhere?

-- 

Grtz, 

Arjen.




Re: dot-qmail-default

2001-07-06 Thread Brett Randall

 Charles == Charles Cazabon [EMAIL PROTECTED] writes:

 You only need ~alias/.qmail-default if you want to catch all mail
 for any address on localhost.

Just a note: Charles means any address *that isn't able to be
delivered to any other user* on localhost.
-- 
Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition.



Re: if all else fails, send to

2001-07-06 Thread Greg White

On Fri, Jul 06, 2001 at 04:36:16PM -0400, Gary MacKay wrote:
 Thanks Greg. No offence taken. I had tried man pages but didn't try the
 right key word and found that the man pages had been installed under
 /var/qmail so they wouldn't have shown up if I did. Oh well.
 
 .qmail-default works fine. However, in preperation for handling multiple
 domains, I would like to do this on a per domain basis. The man page
 says to use .qmail-ext but I can't seem to get that to work. Am I
 misreading the man page?
 

Well, for it to work on an individual domain basis, each domain would
have to be virtual, and separate. Then you create a .qmail-default in
each virtual domain. I've successfully used vpopmail to do precisely
this in a number of circumstances -- I find it works well.

BTW: either 'cp -Rp /var/qmail/man/* /usr/local/man/*' or globally set
MANPATH to include /var/qmail/man -- it's worth it. :)

GW




Re: weird qmail-popup behaviour?

2001-07-06 Thread Peter van Dijk

On Fri, Jul 06, 2001 at 11:00:12PM +0200, Arjen van Drie wrote:
[snip]
 You will see this if you use `cat -ve' on the file.
 
 Thanks all. It works now. How does one read hexdumps? Is there 
 a howto or a table somewhere?

On FreeBSD I like hexdump -C a lot, which gives output like:

bash$ hexdump -C /var/service/qmail-send/run
  23 21 2f 62 69 6e 2f 73  68 0a 65 78 65 63 20 65 |#!/bin/sh.exec e|
0010  6e 76 20 2d 20 50 41 54  48 3d 22 2f 76 61 72 2f |nv - PATH=/var/|
0020  71 6d 61 69 6c 2f 62 69  6e 3a 24 50 41 54 48 22 |qmail/bin:$PATH|
0030  20 71 6d 61 69 6c 2d 73  74 61 72 74 20 2e 2f 4d | qmail-start ./M|
0040  61 69 6c 64 69 72 2f 0a  |aildir/.|
0048

Which immediately shows where exactly the spaces are and everything.
For reading hexdumps without ascii side-output, you need to convert
the hex codes to ascii. Google can teach you a lot about that, I don't
have anything handy right now (and too much blood in my alcohol).

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



ANN: queue-repair v. 0.8.2

2001-07-06 Thread Charles Cazabon

Greetings,

Based on user feedback, I have released version 0.8.2 of queue-repair, another
qmail queue diagnostic and repair tool.  It's available for download at:
http://www.qcc.sk.ca/~charlesc/software/queue_repair/

Changes since verison 0.8.0:

  -fix intd split issues without big-todo.  Thanks to Lou Hevly for the
  report.  queue-repair would previously believe all non-big-todo queues
  were missing split directories in queue/intd.
  
  -remove unused user and group from dictionary; eliminate bogus warning on
  FreeBSD.

  -whitespace cleanups; easier to read with standard tab width settings

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: weird qmail-popup behaviour?

2001-07-06 Thread Scott Gifford

Peter van Dijk [EMAIL PROTECTED] writes:

 On Fri, Jul 06, 2001 at 11:00:12PM +0200, Arjen van Drie wrote:
 [snip]
  You will see this if you use `cat -ve' on the file.
  
  Thanks all. It works now. How does one read hexdumps? Is there 
  a howto or a table somewhere?
 

[...]

 For reading hexdumps without ascii side-output, you need to convert
 the hex codes to ascii. Google can teach you a lot about that, I don't
 have anything handy right now (and too much blood in my alcohol).

On Linux, see the ascii(7) manpage.  If you're not, search around for
it, or email me off-list and I'll send you a copy.

ScottG.



qmail-pop3d hanging email retrieval

2001-07-06 Thread Brian Lane

  This is going to be a long message, but please stick with me. This problem
is driving me nuts!

  In summary, I am having problems with emails getting stuck when fetched
from qmail-pop3d. They are almost always attached MS Word documents. They
aren't necessarily long, I've got 32k messages that do it and 1M messages.

  I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
and a slightly modified checkpassword to handle pop accounts in my virtual
domains. This system has been in place since 1999 and has always had an
occasional problem but recently I am getting 1 or 2 messages a week that are
sticking.

  I have 2 different cases where this happens. The first is when my home
system, using fetchmail, is downloading messages. If the home machine's
MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
change the MRU to 576 then they pass through. I don't know if any messages
hang using 576, but I haven't seen any. My MTU/MRU has to be set to 1500 so
that we can get to certain webpages, so leaving it at 576 is not an option.
This is all via a dialup diald/ppp session to my ISP (the same one that the
webserver is colocated at).

  The other case is from work. I handle all their email and webhosting. They
are connected to the net via direcPC, a win95 machine running winRoute Pro
and the local lan. The upstream side is a modem connection to the same ISP
where the webserver is located. In this case I cannot change the MTU/MRU and
who knows what direcPC is doing as packets pass through their system. To fix
this case I move the mail to the web directory and download it using
Explorer. When we use Agent 1.8 on the lan to download messages from the
webserver it will exhibit the same 'hanging' that I see with the home
system.

  In both cases I can watch the connection with 'snort -v -i eth0 port 110'
and the connection just stops cold partway through the message. I've
upgraded the system's kernel from 2.0.36 to 2.0.29 and updated all the qmail
related software but it is still happening. I'm running the qmail services
using the methods described in 'Life with Qmail'.

  I've only found a few references to similar problems when searching and no
solutions. Someone else must have run into this before!

  Thanks for any help,

  Brian

-- 
Brian C. Lane - Linux Programmer/Consultant/Writer www.brianlane.com
  www.nexuscomputing.com
Liberty  Privacy 'zine Editor   www.libertynews.org

I made wine out of raisins so I wouldn't have to wait for it to age.
-- Stephen Wright



Re: weird qmail-popup behaviour?

2001-07-06 Thread Adam McKenna

On Sat, Jul 07, 2001 at 01:38:02AM +0200, Peter van Dijk wrote:
 Which immediately shows where exactly the spaces are and everything.

cat -ev is helpful as well.

--Adam



Emergency Help Needed - Server Going Down In Flames!

2001-07-06 Thread PHP Webmaster

Hello,

Ever since I switched to qmail a week ago, everything
seemed to be working fine. Then, all of a sudden,
about 30 minutes ago, I begun to see tons of zombie
httpd processes  in the top command.

I opened up the apache error log and I see thousands
of lines like the following:

exit signal File size limit exceeded (25)

Can anyone help me? I have no idea what this error
means (is it caused by qmail) or what to do to make it
go away.

I apologize for this possibly off-topic post but any
help is greatly appreciated.

Thanks!!!

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: qmail-pop3d hanging email retrieval

2001-07-06 Thread Charles Cazabon

Brian Lane [EMAIL PROTECTED] wrote:
 
   In summary, I am having problems with emails getting stuck when fetched
 from qmail-pop3d. They are almost always attached MS Word documents. They
 aren't necessarily long, I've got 32k messages that do it and 1M messages.
 
   I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
 and a slightly modified checkpassword to handle pop accounts in my virtual
 domains. This system has been in place since 1999 and has always had an
 occasional problem but recently I am getting 1 or 2 messages a week that are
 sticking.

I assume you mean Linux kernel 2.0.39?  What patches?  What vendor's kernel?
Or did you compile from a Linus tarball?

   I have 2 different cases where this happens. The first is when my home
 system, using fetchmail, is downloading messages. If the home machine's
 MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
 change the MRU to 576 then they pass through. I don't know if any messages
 hang using 576, but I haven't seen any.

This smells strongly of a kernel TCP/IP bug.  qmail-pop3d knows nothing of
packets or MTU -- it just sees a couple of fds.  Linux has had a couple of real
bad bugs like this in the past; a long-standing one wasn't fixed until very
recently in 2.2.19.  You could be running into this bug.

   I've only found a few references to similar problems when searching and no
 solutions. Someone else must have run into this before!

Linux 2.0.3x (where x  6) doesn't get tested nearly as widely as older or
newer versions.  Is there any reason you can't upgrade this system to 2.2.19
or better?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RE: Emergency Help Needed - Server Going Down In Flames!

2001-07-06 Thread Tyrone Mills

Looks like you've got a process that is exceeding a per process file size
limitation. Since Apache is logging the error, I'd bet that it's an Apache
process.

man getrlimit

Have you tried restarting Apache? How about the box?

-Original Message-
From: PHP Webmaster [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 8:29 PM
To: [EMAIL PROTECTED]
Subject: Emergency Help Needed - Server Going Down In Flames!


Hello,

Ever since I switched to qmail a week ago, everything
seemed to be working fine. Then, all of a sudden,
about 30 minutes ago, I begun to see tons of zombie
httpd processes  in the top command.

I opened up the apache error log and I see thousands
of lines like the following:

exit signal File size limit exceeded (25)

Can anyone help me? I have no idea what this error
means (is it caused by qmail) or what to do to make it
go away.

I apologize for this possibly off-topic post but any
help is greatly appreciated.

Thanks!!!

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




tcpserver: end xxxx status 256

2001-07-06 Thread Lists Servers Email

Does any know what causes this error:

Server:
tcpserver: end  status 256

Client:
user xxx
+OK
pass xx
-ERR unable to write pipe

Connection to host lost.


Kevin




Re: qmail-pop3d hanging email retrieval

2001-07-06 Thread Brian Lane

On Fri, Jul 06, 2001 at 09:34:39PM -0600, Charles Cazabon wrote:
 Brian Lane [EMAIL PROTECTED] wrote:
  
In summary, I am having problems with emails getting stuck when fetched
  from qmail-pop3d. They are almost always attached MS Word documents. They
  aren't necessarily long, I've got 32k messages that do it and 1M messages.
  
I'm running on kernel 2.0.39, qmail 1.03, daemontools 0.70, ucspi-tcp 0.88
  and a slightly modified checkpassword to handle pop accounts in my virtual
  domains. This system has been in place since 1999 and has always had an
  occasional problem but recently I am getting 1 or 2 messages a week that are
  sticking.
 
 I assume you mean Linux kernel 2.0.39?  What patches?  What vendor's kernel?
 Or did you compile from a Linus tarball?

  Sorry, Linux 2.0.39 on what used to be a RH 5.2 system but has been
heavily upgraded over the years. The kernel itself is from an un-patched
tarball.

 
I have 2 different cases where this happens. The first is when my home
  system, using fetchmail, is downloading messages. If the home machine's
  MTU/MRU is set to 1500 or 1480 the messages in question will hang. If I
  change the MRU to 576 then they pass through. I don't know if any messages
  hang using 576, but I haven't seen any.
 
 This smells strongly of a kernel TCP/IP bug.  qmail-pop3d knows nothing of
 packets or MTU -- it just sees a couple of fds.  Linux has had a couple of real
 bad bugs like this in the past; a long-standing one wasn't fixed until very
 recently in 2.2.19.  You could be running into this bug.

  I'm afraid that its something like that. I was hoping my upgrade to 2.0.39
would fix any odd kernel bugs. I've been avoiding a complete upgrade because
it means a total system rebuild and I really hate doing that. It looks like
a rebuild is probably in the future, unless anyone has a better suggestion.

  Thanks,

  Brian

-- 
Brian C. Lane - Linux Programmer/Consultant/Writer www.brianlane.com
  www.nexuscomputing.com
Liberty  Privacy 'zine Editor   www.libertynews.org

In every country and in every age, the priest has been hostile to
liberty. He is always in alliance with the despot, abetting his abuses
in return for protection to his own.
-- Thomas Jefferson, 1814