Re: Strange problem...
Also check you file /var/adm/messages for disk problems. Additionally just go to the directory where your mails are getting delivered and try to create a file i.e. touch junk Regards Manny - Original Message - From: Marcelo . [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 7:50 AM Subject: Strange problem... Hello, I have been running qmail for about 6 months without any problems. Since yesterday, people have been complaining that they are not receiving any email.. So I sent a few tests ones and sure enough they were not arriving, Nor are they bouncing! The error message in the log states: qmail: 985052700.964339 delivery 532877: deferral: Unable_to_write_./Mailbox:_invalid_argument._(#4.3.0) I thought that it might the space on the hard drive but it is not. Any thoughts? Thanks! __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How to prevent smtp from accepting blank From: field
I am having a problem with my site where someone is trying to spam the site with some message titled "Snowhite and Seven Dwarfs". The From: field is being shown as From: [EMAIL PROTECTED] I have put the entry [EMAIL PROTECTED] in badrcptto and also tested that mail from: [EMAIL PROTECTED] is not being accepted by qmail-smtp. However inspite of this mails keep on coming from this site. It seems that the the smtp dialogue is being done in he following manner (i.e. a blank mail from: is being given) telnet 0 smtpTrying 0.0.0.0...Connected to 0.Escape character is '^]'.220 ESMTPmail from:250 okrcpt to:[EMAIL PROTECTED]250 okdata354 go aheadFrom:Hahaha [EMAIL PROTECTED]Subject: Snowite and the seven dwarfs.250 ok 984632317 qp 4283 Any suggestions on preventing blank mail from: being given during smtp dialogue? Regards Manny
Re: How to prevent smtp from accepting blank From: field
Sorry about a typo in the mail below. I have put the entry in /var/qmail/control/badmailfrom instead of badrcptto mentioned in the below mail. - Original Message - From: Manvendra Bhangui To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 2:08 AM Subject: How to prevent smtp from accepting blank From: field I am having a problem with my site where someone is trying to spam the site with some message titled "Snowhite and Seven Dwarfs". The From: field is being shown as From: [EMAIL PROTECTED] I have put the entry [EMAIL PROTECTED] in badrcptto and also tested that mail from: [EMAIL PROTECTED] is not being accepted by qmail-smtp. However inspite of this mails keep on coming from this site. It seems that the the smtp dialogue is being done in he following manner (i.e. a blank mail from: is being given) telnet 0 smtpTrying 0.0.0.0...Connected to 0.Escape character is '^]'.220 ESMTPmail from:250 okrcpt to:[EMAIL PROTECTED]250 okdata354 go aheadFrom:Hahaha [EMAIL PROTECTED]Subject: Snowite and the seven dwarfs.250 ok 984632317 qp 4283 Any suggestions on preventing blank mail from: being given during smtp dialogue? Regards Manny
Re: NAKEDWIFE.EXE Virus - Filter available
Is checkattach a shell script. If yes check the first line in the script and see if the executable is present or not e.g. if you have a perl script the first line would be #!/usr/bin/perl and if /usr/bin/perl is missing and you run your script u will get an error saying that the script is missing rather than the message /usr/bin/perl is missing. Regards Manny - Original Message - From: Peter Peltonen [EMAIL PROTECTED] To: qmail list [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 8:02 PM Subject: Re: NAKEDWIFE.EXE Virus - Filter available Erwin Hoffmann wrote: include in your .qmail file: | echo "I was here" ~/qmail.out | /var/qmail/bin/checkattach Okay, I've now verified that /home/virtualdomain1/.qmail-user1 is the correct file. You copied the script into /usr/bin/ ! Change the call and it will work ! Um, not that easy. /var/qmail/bin is a symlink to /usr/bin. So much for that theory? Regards, Peter _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: New qmail version request
Agree. Applying all the patches are a pain. Also If you apply some patches some other patches fail and you have to manually edit the files to add the patches. Regards Manny - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 11:05 PM Subject: Re: New qmail version request Please forgive my naivete as I am new to qmail and this list, but hearing a statement such as yours, Peter, gives me pause to consider: If there may not be future development, am I betting on a dead (or dying) horse? What is wrong with some of the requests that have been asked for? Granted, some of the functionality is available as a patch, but should not some of those patches be incorporated into the main code base if doing so would make qmail easier to setup, configure, and run without the new qmail administrator having to download and install a series of patches that affect the core functionality of qmail? Being new, I may be off base with these questions, but I am just trying to get a better understanding of what the future of qmail is. If DJB is no longer interested, or able, to continue development of qmail, could he not pass the reins to someone else? There seems to be a great pool of talent on this list, I'm sure someone would be interested in continuing development. (although I am not one who could, due to my pathetic programming skills) Not trying to start a flame war or anything, just trying to get a better understanding of the reasons. Thanks for your time. Dion Vansevenant Internetwork Administrator MRO.com Peter van Dijk To: [EMAIL PROTECTED] peter@datalocc: ss.nl Subject: Re: New qmail version request 2001/03/02 10:43 On Fri, Mar 02, 2001 at 04:15:37PM +0100, Paco Gracia wrote: I'd like to see a configure option to support smtp with authentication in the official qmail release. Please stop this thread. A new qmail version is not likely to happen, and if it does, it'll probably contain very few patches that are already available. Greetz, Peter. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Qmail Licensing Terms
Hi, Just want to know if the Qmail Licensing allows me to modify qmail for my own use or my company's use. Basically I want to shorten the text in the qmail-send.c for bounce messages. Does the licensing permit me to make such changes Regards Manny
Re: qmail-send progress with large queue/todo
This problem of todo had created a havoc with my site and qmail was unable to cope up with the volume of incoming mails which my site was getting. In fact I had starting cursing the design of the todo processing. But with a slight change to qmail-queue I have managed to get the queue (both remote and local to zeror). I have done the following Created 5 instances of qmail (by changing conf-qmail and compiling) 1 (/var/qmail, /var/qmail2, /var/qmail3, /var/qmail4, /var/qmail5) 2 linked the control, alias and users directory of /var/qmail2, /var/qmail3, /var/qmail4, /var/qmail5 to /var/qmail/control, /var/qmail/alias, /var/qmail/users. By doing this I have to change configuration only in /var/qmail 3. Created directory /usr/qmail/bin, /usr/qmail2/bin, /usr/qmail3/bin, etc 4. Moved the original qmail-queue from /var/qmail/bin to /usr/qmail/bin and similarly for all the other qmail installations 5. Wrote the following qmail-queue program in /var/qmail/bin, /var/qmail2/bin /var/qmail3/bin, /var/qmail4/bin, /var/qmail5/bin and started 5 instances of qmail-deliver (qmail-send). qmail-smtp now can be run from any one of the 5 instances listing of qmail-queue.c wrapper #include sys/param.h main(int argc, char **argv) { int tmval; char path[MAXPATHLEN]; char*qmail_queue[] = { "/usr/qmail", "/usr/qmail2", "/usr/qmail3", "/usr/qmail4", "/usr/qmail5"}; tmval = time(0) % 5; sprintf(path, "%s/bin/qmail-queue", qmail_queue[tmval]); /*- printf("%s\n", path); -*/ execv(path, argv); } The above program depending on the time distributes the queue across the five queues. Thus even with each qmail instance giving me a low concurrency, I am achieving high concurrency by running 5 instances of qmail - Original Message - From: Peter van Dijk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 28, 2001 6:04 PM Subject: Re: qmail-send progress with large queue/todo On Wed, Feb 28, 2001 at 01:50:36AM -0700, Sean Reifschneider wrote: On Tue, Feb 27, 2001 at 02:13:47PM -0600, Bruce Guenter wrote: I've been thinking about this issue, and was wondering if it would be possible to fix this in some simple way. Would it be possible to modify If one has big-todo, is there any point in spending so much time working the todo? Switching the priority so that todo isn't processed until the loop runs without starting any qmail-remotes (meaning we're either at concurrency, or we have no more messages to deal with). With or without big-todo, you risk ending up with a f*cking big todo queue after that. Switching off todo-handling for a while, automatically, sounds like a *very* bad idea to me. Greetz, Peter. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How not to queue local deliveries
I have installed qmail 1.03. My problem is local deliveries are very slow. Also on my mail servers most the mails are meant for local domains. Is there any way that I can make qmail-queue directly dispatch the mail to the user's maildir without queueing. my .qmail-default contains the following line | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox Any help on this will help me a lot Regards Manny
Re: Local Deliveries Slow
I hate to post unecessarily. But this is to thank everyone especially Charles Cazabon and Dave Sill. The Big To Do patch worked and my mails are zipping through (I run a very high volume mail server). I have successfully migrated my users from Isocor (critical path's messaging soln) to qmail. This is the second instance where my life got saved because of this great list. Regards Manny - Original Message - From: Charles Cazabon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 22, 2001 1:12 AM Subject: Re: Local Deliveries Slow Manvendra Bhangui [EMAIL PROTECTED] wrote: I have already run the make check, etc and checked the permissions as per the LWQ. Excellent. Looks like you've done (most of) your homework. 1. When the incoming rate increases, qmail-send is unable to cope up. The todo increases at an alarming rate. After this the number of local deliveries suddenly stop (around 1 per sec). 2. After shutting down port 25 (to stop incoming mails) and giving some time for the unprocessed mails to become zero, the local mail delivery again become fast (I could get a concurrency of about 160) This is the current stats I have on my mailserver. isocor:/var/qmail/bin./qmail-qstat messages in queue: 67966 messages in queue but not yet preprocessed: 42007 [...] Has anyone observed this and have come up with any solution to this. Yes. Russ Nelson noticed this, and created the big-todo patch. It helps, but does not eliminate the problem in all cases. Basically the problem is that qmail send will only process local and remote deliveries when there is nothing left in todo. Try applying the big-todo patch; it should help significantly. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. --- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: mail queue problem.
I had the same problem and was grappling with it for few days. I have done th following to ease the situation. 1. Apply the big concurrency patch 2. I applied concurrenty value of 500 in th files conncurrencylocal and concurrencyremote 3. Applied the BIG Todo patch (this patch has more or less solved my problem 4. change the file split-conf to 151 from default 23 5. Dowloaded qmHandle package to show me the remote and local files in the queue 6. Stoped the tcpserver listening on port 25 7. Allowed the queue to drop to zero 8. did make setup check in the qmail package to recompile the package 9. Started qmail (Also if you are using queue-fix package don't forget to apply queue-fix todo patch also) Whenever the number deliver of remote mails become high, I see the deliver of local mails also suffering. So once in a while I make the concurrency value in concurrencyremote to zero and restart qmail to deliver only the local mails I do not know what your setup is. Mine is on Solaris 2.6 on E3500 with very High I/O bottleneck. But on the same box critical path's mplex was doing local delivery much better than qmail. I am still working on how to improve the local deliver speeds. Will share the results when I am successful Hope some of these may help. - Original Message - From: Haig Earl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 22, 2001 3:23 PM Subject: mail queue problem. hi, my qmail-qstat shows me over 4000 mails and its increasing. why arent the mails being delivered ?? urgent ! TIA, - sg. __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Local Deliveries Slow
I have already run the make check, etc and checked the permissions as per the LWQ. I have been observing this problem on my system for more than few days. Following are the observations. 1. When the incoming rate increases, qmail-send is unable to cope up. The todo increases at an alarming rate. After this the number of local deliveries suddenly stop (around 1 per sec). 2. After shutting down port 25 (to stop incoming mails) and giving some time for the unprocessed mails to become zero, the local mail delivery again become fast (I could get a concurrency of about 160) This is the current stats I have on my mailserver. isocor:/var/qmail/bin./qmail-qstat messages in queue: 67966 messages in queue but not yet preprocessed: 42007 and this is the output of qmHandle -s isocor:/var/qmailanalog/binqmHandle -s Messages in local queue: 27999 Messages in remote queue: 1418 Has anyone observed this and have come up with any solution to this. Regards Manny - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 22, 2001 12:13 AM Subject: Re: Local Deliveries Slow In article 001001c09bc6$2f6434a0$[EMAIL PROTECTED] you wrote: Hi, I am having a tough time migrating to qmail. I have applied the concurrency patch and set the concurrency limit to 250. Inspite of that I do not see the qmail-lspawn forking more than 2 or 3 processes at any given point of time. What could be the problem? My local queue is currently at 8. Due to this my users are unable to get mails. However they are able to send out mails fine. However remote deliveries seem to be going fine and I can see multiple qmail-remote being forked. H, I've only come across this once before and it turned out that the /var/qmail/queue/lock/trigger pipe was "broken". It happened when I tried a cheapo (tar cvf qmail.tar qmail; copy qmail.tar file to diff server and untarred) install of qmail ;-) Qmail would work but would only process local deliveries every 30 minutes. I resolved it by doing a proper "make setup check" install (though remember to backup your control/* files - it will trash some of them). Btw, concurrencylocal max is 120 Paul. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Suppressing Bounce Messages
I have a problem on my site where lot of my users who have subscribed to external free subscriptions are no longer there. Due to this around 8 bounce message are getting generated daily and clogging up my queue. Is there any way to silently discard these messages without generating a bounce back message. I am running qmail-1.03 Regards Manny
Local Deliveries Slow
Hi, I am having a tough time migrating to qmail. I have applied the concurrency patch and set the concurrency limit to 250. Inspite of that I do not see the qmail-lspawn forking more than 2 or 3 processes at any given point of time. What could be the problem? My local queue is currently at 8. Due to this my users are unable to get mails. However they are able to send out mails fine. However remote deliveries seem to be going fine and I can see multiple qmail-remote being forked. Regards Manny
Re: Conversion to Maildir Format
The format I am having currently enables me to convert to unix mbox format by just appending each mail messages into a single file. If you could tell me how to convert from unix mbox format to maildir, that would be helpful. I already have mail agents to handle maildir format Regards Manny - Original Message - From: Dave Sill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 7:47 PM Subject: Re: Conversion to Maildir Format "Manvendra Bhangui" [EMAIL PROTECTED] wrote: How do I convert from someother mail format to maildir format used by qmail. That depends on the "someother mail format". Basically I am currently having mails being delivered as files with each mail being a single unix file. And these files are in which directory? How are they named? How do users read read their mail? Your mail agents will have to be able to handle maildir format mailboxes. If someone could tell me the logic on how to convert (say from a unix mail) to maildir, it would be helpful I'm not sure how helpful that would be since the details would be wrong for your situation. -Dave _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Qmail and Syslogd?
Hello, In light of my recent delivery issues, I was curious as to whether syslogd may have anything to do with it? During a mail run of our mailing lists syslogd is hitting 90% processor usage or more and staying there. Just curious, Collin Check your /var/adm/messages or whatever and see which line is getting repeated often. This will help you in identifying who/which process is sending the messages. If this is not the problem do a trace/truss on the syslogd process and see if you get a clue _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: tcpserver: fatal:, cat, svc commands not found
The problem is in the script PATH=/var/qmail/bin The PATH environment variable is overwritten with just one entry. Hence the shell is not able to figure out where the commands svc, rm, cat are. Suggest you replace with the following line PATH=$PATH:/var/qmail/bin export PATH Regards Manny - Original Message - From: Ould [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 11, 2001 4:22 PM Subject: tcpserver: fatal:, cat, svc commands not found Hello, In the following several errors I always find when restart, stop, start qmail script I got from LWQ. There is also a part of this script of interest. I don't find what is the problem. The provlem arises particularly on Cobalt Raq3. In spite of this thigns works (tcpserver is running, sent/receive messages). Can anyone helps to fixe this? [root@phoenix qmail-smtpd]# /etc/rc.d/init.d/qmail restart Restarting qmail: * Stopping qmail-smtpd. /etc/rc.d/init.d/qmail: svc: command not found * Sending qmail-send SIGTERM and restarting. /etc/rc.d/init.d/qmail: svc: command not found * Restarting qmail-smtpd. /etc/rc.d/init.d/qmail: svc: command not found [root@phoenix qmail-smtpd]# /etc/rc.d/init.d/qmail stop /etc/rc.d/init.d/qmail: cat: command not found /etc/rc.d/init.d/qmail: rm: command not found Stopping qmail: svscan/etc/rc.d/init.d/qmail: cat: command not found qmail/etc/rc.d/init.d/qmail: svc: command not found logging/etc/rc.d/init.d/qmail: svc: command not found . [root@phoenix qmail-smtpd]# /etc/rc.d/init.d/qmail start Starting qmail: svscan/etc/rc.d/init.d/qmail: env: command not found tcpserver: fatal: unable to figure out port number for smtpd -- #!/bin/sh PATH=/var/qmail/bin export PATH case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan echo $! /var/run/svscan.pid echo "." /usr/local/bin/tcpserver -v -u 501 -g 500 0 smtpd /var/qmail/bin/qmail-smtpd \ 21 smtpd 3 echo $! /var/lock/subsys/qmail-smtpd ;; stop) kill `cat /var/lock/subsys/qmail-smtpd` rm -f /var/lock/subsys/qmail-smtpd echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; stat) cd /var/qmail/supervise svstat * */log ;; doqueue|alrm) echo "Sending ALRM signal to qmail-send." svc -a /var/qmail/supervise/qmail-send ;; queue) qmail-qstat qmail-qread ;; reload|hup) echo "Sending HUP signal to qmail-send." svc -h /var/qmail/supervise/qmail-send Thanks __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com