Re: Quota Exceeded and Procmail
On Sat, 10 Mar 2001, Greg White wrote: > 1. Modify procmail to exit status 100 on quota exceeded. I did. It works--mostly. Instead of standard bounce text, the message is bounced with the following explaination: procmail: Quota exceeded while \ writing "Maildir/tmp/zOD.nTq6.mail.themeco.com" instead of a more standard: Recipient's mailbox is full, message returned to sender. (#5.2.2) Not a huge deal, in the grand scheme of things. For anyone else dealing with the same issue, you can put the following in your /etc/procmailrc or in $HOME/.procmailrc: # Needed if running from /etc/procmailrc. Otherwise, messages # will be unreadable by the user since they will be owned by # root as mode 0600. DROPPRIVS=yes # Deliver to user's maildir folder. :0 Maildir/ # Bounce mail if delivery fails. EXITCODE=100 Hope this saves someone an afternoon. :) -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: About splogger's fac? 2? 3?
On Mon, 12 Mar 2001, Adrian Ho wrote: > The facility code defines the type of program that's logging the > message (kernel, mail, etc.). Look in /usr/include/syslog.h for the > possible facility codes. Quite right. The correct answer was: /* facility codes */ #define LOG_KERN(0<<3) /* kernel messages */ #define LOG_USER(1<<3) /* random user-level messages */ #define LOG_MAIL(2<<3) /* mail system */ #define LOG_DAEMON (3<<3) /* system daemons */ #define LOG_AUTH(4<<3) /* security/authorization messages */ #define LOG_SYSLOG (5<<3) /* messages generated internally by syslogd */ #define LOG_LPR (6<<3) /* line printer subsystem */ #define LOG_NEWS(7<<3) /* network news subsystem */ #define LOG_UUCP(8<<3) /* UUCP subsystem */ #define LOG_CRON(9<<3) /* clock daemon */ #define LOG_AUTHPRIV(10<<3) /* security/authorization messages (private) */ #define LOG_FTP (11<<3) /* ftp daemon */ -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: concurrency
Okay, so I increased concurrencyremote to 60, and concurrecyincoming (for tcpserver) to 40. Concurrencylocal is still at 10, though, and I'm wondering if there's any real point to increasing it. Am I correct in thinking that leaving this at 10 is harmless, since the queue will be serviced fairly quickly anyway? Or is there a performance gain to be had in increasing this? My uninformed opinion is that there wouldn't be, since both the queue and the delivery parition are on the same physical drive, and both mounted sync. To me, that seems to say that higher local concurrency might actually slow the drive down, but I'm not really sure. Opinions, anyone? -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: 2 questions
Thus said David Dyer-Bennet on 12 Mar 2001 00:21:10 CST: > Because my local users are used to using mailbox-based tools, but I'm > using vmailmgr for virtual support and it likes maildir. And some of > my local users want to also check via pop from time to time. How do you intend to keep the mailbox and maildir ``in sync?'' Now, if you can convince your users to use one or the other then you could just put the proper delivery instruction in their .qmail file. i.e. for user joe who wants mailbox format: ~joe/.qmail: ./Mailbox and for fred who wants pop (using maildir) ~fred/.qmail: ./Maildir/ Of course, now if joe wants pop then he will be out of luck unless you do something like: ~joe/.qmail: ./Mailbox ./Maildir/ Andy -- [---[system uptime]] 11:33pm up 25 days, 23:36, 7 users, load average: 1.08, 1.08, 1.08
Re: 2 questions
Andy Bradford <[EMAIL PROTECTED]> writes: > Thus said Alberto Dainotti on Sun, 11 Mar 2001 15:31:30 +0100: > > > Is there a pop server allowing to use the maildir format > > for users who have "Maildir" and a standard Mailbox > > file for the other users ? > > qmail-pop3d comes with qmail, but it only supports maildir, why would > you want both? Because my local users are used to using mailbox-based tools, but I'm using vmailmgr for virtual support and it likes maildir. And some of my local users want to also check via pop from time to time. -- David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED] SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/ Photos: http://dd-b.lighthunters.net/
Re: concurrency
"Todd A. Jacobs" <[EMAIL PROTECTED]> writes: > I have a dedicated dual-processor server with 384 MB of RAM and a single > SCSI drive. I'm running qmail and pop3d supervised according the LWQ, > which sets softlimit to 200. Available inodes in the 2GB /var/qmail > partition is 131,616, with split set to 23. Max file descriptors is 4,096. > Local mail is being delivered to $HOME/Maildir/ on a seperate partition on > the same drive, mounted sync (as is /var/qmail). > > As described in LWQ, I have remote concurrency set to 20 and local > concurrency set to 10. Is this too low, given the specs? Or, considering > the performance hit of running qmail-pop3d against a sync-mounted single > drive, should I leave this alone? "Too low" for the concurrencies would be relative to the amount of mail you need to move; but your hardware should certainly handle more. I supported concurrencies of 50 and 10 with no strain when my system was a Cyrix 166+ with 96 meg of ram and IDE disks. > If I *do* bump up the concurrency, what rule-of-thumb should I apply to > softlimit? I don't really have a good feel for what the concurrency does > to memory requirements. Do I even need to adjust it at all? The softlimit is per process, so you don't need to think about it as you change concurrencies. Well, you need to look at the average actual use and maybe add more memory if you get to the point where you're running out due to high concurrency. > Basically, I have RAM and CPU cycles out the wazoo, but am a little > constrained by drive speed and resources, and want to shuffle things in > and out of the queue as quickly as possible so that there's room for the > things that linger due to disk quota problems or whatever. > > All this assumes that Something Bad (tm) happens when the queue is filled > (out of descriptors, inodes, or blocks). Maybe it doesn't--enlightenment > is always welcome. I think if you actually fill the queue that Something Bad does indeed happen, though I've never gone there to investigate. Not *that* bad; I imagine that incoming mail would not be accepted, which is better than being accepted and lost. Of course if the condition persists long enough that mail will be bounced by the server it's sitting on. -- David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED] SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/ Photos: http://dd-b.lighthunters.net/
RE: qmail installation problem
check for the command /bin/sh is valid or not Regards, Lazyman -Original Message- From: Thomas Beer [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 10:30 PM To: Mohammed Omar Cc: [EMAIL PROTECTED] Subject: Re: qmail installation problem Hi, [root@linux qmail-1.03]# make setup check ./compile qmail-local.c make: ./compile: Command not found make: *** [qmail-local.o] Error 127 [root@linux qmail-1.03]# make cd /usr/src so what i have to do , i use redhat linux 6.2 thanks
RE: qmail installation problem
check for the command /bin/sh is valid or not Regards, Lazyman -Original Message-From: Mohammed Omar [mailto:[EMAIL PROTECTED]]Sent: Sunday, March 11, 2001 9:50 PMTo: [EMAIL PROTECTED]Subject: qmail installation problem dear all i have a problem in installing qmail after i gunzip and untar the file , then i added the required users and groups , the i wrote make setup check i found this problem : [root@linux qmail-1.03]# make setup check./compile qmail-local.cmake: ./compile: Command not foundmake: *** [qmail-local.o] Error 127[root@linux qmail-1.03]# so what i have to do , i use redhat linux 6.2 thanks
Re: About splogger's fac? 2? 3?
On Sun, 11 Mar 2001, Todd A. Jacobs wrote: > On Mon, 12 Mar 2001 ling@mail.hnytnet.com wrote: > > > What's the meaning of "fac"? Is it use in syslog? > > Facility. It's the log level used by syslogd. As you said, that's the log _level_. That's derived by splogger from the text at the beginning of your logged messages. The facility code defines the type of program that's logging the message (kernel, mail, etc.). Look in /usr/include/syslog.h for the possible facility codes. -- Adrian Ho [EMAIL PROTECTED]
where do I add the patch?
Hi Guys! I am new to qmail and have a silly question I have qmail installed on a RH7 server..all is working well. I want to install the patch found at: http://www.palomine.net/qmail/relaymailfrom.html But where and how do I add the patch? Thanks, Ross ** This email has been scanned by Pro-Web for all known Viruses For more information please visit our web site at www.pro-web.ie **
Re: About splogger's fac? 2? 3?
On Mon, 12 Mar 2001 ling@mail.hnytnet.com wrote: > What's the meaning of "fac"? Is it use in syslog? Facility. It's the log level used by syslogd. According to syslog.2: #define KERN_EMERG"<0>" /* system is unusable */ #define KERN_ALERT"<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */ #define KERN_ERR "<3>" /* error conditions */ #define KERN_WARNING "<4>" /* warning conditions */ #define KERN_NOTICE "<5>" /* normal but significant condition */ #define KERN_INFO "<6>" /* informational*/ #define KERN_DEBUG"<7>" /* debug-level messages */ -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: qmail-pop3d bug
On Sun, Mar 11, 2001 at 06:05:47PM -0500, John R. Levine wrote: > >Putting the linecount in there makes more sense. Some MUAs might be happy > >about that, and it still allows easy calculation of wiresize (add > >number of lines to physical size). More info, less bytes :) > > > >> Optimally the wire-size is calculated when the mail is written to > >> Maildir/tmp/ and then applied as an "info" flag when the file is moved > >> to Maildir/new/. > > > >Yes. Mind the performance penalty tho. > > Not a bad idea. Agreed. Line count is probably a more useful number as the other values can be derived. I retract my POPsize suggestion in favour of line count. > The performance penalty would be tiny, reading buffers > that are about to be written out won't cause an extra page fault. I also agree that it's an acceptable CP cost to scan a buffer just prior to writing. CP is cheap and plentiful on most qmail systems. > >> A possible complication with this approach is that my reading of > >> Maildir infers that "info" can only be set when the file moves from > >> Maildir/new/ to Maildir/cur/. > > > >That's what the spec says, indeed. A delivery process is not supposed > >to know anything, so :info is not needed in new/. > > Gee, we find that even Dan isn't infallible. In retrospect, there's all > sorts of hints that the delivery process could leave. Yep. And it probably wouldn't be too hard to change the standard though I note that, eg, mutt totally ignores any existing "info" values. But I'm willing to bet that they will change code if they see a good reason and they will be especially interested in a change that lets them know line count without scanning. Regards.
About splogger's fac? 2? 3?
Hi: I've read the man page of splogger carefully.But there is still something I don't understand. splogger [ tag [ fac ] ] logs messages with facility fac. fac (default: 2) must be numeric. What's the meaning of "fac"? Is it use in syslog? Some time it is 2 (default),some time it is 3. What the diffirent between 2 and 3 ? Thanks
RE: Redirect email!
Thanks. Kirti -Original Message- From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 4:34 PM To: Kirti S. Bajwa Cc: '[EMAIL PROTECTED]' Subject: RE: Redirect email! On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > My original question was "How can I re-direct the email messages > generated on ns1.mydomain.com?". Your answer will make sense if I have > qmail loaded on ns1.mydomain.com. In my original message, I said that > ns1.mydomain.com does not have any mail application on it. > ns2.mydomain.com does have qmail. You can't. If you don't have an MTA on the system (qmail, sendmail, postfix, whatever), mail will never leave the localhost. -- Todd A. Jacobs CodeGnome Consulting, LTD
RE: Redirect email!
Tim: Thanks. Here is an interesting situation. I thought you would like to know: " Most likely sendmail is installed by default." No. I remove sendmail. I think the message I am getting at login time, is coming from something built into RH 6.2. If somebody is following this question and has an answer, we will clear the air. Kirti -Original Message- From: Timothy Legant [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 4:30 PM To: '[EMAIL PROTECTED]' Subject: Re: Redirect email! On Sun, Mar 11, 2001 at 04:13:04PM -0500, Kirti S. Bajwa wrote: > Having explained it, I don't believe, "LWQ" or any other write-up discusses > this type of problem, if it does can you point the section where this type > of situation is covered in "LWQ". That's correct. You need help for whichever mail software is installed on ns1.mydomain.com. Most likely sendmail is installed by default. > Again, my question is; how email messages generated on ns1.mydomain.com can > be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is > listed in /var/qmail/control/local? I'm not a sendmail guy - perhaps someone on the list can help. You could also try man sendmail or try to dig up some other sendmail docs. Tim
How to use qmailanalog?
Hi! I've installed qmailanalog,and I used "matchup" program to generate output file "out.1". What should I do next? How to use other command in qmailanalog to analog the outout file? Are there any examples? Thanks
RE: Redirect email!
Kurth: Thanks for your reply. "you'll still need some sort of mail app on ns1. just install qmail on both machines...:-)" I understand that now! "why don't you want to install qmail on ns1?" Last week I posted a question, asking qmail list if I need to install qmail on both machine. I got one response (Do not from whom), which said that there was no need to install qmail on both machines. Thanks again.. Kirti -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 6:58 PM To: Kirti S. Bajwa; 'Todd A. Jacobs' Cc: '[EMAIL PROTECTED]' Subject: RE: Redirect email! At 04:13 PM 3/11/2001, Kirti S. Bajwa wrote: set the MX for ns1 to point to ns2. then sent mail to [EMAIL PROTECTED] will goto ns2 you'll still need some sort of mail app on ns1. just install qmail on both machines...:-) why don't you want to install qmail on ns1? ~kurth >I have read "Life with Qmail" about 20+ times. I believe I did not make my >question clear as your answer does not answer my question (or it does not >seem to): > >In my case, ns1.mydomain.com has no mail package installed. On this server >when a "Cron" job runs, it does not find a user account "news" because I >deleted it (as part of another write-up recommendation). Therefore, the >"Cron" job creates a message to "[EMAIL PROTECTED]" informing that it >did not find the "news" user account. > >This message display only during LOGIN process. Here is the login sequence: >-- > > ns1 login: root ; user id root is >entered > Password: rootpassword ; Password is >entered > Last login: Sun Mar 11 15:06:21 on tty1 ; This message is displayed >back > You have mail ; System displays >the mail message > [root@ns1 /root]# mail ; I enter "mail" > > (system displays the mail messages...) > (messages are addressed to "[EMAIL PROTECTED] and are generated >by Daily Cron job) > >-- > >Having explained it, I don't believe, "LWQ" or any other write-up discusses >this type of problem, if it does can you point the section where this type >of situation is covered in "LWQ". > >My original question was "How can I re-direct the email messages generated >on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded on >ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does >not have any mail application on it. ns2.mydomain.com does have qmail. > >Again, my question is; how email messages generated on ns1.mydomain.com can >be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is >listed in /var/qmail/control/local? > >Kirti > > >PS: I re-read "LWQ" before sending this message. > > > > > >-Original Message- >From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] >Sent: Sunday, March 11, 2001 3:08 PM >To: Kirti S. Bajwa >Cc: '[EMAIL PROTECTED]' >Subject: RE: Redirect email! > > >On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > > > When you refer to "desired address", is it the UID (which is "root") > > or something else? I have setup .qmail files and would appreciate > > which folder this particular .qmail file you are referring to? > >No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a >deliverable email address. You put it in $HOME/.qmail for whichever user >you want to forward mail for. > >Please read http://www.lifewithqmail.org/ before asking these sorts of >questions. It's one thing to be confused about something in the docs (I >often am, since they aren't very extensive), but it helps to at least have >a foundation to understand the answers people give you. > >-- >Todd A. Jacobs >CodeGnome Consulting, LTD
451 timeout
Hi all- I've been expereincing a lot of ugly errors lately: many copies of the smae emial arriving, some remte hosts can't email us at all (yes, MX records are ok). I've begun to watch everytihng that happens w/ recordio. In my log files, I'm beginning to see a distressing number of errors like the one listed below: a remote server connects, announces MAIL, RCPT TO, and DATA fine, then the connection is dropped and a '451 error' code is logged. In the example below, this happened only 22 seconds after the previous entry. This is pretty representative of what's happening. As I understand it, 451 is an internal error while processing a message, and the default timeout for smtp sessions (timeoutsmtpd) is 1200 seconds. Has anyone seen anything like this, and if so, could it be a configuration error of some sort? Or does it indicate either hardware or network failure? Thanks- Dan Mar 11 19:38:23 mx1 smtpd: 984357503.141262 13096 > 220 mx1.ny.otec.com ESMTP? Mar 11 19:38:23 mx1 smtpd: 984357503.216899 13096 < HELO femail9.sdc1.sfba.home.com? Mar 11 19:38:23 mx1 smtpd: 984357503.218213 13096 > 250 mx1.ny.otec.com? Mar 11 19:38:23 mx1 smtpd: 984357503.414713 13096 < MAIL FROM:<[EMAIL PROTECTED]>? Mar 11 19:38:23 mx1 smtpd: 984357503.416019 13096 > 250 ok? Mar 11 19:38:23 mx1 smtpd: 984357503.490315 13096 < RCPT TO:<[EMAIL PROTECTED]>? Mar 11 19:38:23 mx1 smtpd: 984357503.491628 13096 > 250 ok? Mar 11 19:38:23 mx1 smtpd: 984357503.566791 13096 < DATA? Mar 11 19:38:23 mx1 smtpd: 984357503.576821 13096 > 354 go ahead? Mar 11 19:38:45 mx1 smtpd: 984357525.672773 12927 > 451 timeout (#4.4.2)? Mar 11 19:38:45 mx1 smtpd: 984357525.673019 12927 > [EOF]
qmail-remote_auth_smtp.patch
Hi, anybody out here using this patch? It allows qmail-remote to use SMTP AUTH with certain remote mailservers. I'd like to use it on my Notebook. As far as I can see from the code the username and password should be supplied in smtproutes. I tried both :server:user:pass and :server user pass, but in both cases qmail-remote didn't use username and password (hacked the code a bit to verify this). Any ideas? Greetings Henning -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany
RE: Redirect email!
At 04:13 PM 3/11/2001, Kirti S. Bajwa wrote: set the MX for ns1 to point to ns2. then sent mail to [EMAIL PROTECTED] will goto ns2 you'll still need some sort of mail app on ns1. just install qmail on both machines...:-) why don't you want to install qmail on ns1? ~kurth >I have read "Life with Qmail" about 20+ times. I believe I did not make my >question clear as your answer does not answer my question (or it does not >seem to): > >In my case, ns1.mydomain.com has no mail package installed. On this server >when a "Cron" job runs, it does not find a user account "news" because I >deleted it (as part of another write-up recommendation). Therefore, the >"Cron" job creates a message to "[EMAIL PROTECTED]" informing that it >did not find the "news" user account. > >This message display only during LOGIN process. Here is the login sequence: >-- > > ns1 login: root ; user id root is >entered > Password: rootpassword ; Password is >entered > Last login: Sun Mar 11 15:06:21 on tty1 ; This message is displayed >back > You have mail ; System displays >the mail message > [root@ns1 /root]# mail ; I enter "mail" > > (system displays the mail messages...) > (messages are addressed to "[EMAIL PROTECTED] and are generated >by Daily Cron job) > >-- > >Having explained it, I don't believe, "LWQ" or any other write-up discusses >this type of problem, if it does can you point the section where this type >of situation is covered in "LWQ". > >My original question was "How can I re-direct the email messages generated >on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded on >ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does >not have any mail application on it. ns2.mydomain.com does have qmail. > >Again, my question is; how email messages generated on ns1.mydomain.com can >be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is >listed in /var/qmail/control/local? > >Kirti > > >PS: I re-read "LWQ" before sending this message. > > > > > >-Original Message- >From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] >Sent: Sunday, March 11, 2001 3:08 PM >To: Kirti S. Bajwa >Cc: '[EMAIL PROTECTED]' >Subject: RE: Redirect email! > > >On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > > > When you refer to "desired address", is it the UID (which is "root") > > or something else? I have setup .qmail files and would appreciate > > which folder this particular .qmail file you are referring to? > >No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a >deliverable email address. You put it in $HOME/.qmail for whichever user >you want to forward mail for. > >Please read http://www.lifewithqmail.org/ before asking these sorts of >questions. It's one thing to be confused about something in the docs (I >often am, since they aren't very extensive), but it helps to at least have >a foundation to understand the answers people give you. > >-- >Todd A. Jacobs >CodeGnome Consulting, LTD
Re: Qmail-Popup Problem
>Qmail-Popup is filling my logs with: > > qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify >hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed > >It appears that every connection attempt log this message, but I can >nslookup without any problem, and tcpdmatch without any problem either. It >appears that this could be a TCP Wrappers problem but I can't duplicate it >with tcpdmatch, and it doesn't fail for other servers. > >Anyone seen this before? Yes. @Home has a tendency to lose entries in one or both of their main DNS servers. When this happens, you frequently get this kind of message from tcpwrappers. I just ran a dnstrace on this address and it looks like it's back to normal; both 24.0.0.27 and 24.2.0.27 know the address. Usually if you just wait a few hours, the problem gets fixed. Heaven help you if they lose the entries permanently, which has happened to us twice Their front line customer support people don't know what DNS is, and you have to argue with them for a while until you get kicked up the the second line people, who usually know about basic Internet services. > >-K -- -- Paul J. Schinder NASA Goddard Space Flight Center Code 693 [EMAIL PROTECTED]
Re: Qmail-Popup Problem
On Sun, Mar 11, 2001 at 04:41:41PM -0700, Keary Suska wrote: > Qmail-Popup is filling my logs with: > > qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify > hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed This is tcpwrappers logging, not qmail-popup. > It appears that every connection attempt log this message, but I can > nslookup without any problem, and tcpdmatch without any problem either. It > appears that this could be a TCP Wrappers problem but I can't duplicate it > with tcpdmatch, and it doesn't fail for other servers. What's on line 8 in /etc/hosts.allow? Why are you not using tcpserver? Greetz, Peter.
Qmail-Popup Problem
Qmail-Popup is filling my logs with: qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed It appears that every connection attempt log this message, but I can nslookup without any problem, and tcpdmatch without any problem either. It appears that this could be a TCP Wrappers problem but I can't duplicate it with tcpdmatch, and it doesn't fail for other servers. Anyone seen this before? -K
Re: qmail-pop3d bug
On Sun, Mar 11, 2001 at 06:05:47PM -0500, John R. Levine wrote: [snip] > >Yes. Mind the performance penalty tho. > > Not a bad idea. The performance penalty would be tiny, reading buffers > that are about to be written out won't cause an extra page fault. True. > >> A possible complication with this approach is that my reading of > >> Maildir infers that "info" can only be set when the file moves from > >> Maildir/new/ to Maildir/cur/. > > > >That's what the spec says, indeed. A delivery process is not supposed > >to know anything, so :info is not needed in new/. > > Gee, we find that even Dan isn't infallible. In retrospect, there's all > sorts of hints that the delivery process could leave. The spec is not 100% specific everywhere. And indeed, hints can be put in lots of places :) Greetz, Peter.
Re: qmail-pop3d bug
>Putting the linecount in there makes more sense. Some MUAs might be happy >about that, and it still allows easy calculation of wiresize (add >number of lines to physical size). More info, less bytes :) > >> Optimally the wire-size is calculated when the mail is written to >> Maildir/tmp/ and then applied as an "info" flag when the file is moved >> to Maildir/new/. > >Yes. Mind the performance penalty tho. Not a bad idea. The performance penalty would be tiny, reading buffers that are about to be written out won't cause an extra page fault. >> A possible complication with this approach is that my reading of >> Maildir infers that "info" can only be set when the file moves from >> Maildir/new/ to Maildir/cur/. > >That's what the spec says, indeed. A delivery process is not supposed >to know anything, so :info is not needed in new/. Gee, we find that even Dan isn't infallible. In retrospect, there's all sorts of hints that the delivery process could leave. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: qmail-pop3d bug
On Sun, Mar 11, 2001 at 07:37:06PM +, Mark Delany wrote: [snip] > > I use courier-imap, and its POP daemon does get the sizes right, > > presumably by reading the files and adding the number of \n characters. > > A more sensible strategy might be to introduce a new "info" flag (say > '3' equals POP wire size) on the filename, eg, a 10,000 byte email has > a name something like this: > > Maildir/new/980195114.16740.geex:2,RS3,1 Putting the linecount in there makes more sense. Some MUAs might be happy about that, and it still allows easy calculation of wiresize (add number of lines to physical size). More info, less bytes :) > Optimally the wire-size is calculated when the mail is written to > Maildir/tmp/ and then applied as an "info" flag when the file is moved > to Maildir/new/. Yes. Mind the performance penalty tho. > A possible complication with this approach is that my reading of > Maildir infers that "info" can only be set when the file moves from > Maildir/new/ to Maildir/cur/. That's what the spec says, indeed. A delivery process is not supposed to know anything, so :info is not needed in new/. Greetz, Peter.
Re: qmail-pop3d bug
On Sun, Mar 11, 2001 at 07:51:47PM +, Mark Delany wrote: > > Yes. This behaviour is known. Fixing it, however, involves a *huge* > > performance downgrade of qmail-pop3d. > > Not if it's calculated as the file is written to the Maildir. True, but that hurts writing performance. > > 'Usually, during the AUTHORIZATION state of the POP3 session, the POP3 > > server can calculate the size of each message in octets when it opens > > the maildrop. . simply counts each occurance of this character in > > a message as two octets.' > > Typical of those RFCs authors that, consciously or otherwise, used a > single implementation to guide much of their thinking on protocol > design. POP3 is not the only standard that suffers as a consequence - > consider SMTP and DNS? The implementors had to make a choice. Line format is in fact the obvious choice for message size. Using server-implementation size is however not a big deviation. > We shouldn't have to live with short-sightedness forever. That's why we have QMTP :) Greetz, Peter.
Does anyone have a copy of NAKEDWIFE.EXE??? ~ Re: NAKEDWIFE.EXE Virus - Filter available
SUB: Does anyone have a copy of NAKEDWIFE.EXE??? ~ Re: NAKEDWIFE.EXE Virus - Filter available It was supposedly widespread... but I've not seen hide nor hair... if someone has a copy, please send it, thanks!!! Jesse Sunday ParView, Inc. / Systems Administrator
RE: Redirect email!
On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > My original question was "How can I re-direct the email messages > generated on ns1.mydomain.com?". Your answer will make sense if I have > qmail loaded on ns1.mydomain.com. In my original message, I said that > ns1.mydomain.com does not have any mail application on it. > ns2.mydomain.com does have qmail. You can't. If you don't have an MTA on the system (qmail, sendmail, postfix, whatever), mail will never leave the localhost. -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: Redirect email!
On Sun, Mar 11, 2001 at 04:13:04PM -0500, Kirti S. Bajwa wrote: > Having explained it, I don't believe, "LWQ" or any other write-up discusses > this type of problem, if it does can you point the section where this type > of situation is covered in "LWQ". That's correct. You need help for whichever mail software is installed on ns1.mydomain.com. Most likely sendmail is installed by default. > Again, my question is; how email messages generated on ns1.mydomain.com can > be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is > listed in /var/qmail/control/local? I'm not a sendmail guy - perhaps someone on the list can help. You could also try man sendmail or try to dig up some other sendmail docs. Tim
RE: Redirect email!
I have read "Life with Qmail" about 20+ times. I believe I did not make my question clear as your answer does not answer my question (or it does not seem to): In my case, ns1.mydomain.com has no mail package installed. On this server when a "Cron" job runs, it does not find a user account "news" because I deleted it (as part of another write-up recommendation). Therefore, the "Cron" job creates a message to "[EMAIL PROTECTED]" informing that it did not find the "news" user account. This message display only during LOGIN process. Here is the login sequence: -- ns1 login: root ; user id root is entered Password: rootpassword ; Password is entered Last login: Sun Mar 11 15:06:21 on tty1 ; This message is displayed back You have mail ; System displays the mail message [root@ns1 /root]# mail ; I enter "mail" (system displays the mail messages...) (messages are addressed to "[EMAIL PROTECTED] and are generated by Daily Cron job) -- Having explained it, I don't believe, "LWQ" or any other write-up discusses this type of problem, if it does can you point the section where this type of situation is covered in "LWQ". My original question was "How can I re-direct the email messages generated on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded on ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does not have any mail application on it. ns2.mydomain.com does have qmail. Again, my question is; how email messages generated on ns1.mydomain.com can be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is listed in /var/qmail/control/local? Kirti PS: I re-read "LWQ" before sending this message. -Original Message- From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 3:08 PM To: Kirti S. Bajwa Cc: '[EMAIL PROTECTED]' Subject: RE: Redirect email! On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > When you refer to "desired address", is it the UID (which is "root") > or something else? I have setup .qmail files and would appreciate > which folder this particular .qmail file you are referring to? No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a deliverable email address. You put it in $HOME/.qmail for whichever user you want to forward mail for. Please read http://www.lifewithqmail.org/ before asking these sorts of questions. It's one thing to be confused about something in the docs (I often am, since they aren't very extensive), but it helps to at least have a foundation to understand the answers people give you. -- Todd A. Jacobs CodeGnome Consulting, LTD
RE: Redirect email!
On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > When you refer to "desired address", is it the UID (which is "root") > or something else? I have setup .qmail files and would appreciate > which folder this particular .qmail file you are referring to? No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a deliverable email address. You put it in $HOME/.qmail for whichever user you want to forward mail for. Please read http://www.lifewithqmail.org/ before asking these sorts of questions. It's one thing to be confused about something in the docs (I often am, since they aren't very extensive), but it helps to at least have a foundation to understand the answers people give you. -- Todd A. Jacobs CodeGnome Consulting, LTD
Re: recordio / logging problem
Daniel Kelley wrote: > this sends all recordio output to the terminal, not through syslog. > following a couple of examples on this list, i inserted 2>&1 directly > after qmail-smtpd, but that generates 'Ambiguous Ouptut Redirect'. > > This is probably just a stupid shell thing (i'm using csh on linux), but i > don't understand it. |& splogger instead of | splogger will redirect stdout and stderr. -- Michael T. Babcock (PGP: 0xBE6C1895) http://www.fibrespeed.net/~mbabcock/
Re: qmail-pop3d bug
> Yes. This behaviour is known. Fixing it, however, involves a *huge* > performance downgrade of qmail-pop3d. Not if it's calculated as the file is written to the Maildir. > 'Usually, during the AUTHORIZATION state of the POP3 session, the POP3 > server can calculate the size of each message in octets when it opens > the maildrop. . simply counts each occurance of this character in > a message as two octets.' Typical of those RFCs authors that, consciously or otherwise, used a single implementation to guide much of their thinking on protocol design. POP3 is not the only standard that suffers as a consequence - consider SMTP and DNS? We shouldn't have to live with short-sightedness forever. Regards.
Re: qmail-pop3d bug
On Sat, Mar 10, 2001 at 01:12:13PM -0500, John R Levine wrote: > The usual mailbox vs. maildir war has flared up on inet-access, and points > out a bug in qmail-pop3d. When you do a LIST command, it gives you the > size of each message. Pop3d just reports the file sizes, while it's clear > from the RFC that it's supposed to report the wire size of each message, > i.e., the size using cr/lf as a line terminator, so the sizes it reports > are too small. > > I gather nobody's ever reported this as a bug, and I expect that the only > thing that uses the size is the "don't download bigger than size X" option > for which it's close enough, but it's still wrong. If I mis-remember correctly, qpopper may have a similar problem in that the stated size does not necessarily match the size sent down the wire. How so? Because qpopper adds X-UIDL and Status: headers to the out-going message (perhaps it includes this in the size calc but I haven't looked at the code in such a long time, or perhaps it only adds those headers when the mail is re-written). > I use courier-imap, and its POP daemon does get the sizes right, > presumably by reading the files and adding the number of \n characters. A more sensible strategy might be to introduce a new "info" flag (say '3' equals POP wire size) on the filename, eg, a 10,000 byte email has a name something like this: Maildir/new/980195114.16740.geex:2,RS3,1 Optimally the wire-size is calculated when the mail is written to Maildir/tmp/ and then applied as an "info" flag when the file is moved to Maildir/new/. A possible complication with this approach is that my reading of Maildir infers that "info" can only be set when the file moves from Maildir/new/ to Maildir/cur/. Regards.
Re: I thank anyone in advance who can help me...
On Sun, Mar 11, 2001 at 11:07:57AM -0700, Avery Brooks wrote: > I am still having an issue where I can't send mail from a script. I > currently use: /var/qmail/bin/qmail-inject ... as my qmail absolute path. > > Now here is what I can do: > > 1) I can send an empty message to local users, and remote users. > 2) I can send messages from PINE. > 3) I can send messages from everything but a script. > 4) All test in the, TEST.deliver and TEST.receive DO WORK! This means that qmail is working. Good. > > Here is what Qmail doesn't seem to do: > > 1) Qmail doesn't log anything at all, I can't find anything about qmail in > the: /var/log/messages OR /var/log/maillog Not possible -- it always logs _somewhere_. Even if you've badly bungled the install instructions, it will log to the console... Whose instructions did you follow for installing qmail? IIRC, the default instructions in the tarball result in syslog messages using splogger (ugh) and LWQ's instructions result in logs in /var/log/qmail/*. > > > 2) Qmail will not send a message from script at all. Please send the list an example of what you're trying to use to send mail from a script. I personally speak shell and perl. Alternatively, if you followed the directions in LWQ and/or the INSTALL.* files, try the following from the command line: cat << EOF | /var/qmail/bin/qmail-inject From: root To: root Subject: Testing script Testing EOF The above is all you need to send mail in a shell script. You can, of course, get fancier. SNIP HTH, -- Greg White Those who make peaceful revolution impossible will make violent revolution inevitable. -- John F. Kennedy
Re: 2 questions
Thus said Alberto Dainotti on Sun, 11 Mar 2001 15:31:30 +0100: > Is there a pop server allowing to use the maildir format > for users who have "Maildir" and a standard Mailbox > file for the other users ? qmail-pop3d comes with qmail, but it only supports maildir, why would you want both? > The ideal thing would be that this pop server would work > with ssl too. You can wrap SSL around pop using stunnel. > Is there a way to convert a Mailbox to maildir format ? I believe someone wrote a script to do this already---look on qmail.org for it. Andy -- [---[system uptime]] 12:27pm up 25 days, 12:30, 5 users, load average: 1.08, 1.27, 1.26
Re: [Fwd: Administrivia: Mailing List Software]
Andre Oppermann <[EMAIL PROTECTED]> writes: > Mark Delany wrote: [ ... ] > > Elias also talks about an emulation layer for LISTSERV. I've not heard > > of anyone providing that for ezmlm. > > I don't know if there is any mailing list software out there having > an emulation layer for LISTSERV... Worst case he has to write one. the ezmlm-idx FAQ implies that this is possible and straightforward: FAQ> 15.2 Setting up ezmlm to respond to host-centric FAQ> commands. FAQ> The ezdomo.tar.gz file included in the ezmlm-idx>=0.31 FAQ> distribution contains the basic files needed to set up ezmlm FAQ> to respond to host-centric command syntax. See the following FAQ> section for the format and utilization of such syntax for the FAQ> major non-ezmlm mailing list managers available today. This FAQ> section will set up majordomo@host as the example. The setup FAQ> for other command addresses, such as listproc or listserv are FAQ> the same, except the contents of DIR/inlocal and DIR/outlocal FAQ> need to be changed appropriately. FAQ> The ezmlm-idx>=0.31 distribution also contains a script, FAQ> ezmlm-glmake(1) that will set up the global interface for FAQ> you. It works in a manner similar to ezmlm-make(1) and will FAQ> in ezmlm-idx-0.32 be replaced with a special ezmlm-make(1) FAQ> config file. See the description below for details on what FAQ> ezmlm-glmake(1) does, or if you prefer to set this up FAQ> manually. FAQ> [ detailed instructions omitted ] FAQ> 15.3 Commands of other mailinglist managers recognized by FAQ> ezmlm. FAQ> Listproc/Listserv. FAQ> When set up as above, substituting ``listproc'' or FAQ> ``listserv'' for ``majordomo'' as appropriate, ezmlm will FAQ> recognize and respond to the following commands placed in the FAQ> body of the e-mail with the syntax below. Note: ezmlm will FAQ> only respond to one command per message. FAQ> syntax: command listname [subscribe@host] FAQ> Supported commands FAQ> subscribe, sub, unsubscribe, unsub, list, help, review. FAQ> Additional supported commands FAQ> All ezmlm commands, such as ``thread'', ``index'' and FAQ> ``get'' as well as the list owner's commands. FAQ> This interfaced makes information available via command FAQ> messages to the appropriate mailing list. Thus, ``list'' and FAQ> ``review'' will send a subscriber list only to remote FAQ> administrators and only if specifically allowed by the list FAQ> owner. --ScottG.
I thank anyone in advance who can help me...
I am still having an issue where I can't send mail from a script. I currently use: /var/qmail/bin/qmail-inject ... as my qmail absolute path. Now here is what I can do: 1) I can send an empty message to local users, and remote users. 2) I can send messages from PINE. 3) I can send messages from everything but a script. 4) All test in the, TEST.deliver and TEST.receive DO WORK! Here is what Qmail doesn't seem to do: 1) Qmail doesn't log anything at all, I can't find anything about qmail in the: /var/log/messages OR /var/log/maillog 2) Qmail will not send a message from script at all. I really need some help here, I am totally lost. Thank you for your time, Avery Brooks
Re: wrong threat [is:Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [again]]
Hi there, please answer in the correct threat and not only in any message you've just picked up. Thanks Tom
/var/qmail/bin/sendmail (addendum)
Also, I tried: echo to:[EMAIL PROTECTED] | /var/qmail/bin/sendmail That gave me these lines in /var/log/maillog: Mar 11 11:23:02 www qmail: 984327782.476368 info msg 2920341: bytes 212 from <[EMAIL PROTECTED]> qp 9916 uid 0 Mar 11 11:23:02 www qmail: 984327782.477601 end msg 2920341 echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject, however, works just fine. Alex __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
/var/qmail/bin/sendmail
I'm trying to get FormMail.pl to work with qmail, and I'm having quite a time of it. I can't point it towards /usr/local/sendmail, because that doesn't exist on my system (OBSD 2.8). I tried /usr/libexec/sendmail, but that didn't work, either -- nothing showed up in my Apache error logs or /var/log/maillog. FYI, ls -l on /usr/libexec/sendmail shows: -r-sr-xr-x 1 root bin 380928 Nov 6 12:40 sendmail I also tried, as per the suggestion of someone from this list, pointing it at /var/qmail/bin/sendmail. However, this does nothing, either. ls -l shows: -rwxr-xr-x 1 root qmail 16384 Mar 5 00:26 sendmail What could be wrong with this? I need this form ASAP, as I have business customers who will be using it soon. Thanks, Alex Le Fevre __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
Re: Hiding internal server info
On Sun, Mar 11, 2001 at 10:58:51AM +, Subba Rao wrote: > Hello > > Is it possible to hide the internal server information, when you send out an > email? For example, when I send out email the following line is in the mail > header. > > === > Received: from caesar.lynix.com (comp1.flint.mi.home.com > +[23.12.196.73]) > by lists.morelists.org (Postfix) with SMTP id DE2FC7AF9 > for <[EMAIL PROTECTED]>; Sat, 10 Mar 2001 10:12:28 -0800 (PST) > === > > What inserts such information MTA, MDA or MUA? Postfix on lists.morelists.org. Greetz, Peter.
Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [again]
Hi, I'll try, as you guess, setting up qmail. Everything is probably working. The problem I'm facing is that I can't sent mails to local users. I set up the home mail-dir (maildirmake et al.) using mbox delivered to $HOME. Sometimes Dave wrote (taken from the archive) that 5.1.1: What that message means is that the local recipient is not a valid address. That can happen if the recipient: - is not a user NO - has the UID 0 NO - doesn't own their home directory NO - has a home directory that isn't visible to user qmailp [I'm not sure about this point, but added qmailp to the same user-group] - has a username containing uppercase characters NO - has a username longer than 32 characters NO - isn't handled by an alias or catch-all .qmail file in ~alias [If I put an tom-qmail file in alias I get an elivery 13: failure: This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)] If I remove that alias I get the following in /var/log/qmail/current snip @40003aab87ae2bab487c status: exiting @40003aab87b31f767b44 status: local 0/10 remote 0/20 @40003aab8ce2342a54fc new msg 224638 @40003aab8ce2342a9b4c info msg 224638: bytes 204 from <[EMAIL PROTECTED]> qp 16101 uid 0 @40003aab8ce2373ef79c starting delivery 1: msg 224638 to local [EMAIL PROTECTED] @40003aab8ce2373f45bc status: local 1/10 remote 0/20 @40003aab8ce23ab75d4c delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @40003aab8ce23afb347c status: local 0/10 remote 0/20 @40003aab8ce23b94d884 bounce msg 224638 qp 16104 @40003aab8ce23b97265c end msg 224638 @40003aab8ce303d233ec new msg 224641 snip Thanks for any help Tom
recordio / logging problem
hi- i'm trying to record all incoming smtp sessions using recordio, but i'm stymied by the following: /usr/local/bin/tcpserver -R -x /etc/tcp.smtp.cdb -c 100 -u -g 0 smtp \ /usr/local/bin/rblsmtpd /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd \ | /var/qmail/bin/splogger smtpd 3 & this sends all recordio output to the terminal, not through syslog. following a couple of examples on this list, i inserted 2>&1 directly after qmail-smtpd, but that generates 'Ambiguous Ouptut Redirect'. This is probably just a stupid shell thing (i'm using csh on linux), but i don't understand it. thanks- dan
Hiding internal server info
Hello Is it possible to hide the internal server information, when you send out an email? For example, when I send out email the following line is in the mail header. === Received: from caesar.lynix.com (comp1.flint.mi.home.com +[23.12.196.73]) by lists.morelists.org (Postfix) with SMTP id DE2FC7AF9 for <[EMAIL PROTECTED]>; Sat, 10 Mar 2001 10:12:28 -0800 (PST) === What inserts such information MTA, MDA or MUA? Is it possible to hide or rename the hostname and IP address in the email? Thank you in advance for any help or pointers. -- Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <= http://www.smcinnovations.com
Re: what link for /bin/mail !?!?
On Sun, 11 Mar 2001, Alberto Dainotti wrote: > I'm sorry if this is a stupid question, but > I've read the documentation and I'm missing something.. > In "REMOVE.binmail": > - > 3. If the binmail binary was /bin/mail, make sure that ``mail'' still >invokes a usable mailer. Under SVR4 you may want to link mail to >mailx. > - > My question is: to what do I have to link /bin/mail ??? > /bin/mailx and /bin/mail were links to /bin/Mail, which I chmoded to 0 > following the instructions in "REMOVE.binmail" > (My system is a slackware 7.1.) > > I tried to link /bin/mail to /var/qmail/bin/qmail-local .. seemed > resonable to me .. and that's the result: This is a difficult one. For instance, under Solaris, if you link to mailx, then files in /etc such as .login and profile will generate errors at login because Solaris mailx doesn't understand the -E option. Scott
Re: question with qmail-remote
On Sun, Mar 11, 2001 at 02:43:50PM +0100, Markus Stumpf wrote: > On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote: > > I recently installed qmail on my server with virtual domain support, and I found >this snapshot while checking the processes. > > > > 1141 ?S 0:00 qmail-remote newsletter.join4free.com >[EMAIL PROTECTED] > > > > This domain was never allowed to relay on my qmail configuration. And it seems >that this domain is trying to email his mailing list through my qmtp server. > > Why do you think it got relayed? > I'd say it's a bounce resulting from a SPAM to a non existing user. > The line indicated that the messsage will be delivered to > [EMAIL PROTECTED] and the host it will be delivered to is > newsletter.join4free.com > > > How would I block off this domain through qmail configuration? > > Add > @newsletter.join4free.com > to > /var/qmail/control/badmailfrom Or unsubscribe the user. join4free are double opt-in spammers that let you unsubscribe honestly and easily. Greetz, Peter.
Re: file descriptors
On Sun, Mar 11, 2001 at 01:59:16AM -0800, Todd A. Jacobs wrote: > I'm not 100% sure I understand what file descriptors have to do with the > queue's performance. Does qmail require one or more file descriptors for > every message in the queue, or only for the "concurrent" messages it's > sending or delivering? If I have 4096 descriptors available to the system, > will I run into any problems if more than 4,000 messages are in the queue? No. Filedescriptors only apply to active concurrent connections/deliveries. The number of messages in the queue is limited by diskspace (try 'df') and inode count (try 'df -i') only. Greetz, Peter.
Re: qmail-pop3d bug
On Sat, Mar 10, 2001 at 05:47:29PM -0500, Scott Gifford wrote: > Peter van Dijk <[EMAIL PROTECTED]> writes: > > > On Sat, Mar 10, 2001 at 01:12:13PM -0500, John R Levine wrote: > > > The usual mailbox vs. maildir war has flared up on inet-access, and points > > > out a bug in qmail-pop3d. When you do a LIST command, it gives you the > > > size of each message. Pop3d just reports the file sizes, while it's clear > > > from the RFC that it's supposed to report the wire size of each message, > > > i.e., the size using cr/lf as a line terminator, so the sizes it reports > > > are too small. > > > [ ... ] > > Yes. This behaviour is known. Fixing it, however, involves a *huge* > > performance downgrade of qmail-pop3d. > > A solution I have considered is storing the messages in wire format. > Especially for POP/IMAP-only clients, seems like it could be a > medium-sized performance win, since the line-conversion is done only > once, regardless of how many times the message is downloaded. If the > message were kept in wire-format from SMTP through delivery, no line > conversion would be required at either end, and a larger performance > gain would be possible. > > Has anybody tried this, or anything like it? Have not tried it, but it sounds like it would definitely work. Greetz, Peter.
RE: Redirect email!
Great. Your reply is much clear & I will try it. Kirti -Original Message- From: Noah Sematimba [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 11, 2001 9:46 AM To: Kirti S. Bajwa Cc: 'Todd A. Jacobs'; '[EMAIL PROTECTED]' Subject: RE: Redirect email! I think what you need to do is this: Set up your second server to accept mail for the domain ns1.mydomain.com by editing /var/qmail/control/locals and adding ns1.mydomain.com to that file on the second server. Then on ns1.mydomain.com edit /var/qmail/control/locals and remove ns1.mydomain.com from there so that mail for that domain will now be regarded as non local mail. Then set up an mx record in your dns pointing ns1.mydomain.com to the second server say ns1.mydomain.com. IN MX 10 ns2.mydomain.com. or alternatively you can attempt direct smtp delivery by editing /var/qmail/control/smtproutes All these instructions are in /var/qmail/doc/FAQ regards, Sematimba Noah. East African Help Desk. On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > Todd: > > Thanks for your reply. > > "Put your desired address into your .qmail file." > > When you refer to "desired address", is it the UID (which is "root") or > something else? I have setup .qmail files and would appreciate which folder > this particular .qmail file you are referring to? > > Kirti > > > > -Original Message- > From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 10, 2001 11:00 PM > To: Kirti S. Bajwa > Cc: '[EMAIL PROTECTED]' > Subject: Re: Redirect email! > > > On Sat, 10 Mar 2001, Kirti S. Bajwa wrote: > > > How can I setup qmail so that any system message generated on the > > first server ns1.mydomain.com are automatically directed to my mail > > server, which is mail.mydomain.com (located on ns2.mydomain.com)? > > Put your desired address into your .qmail file. > > -- > Todd A. Jacobs > CodeGnome Consulting, LTD > >
RE: Redirect email!
I think what you need to do is this: Set up your second server to accept mail for the domain ns1.mydomain.com by editing /var/qmail/control/locals and adding ns1.mydomain.com to that file on the second server. Then on ns1.mydomain.com edit /var/qmail/control/locals and remove ns1.mydomain.com from there so that mail for that domain will now be regarded as non local mail. Then set up an mx record in your dns pointing ns1.mydomain.com to the second server say ns1.mydomain.com. IN MX 10 ns2.mydomain.com. or alternatively you can attempt direct smtp delivery by editing /var/qmail/control/smtproutes All these instructions are in /var/qmail/doc/FAQ regards, Sematimba Noah. East African Help Desk. On Sun, 11 Mar 2001, Kirti S. Bajwa wrote: > Todd: > > Thanks for your reply. > > "Put your desired address into your .qmail file." > > When you refer to "desired address", is it the UID (which is "root") or > something else? I have setup .qmail files and would appreciate which folder > this particular .qmail file you are referring to? > > Kirti > > > > -Original Message- > From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 10, 2001 11:00 PM > To: Kirti S. Bajwa > Cc: '[EMAIL PROTECTED]' > Subject: Re: Redirect email! > > > On Sat, 10 Mar 2001, Kirti S. Bajwa wrote: > > > How can I setup qmail so that any system message generated on the > > first server ns1.mydomain.com are automatically directed to my mail > > server, which is mail.mydomain.com (located on ns2.mydomain.com)? > > Put your desired address into your .qmail file. > > -- > Todd A. Jacobs > CodeGnome Consulting, LTD > >
Re: qmail installation problem
Hi, [root@linux qmail-1.03]# make setup check ./compile qmail-local.c make: ./compile: Command not found make: *** [qmail-local.o] Error 127 [root@linux qmail-1.03]# make cd /usr/src so what i have to do , i use redhat linux 6.2 thanks
Re: qmail installation problem
if you're in the directory in which you unpacked qmail, check the permissions on the compile file. If it is not excutable it will be reported as not found. I usually unpack my files witha -p option in order to preserve permissions. i.e tar xvzpf file.tar.gz On Sun, 11 Mar 2001, Mohammed Omar wrote: > dear all > i have a problem in installing qmail > > after i gunzip and untar the file , then i added the required users and groups , >the i wrote make setup check > i found this problem : > > > [root@linux qmail-1.03]# make setup check > ./compile qmail-local.c > make: ./compile: Command not found > make: *** [qmail-local.o] Error 127 > [root@linux qmail-1.03]# > > > > so what i have to do , i use redhat linux 6.2 > > > thanks >
2 questions
Is there a pop server allowing to use the maildir format for users who have "Maildir" and a standard Mailbox file for the other users ? The ideal thing would be that this pop server would work with ssl too. Is there a way to convert a Mailbox to maildir format ? Thank you. Alberto.
RE: Redirect email!
Todd: Thanks for your reply. "Put your desired address into your .qmail file." When you refer to "desired address", is it the UID (which is "root") or something else? I have setup .qmail files and would appreciate which folder this particular .qmail file you are referring to? Kirti -Original Message- From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 10, 2001 11:00 PM To: Kirti S. Bajwa Cc: '[EMAIL PROTECTED]' Subject: Re: Redirect email! On Sat, 10 Mar 2001, Kirti S. Bajwa wrote: > How can I setup qmail so that any system message generated on the > first server ns1.mydomain.com are automatically directed to my mail > server, which is mail.mydomain.com (located on ns2.mydomain.com)? Put your desired address into your .qmail file. -- Todd A. Jacobs CodeGnome Consulting, LTD
RE: Redirect email!
I have read Life with qmail about 20 times. "put the account on the second machine in your .qmail file..." Which account. Are you talking about my login account or what? Where (section #) is it explained on LWQ? I must have missed it. Appreciate your help. Kirti -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 10, 2001 10:08 PM To: Kirti S. Bajwa; '[EMAIL PROTECTED]' Subject: Re: Redirect email! At 12:10 PM 3/10/2001, Kirti S. Bajwa wrote: put the account on the second machine in your .qmail file... did you read life with qmail yet? i don't think that you did.as you'd know because its in there :-) ~kurth >I have two LINUX servers. One server ns1.mydomain.com is a DNS server >(djbdns). The second server ns2.mydomain.com handles email (qmail), web, >etc. > >When I am logging onto ns1.mydomain.com, I get a message on the screen that >"You have new mail", even though I have no email application installed on >it. I think the message is a "system" generated message that I have "news" >account missing on the server or something similar. > >How can I setup qmail so that any system message generated on the first >server ns1.mydomain.com are automatically directed to my mail server, which >is mail.mydomain.com (located on ns2.mydomain.com)? > >Is this question for the dns mailing list?? > >Kirti
qmail installation problem
dear all i have a problem in installing qmail after i gunzip and untar the file , then i added the required users and groups , the i wrote make setup check i found this problem : [root@linux qmail-1.03]# make setup check./compile qmail-local.cmake: ./compile: Command not foundmake: *** [qmail-local.o] Error 127[root@linux qmail-1.03]# so what i have to do , i use redhat linux 6.2 thanks
Re: question with qmail-remote
On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote: > I recently installed qmail on my server with virtual domain support, and I found >this snapshot while checking the processes. > > 1141 ?S 0:00 qmail-remote newsletter.join4free.com >[EMAIL PROTECTED] > > This domain was never allowed to relay on my qmail configuration. And it seems that >this domain is trying to email his mailing list through my qmtp server. Why do you think it got relayed? I'd say it's a bounce resulting from a SPAM to a non existing user. The line indicated that the messsage will be delivered to [EMAIL PROTECTED] and the host it will be delivered to is newsletter.join4free.com > How would I block off this domain through qmail configuration? Add @newsletter.join4free.com to /var/qmail/control/badmailfrom \Maex -- SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0 Research & Development | D-80807 Muenchen| Fax: +49 (89) 32356-299 Stress is when you wake up screaming and you realize you haven't fallen asleep yet.
Re: what link for /bin/mail !?!?
I run qmail on Slackware 7.1 as well. On my system /bin/mail, /bin/Mail and /bin/mailx are all symbolic links to /usr/bin/mail. The difference here may be that I never install the sendmail packages. At any rate I always just leave the above 4 links/files alone since /usr/bin/mail is a usable mailer. HTH, Eric On Sun, Mar 11, 2001 at 11:36:32AM +0100, Alberto Dainotti wrote: > I'm sorry if this is a stupid question, but > I've read the documentation and I'm missing something.. > In "REMOVE.binmail": > - > 3. If the binmail binary was /bin/mail, make sure that ``mail'' still >invokes a usable mailer. Under SVR4 you may want to link mail to >mailx. > - > > My question is: to what do I have to link /bin/mail ??? > /bin/mailx and /bin/mail were links to /bin/Mail, which I chmoded to 0 > following the instructions in "REMOVE.binmail" > (My system is a slackware 7.1.) > > I tried to link /bin/mail to /var/qmail/bin/qmail-local .. seemed > resonable to me .. and that's the result: > > --- > 03/11/01 11:24 los:qmail-1.03# ( echo 'Alberto Dainotti'; cat `cat SYSDEPS` ) | >mail [EMAIL PROTECTED] > qmail-local: usage: qmail-local [ -nN ] user homedir local dash ext domain sender >aliasempty > --- > > Thank you, > Alberto. > >
Re: [Fwd: Administrivia: Mailing List Software]
Mark Delany wrote: > > On Sat, Mar 10, 2001 at 11:49:08PM +0100, Andre Oppermann wrote: > > Hey guys, > > > > lets make this poor man happy and let us all tell him about how well > > qmail/ezmlm works! > > > > This guy is Elias Levy (aleph1) and he runs the Bugtraq mailing list. > > > > Please send an email directly to him if you want to suggest qmail/ezmlm > > for running a large mailing list with a secure piece of software. And > > he also is sick of handling bounces... > > Whilst bounce processing is indeed a sale point for ezmlm, much of > what Elias wants is above and beyond ezmlm. For example categorization > and subscription by category. Sure you can (painfully) make a sublist > for each category, as long as they don't invent and rename categories > on the fly. If he'd run off ezmlm-idx with a database backend I think this should be no problem? > Elias also talks about an emulation layer for LISTSERV. I've not heard > of anyone providing that for ezmlm. I don't know if there is any mailing list software out there having an emulation layer for LISTSERV... Worst case he has to write one. > This is not to under-rate ezmlm, as a base toolkit it would perform > admirably, but the BUGTRAQ dood wants a lot of value-adds that are not > part of ezmlm. "There is no such as a free lunch" maybe? Some effort is required. -- Andre
qmail Digest 11 Mar 2001 11:00:01 -0000 Issue 1300
qmail Digest 11 Mar 2001 11:00:01 - Issue 1300 Topics (messages 58799 through 58828): Re: Recommended patches for high-volume ezmlm server 58799 by: Peter van Dijk 58800 by: Peter van Dijk 58815 by: Don Rose Re: logging 58801 by: Pawel Garbowski Quota Exceeded and Procmail 58802 by: Todd A. Jacobs 58806 by: Greg White Re: OK I give up!!! 58803 by: Martin Randall Virtual hosts 58804 by: Joe 58807 by: Pawel Garbowski 58808 by: Joe Re: What is so sad... Re: OK I give up!!! 58805 by: Michael T. Babcock qmail-pop3d bug 58809 by: John R Levine 58811 by: Peter van Dijk 58813 by: Peter van Dijk 58816 by: Scott Gifford Which program? 58810 by: Alex Le Fevre 58812 by: Peter van Dijk traffic again 58814 by: Estephano Re: Administrivia: Mailing List Software] 58817 by: Andre Oppermann 58821 by: Mark Delany Redirect email! 58818 by: Kirti S. Bajwa 58822 by: Kurth Bemis 58824 by: Todd A. Jacobs Absolute path, plus a few other questions... 58819 by: Avery Brooks 58820 by: Brett Randall Re: How to add big-todo and big-concurrency patch ? 58823 by: rthum.asiatravelmart.com 58825 by: Todd A. Jacobs file descriptors 58826 by: Todd A. Jacobs concurrency 58827 by: Todd A. Jacobs what link for /bin/mail !?!? 58828 by: Alberto Dainotti 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 Fri, Mar 09, 2001 at 10:24:11AM -0600, Mate Wierdl wrote: > On Thu, Mar 08, 2001 at 09:48:22PM +0100, Peter van Dijk wrote: > > On Thu, Mar 08, 2001 at 12:16:52PM -0800, Don Rose wrote: > > > I am building a server to house several very high volume mailing lists > > > (2-4M users each) and wanted to know which patches were recommended for > > > use with ezmlm and ezmlm-idx, as well as qmail itself. > > > > > > I have read about the big-concurrency patch and that seems relevant, but > > > I'm not sure about the others. > > > > No others are. > > I am theorizing: having millions of users means lots of bad addresses. > So now, when ezmlm-warn sends out its gripes, it may mean a few > hundred thousand separate messages in the queue. Is that a load in > the queue not to worry about? Those don't get send out all at the same time. And your theory is broken - ezmlm subscriber lists are almost by definition high-quality. Greetz, Peter. On Fri, Mar 09, 2001 at 08:40:53AM -0800, Don Rose wrote: > Actually the lists are only announcement-type lists so users won't be > posting, so the only messages that should be queued are like you said > the bounce probes, and the messages the mods post to it. > > I was thinking of setting up 2 or 3 QMQP servers on a LocalDirector to > handle the actual sending of the messages, so the original machine isn't > too busy to recieve new mail. Using a LocalDirector for QMQP is overkill. If one of your QMQP servers is down, the 'clients' will use another one automatically. This just means a slight delay, and nothing to worry about. Greetz, Peter. So having multiple QMQP machines as opposed to a single machine wouldn't deliver the mail faster? We've already got the LocalDirector in place doing other things and we wanted to utilize it for this if we could. For this usage, its not a matter of redundant failover, but more a matter of load balancing, so that 3 machines can deliver millions of emails faster than a single one could. Am I wrong in my thinking here? -Original Message- From: Peter van Dijk [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 10, 2001 3:53 AM To: '[EMAIL PROTECTED]' Subject: Re: Recommended patches for high-volume ezmlm server On Fri, Mar 09, 2001 at 08:40:53AM -0800, Don Rose wrote: > Actually the lists are only announcement-type lists so users won't be > posting, so the only messages that should be queued are like you said > the bounce probes, and the messages the mods post to it. > > I was thinking of setting up 2 or 3 QMQP servers on a LocalDirector to > handle the actual sending of the messages, so the original machine isn't > too busy to recieve new mail. Using a LocalDirector for QMQP is overkill. If one of your QMQP servers is down, the 'clients' will use another one automatically. This just means a slight delay, and nothing to worry about. Greetz, Peter. Hello, * Kari Suomela <[EMAIL PROTECTED]> [010308 21:28] wrote: > Thursday March 08 2001 19:27, Pawel Garbowski wrote to All: > > >> # Start Qmail-smtpd > >> env - PATH="/var/qmail/bin:/bin" \ > >> tcpserver -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -u514 -g512 0 > >>
what link for /bin/mail !?!?
I'm sorry if this is a stupid question, but I've read the documentation and I'm missing something.. In "REMOVE.binmail": - 3. If the binmail binary was /bin/mail, make sure that ``mail'' still invokes a usable mailer. Under SVR4 you may want to link mail to mailx. - My question is: to what do I have to link /bin/mail ??? /bin/mailx and /bin/mail were links to /bin/Mail, which I chmoded to 0 following the instructions in "REMOVE.binmail" (My system is a slackware 7.1.) I tried to link /bin/mail to /var/qmail/bin/qmail-local .. seemed resonable to me .. and that's the result: --- 03/11/01 11:24 los:qmail-1.03# ( echo 'Alberto Dainotti'; cat `cat SYSDEPS` ) | mail [EMAIL PROTECTED] qmail-local: usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty --- Thank you, Alberto.
concurrency
I have a dedicated dual-processor server with 384 MB of RAM and a single SCSI drive. I'm running qmail and pop3d supervised according the LWQ, which sets softlimit to 200. Available inodes in the 2GB /var/qmail partition is 131,616, with split set to 23. Max file descriptors is 4,096. Local mail is being delivered to $HOME/Maildir/ on a seperate partition on the same drive, mounted sync (as is /var/qmail). As described in LWQ, I have remote concurrency set to 20 and local concurrency set to 10. Is this too low, given the specs? Or, considering the performance hit of running qmail-pop3d against a sync-mounted single drive, should I leave this alone? If I *do* bump up the concurrency, what rule-of-thumb should I apply to softlimit? I don't really have a good feel for what the concurrency does to memory requirements. Do I even need to adjust it at all? Basically, I have RAM and CPU cycles out the wazoo, but am a little constrained by drive speed and resources, and want to shuffle things in and out of the queue as quickly as possible so that there's room for the things that linger due to disk quota problems or whatever. All this assumes that Something Bad (tm) happens when the queue is filled (out of descriptors, inodes, or blocks). Maybe it doesn't--enlightenment is always welcome. -- Todd A. Jacobs CodeGnome Consulting, LTD
file descriptors
I'm not 100% sure I understand what file descriptors have to do with the queue's performance. Does qmail require one or more file descriptors for every message in the queue, or only for the "concurrent" messages it's sending or delivering? If I have 4096 descriptors available to the system, will I run into any problems if more than 4,000 messages are in the queue? -- Todd A. Jacobs CodeGnome Consulting, LTD