qmail Digest 12 Dec 1999 11:00:01 -0000 Issue 847
Topics (messages 34254 through 34271):
Re: 550 cannot route to sender
34254 by: qmail.col7.metta.lk
Re: Hotmail (insanity check)
34255 by: Monte Mitzelfelt
34256 by: Monte Mitzelfelt
34257 by: Monte Mitzelfelt
qmail-send won't log anymore
34258 by: Dinesh Punjabi
34260 by: Ari Arantes Filho
make errors
34259 by: Brock M. Eastman
34261 by: Sam
34262 by: Adam D . McKenna
34263 by: Ronny Haryanto
34268 by: Matthew B. Henniges
34269 by: Frank D. Cringle
Re: failure notice
34264 by: Racer X
smrsh/preventing users running programs in qmail dotfiles.
34265 by: Jonathan McDowell
34266 by: Monte Mitzelfelt
Re: Performance?!
34267 by: Dongping Deng
Please- qmail stopped delivering mail
34270 by: James Blackwell
Message number in qmail log.
34271 by: Warren J. Beckett
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
On Wed, Nov 17, 1999 at 12:35:42PM +0100, Nagy Balazs wrote:
Hi,
> ;; ANSWER SECTION:
> col7.metta.lk. 3h21m IN NS server1.tradenetsl.lk.
> col7.metta.lk. 3h21m IN NS dhamma.metta.lk.
> col7.metta.lk. 3h31m35s IN MX 10 metta.lk.
> col7.metta.lk. 23h58m23s IN A 172.16.1.1
> // **** This is a problem. You have to erase the A record from the outer
> // metta.lk zone. That server can store all messages which come to col7 to
> // a folder (ie. ~alias/172.16.1.1/), but qmail doesn't have to have that
> // dns entry.
Thank you very much for your answer, and sorry for the long silence.
We have had to change our IP's and that caused a bit of problems.
Without the A record in the zone file
when I do a "nslookup col7.metta.lk" I get host not found
If i put the A record back in the zone file then it is ok
Below is my col7.metta.lk zone file.
Would it be ok to put the ip of metta.lk as an A record
inplace of the 172.16.1.1 entry.
Please see the sample below.
$ORIGIN col7.metta.lk.
$TTL 86400
@ IN SOA narada.col7.metta.lk.
hostmaster.col7.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN NS metta.lk.
IN NS server1.tradenetsl.lk.
IN MX 10 metta.lk.
//*** IN A 172.16.1.1
//*** IN A 203.115.29.130
narada.col7.metta.lk. IN CNAME col7.metta.lk.
I could also remove the col7.metta.lk zone file
and make a CNAME in the metta.lk zone file.
Which of the 2 ways is the correct way ?
below is the metta.lk zone file with the CNAME entry.
$ORIGIN metta.lk.
$TTL 86400
@ IN SOA dhamma.metta.lk. hostmaster.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN NS metta.lk.
IN NS server1.tradenetsl.lk.
@ IN MX 10 metta.lk.
IN A 203.115.29.130
www IN CNAME metta.lk.
WWW IN CNAME metta.lk.
dhamma IN CNAME metta.lk.
//*** col7.metta.lk. IN CNAME metta.lk.
Thank you very much for your assistance
Jacob
> The right answer is to firewall all incoming and outgoing mail from
> Hotmail, until they fix their mail server to comply with RFC 821.
Unfortunately, it's not my local server, it's a client's.
Is this too insane? I liked it better than some RELAYCLIENT =
"@hotmail-fixup" in tcprules as that causes every message to be handled,
logged twice, etc.
Here's my end run of qmail and hotmail to handle this:
control/virtualdomains:
hotmail.com:alias-hotmail
alias/.qmail-hotmail-default:
# this bounces messages that are too big for buggy hotmail servers
|/var/qmail/bin/bounceonfilesize
# slight-of-hand to name service hotmail.com looks up to hotmail.com.
# but apparently not in virtual domains, which actually is cool for us
# doesn't affect incoming smtp stuff, only local outgoing, which is
# perfect
|/var/qmail/bin/forward "$DEFAULT"@hotmail.com.
bounceonfilesize.c:
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#define die(str,code) { puts( str ) ; exit( code ) ; }
#define HOTMAILSIZELIMIT 1048576
extern int errno;
int main(void) {
struct stat sb ;
if ( fstat( 0, &sb ) != 0 )
die( strerror(errno), 111 ) ;
if ( ! (sb.st_mode & S_IFREG) )
die( "stdin is not attached to a regular file", 111 ) ;
if ( sb.st_size >= HOTMAILSIZELIMIT )
die( "This message exceeds hotmail.com limits.", 100 ) ;
exit( 0 ) ;
}
> # doesn't affect incoming smtp stuff, only local outgoing, which is
> # perfect
For relay, it looks like hotmail.com. does endrun hotmail.com:whatever in
virtualdomains, but this should be a big deal.
Monte
On Sat, 11 Dec 1999, Monte Mitzelfelt wrote:
> > # doesn't affect incoming smtp stuff, only local outgoing, which is
> > # perfect
>
> For relay, it looks like hotmail.com. does endrun hotmail.com:whatever in
> virtualdomains, but this should be a big deal.
"should not". Late night, sorry.
I upgraded my FreeBSD box, and installed the
latest version of qmail. For some reason,
qmail-send won't log in my /var/log/maillog
file. So, any incoming email logs fine, but
for some reason any SMTP traffic does not
show up in the log (it used to before!).
What am I doing wrong ? Thanks for your
help in advance!
Dinesh
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Are you using tcpserver? Supervise?
Show your startup script.
Regards,
Ari
----- Original Message -----
From: Dinesh Punjabi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 1999 9:33 PM
Subject: qmail-send won't log anymore
> I upgraded my FreeBSD box, and installed the
> latest version of qmail. For some reason,
> qmail-send won't log in my /var/log/maillog
> file. So, any incoming email logs fine, but
> for some reason any SMTP traffic does not
> show up in the log (it used to before!).
>
> What am I doing wrong ? Thanks for your
> help in advance!
>
> Dinesh
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores. Millions of Products. All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
|
Hello,
I am trying to install qmail-1.03 on a
redhat 6 box.
I keep getting a make ERROR 1 command.
I searched through the archives and found out I needed to
install the binutils RPM. I did this.
when I type in make setup check I still get the following
error below.
I also have both cc and gcc in /usr/bin
Please respond asap to help resolve this
situation.
ERROR PRINTOUT
_________________________________________
make setup check
( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\';
\ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh
make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh
find-systype.sh > find-systype chmod 755 find-systype ./find-systype
> systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) >
load chmod 755 load cat auto-ccld.sh make-compile.sh >
make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile
"`cat systype`" ) > \ compile chmod 755 compile ( ( ./compile
tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1
\ && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o
tryvfork ./compile qmail-local.c qmail-local.c:1: sys/types.h: No such
file or directory qmail-local.c:2: sys/stat.h: No such file or
directory make: *** [qmail-local.o] Error 1
______________________________________________
END 0
Thanks,
Brock Eastman
|
Brock M. Eastman writes:
> qmail-local.c:1: sys/types.h: No such file or directory
> qmail-local.c:2: sys/stat.h: No such file or directory
> make: *** [qmail-local.o] Error 1
You have a corrupted installation. Some your key files are missing.
Reformat and reinstall the entire O/S.
Actually, he is probably just missing some -dev packages. I don't know
Redhat very well, but I'm sure there is someone here who can tell him which
RPM's he needs to install.
--Adam
On Sun, Dec 12, 1999 at 12:12:29AM +0000, Sam wrote:
> Brock M. Eastman writes:
>
> > qmail-local.c:1: sys/types.h: No such file or directory
> > qmail-local.c:2: sys/stat.h: No such file or directory
> > make: *** [qmail-local.o] Error 1
>
> You have a corrupted installation. Some your key files are missing.
>
> Reformat and reinstall the entire O/S.
>
>
>
On 11-Dec-1999, Brock M. Eastman wrote:
> This is a multi-part message in MIME format.
Bah..
> I am trying to install qmail-1.03 on a redhat 6 box. =20
> qmail-local.c:1: sys/types.h: No such file or directory
> qmail-local.c:2: sys/stat.h: No such file or directory
Install glibc-devel package.
--
Ronny Haryanto
I thought rpm's were supposed to know there own dependencies...is it
incorrectly specified?
Matthew B. Henniges
Axl.net Communications
http://www.axl.net
(203) 552-1714
> -----Original Message-----
> From: Adam D . McKenna [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 11, 1999 7:17 PM
> To: Sam
> Cc: [EMAIL PROTECTED]
> Subject: Re: make errors
>
>
> Actually, he is probably just missing some -dev packages. I don't know
> Redhat very well, but I'm sure there is someone here who can tell
> him which
> RPM's he needs to install.
>
> --Adam
>
> On Sun, Dec 12, 1999 at 12:12:29AM +0000, Sam wrote:
> > Brock M. Eastman writes:
> >
> > > qmail-local.c:1: sys/types.h: No such file or directory
> > > qmail-local.c:2: sys/stat.h: No such file or directory
> > > make: *** [qmail-local.o] Error 1
> >
> > You have a corrupted installation. Some your key files are missing.
> >
> > Reformat and reinstall the entire O/S.
> >
> >
> >
>
"Matthew B. Henniges" <[EMAIL PROTECTED]> writes:
> I thought rpm's were supposed to know there own dependencies...is it
> incorrectly specified?
That isn't the issue here. He is not installing an rpm, he is typing
'make' in the qmail source directory.
--
Frank Cringle, [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357
ah.. thanks for the info.
i'll point out that the software involved is Eric Huss' autorespond.c, which
is mentioned on www.qmail.org and also available at
http://www.netmeridian.com/e-huss/autorespond.tar.gz. i believe this is
also the autoresponder package recommended for use with the qmailadmin
package at inter7.com.
i'm kinda surprised i've never seen this before; we've had this
autoresponder up for probably 6 months and i've never seen an error like
this.
thanks-
shag
=====
Judd Bourgeois | CNM Network +1 (805) 520-7170
Software Architect | 1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED] | Simi Valley, CA 93065
Quidquid latine dictum sit, altum viditur.
----- Original Message -----
From: Sam <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Fri 10 Dec 1999 18.42
Subject: Re: Fw: failure notice
>
>
> On Fri, 10 Dec 1999, Racer X wrote:
>
> > can someone tell me what's wrong with the headers that would cause the
> > message to bounce like so? i'm curious to know because this is an
> > autoresponder that's generating the "bad" headers.
>
> [ snip ]
>
> > > <[EMAIL PROTECTED]>:
> > > 143.183.152.22 failed after I sent the message.
> > > Remote host said: 553 Header error
> > >
> > > --- Below this line is the original bounce.
> > >
> > > Return-Path: <>
> > > Received: (qmail 11920 invoked by uid 257); 10 Dec 1999 14:42:28 -0800
> > > Date: 10 Dec 1999 22:42:28 -0000
> > > Message-ID: <944865748.11916.blah>
>
> Your Message-ID: header violates RFC 822.
>
>
>
Hi.
I've only recently started using qmail. I've been looking for a way to
stop users running programs in their .qmail files, or preferably to just
allow them to run certain programs, like you can do with smrsh from
sendmail. Is this possible or should I just hack the qmail source to use
smrsh instead of /bin/sh?
TIA,
J.
--
] http://www.earth.li/~noodles/ [] A computer program does what you [
] PGP Key @ keys.pgp.net or [] tell it to do, not what you want it [
] finger [EMAIL PROTECTED] [] to do. [
> I've only recently started using qmail. I've been looking for a way to
> stop users running programs in their .qmail files, or preferably to just
> allow them to run certain programs, like you can do with smrsh from
> sendmail. Is this possible or should I just hack the qmail source to use
> smrsh instead of /bin/sh?
If you want them only to do forwards, not execute or mbox or maildir, you
can set the execute bit on the .qmail files. You have to screw with
ownerships, too. Soungs like smrsh might be a better answer. Assuming it
isn't a security risk itself.
Monte
I noticed from my experience that when you inject mail too fast on one qmail
instance, you can bring qmail to a seemingly halt, your concurrency can go
down from 200+ to just 5 or 6 after a few minuates, your mile may vary. I
suggest you to use multiple instances (N) and inject mail from 1 to N in
sequence. I found the result is incredible.
dp
-----Original Message-----
From: Ekker, Heinz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 10, 1999 7:55 AM
To: Qmail (E-Mail)
Subject: Performance?!
Hi!
When playing around with qmail I couldn't avoid noticing that I only reach a
poor performance. My tests run with some Perl-Scripts that send randomly
sized messages to random users via smtp. The message sizes average to ~100k.
When I first tested it, I used alias-expansion with the fastforward-package,
and to be honest, I was quite surprised to find that qmail could - on a
Pentium III 500 with 512 Megs RAM and a 19GB Level 1-RAID running RedHat,
2.2.13 with fd-patch - deliver only about 2 messages per second. The Queue
kept filling up, and half of the messages were not preprocessed. Only when I
let go of fastforward, I reached ~200 messages per minute and 17-18 MB of
throughput, which still seems very little. At least the preprocessing seemed
to work now. The CPU idles with 70, 80 %, there's plenty of RAM left. The
local concurrency never ever rises above 5.
I did my homework and dug through the archives of this mailing list, but the
only suggestions I found were (hopefully a joke) to take out the fsyncs
(which, BTW, didn't bring any increase) and people telling what good
performance they get with qmail(15, 20 messages per second? Still more? With
a lot less investment in hardware?).
Have you any suggestions for me on which type of hardware I should set up
qmail to reach similar results? We plan to move a medium site to qmail, and
I know there are severall still bigger ones running this mailserver.
Thanks in advance,
Heinz
Greetings,
We're running qmail with vchkpw and qmail-popup on a debian box and are in
despirate need of assistance.
Here are the steps leading up to my problems:
- We did a backup of the main directories
- There was a botched attempt at installing smtp-poplock
- It didn't work out too well, so we untar the backups to their correct
locations
SMTP now appears to be accepting messages, I can see them in the
/var/spool/qmail/mess directory.
No messages seem to be delivered until we reboot the box. Upon reboot all
mail is delivered, but then it starts not delivering again.
AND when I telnet in on port 110 it goes something like this:
Connected to host.domain.net.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user username_domain.net
+OK
pass mypassword
-ERR authorization failed
Connection closed by foreign host.
The password is correct as I when I do a vpasswd to change it, it asks for
the old password, then the new password. It then aborts and says old and
new passwords match. If I put in a different new password, it changes it.
ANY suggestions would be greatly appreciated. This has to work by the
morning (CT)!
TIA,
--James
Hi all..
I have hopefully a simple question.
How is the message number in the qmail logs generated? I thought this number
would have been semi unique, but I have seen many messages with the same
number from and to many different people.
I hope I have not missed something stupid.
Much thanks
Warren.