User Mail size
Hi, How can I restrict the incoming mail size for each user before smtp handshake. I have managed to get the .qmail-toolarge file working perfectly. But it works only after smtp handshake, which is not very useful for larger mail servers. Any suggestion or documention or patch where I can look for this sytem. Thank you. KK
Re: User Mail size
Thus said Ranjan Koirala on Sat, 11 Dec 1999 15:58:32 +0300: How can I restrict the incoming mail size for each user before smtp handshake. I have managed to get the .qmail-toolarge file working perfectly. But it works only after smtp handshake, which is not very useful for larger mail servers. Any suggestion or documention or patch where I can look for this sytem. Have a look at the man pages for qmail-control and qmail-smtpd... I believe the file that handles this is control/databytes Andy -- +== Andy == TiK: garbaglio ==+ |Linux is about freedom of choice| +== http://www.xmission.com/~bradipo/ ===+
qmail Digest 11 Dec 1999 11:00:00 -0000 Issue 846
qmail Digest 11 Dec 1999 11:00:00 - Issue 846 Topics (messages 34188 through 34253): Re: Oops, someone tried to send you a virus 34188 by: Mark E. Drummond 34211 by: Matthew Brown 34213 by: Kai MacTane 34214 by: Russell Nelson 34215 by: Frank Tegtmeyer 34216 by: Dustin Miller 34223 by: Russell Nelson 34225 by: Dustin Miller new to list, install questions 34189 by: Mark Maggelet 34190 by: Vince Vielhaber 34193 by: tech.staff.netbig.com 34194 by: Peter Green 34195 by: Soffen, Matthew 34196 by: Russell Nelson 34197 by: claudio.nieder.symmetrix.ch 34198 by: Mark Maggelet 34200 by: Russell Nelson 34203 by: Steve Kapinos 34204 by: Shawn P. Stanley 34205 by: Ang Sei Heng 34228 by: Lenny Mastrototaro 34233 by: Peter Cavender Re: Question about UCE and also AMAVIS 34191 by: Sam 34207 by: Dustin Miller Parallel serial mail setup 34192 by: Andreas Fiedler Re: looping delivered-to autoresponder stuff... 34199 by: Charles Cazabon Re: question about tcpclient 34201 by: martin.wonderfrog.net Performance?! 34202 by: Ekker, Heinz 34208 by: John White 34220 by: Markus Stumpf 34232 by: cmikk.uswest.net 34234 by: James Raftery 34241 by: cmikk.uswest.net Difference between Bruce's and Mate's RPM (was: Re: new to list, install questions) 34206 by: Mirko Zeibig Re: qmail dying on Solaris 34209 by: Robin Bowes 34210 by: Matthew Brown 34212 by: Matthew Brown 34243 by: Peter C. Norton Re: Logging 34217 by: Dave Sill My recent AMaViS patch. 34218 by: Dustin Miller 34219 by: Greg Owen 34221 by: Dustin Miller 34224 by: Greg Owen 34226 by: Dustin Miller multiple queues? 34222 by: Peter Green 34227 by: Dave Sill 34229 by: Peter Green 34230 by: petervd.vuurwerk.nl Re: How to send a message after 34231 by: David L. Nicol 34235 by: Ari Arantes Filho Re: failure notice 34236 by: Racer X 34244 by: Sam Hotmail 34237 by: Monte Mitzelfelt 34238 by: Aaron L. Meehan 34239 by: Aaron L. Meehan 34240 by: Monte Mitzelfelt 34245 by: Sam 34251 by: Denis Voitenko virtual domains and local users 34242 by: Aaron Gowatch 34246 by: Russell Nelson 34247 by: Aaron Gowatch 34248 by: Russell Nelson sendmail -- qmail (Maildir) 34249 by: Yamin Prabudy 34250 by: Philip Gabbert User Mail size 34252 by: Ranjan Koirala 34253 by: Andy Bradford 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] -- Peter Cavender wrote: Go away and take your alarmist spam with you. I hope your quarantined viruses get loose on your NT server. Actually, if I remember right these guys are the ones who implemented an email anti-virus system using a modified version of Qmail running on UNIX boxen. -- ___ Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED] Gang Warily|http://signals.rmc.ca/ 1) Like *I* am responsible for what my mail users receive!! Many of us might be responsible for cleaning up the mess. 2) Most viruses are for Windows, which contribute to it's downfall. Most viruses are for Windows because of its popularity, especially among the less computer literate who are more likely to unwittingly run a virus. If Linux got popular among that crowd, Linux viruses would be everywhere. 4) If it is a Linux virus, aren't they required to include the source code? No ;) Binary linux viruses exist. 5) What kind or dork runs executable attachments from unknown sources? 6) What kind or dork uses a MUA that auto-runs attachments? The problem in the Windows world is that most of the recent viruses look like (or are) attached documents. Since people in many organizations are addicted to sending people MS Word files instead of plain emails, they don't even think twice before opening them. Embedded viral macro code runs, which can do anything. Also, most of these viruses propagate themselves by looking in their victims' email addressbooks or mail inboxes and sending to everyone they find there. So the virus might not be coming from an unknown source, but rather the guy in the next cube. Go away and take your alarmist spam with you. I hope your quarantined viruses get loose on your NT server. Actually, in this case, it was a completely automated system. I don't believe malice here. I
Re: 550 cannot route to sender
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. $TTL86400 @ 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. $TTL86400 @ 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
Re: Hotmail (insanity check)
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 ) ; }
Re: Hotmail (insanity check)
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.
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
make errors
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.shcat auto-ccld.sh make-load.sh make-loadchmod 755 make-loadcat auto-ccld.sh find-systype.sh find-systypechmod 755 find-systype./find-systype systype( cat warn-auto.sh; ./make-load "`cat systype`" ) loadchmod 755 loadcat auto-ccld.sh make-compile.sh make-compilechmod 755 make-compile( cat warn-auto.sh; ./make-compile "`cat systype`" ) \compilechmod 755 compile( ( ./compile tryvfork.c ./load tryvfork ) /dev/null \21 \ cat fork.h2 || cat fork.h1 ) fork.hrm -f tryvfork.o tryvfork./compile qmail-local.cqmail-local.c:1: sys/types.h: No such file or directoryqmail-local.c:2: sys/stat.h: No such file or directorymake: *** [qmail-local.o] Error 1 __ END 0 Thanks, Brock Eastman
Re: qmail-send won't log anymore
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
Re: make errors
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.
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 +, 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.
Re: make errors
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
Re: Fw: failure notice
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 - Message-ID: 944865748.11916.blah Your Message-ID: header violates RFC 822.
smrsh/preventing users running programs in qmail dotfiles.
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.[
Re: smrsh/preventing users running programs in qmail dotfiles.
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
RE: Performance?!
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
RE: make errors
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 +, 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.