Re: big rcpthosts file
At 23:43 28/12/99 +0100, bert hubert wrote: Rule of thumb for large sites: Put your 50 most com- monly used domains into rcpthosts, and the rest into morercpthosts. ah, but does it matter? I have nearly 900 in my rcpthosts file and I'm not noticing anything in particular. I'm doing a constant stream of mail, but never more than one stream at anyone time really... performance is fine. I don't *really* know which domains are the busiest. To work that out I would have to do something like get all the domains from the qmail logs, use qmail-analog to weight them, sort the list of domains, and then split them appropriately. Currently I have a script that just generates the rcpthosts file from the virtualdomains file, and that is generated out of a simple script that just prints out a mysql table contents. Ranking everything would be a bit OTT IMHO. So, should I be worried? Does it matter? When does it matter? cheers peter -- peter at gradwell dot com; online @ http://www.gradwell.com/
Re: big rcpthosts file
Petr Novotny wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Dec 99, at 10:50, Peter Gradwell wrote: At 23:43 28/12/99 +0100, bert hubert wrote: Rule of thumb for large sites: Put your 50 most com- monly used domains into rcpthosts, and the rest into morercpthosts. ah, but does it matter? I have nearly 900 in my rcpthosts file and I'm not noticing anything in particular. I'm doing a constant stream of mail, but never more than one stream at anyone time really... performance is fine. You don't HUP or restart qmail-send too often then. That has no effect. [snip] So, should I be worried? Does it matter? When does it matter? The file is scanned during startup of qmail-send, and after HUPing qmail-send. If you don't do that often, you don't need to worry. rcpthosts is scanned every time an email comes in (by qmail-smtpd). But then again, if you need to administer a file with like 900 significant lines, you'd like to use some automatic tool for that. It's easy to adapt that tool to work with morercpthosts and cdb format. Please correct me if I'm wrong - you may also leave rcpthosts empty and stuff everything in morercpthosts if it matters. Probably. -- Andre
Re: big rcpthosts file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Dec 99, at 12:03, Andre Oppermann wrote: Petr Novotny wrote: The file is scanned during startup of qmail-send, and after HUPing qmail-send. If you don't do that often, you don't need to worry. rcpthosts is scanned every time an email comes in (by qmail-smtpd). Oops. Sorry everyone for misleading you. I should be reading more carefully... -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOGn9yFMwP8g7qbw/EQLNgACghnNSn8X/5eMi4Qcpms6E+f2EgPAAoLIR kf5zuo0+eFMUkVpUcfyGiXVw =VvQQ -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
My problem already exist ! IMAP and Relay !
Hi , I want some help about qmail services ! I have installed it on my Redhat 6.1 machine and work fine . So I have patched my qmail and checkpassword to work with users based on a mySQL table and authenticate via a mySQL table that users store on it . This patch can be find on http://www.qmail.org So my pop3d is authenticate perfectly via checkpassword becuase my chechpassword was patched to check via mySQL table . So how can I do that with an IMAP daemon ? Is there any IMAP daemon exist that can authenticate via mySQL table ? or is there any IMAP daemon exist that can authenticate via checkpassword like qmail-pop3d ? my second question is , is that any way that can limit my relaying like this : I am an ISP and I want that my users can't send the mails that are not from : [EMAIL PROTECTED] I mean that FROM should be in this form : [EMAIL PROTECTED] and not others ! So How can I limit their ? Thank You so much Hamid Hashemi Morva.net Admin Tehran - Iran
Re: big rcpthosts file
At 12:03 29/12/99 +0100, you wrote: rcpthosts is scanned every time an email comes in (by qmail-smtpd). But then again, if you need to administer a file with like 900 significant lines, you'd like to use some automatic tool for that. It's easy to adapt that tool to work with morercpthosts and cdb format. so, the "most frequently used domains" rule is a vague one then... What is more effective? - searching a fairly empty (5 lines) rcpthosts file and then searching morercpthosts or - just searching a large rcpthosts file. Does the speed in searching a cdb more than outweigh the multiple file handling/access delay? If so, I'll just bung the few "static" things (like the machine names) in rcpthosts, and make the mysql-rcpthosts script generate morercpthosts, and also run qmail-newwhatsit. what do we think? cheers peter -- peter at gradwell dot com; online @ http://www.gradwell.com/
Re: big rcpthosts file
Peter Gradwell spake unto me and said: - searching a fairly empty (5 lines) rcpthosts file and then searching morercpthosts, or Um, that should be '(50 lines)', meaning 'your 50 most commonly used domains' (man qmail-smtpd). When a domain is found in rcpthosts, then morercpthosts is not touched. Depending how common 'most common' is, morercpthosts will not be used much. - just searching a large rcpthosts file. Um, qmail-smtpd doesn't actually search the rcpthosts file. It parses the file into an in-memory cdb, and searches that. qmail-newmrh parses morercpthosts into an on-disk cdb, which qmail-smtpd searches from the disk _when necessary_. So your choice really is: - searching a fairly small (50 domains) in-memory cdb, and then searching a large on-disk cdb when necessary, or - just(!) searching a large in-memory cdb. (Remember, large in-memory structures are paged, so disk I/O is required in either case, with a suitable definition of 'large'.) Looking at the source code suggests that search speed is not the issue; memory is. Smaller qmail-smtpd processes mean more qmail-smtpd (and qmail-remote) processes, which means greater concurrency. No doubt Dan has profiled this, and seen that the bottom line is greater overall throughput. Len.
supervise: fatal:
Hello all, This is probably a simple question, but I'm having a bit of a problem. I had qmail working properly and then it broke. I'm not sure what I did to it. I think this is a permissions problem, but I need some help. I started qmail manually: /etc/rc.d/init.d/qmail start I checked my processes and I have 2 svscan and 4 supervise, 2 multilog, and 1 tcpserver, qmail-send, qmail-lspawn, qmail-rspawn, qmail-clean. I get the messages: supervise: fatal: unable to acquire qmail-send/supervise/lock: access denied supervise: fatal: unable to acquire log/supervise/lock: access denied supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: access denied supervise: fatal: unable to acquire log/supervise/lock: access denied and they repeat. What did I do wrong? Thanks for the help, Jennifer
Re: supervise: fatal:
Jennifer Tippens [EMAIL PROTECTED] wrote: I started qmail manually: /etc/rc.d/init.d/qmail start I checked my processes and I have 2 svscan and 4 supervise, 2 multilog, and 1 tcpserver, qmail-send, qmail-lspawn, qmail-rspawn, qmail-clean. You should only have one svscan. I get the messages: supervise: fatal: unable to acquire qmail-send/supervise/lock: access denied supervise: fatal: unable to acquire log/supervise/lock: access denied supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: access denied supervise: fatal: unable to acquire log/supervise/lock: access denied and they repeat. What did I do wrong? I don't know. I see that occasionally, too. Stop everything. Make sure all the processes are gone. Blow away log/supervise. Restart. Should be OK. -Dave
forwarding terminology?
We have been using the term "mail forwarding" with our customers in the same way that the USPS uses it: when your mail arrives at your mailbox, it is "redirected" to a remote location (via a "" entry in .qmail). However, we have been told by a somewhat educated customer that this process is really called "moving", not forwarding. "Forwarding", they say, means that a copy is saved locally (via a "./Maildir/" entry in .qmail) and a second copy is transmitted to the forwarding address. What is the correct terminology? How do most of you use the term "forwarding"? Thanks for your input! Dave NetCarrier
RE: forwarding terminology?
The terms "forwarding" and "redirecting" are different for a MUA, like Eudora, where Forward will, of course, save your original copy and FORWARD a copy of the message to another user. Redirect, in an MUA, as Adam has explained, will actually rewrite the headers and "pass the buck" on to someone else. The terms "forwarding" and "redirecting" are the same when dealing with an MTA. The words are interchangeable. Your "educated customer" is arguing semantics from the MUA standpoint (the e-mail client) and not the MTA standpoint (the e-mail server). I haven't checked the RFC's relating to e-mails, but I'll bet a nickle to a pickle that "moving" ain't in there. :P Enjoy, and have a Happy New Year! Dustin -Original Message- From: Dave Kitabjian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 29, 1999 12:15 PM To: [EMAIL PROTECTED] Subject: "forwarding" terminology? We have been using the term "mail forwarding" with our customers in the same way that the USPS uses it: when your mail arrives at your mailbox, it is "redirected" to a remote location (via a "" entry in .qmail). However, we have been told by a somewhat educated customer that this process is really called "moving", not forwarding. "Forwarding", they say, means that a copy is saved locally (via a "./Maildir/" entry in .qmail) and a second copy is transmitted to the forwarding address. What is the correct terminology? How do most of you use the term "forwarding"? Thanks for your input! Dave NetCarrier
Another forwarding type question...
-BEGIN PGP SIGNED MESSAGE- another mail "forwarding" question/issue: I have registered yelich.{com,net,org} and I want to use qmail to accept mail on one machine.. where you can set up a domain plus host such as "tommy.yelich.com" where I can then use a .qmail-default so that all mail to this host+domain gets forwarded... I also want to do "tammy.yelich.com," "scott.yelich.com" and others. Can qmail handle this easily? If so, how? Scott -BEGIN PGP SIGNATURE- Version: 2.6.2 iQCVAwUBOGpVmh4PLs9vCOqdAQGQ3QP/fD8F2xQDgxGV5fBN53OPWGFvsjBvAWn1 VM7oXU8C8WHllfIPoywJKN7Oz5ijwGJKZmQA+rdZuinhLRSVfg7/mPu29xZNY8UR x9yXkuRLNt6goCuEu4puwql1F9QUU/Qi1naHPpxXIjgMivslumfcn8ZvebSWAoiE eAxOoCFRGIc= =8Hgi -END PGP SIGNATURE-
logs and responses
Hi all. I'm running qmail over Solaris for about 250 virtual domains, my first question is: ¿how could I write the log in a file of my election? (i.e. /var/qmail/log/qmail_log ) The second question is: When a message for [EMAIL PROTECTED] arrives to my system, and [EMAIL PROTECTED] is a non-existent user on my existent domain domain.com, qmail puts it on [EMAIL PROTECTED] Maildir. ¿Someone can tell me if there are any script developed for sending an error response to sender? Thanks in advance.
RE: pickle forwarding terminology?
tandpoint (the e-mail server). I haven't checked the RFC's relating to e-mails, but I'll bet a nickle to a pickle that "moving" ain't in there. :P Enjoy, and have a Happy New Year! Dustin Bet a nickle(sp?) to a pickle? You aren't fr'm 'round these parts are ya Dustin? ;-) Adam
email names with dashes in them
We use email addresses with dashes in them for mailing lists to detect spam. We get these in our default catch all mailbox. This allows us an unlimited number of addresses for this purpose. Plus when we start getting spam on one we can start bouncing it. However, the mails are not getting delivered. They are getting bounced. For instance, mail to [EMAIL PROTECTED]: [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) I have a .qmail-dand and a .qmail-dand-default and a .qmail-default file in /var/qmail/alias. Any suggestions? Brian Moon -- dealnews LLC Makers of dealnews, dealmac, and dealchat http://dealnews.com/ | http://dealmac.com/ | http://dealchat.com/ --
Re: Another forwarding type question...
Scott, If you have a small number of host names (which I suspect you do), you can use virtualdomains to your advantage. Try something like this (only dealing with .com for now--assuming you have no users named "tammy" or "scott"): /var/qmail/control/virtualdomains tammy.yelich.com:tammy scott.yelich.com:scott ~alias/.qmail-tammy (symlink to) -- ~alias/.qmail-tammy-default = [EMAIL PROTECTED] ~alias/.qmail-scott (symlink to) -- ~alias/.qmail-scott-default = [EMAIL PROTECTED] Now, if you wish to make exceptions for [EMAIL PROTECTED], you can create the following file: ~alias/.qmail-scott-deadcat [EMAIL PROTECTED] If you don't understand what is going on with regard to the extensions, give the Life with Qmail page a thorough read, and you'll understand a bit better. You'll still need to set up rcpthosts to deal with only those hostnames (domain names) for which you wish to accept mail. Best of luck, -Martin -- Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED] On Wed, 29 Dec 1999, Scott D. Yelich wrote: :-BEGIN PGP SIGNED MESSAGE- : : :another mail "forwarding" question/issue: : : :I have registered yelich.{com,net,org} and I want to use qmail to accept :mail on one machine.. where you can set up a domain plus host such as :"tommy.yelich.com" where I can then use a .qmail-default so that all :mail to this host+domain gets forwarded... I also want to do :"tammy.yelich.com," "scott.yelich.com" and others. : :Can qmail handle this easily? If so, how? : :Scott : : : : :-BEGIN PGP SIGNATURE- :Version: 2.6.2 : :iQCVAwUBOGpVmh4PLs9vCOqdAQGQ3QP/fD8F2xQDgxGV5fBN53OPWGFvsjBvAWn1 :VM7oXU8C8WHllfIPoywJKN7Oz5ijwGJKZmQA+rdZuinhLRSVfg7/mPu29xZNY8UR :x9yXkuRLNt6goCuEu4puwql1F9QUU/Qi1naHPpxXIjgMivslumfcn8ZvebSWAoiE :eAxOoCFRGIc= :=8Hgi :-END PGP SIGNATURE- : :
RE: pickle forwarding terminology?
Oops. :) Nickel. :) I'm from another planet. Dustin -Original Message- From: Adam Roberts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 29, 1999 12:55 PM To: [EMAIL PROTECTED] Subject: RE: "pickle forwarding" terminology? tandpoint (the e-mail server). I haven't checked the RFC's relating to e-mails, but I'll bet a nickle to a pickle that "moving" ain't in there. :P Enjoy, and have a Happy New Year! Dustin Bet a nickle(sp?) to a pickle? You aren't fr'm 'round these parts are ya Dustin? ;-) Adam
Using logwatch to process cyclog logs
Has anybody successfully used logwatch to process cyclog logs? Chris -- Chris Garrigues virCIO http://www.DeepEddy.Com/~cwg/ http://www.virCIO.Com +1 512 432 4046 +1 512 374 0500 4314 Avenue C O- Austin, TX 78751-3709 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. PGP signature
Re: My problem already exist ! IMAP and Relay !
On Wed, Dec 29, 1999 at 03:28:34PM +0330, Seyyed Hamid Reza Hashemi Golpayegani wrote: Hi , I want some help about qmail services ! I have installed it on my Redhat 6.1 machine and work fine . So I have patched my qmail and checkpassword to work with users based on a mySQL table and authenticate via a mySQL table that users store on it . This patch can be find on http://www.qmail.org So my pop3d is authenticate perfectly via checkpassword becuase my chechpassword was patched to check via mySQL table . So how can I do that with an IMAP daemon ? Is there any IMAP daemon exist that can authenticate via mySQL table ? or is there any IMAP daemon exist that can authenticate via checkpassword like qmail-pop3d ? Have a look at Courier-IMAP. You can find it at http://www.inter7.com/courierimap/ . I am not sure that it can handle it, but acording to the docs it can use any authication module. Some hacking might be required. my second question is , is that any way that can limit my relaying like this : I am an ISP and I want that my users can't send the mails that are not from : [EMAIL PROTECTED] I mean that FROM should be in this form : [EMAIL PROTECTED] and not others ! So How can I limit their ? Well, yes you can acctuly hack qmail to make that - but really is it really that you want to do? Check out Life With Qmail (I guess you can find a link at qmail.org). If you do that, make sure that you make it in such way so you dont become a open relay.. Thank You so much Hamid Hashemi Morva.net Admin Tehran - Iran Best regards Michael Boman -- W I Z O F F I C E . C O M - Your Online Wizard 16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778 Ring : (65) 844 3228 [ext 118] Fax : (65) 842 7228 email : [EMAIL PROTECTED]URL : http://www.wizoffice.com
Re: big rcpthosts file
Frank Greven spake unto me and said: Should I only use rcptshosts or not? You should use morercpthosts, because Dan knows what he's doing. If it's a question of memory - because of what you called in-memory cdb - what is the needed size of RAM? I can't answer that; this is a case of 'profile, don't speculate.' If you're using just rcpthosts, and your performance is acceptable, then obviously you _can_ just keep doing what you're doing. Or maybe the whole diskussion is wasted time because either a small Linux Pentium system with 128 MB RAM and let's say 10,000 mails per day will never run into a performance leak? Could be (see above). However, total throughput isn't the only test of load. You should install qmailanalog, if you haven't already. Look at your average concurrency. If it is high, then you should _definitely_ use morercpthosts--and also use concurrencyremote to allow more concurrent deliveries. If your concurrency is very low, you probably don't have to change anything. HTH, Len.
dot-qmail with virtualdomains
I looked through the archives, and couldn't find a solution for this problem, although the question seems to have been raised before. Because of historical reasons, we have three domains connected to our company. Except for one or two users, a user in one domain is not a member of another domain. Because of economical reasons, I only have one mail server. Right now I have all the domains except for one, as virtualdomain. The problem is that with virtualdomains, I can't figure out how to use the dot-qmail feature. Anyone know how to give people in the virtualdomains this feature? Thanks, -- John__ email: [EMAIL PROTECTED] http://www.bayarea.net/~jfjellst/ work: [EMAIL PROTECTED] icq: thales @ 17755648
Re: dot-qmail with virtualdomains
"John L. Fjellstad" wrote: I looked through the archives, and couldn't find a solution for this problem, although the question seems to have been raised before. Because of historical reasons, we have three domains connected to our company. Except for one or two users, a user in one domain is not a member of another domain. Because of economical reasons, I only have one mail server. Right now I have all the domains except for one, as virtualdomain. The problem is that with virtualdomains, I can't figure out how to use the dot-qmail feature. Anyone know how to give people in the virtualdomains this feature? In the virtualdomains file you have something like: domain1.com:username1 domain2.com:username2 domain3.com:username3 Then you have the .qmail-whatever's in the three user's home directories. ~username1/.qmail (I believe you need this file for it to recognize .qmail's--it's just empty) ~username1/.qmail-whatever1 (in these files, you have user, or forwardemailaddress or whatever) ~username1/.qmail-whatever2 ~username2/.qmail ~username2/.qmail-whatever3 ~username2/.qmail-whatever4 etc. -- Joel Shellman The enSurge(TM) Network http://www.enSurge.com/ S/MIME Cryptographic Signature
Re: dot-qmail with virtualdomains
"John L. Fjellstad" wrote: I looked through the archives, and couldn't find a solution for this problem, although the question seems to have been raised before. Because of historical reasons, we have three domains connected to our company. Except for one or two users, a user in one domain is not a member of another domain. Because of economical reasons, I only have one mail server. Right now I have all the domains except for one, as virtualdomain. The problem is that with virtualdomains, I can't figure out how to use the dot-qmail feature. Anyone know how to give people in the virtualdomains this feature? In the virtualdomains file you have something like: domain1.com:username1 domain2.com:username2 domain3.com:username3 Then you have the .qmail-whatever's in the three user's home directories. ~username1/.qmail (I believe you need this file for it to recognize .qmail's--it's just empty) ~username1/.qmail-whatever1 (in these files, you have user, or forwardemailaddress or whatever) ~username1/.qmail-whatever2 ~username2/.qmail ~username2/.qmail-whatever3 ~username2/.qmail-whatever4 etc. -- Joel Shellman The enSurge(TM) Network http://www.enSurge.com/
performance and bounce questions
I'm new to qmail (infact, just evaluating it, not using it yet) and have some questions. I was searching the archives for qmail performance issues, and found a couple things I don't understand: 1. Somebody mentioned a Japanese website that has performance stats (http://www.kyoto.wide.ad.jp/mta/eval1/). That same writer mentioned that qmail did good on the comparisons, but honestly, I don't know what the graphs mean just looking at the axis values. Can anyone give me a description? I understand the values (DNS queries/answers,SMTP syn fin), but to me these would be stats I would expect for an OS or maybe machine. What does it mean as far as MTA.. the more DNS queries/time an MTA sends out the better? etc... 2. Is DSNs vs. VERPs something I should worry about? What I could gather from the thread is that some MTAs send back DSN-formatted bounces and others send VERP-formatted...is that right? Can qmail process both as easily? Will I have to write additional code to process DSNs? or is "a bounce is a bounce" to qmail no matter which format it comes in as?. Thanks in advance for any help on this. Marsha Petry [EMAIL PROTECTED]
stopping the inward executable E- mail attachments in Qmail
Hi Wish you all very happy milenium. I'm new person added to this list. How should I stop all the incoming executable Email attachments thru Qmail server. Thanx
Re: stopping the inward executable E- mail attachments in Qmail
I usually lurk, but this is wrong. The millennium change is not three days from now, but one year and three days from now. The same goes for the century change, also. Please tell everyone you know. On Thu, 30 Dec 1999, Arumugam Thiruppathi wrote: Hi Wish you all very happy milenium. I'm new person added to this list. How should I stop all the incoming executable Email attachments thru Qmail server. Thanx
Re: stopping the inward executable E- mail attachments in Qmail
On Thu, Dec 30, 1999 at 01:32:12AM -0500, Alex Rubenstein wrote: I usually lurk, but this is wrong. The millennium change is not three days from now, but one year and three days from now. The same goes for the century change, also. Please tell everyone you know. The worst part of this is that the word "millenium" has been hammered into our brains so much this year, that it's hard not to think of this year as the millenium, even though most of us know it's technically wrong. --Adam On Thu, 30 Dec 1999, Arumugam Thiruppathi wrote: Hi Wish you all very happy milenium. I'm new person added to this list. How should I stop all the incoming executable Email attachments thru Qmail server. Thanx