Suggestion...
This one may be in the works already.. but has there been any thought into adding folder capabilities? I have some users that owuld like to be able to create custom folders for mail sorting. Daniel Daley [EMAIL PROTECTED]
Building very large Qmail instalations...
I'm one of the admins of a largish Qmail installation (~60,000 mailboxes) and the hardware we're running it on it near the limit. (Sun Ultra 450, dual processor, A1000 storage array) The system is very IO bound, sometimes with a load average of 20-25. (although usually between 3-8) Now, we called Sun, asking about a high capacity disk solution, one that might help with the IO problems. (cache on the disk array to take care of all the fsyncs Qmail does) They told us that around 50k-60k mailboxes is about the limit of Qmail. Now, my question to all of you is how expandable is Qmail, and what's the best way to do it? We're looking to expand the system to 150,000-200,000 mailboxes. How does Qmail deal with a single storage array linked to multiple load balenced servers? Greg
Re: qmail-lspawn to qmail-local strangeness
On Wed, Jun 28, 2000 at 07:43:08AM +0200, clemensF wrote: Ben Giddings: (As an aside, qmail looks like a great, highly flexible program, but man the source needs work. Virtually no comments anywhere, meaningless variable and function names. Not a fun thing to search through when you're trying to figure something out.) i give stags a few seconds and then browse through the sources without problems. i think they are a delight to read! I agree, I am not even a programmer (unless you count bash) and I am generally able to easily read through the source and find the part I need. --Adam
Re: Suggestion...
Daniel, On Wed, Jun 28, 2000 at 01:43:45AM -0500, Snowcrash wrote: This one may be in the works already.. but has there been any thought into adding folder capabilities? I have some users that owuld like to be able to create custom folders for mail sorting. IMHO this is *not* something qmail should be able to do. It's more a MUA thing. Most MUA's i know support creating your own folders to save mail in. If you want to automate it you could use something like procmail. Daniel Daley [EMAIL PROTECTED] Greetz, Steffan -- http://therookie.dyndns.org
qmail-smtp and relaying
I have followed the relaying guide and have all working well, however I needed to start tcpserver with tcpserver -x/etc/tcp.smtp.cdb -u80 -g80 0 smtp /var/qmail/bin/qmail-smtpd Now, if I reboot will qmail-smtpd start with different options or will this now be the default? Kind regards Kevin
virtusertable
dear users, what is the equivalent of sendmail /etc/virtusertable in qmail to forward some mails virtually? thanks!
Re: virtusertable
On Wed, Jun 28, 2000 at 03:14:19PM +0800, Kimberly Vher wrote: dear users, what is the equivalent of sendmail /etc/virtusertable in qmail to forward some mails virtually? take a look at the fastforward package: http://cr.yp.to/fastforward.html And my examples of virtualdomain configurations: http://x42.com/qmail/cookbook/domains/ /magnus -- http://x42.com/
qmail loses my users
Hi all Hope you're having a better time than me. I'm using a qmail-cyrus implementation that works. I've set up qmail 1.03 from rpm and cyrus 1.6.20 also from rpm. I've followed the instructions for both cyrus and qmail, dug up a qmail_deliver_wrapper to shuttle mail from qmail to cyrus, and all works..almost. Periodically, and I haven't been able to narrow this down to any specific event, qmail overwrites my ~/users/assign file, and rebuilds the cdb. I also find a huge mail log 'cause qmail tries to deliver a copy of every message to a non-existent [EMAIL PROTECTED] Any ideas would really be appreciated. Regards Sean Craig
Re: Fwd: large batch mailings with qmail
Thomas Duterme wrote: A quick (well, perhaps vast) question about doing large batch mailings with qmail. I'm administering a qmail box currently and need to prepare to do mailings for our current user baseee (which has now grown to 300K) Actually, we are planning on doing weekly mailings based after filtering our database, so realistically, I may need to mail 50-60K users per shot. I have never administered this large of a mailing and my previous experience is simply limited to writing a python script for flat txt files of emails (at that time, they never exceeded 10,000) My qmail server sits on a DELL 4300, PIII, 512K box with a 10Mb/s dedicated connection. Because of my inexperience in these matters, I'm concerned on how to approach this task. How have other people done this? How much of a load can qmail take at a time when sending out batches? (ie. I'm worried about buffering and potential problems caused with long quenes) What's a good way to calculate the rate of spawning? (ie the time it will take the server to send out 100K messages) Also, what are the methods that most people use to actually do the mailouts? (ie. my python script)? Are there any good resources out there regarding batch mailing procedures? Any advice will be very appreciated. I'm doing the same thing - but on Sendmail at the mo! I've found the perl module Mail::Bulkmail - you give it a message, and a file of emails and it will inject it into the queue PDQ. As for tweaking qmail - I've only a few obviuos ideas - like increasing concurrency remote. I would be very interesting from other more experience list members on the advantage of using qmail and what needs to be done to tweak outbound mailing. Also is tweaking would be a factor of machine load, process type, memory and outbound bandwidth - has any any cluse on what a PIII 600 with 256 meg Ram and a U2W scsi drive will do ? Any ideas gratefully recieved. Greg Cope Thank you, Thomas Thomas Duterme - IT manager Madeforchina.com ___ Direct Line - (8610) 6417 2665 (ext) 224 Fax - (8610) 6415 1086 Business email: [EMAIL PROTECTED] Company URL: www.madeforchina.com Get a life at www.51go.com
blocking aliases
hello all, I have qmail server as my external server which receives my external mail and fwds it to my internal (in the local network) sendmail which distributes to the users who are in the private local network. i have setup some aliases in the internal server like [EMAIL PROTECTED] which when activated will send the mail to all the users. obviously i have not activated it till i find a way to disable all external mails to the aliased accounts. ie i do not want any one outside to mail to the aliased mails address. any help will be much appreciated. raj PS: if you mail to [EMAIL PROTECTED] now the mail will be accepted but it will go to the inbox of the user all which is not used.
qmail Digest 28 Jun 2000 10:00:00 -0000 Issue 1046
qmail Digest 28 Jun 2000 10:00:00 - Issue 1046 Topics (messages 43716 through 43801): tcpserver missing 43716 by: Fat Toolz imap 43717 by: Kimberly Vher 43762 by: Dave Sill qmail-ldap 43718 by: Nguyen Hong Son 43720 by: Fat Toolz 43784 by: Nguyen Hong Son 43788 by: Ricardo Cerqueira multilog 43719 by: Yuliy Minchev 43723 by: Steffan Hoeke an error compiling checkpassword-0.81 43721 by: yair linux Is identd required ? [ possibly off topic ] 43722 by: Greg Cope 43724 by: Rogue Eagle Qmail on HP 43725 by: Balaji Hare Ram Balaji 43728 by: Giles Lean Not an unfortunate confluence of interfaces 43726 by: Russell Nelson 43751 by: clemensF Very long mail queue help a newbie !!! 43727 by: Devinder 43745 by: Russell Nelson 43785 by: Marc-Adrian Napoli qmail-lspawn to qmail-local strangeness 43729 by: Ben Giddings 43763 by: Dave Sill 43790 by: clemensF 43791 by: Ben Giddings 43794 by: Adam McKenna SqWebMail 43730 by: Sylwester S. Biernacki ezmlm no creating mailing lists 43731 by: Kathleen Farber netscape 43732 by: steffen.ramyam.net 43734 by: steffen.ramyam.net parse msg-log 43733 by: Jonathan Fortin starting qmail w errors 43735 by: Fat Toolz 43736 by: Fat Toolz cyclog and multilog 43737 by: Clifford Thurber 43765 by: Dave Sill Planning an Install and need Help. 43738 by: Tony Campisi 43761 by: Dave Sill 43770 by: Tony Campisi 43775 by: Dave Sill bouncing unknown addresses 43739 by: Eric Long 43740 by: Bruno Wolff III 43741 by: Eric Long 43743 by: Bruno Wolff III 43744 by: Eric Long 43746 by: Hubbard, David mail relaying client 43742 by: John Steniger 43759 by: Dave Sill Perhaps one of the silliest questions 43747 by: Fat Toolz Re: Perhaps and even sillier silliest questions 43748 by: John van V. 43749 by: Fat Toolz Re: alert: cannot start: hath the daemon spawn no fire? 43750 by: Chris Garrigues Messages in Queue, but not sent 43752 by: Fat Toolz 43754 by: Dave Sill 43768 by: clemensF authentication with vchkpw 43753 by: Alexey Bolfaine 43781 by: Sylwester S. Biernacki vchkpw: No user found error 43755 by: Kathleen Farber 43756 by: Kathleen Farber 43780 by: Sylwester S. Biernacki vchkpw: No user found 43757 by: Kathleen Farber autoresponder problems 43758 by: Kathleen Farber Problems with my email address??? 43760 by: terius limit to RCPT TO 43764 by: Marcilio Jorgensen Cassella Re: Mail Server for ISP 43766 by: Dave Sill Re: Email logging 43767 by: Dave Sill Re: ? ? ? confused trying to use pop3d 43769 by: Dave Sill Problems with my email address and the list... 43771 by: terius 43772 by: Steffan Hoeke Re: End-user controllable fastforward style aliasing? 43773 by: Dave Sill defaulthost, but not defaulthost... 43774 by: Ben Beuchler 43776 by: Mark Mentovai ETRN and M$-exchange 43777 by: Alexander Jernejcic NetApp-like-device for $3000?? 43778 by: Andrew Richards Re: Return-Path header set by qmail? 43779 by: wolfgang zeikat [NEWBIE] user/assign case insensitivity 43782 by: Jeremy Stanley nmh and qmail 43783 by: Courtney Eckhardt sub domains 43786 by: kevin.oceania.net 43789 by: Magnus Bodin Re: large batch mailings with qmail 43787 by: Thomas Duterme 43800 by: Greg Cope Suggestion... 43792 by: Snowcrash 43795 by: Steffan Hoeke Building very large Qmail instalations... 43793 by: Greg Moeller qmail-smtp and relaying 43796 by: kevin.oceania.net virtusertable 43797 by: Kimberly Vher 43798 by: Magnus Bodin qmail loses my users 43799 by: Sean Craig blocking aliases 43801 by: RajKumar S. 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] -- I just tried to reinstall my complete qmail to get a better overview about how things get done. So I just took the rpms as described in europe.redhat.com/documentation/HOWTO/Qmail-VmailMgr-Courier-imap-HOWTO.php3 I'm using RH 6.2. After compiling the qmail-1.03+patches-14.src.rpm the installation gives a /var/tmp/rpm-tmp.11052: tcprules: command not found 'Bad exit status from /var/tmp/rpm-rmp.11052 (%install)' Can you please tell me where to find the
how to set up virtual domain with LDAP
i have compiled qmail 1.03 , with qmail-ldap latest patch , i am able to send and receive mails in to ~home/user/Maildir for my domain say "mydomain.com" now i want set it up for virtual domains say "virtualdomain.com" i have done "rcpthost" , "virtualdomains" and ".qmail part " to accept mails for virtual domain and FW it to other place , my problem is but how can i configure my qmail/Ldap directory server to accept mails for [EMAIL PROTECTED] [EMAIL PROTECTED] and put them in to their respective /Home/User/Maildir can this be possible by defining maildirstore in LDAP (directory server ) and instruct qmail to take delievery directory from Directory server or some thing like that is there any workaround for this problem is there any solution that will work with qmail-ldap because i am not using /etc/passwd thanks in advance Prashant desai
RE: blocking aliases
Hey Raj, how do you do the forwarding to the internal mail server? Do you have a virtualdomains entry set up for indsoft.co.in? If so, let's pretend that you have an entry like this: indsoft.co.in:username And then maybe in username's directory, you have a .qmail* of some type that handles the forwarding to the internal mail server. I think you could create a rule in your /.../qmail/users/assign file that says something like =username-all:blockall:uid:gid:directory::: where the 'blockall', uid, and gid, are an actual user account on your front-end computer. In blockall's directory, you put a .qmail .qmail-default that has your email address, [EMAIL PROTECTED] I think if you did that, the rule would catch any incoming [EMAIL PROTECTED] emails and forward them to you instead of to the internal mail server. Dave -Original Message- From: RajKumar S. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 5:22 AM To: [EMAIL PROTECTED] Subject: blocking aliases hello all, I have qmail server as my external server which receives my external mail and fwds it to my internal (in the local network) sendmail which distributes to the users who are in the private local network. i have setup some aliases in the internal server like [EMAIL PROTECTED] which when activated will send the mail to all the users. obviously i have not activated it till i find a way to disable all external mails to the aliased accounts. ie i do not want any one outside to mail to the aliased mails address. any help will be much appreciated. raj PS: if you mail to [EMAIL PROTECTED] now the mail will be accepted but it will go to the inbox of the user all which is not used.
RE: blocking aliases
On Wed, 28 Jun 2000, Hubbard, David wrote: dave how do you do the forwarding to the internal mail server? dave Do you have a virtualdomains entry set up for sorry for not including the detail before I do the forwading by smtproutes which says indsoft.co.in:[192.168.1.1] raj
Queue Problems
Hi Everyone, When I issue a /var/qmail/bin/qmail-qstat i get: messages in queue: 4 messages in queue but not yet preprocessed: 0 Straight after I issue a /var/qmail/bin/qmail-qread and get: nothing at all Also clients have been getting times out when trying to send mail... Any ideas? (the set up has been working fine for 3 months..) Regards Cedric --- Cedric Revest Britnet Ltd http://www.britnet.co.uk/ Direct Line: 0208 962 9542 Fax: 0208 964 8457
How to do a reverse DNS lookup in Qmail ?
Dear All, Sorry for this question, but whenever my server accepts an incomming connection, how do I set qmail to do a reverse dns lookup and reject the mail if the sender domian does not exist. Thanks Shashi Dahal.
Spamming - HELO linux.remotefirewalls.com.
Dear All In the past few days, One of my server is being flooded. The from and the to address is of my own domain so I cannot put that in badmailfrom. Looks like someone is trying to flood our servers by sending a lot of junk mails. As per the example below, the only thing that is common is HELO linux.remotefirewalls.com. How do I stop receiving mails via such domain. Writing to the postmaster there might take a long time and the servers might change. I am using qmail 1.03 and Redhat Linux 6.0. Thanks in Advance, Shashi Dahal - Received: (qmail 24885 invoked from network); 28 Jun 2000 07:05:16 - Received: from unknown (HELO linux.remotefirewalls.com) (207.105.53.78) by trishakti.wlink.com.np with SMTP; 28 Jun 2000 07:05:16 - Received: from gateway ([192.168.51.51]) by linux.remotefirewalls.com (8.9.3/8.9.3) with SMTP id JAA03175; Tue, 27 Jun 2000 09:51:26 -0700 Reply-To: [EMAIL PROTECTED] From: "BIT INFO COM" [EMAIL PROTECTED] To: "a" [EMAIL PROTECTED] Subject: Date: Wed, 28 Jun 2000 02:07:02 -0700 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: audio/mpeg; name="papa_the_great-aao_humse[1].mp3" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="papa_the_great-aao_humse[1].mp3" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 - -
Re: Spamming - HELO linux.remotefirewalls.com.
As per the example below, the only thing that is common is HELO linux.remotefirewalls.com. How do I stop receiving mails via such domain. Writing to the postmaster there might take a long time and the servers might change. I am using qmail 1.03 and Redhat Linux 6.0. How about blocking the sender's IP in /etc/tcpcontrol/smtp.rules (or where that is on your system) - just add a line 207.105.53.78:deny and they will not be allowed to speak to your server. Another possibility is locking them out with ipchains -A -s 207.105.53.78 --destination-port 25 -j DENY (assuming Linux) -Johan -- Johan Almqvist
Re: qmail loses my users
Sean Craig wrote: Hi all Hope you're having a better time than me. I'm using a qmail-cyrus implementation that works. I've set up qmail 1.03 from rpm and cyrus 1.6.20 also from rpm. I've followed the instructions for both cyrus and qmail, dug up a qmail_deliver_wrapper to shuttle mail from qmail to cyrus, and all works..almost. Periodically, and I haven't been able to narrow this down to any specific event, qmail overwrites my ~/users/assign file, and rebuilds the cdb. I also find a huge mail log 'cause qmail tries to deliver a copy of every message to a non-existent [EMAIL PROTECTED] Any ideas would really be appreciated. Again GOD damn those RPMs. Check your crontable. Bruce have you thinked about removing that crontab script from RPMs? It is causing more confusion than usefullness. -- Ondej Sur [EMAIL PROTECTED] Globe Internet s.r.o.http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Plnikova 1, 162 00 Praha 6 Mob: +420602667702 ICQ: 24944126 Mapa: http://globe.namape.cz/ NAJDI.TO http://najdi.to/Chief Administrator and Developer.
qmail-ldap file permissions
hello list can some one tell me what file permissions are required for 1 ~Home/Maildir 2Maildir 3 cur 4 new 5 tmp i have tried giving it 644 but its not working qmail is not able to deliever mail nor qmail-pop3d is able to retrive mails from users /Maildir/new when i made it 777 for /Maildir/* and 755 for Maildir its working fine but i cant make it 777 , so want to know what it should be and why its not working in my case i am using qmail 1-03 with qmail-ldap-2601-patch compiled on RedHat linux 6.1 please guide me regards Prashant Desai
Re: qmail loses my users - fixed
Hi Ondrej, everybody Thats the one, /etc/cron.hourly/qmail A nice idea if you have an open system where your users can log in, but kinda screws things up if you want to create a closed system. In my case, my cyrus users are authenticated from a mysql db. Maybe this file is worth a note in the RPM documentation. thanks again Sean Craig Ondrej Sury wrote: Sean Craig wrote: Hi all Hope you're having a better time than me. Periodically, and I haven't been able to narrow this down to any specific event, qmail overwrites my ~/users/assign file, and rebuilds the cdb. I also find a huge mail log 'cause qmail tries to deliver a copy of every message to a non-existent [EMAIL PROTECTED] Any ideas would really be appreciated. Again GOD damn those RPMs. Check your crontable. Bruce have you thinked about removing that crontab script from RPMs? It is causing more confusion than usefullness. -- Ondøej Surý [EMAIL PROTECTED] Globe Internet s.r.o.http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Plánièkova 1, 162 00 Praha 6 Mob: +420602667702 ICQ: 24944126 Mapa: http://globe.namape.cz/ NAJDI.TO http://najdi.to/Chief Administrator and Developer.
Re: How to do a reverse DNS lookup in Qmail ?
Hi, you can use the MFCHECK patch from QMAIL's home page or my SPAMCONTROL patch which includes it. http://www.fehcom.de/qmail_en.html cheers eh. At 16:43 28.6.2000 +0545, Shashi Dahal wrote: Dear All, Sorry for this question, but whenever my server accepts an incomming connection, how do I set qmail to do a reverse dns lookup and reject the mail if the sender domian does not exist. Thanks Shashi Dahal. +---+ | fffhh http://www.fehcom.deDr. Erwin Hoffmann | | ff hh| | ffeee ccc ooomm mm mm Wiener Weg 8 | | fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln| | ff ee eee hh hh cc oo oo mm mm mm| | ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 | | ff hh hhccc ooomm mm mm Fax 0221 484 4924 | +---+
Re: How to do a reverse DNS lookup in Qmail ?
Hy ! If you use tcpserver (ucspi package), simply add the -p parameter to tcpserver command line. This will force the "paranoid" mode and tcpserver will do a reverse DNS check. Regards, Chris.
Diff between Supervise Tcpserver?
Hi guys. This is probly a simple question but I can't find an obvious answer anywhere.As far as I can tell, there are three ways to run Qmail: Inetd (yuck), tcpserver (regular), and supervisor (??). I have set up a new master qmail server up with supervisor (just for testing sake) and it runs fine, but all my other qmail servers run tcpserver with no probs as well. Can anyone tell me what the difference is between simply running a qmail smtp daemon through tcpserver, and settingup all the weird supervisor stuff is? I have to document it in layman's terms for a client, and don't really know advantages/disadvantages of either. Thanks, BR
RE: Diff between Supervise Tcpserver?
Hi guys. This is probly a simple question but I can't find an obvious answer anywhere.As far as I can tell, there are three ways to run Qmail: Inetd (yuck), tcpserver (regular), and supervisor (??). Inetd and tcpserver are programs designed to accept traffic on a port and start a given program in response to that traffic. supervise is designed to start a program, restart it if it fails unexpectedly, and provide an easy way to pass signals to the program. So, you would use supervise to start tcpserver which starts qmail-smtpd, and if tcpserver died supervise would restart it for you. Given the reliability of qmail and related tools, I've always wondered why supervise came about ;. You can use it or not, as you prefer. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Re: Diff between Supervise Tcpserver?
Thanks for that... One other thing now. I want to use multilog to log on machines not running supervise, because we just want simple set up and I want to be able to parse the log files through either qmailanalog or qmail-mrtg (any recommendations here?). Is this easy to do? Thanks, BR -Original Message- From: Greg Owen [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, June 28, 2000 11:04 PM Subject: RE: Diff between Supervise Tcpserver? Hi guys. This is probly a simple question but I can't find an obvious answer anywhere.As far as I can tell, there are three ways to run Qmail: Inetd (yuck), tcpserver (regular), and supervisor (??). Inetd and tcpserver are programs designed to accept traffic on a port and start a given program in response to that traffic. supervise is designed to start a program, restart it if it fails unexpectedly, and provide an easy way to pass signals to the program. So, you would use supervise to start tcpserver which starts qmail-smtpd, and if tcpserver died supervise would restart it for you. Given the reliability of qmail and related tools, I've always wondered why supervise came about ;. You can use it or not, as you prefer. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
15.000 users!! howto ?
Hi, I am Mario Libraro and this is the first time i write on this mailing list.. I have to setup a mailserver with 15000 (or probably, in a next future up to 20.000) users. The info about user accounts are now in a MSAccess database but i can convert them in any plain text fashion. My questions are: - is it difficult to load 15000 user acconuts in qmail with a script (using the database or a text list)? This implies that i must load 15000 user accounts in the system (/etc/passwd) ? and... - is there a webmail module for qmail ? - is it possible for users to remotely change mail password and add mail aliases ? - is it possible for an administrator to remotely add/modify/remove accounts ? Thanks in advance..!! Mario Libraro
RE: Diff between Supervise Tcpserver?
One other thing now. I want to use multilog to log on machines not running supervise, because we just want simple set up and I want to be able to parse the log files through either qmailanalog or qmail-mrtg (any recommendations here?). Is this easy to do? Sure, just replace 'splogger' in your qmail-start invocation (/var/qmail/rc in the INSTALL directions) with the appropriate 'multilog' line. qmailanalog won't correctly handle the new timestamps that the newest multilog uses, but there are ways to work around that - I've attached two relevant messages. -- gowen -- Greg Owen -- [EMAIL PROTECTED] Ken Jones writes: Does anyone have a patch to qmailanalog to read the new multilog time format? There's two (2) patches to create a program which accepts multilog time format (tai64n) and rewrites it into fractional seconds (taifrac) format. They're listed on www.qmail.org. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M. Not using the patches from www.qmail.org, but this works for me Script to convert to a format qmailanalog likes #!/usr/bin/perl while () { if (my($s,$t,$rest)=/^\@.(\w{15})(\w{8})(.*)/) { $s = hex($s); $t = hex($t); $t =~ s/500$//; $_ = "$s.$t$rest\n"; } } continue { print; } exit 0; Script to process the logs and mail to me #!/bin/sh PATH=/usr/local/qmailanalog/bin:/var/qmail/bin:/bin:/usr/bin QMAILLOG="/tmp/q.$$" QMAILTMP="/tmp/r.$$" umask 077 cat /var/log/qmail/@* $QMAILTMP cat /var/log/qmail/current $QMAILTMP cat $QMAILTMP | tai64n2time | matchup $QMAILLOG 5/dev/null DATE=`date +'%a %d %b'` (echo "To: [EMAIL PROTECTED]" echo "From: [EMAIL PROTECTED]" echo "Subject: Qmail daily report $DATE" echo "" zoverall $QMAILLOG) | qmail-inject rm -f $QMAILLOG rm -f $QMAILTMP -Original Message- From: kbo [mailto:kbo]On Behalf Of Ken Jones Sent: Wednesday, June 07, 2000 3:29 PM To: [EMAIL PROTECTED] Subject: qmailanalog and multilog Does anyone have a patch to qmailanalog to read the new multilog time format? Ken Jones inter7
Re: 15.000 users!! howto ?
Hi you can checkout www.qmail.org for complete details on web module and everything on qmail regards, parag mehta On Wed, 28 Jun 2000, mario libraro wrote: Hi, I am Mario Libraro and this is the first time i write on this mailing list.. I have to setup a mailserver with 15000 (or probably, in a next future up to 20.000) users. The info about user accounts are now in a MSAccess database but i can convert them in any plain text fashion. My questions are: - is it difficult to load 15000 user acconuts in qmail with a script (using the database or a text list)? This implies that i must load 15000 user accounts in the system (/etc/passwd) ? and... - is there a webmail module for qmail ? - is it possible for users to remotely change mail password and add mail aliases ? - is it possible for an administrator to remotely add/modify/remove accounts ? Thanks in advance..!! Mario Libraro Parag Mehta[EMAIL PROTECTED] System Administrator. Puretech Internet Pvt. Ltd.http://puretech.co.in/ 77 Atlanta. Nariman Point. Mumbai - 400021. India.Tel: +91-22-2833158 Support is now available thru our Web Based Support System. http://support.puretech.co.in
RE: qmail loses my users
Periodically, and I haven't been able to narrow this down to any specific event, qmail overwrites my ~/users/assign file, and rebuilds the cdb. Checked all your cron entries? I also find a huge mail log 'cause qmail tries to deliver a copy of every message to a non-existent [EMAIL PROTECTED] http://web.infoave.net/~dsill/lwq.html#queue_extra will explain why it's trying to log a copy. If you find what alias it is using to log to ('log' in the example, 'msglog' for you, perhaps) you can drop those messages by creating /var/qmail/alias/.qmail-name (where name is 'log', 'msglog', or whatever your system was compiled to use) and putting a single '#' in the file. In the long term, if you don't want logging, you may want to recompile without QUEUE_EXTRA. The extra deliveries show up in the logs even if you drop the mail using '#' in the .qmail file. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Re: Spamming - HELO linux.remotefirewalls.com.
I think a procmail rule to filter this out would do the trick read the documentation on procmail I think you will have to set your defaults in /etc/procmailrc. It is all there in the manual page. On Wed, 28 Jun 2000, Shashi Dahal wrote: Date: Wed, 28 Jun 2000 16:35:57 +0545 From: Shashi Dahal [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Spamming - HELO linux.remotefirewalls.com. Dear All In the past few days, One of my server is being flooded. The from and the to address is of my own domain so I cannot put that in badmailfrom. Looks like someone is trying to flood our servers by sending a lot of junk mails. As per the example below, the only thing that is common is HELO linux.remotefirewalls.com. How do I stop receiving mails via such domain. Writing to the postmaster there might take a long time and the servers might change. I am using qmail 1.03 and Redhat Linux 6.0. Thanks in Advance, Shashi Dahal - Received: (qmail 24885 invoked from network); 28 Jun 2000 07:05:16 - Received: from unknown (HELO linux.remotefirewalls.com) (207.105.53.78) by trishakti.wlink.com.np with SMTP; 28 Jun 2000 07:05:16 - Received: from gateway ([192.168.51.51]) by linux.remotefirewalls.com (8.9.3/8.9.3) with SMTP id JAA03175; Tue, 27 Jun 2000 09:51:26 -0700 Reply-To: [EMAIL PROTECTED] From: "BIT INFO COM" [EMAIL PROTECTED] To: "a" [EMAIL PROTECTED] Subject: Date: Wed, 28 Jun 2000 02:07:02 -0700 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: audio/mpeg; name="papa_the_great-aao_humse[1].mp3" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="papa_the_great-aao_humse[1].mp3" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 - - "Partner Up ... and up your profits with register.com!" Visit http://register.com Partnering up is quick, easy and profitable through our co-brand and TPP programs. _ The ISP-TECH Discussion List _ To Join: mailto:[EMAIL PROTECTED] To Remove: mailto:[EMAIL PROTECTED] Archives: http://isp-lists.isp-planet.com/isp-tech/archives/ Sematimba Noah Network Administrator Uganda Online --- [EMAIL PROTECTED] P.O.Box 1254 Kampala
Re: selective relaying: two smtpd´s?
On Fri, Jun 23, 2000 at 04:47:44PM +0200, Thilo Bangert wrote: i absolutely need to allow my pop3 users relaying, for which i want to use relay-ctrl (is there a better solution out there). but that would mean the You don't need TWO smtp daemons. Thats why it's called *relay* control. Just RFTM relay-control-age.8 and put the following line in (standard setup as referenced in relay-control manuals assumed) the file /etc/tcpcontrol/smtp.rules (starting at char postition 0) :allow \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake Research Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: 15.000 users!! howto ?
also sprach mario.libraro: Hi, I am Mario Libraro and this is the first time i write on this mailing list.. I have to setup a mailserver with 15000 (or probably, in a next future up to 20.000) users. The info about user accounts are now in a MSAccess database but i can convert them in any plain text fashion. Shouldn't be too much of a problem. My questions are: - is it difficult to load 15000 user acconuts in qmail with a script (using the database or a text list)? This implies that i must load 15000 user accounts in the system (/etc/passwd) ? No, you can use qmail with a single system UID/GID. There is a link off the qmail.org home page describing how to do so. Alternatively, you can use one of the packages (vpopmail at www.inter7.com/vpopmail/, vmailmgr at www.vmailmgr.org) to automate and simplify a lot of this process. - is there a webmail module for qmail ? Tons. Any webmail program that does POP/IMAP is a candidate; just install a POP/IMAP server for qmail. Also, sqwebmail, oMail, and (I believe) Neomail (others?) read Maildir/ straight from the filesystem. Search freshmeat.net for those webmail programs. - is it possible for users to remotely change mail password and add mail aliases ? With vpopmail, you'd use qmailadmin. Or sqwebmail supports the password change as well. - is it possible for an administrator to remotely add/modify/remove accounts qmailadmin here as well, if you're using vpopmail. Otherwise, there is a Webmin (www.webmin.com/webmin/) module for qmail out there. Haven't used it, can't say how well it works... In a nutshell, visit, bookmark, memorize these URLs and you'll be fine: www.qmail.org Web.InfoAve.Net/~dsill/lwq.html Good luck! /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "How should I know if it works? That's what beta testers are for. I only coded it." (Attributed to Linus Torvalds, somewhere in a posting)
two questions
Hello, I was wondering if someone could tell me how to have multilog automatically write standard Unix timestamps to its logfiles instead of the tai64n format. I know that tai64nlocal will do the conversions but do you know what the syntax in the run file would need to be changed to. Currently I have : #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail The second questions is the 0 after the gid and before the smtpd keyword in the following start script for. I know smtp specifies the port but after looking at the man page I still can't figure out what the 0 is for. Anyways thanks. #!/bin/sh QMAILDUID=`-u qmaild` NOFILESGID=`-g qmaild` exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Clifford Thurber Web Systems Administrator LiveUniverse.com [EMAIL PROTECTED] 565 5th Ave. 29th Fl. New York, NY 10017 Ph:212 883 6940 (131) Fax:212 856 9134
Re: Building very large Qmail instalations...
Greg Moeller [EMAIL PROTECTED] wrote: I'm one of the admins of a largish Qmail installation (~60,000 mailboxes) and the hardware we're running it on it near the limit. (Sun Ultra 450, dual processor, A1000 storage array) The system is very IO bound, sometimes with a load average of 20-25. (although usually between 3-8) Now, we called Sun, asking about a high capacity disk solution, one that might help with the IO problems. (cache on the disk array to take care of all the fsyncs Qmail does) They told us that around 50k-60k mailboxes is about the limit of Qmail. Now, my question to all of you is how expandable is Qmail, and what's the best way to do it? We're looking to expand the system to 150,000-200,000 mailboxes. Their answer was predictable - at least they have to try and sell their SIMS. I don't know about qmail - but as we have used a Sun U2 (two cpus) with 100,000 mailboxes for a short period of time with sendmail, qmail should easily handle much more. The problem - in this case - is Suns filesystem and qmails file operations. You didn't mention the number of disks in your A1000 - but maybe you should add some and spread the load between them. My suggestion, though, would be to dump the E450 and grab a reasonable sized Intel box (maybe dual PII 500) with FreeBSD on it. With FreeBSD, ffs and softupdates your i/o headaches should be gone. By Töns -- Linux. The dot in /.
sorry, no mailbox by that name
hi, today i got my webserver connected to the internet. of course, there were some things to do. but the most worst thing i am struggling with is the following: i am running qmail together with qmail-pop3d. now, the following problem occurs today: i can send emails from console to any of my friends and there is no problem sending emails from console to one of my virtual domains like i.e. [EMAIL PROTECTED] that works all perfectly. BUT, sending an email to i.e. [EMAIL PROTECTED] from another host somewhere on the net always fails with "sorry, no mailbox by that name". i am trying to fix this since 6 hours now, but i am really confused now and a little bit tired of reading all the docs. somebody here who solved this ? -- regards, jens --- department computer science, university of dortmund linux ... life's too short for reboots!
Re: two questions
On Wed, Jun 28, 2000 at 10:07:46AM -0400, Clifford Thurber wrote: I was wondering if someone could tell me how to have multilog automatically write standard Unix timestamps to its logfiles instead of the tai64n Well, multilog won't do that for you. What you *could* do is pipe your log information through something to prepend your desired timestamp and pipe the output of that into multilog. You would then leave out the 't' in the multilog invocation to stop multilog adding its own timestamps. The second questions is the 0 after the gid and before the smtpd keyword in the following start script for. I know smtp specifies the port but after looking at the man page I still can't figure out what the 0 is for. Anyways The second paragraph of DESCRIPTION describes the 'host' argument. Regards, james -- James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375 "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
solved! (Re: sorry, no mailbox by that name)
hi, i fixed the problem right now ! it was a dns and not qmail problem. mydomain.com was always resolved to www.mydomain.com and of course qmail didn't know what to with email for [EMAIL PROTECTED] because it was configured for mydomain.com in control/virtualdomains only :-). this problem was caused by the fact that i am using my provider's dns until my one works perfectly and my isp used a slightly different zone- file. grrr much of wasted time today i am trying to fix this since 6 hours now, but i am really confused now and a little bit tired of reading all the docs. somebody here who solved this ? -- regards, jens --- department computer science, university of dortmund linux ... life's too short for reboots!
Multilog: fatal: the final answer (hopefully)
Back in March someone asked about the multilog: fatal: unable to open directory /var/log/qmail: access denied problem. Dave asked that person to Post the output of: ls -ld /var/log/qmail /var/log /var / cat /var/qmail/supervise/qmail-send/log/run but I searched the archive and didn't see their reply. Since I am getting the same problem, I will do as Dave suggests. [root@* /var/log/qmail]# ls -ld /var/log/qmail /var/log /var / drwxr-xr-x 19 root root 1024 Jun 21 16:05 / drwxr-xr-x 18 root root 1024 May 31 14:33 /var drwxr-xr-x 7 root root 1024 Jun 25 04:02 /var/log drwxrwxr-x 6 qmaill qmail1024 May 31 14:37 /var/log/qmail - [root@* /var/log/qmail]# cat /var/qmail/supervise/qmail-send/log/run #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail - BTW - I am also getting the 'multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access denied' error. [root@* /var/log/qmail]# dir drwxrwxr-x 2 879 root 1024 May 31 11:29 qmail-pop3d drwxrwxr-x 2 879 root 1024 Jun 26 10:31 qmail-send drwxrwxr-x 2 qmaill qmail1024 Jun 26 10:16 qmail-smtpd drwxrwxr-x 2 qmaill nofiles 1024 Jun 1 11:22 smtpd -- I'll gladly give any more info if needed. Thanks again, tony.campisi
Re: Suggestion...
On Wed, Jun 28, 2000 at 08:49:51AM +0200, Steffan Hoeke wrote: Daniel, On Wed, Jun 28, 2000 at 01:43:45AM -0500, Snowcrash wrote: This one may be in the works already.. but has there been any thought into adding folder capabilities? I have some users that owuld like to be able to create custom folders for mail sorting. IMHO this is *not* something qmail should be able to do. It's more a MUA thing. Most MUA's i know support creating your own folders to save mail in. If you want to automate it you could use something like procmail. So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? It's the only thing I need to know before I switch to qmail, as I have a very nice and wellfunctioning .procmailrc. Daniel Daley [EMAIL PROTECTED] Greetz, Steffan -- http://therookie.dyndns.org -- Morten Liebach [EMAIL PROTECTED] ; http://home1.stofanet.dk/liebach "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men (Martin Luther King, Jr.)"
Re: Suggestion...
So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? AFAIK (someone correct me if I am wrong), procmail does not support Maildir. BR
Qmail performance issue...
We are currently using qmail 1.03 on a Sun E450 running Solaris 8. We are having a problem with mail taking a very long time to be delivered locally (sometimes in excess of 6 or 8 hours). The load on the box isn't that bad at all, it just seems that qmail isn't sending out the mail in a timely fashion. We installed the big todo patch for qmail, but that didn't seem to help much. Does anyone know of any other parameters that need to be tuned in qmail? Here is the output from qmail-showctl: qmail home directory: /disk8/var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 105, 106, 107, 0, 108, 109, 110, 111. group ids: 36, 35. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is milo.cfw.com. concurrencylocal: Local concurrency is 90. concurrencyremote: Remote concurrency is 30. databytes: SMTP DATA limit is 800 bytes. defaultdomain: Default domain name is cfw.com. defaulthost: Default host name is cfw.com. doublebouncehost: (Default.) 2B recipient host: milo.cfw.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is milo.cfw.com. helohost: SMTP client HELO host name is mail.cfw.com. idhost: Message-ID host name is mail.cfw.com. localiphost: Local IP address becomes mail.cfw.com. locals: Messages for **REMOVED** are delivered locally. me: My name is milo.cfw.com. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is cfw.com. qmqpservers: (Default.) No QMQP servers. queuelifetime: Message lifetime in the queue is 345600 seconds. rcpthosts: SMTP clients may send messages to recipients at **REMOVED** morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: SMTP greeting: 220 mail.cfw.com. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: SMTP server data timeout is 300 seconds.
Question to domains
Hallo all, I want specified users to get or send only mails from a specified domain, called "a". The users are system users with a valid mail box. The prob here is, that theoretically the users can tell their mail client another domain which is hosted on my server, let it call "b". What do I have to do so the users can only get or send mails from domain "a"? Thanks for your help. Thomas
Re: Suggestion...
On Thu, Jun 29, 2000 at 02:12:16AM +1000, Brett Randall wrote: So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? AFAIK (someone correct me if I am wrong), procmail does not support Maildir. Well, stand corrected :- Newest procmail supports Maildir. Get it at www.procmail.org (or from redhat or wherever you want...) -Johan -- Johan Almqvist
Functionality questions
I'm new to qmail, and I'm considering using it as a replacement for Exchange at several clients. Is there a shared address book component, similar to the Global Address List in Exchange? Is there a webmail interface that anyone particularly likes? Has anyone implemented one of the My-SQL components? I like the idea of using a database rather than dealing with bloated mail files. Thanks! Mike
Re: Suggestion...
On 28-Jun-2000, Morten Liebach wrote: So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? procmail has "native" maildir support since 3.14. It's the only thing I need to know before I switch to qmail, as I have a very nice and wellfunctioning .procmailrc. The only changes you need to make in your procmailrc is to remove locking (not necessary anymore) and add a trailing slash at the end of each maildir name (to indicate that it's a maildir procmail is delivering to), e.g. :0: * ^delivered-to: mailing list qmail@list\.cr\.yp\.to qmail becomes :0 * ^delivered-to: mailing list qmail@list\.cr\.yp\.to qmail/ Hope that helps, Ronny
Re: Suggestion...
Brett Randall wrote: AFAIK (someone correct me if I am wrong), procmail does not support Maildir. It does, as of version 3.14. Mark -- Do not reply directly to this e-mail address -- Mark Mentovai UNIX Engineer Gillette Global Network
Re: Suggestion...
On Thu, Jun 29, 2000 at 02:12:16AM +1000, Brett Randall wrote: So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? AFAIK (someone correct me if I am wrong), procmail does not support Maildir. There are patches for procmail to make use of Maildirs; I've been using procmail for a couple of years at this point. Just look on http://www.qmail.org/ for 'procmail'. There are pointers for 'maildrop' as well, which I have not explored yet... BR -- Brian 'you Bastard' Reichert[EMAIL PROTECTED] 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path
Re: Multilog: fatal: the final answer (hopefully)
On Wed, Jun 28, 2000 at 10:55:26AM -0500, Tony Campisi wrote: Back in March someone asked about the multilog: fatal: unable to open directory /var/log/qmail: access denied problem. Dave asked that person to Post the output of: ls -ld /var/log/qmail /var/log /var / cat /var/qmail/supervise/qmail-send/log/run but I searched the archive and didn't see their reply. Since I am getting the same problem, I will do as Dave suggests. I'm afraid you didn't look well enough, or the archive is broken ;-) I posted the results of the command as well and provided my own 'solution' "Ok, the /var/log/qmail permissions weren't the problem /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)" HTH, Steffan [root@* /var/log/qmail]# ls -ld /var/log/qmail /var/log /var / drwxr-xr-x 19 root root 1024 Jun 21 16:05 / drwxr-xr-x 18 root root 1024 May 31 14:33 /var drwxr-xr-x 7 root root 1024 Jun 25 04:02 /var/log drwxrwxr-x 6 qmaill qmail1024 May 31 14:37 /var/log/qmail - [root@* /var/log/qmail]# cat /var/qmail/supervise/qmail-send/log/run #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail - BTW - I am also getting the 'multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access denied' error. [root@* /var/log/qmail]# dir drwxrwxr-x 2 879 root 1024 May 31 11:29 qmail-pop3d drwxrwxr-x 2 879 root 1024 Jun 26 10:31 qmail-send drwxrwxr-x 2 qmaill qmail1024 Jun 26 10:16 qmail-smtpd drwxrwxr-x 2 qmaill nofiles 1024 Jun 1 11:22 smtpd -- I'll gladly give any more info if needed. Thanks again, tony.campisi -- http://therookie.dyndns.org
how to unsubscribe from this list?
RE: Building very large Qmail instalations...
Could you, or anyone else who would care to join this discussion, please be more specific re: "Suns filesystems and qmails file operations"? We are load balancing a pair of Sun E250's sharing one disk array via NFS. All Maildirs are on the NFS share. So far (roughly 10,000 mailboxes) I don't notice any real problems. But I would be very interested in more detail regarding these two issues (Sun filesystems and qmail file operations) in case I do begin to notice I/O issues on the NFS server. Can you give a detailed explanation or perhaps point me to some appropriate docs for more detail? Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Toens Bueker Sent: Wednesday, June 28, 2000 7:32 AM To: [EMAIL PROTECTED] Subject: Re: Building very large Qmail instalations... Importance: High The problem - in this case - is Suns filesystem and qmails file operations. You didn't mention the number of disks in your A1000 - but maybe you should add some and spread the load between them. My suggestion, though, would be to dump the E450 and grab a reasonable sized Intel box (maybe dual PII 500) with FreeBSD on it. With FreeBSD, ffs and softupdates your i/o headaches should be gone. By Töns -- Linux. The dot in /.
fastforward, redirection and truncating messages
Hi, We've got an internal machine here inside our firewall that we check our email on. We've also got 2 external machines handling email for our customers at the domains mydomain.net (a linux machine running sendmail) and mydomain.org (a linux machine running qmail). Employess have their mail forwarded to our internal machine, web0.mydomain.net. What we'd like to do is to be able to send mail to each other at our @mydomain.net/.org addresses and have them try to deliver locally first, on our internal machine, then deliver to the other machines if the user isn't found internally first. This is what I set up to do this (defaultdomain,me and plusdomain were set up by a previous sysadmin): me web0.mydomain.net defaultdomain mydomain.net locals localhost web0 web0.mydomain.net web0.mydomain.org mydomain.net mydomain.org plusdomain mydomain.net rcpthosts localhost web0 web0.mydomain.net web0.mydomain.org locals localhost web0 web0.mydomain.net web0.mydomain.org mydomain.net mydomain.org plusdomain mydomain.net rcpthosts localhost web0 web0.mydomain.net web0.mydomain.org .qmail-default |fastforward -Npd /etc/aliases.cdb |forward "$[EMAIL PROTECTED]" eve.mydomain.net accepts mail and then forwards on to grace.mydomain.org if a user isn't found there. What is happening now is that mail is delivered locally, but if the mail has to be delivered to eve first, the message arrives with NO message body. I am lost as to why this would happen. Does anyone have any suggestions for me? Does it matter if the .qmail-default file has the commands on separate lines? Should I add mydomain.net and mydomain.org to the rcpthosts file? Does it make a difference if the machine email is being redirected to is running sendmail? Qmail is new to me so any advice is very much appreciated. TIA -- -- Lisa Phillips Speakeasy Network - End forwarded message - -- -- Lisa Phillips Speakeasy Network
Re: Suggestion...
On Wed, Jun 28, 2000 at 11:15:44AM -0500, Ronny Haryanto wrote: On 28-Jun-2000, Morten Liebach wrote: So ... how does procmail handle maildir then? Or doesn't procmail care about that at all? procmail has "native" maildir support since 3.14. It's the only thing I need to know before I switch to qmail, as I have a very nice and wellfunctioning .procmailrc. The only changes you need to make in your procmailrc is to remove locking (not necessary anymore) and add a trailing slash at the end of each maildir name (to indicate that it's a maildir procmail is delivering to), e.g. :0: * ^delivered-to: mailing list qmail@list\.cr\.yp\.to qmail becomes :0 * ^delivered-to: mailing list qmail@list\.cr\.yp\.to qmail/ Hope that helps, Ronny Cool, just what I needed to know, I just have to upgrade procmail then! Thanks a lot! Morten -- Morten Liebach [EMAIL PROTECTED] ; http://home1.stofanet.dk/liebach "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men (Martin Luther King, Jr.)"
urgent help require to :newbie qmail-ldap file permissions (fwd)
hello list can some one tell me what file permissions are required for 1 ~Home/Maildir 2Maildir 3 cur 4 new 5 tmp i have tried giving it 644 but its not working qmail is not able to deliever mail nor qmail-pop3d is able to retrive mails from users /Maildir/new when i made it 777 for /Maildir/* and 755 for Maildir its working fine but i cant make it 777 , so want to know what it should be and why its not working in my case i am using qmail 1-03 with qmail-ldap-2601-patch compiled on RedHat linux 6.1 please guide me regards Prashant Desai
RE: Qmail performance issue...
We are currently using qmail 1.03 on a Sun E450 running Solaris 8. We are having a problem with mail taking a very long time to be delivered locally (sometimes in excess of 6 or 8 hours). Check your trigger: http://web.infoave.net/~dsill/lwq.html#trigger -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Re: 15.000 users!! howto ?
Hi Mario, On Wed, Jun 28, 2000 at 03:22:34PM +0200, mario libraro wrote: I am Mario Libraro and this is the first time i write on this mailing list.. welcome to u :) - is it difficult to load 15000 user acconuts in qmail with a script (using the database or a text list)? This probably not. are these all users of a same domain, or are there multiple domains ? implies that i must load 15000 user accounts in the system (/etc/passwd) ? for so many users, I would use the vmailmgr package of Bruce G. : http://www.vmailmgr.org/ You can then easily create a script which call the vaddusers command (http://www.vmailmgr.org/docs/vaddusers.html). Otherwise, there are other solutions : look at www.qmail.org. - is there a webmail module for qmail ? you can try http://webmail.omnis.ch/omail.pl?action=about - is it possible for users to remotely change mail password and add mail aliases ? with very few lines of php, no problem. - is it possible for an administrator to remotely add/modify/remove accounts yes Good luck! Olivier PS: if you have questions specific to vmailmgr (add-on for qmail), there is a good mailing list for that. More info on the webpage. -- _ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland PGP signature
Re: urgent help require to :newbie qmail-ldap file permissions (fwd)
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: can some one tell me what file permissions are required for 1 ~Home/Maildir 2Maildir 3 cur 4 new 5 tmp If you want only the owner/user to be able to use it, make the Maildir and its subdirectories mode 0700. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
RE: Diff between Supervise Tcpserver?
Greg Owen [EMAIL PROTECTED] wrote: Given the reliability of qmail and related tools, I've always wondered why supervise came about ;. You can use it or not, as you prefer. Because "reliability means never having to say you're sorry" (DJB). The key word there is "never". If you don't want or need reliability, by all means, skip supervise. Of course, you'll also be giving up the handy process control features provided by the "svc" interface. See the "qmail" script from "Life with qmail", for example. -Dave
Re: Qmail performance issue...
Brian Masney [EMAIL PROTECTED] wrote: We are currently using qmail 1.03 on a Sun E450 running Solaris 8. We are having a problem with mail taking a very long time to be delivered locally (sometimes in excess of 6 or 8 hours). The load on the box isn't that bad at all, it just seems that qmail isn't sending out the mail in a timely fashion. We installed the big todo patch for qmail, but that didn't seem to help much. Does anyone know of any other parameters that need to be tuned in qmail? The severity of your problem indicates that it requires more than tuning. What does "qmail-qstat" report? Do you constantly have a large backlog? How many qmail-local processes are running, typically? Is qmail-send logging anything unusual? At what rate are messages being delivered to local users? What does vmstat and iostat output look like? I.e., do you see signs of memory starvation or I/O bottlenecks? -Dave
Limit Traffic
Hi list, How i can limit the traffic of my mail server for connections out of my LAN? I'm thinking to put 2 network boards on the machine and use shaper in one of them, so i set MX to a board and pop3.xxx.com and smtp.xxx.com to other board (not shaped), that's ok, but i can't make a routing table to this. Look the scheme: - At Linux: 10.0.0.2 - eth0 10.0.0.3 - eth1 (shaped at 512k) At DNS: xxx.com IN MX 10.0.0.3 pop3.xxx.com IN A 10.0.0.2 smtp.xxx.com IN A 10.0.0.2 --- Any Ideias? Tkz, Jorge Rocha -- Node 1 Internet http://www.node1.com.br Tel.: (11) 5092-6020 Fax.: (11) 5092-6033
Re: Suggestion...
Brett: Apparently procmail 3.15pre supports maildir. It even has a sample script... Eric Wolven
ppp and relay newbie question
Hi qmailers I am running qmail 1.03 for our local users, and it connects to the internet by a ppp link , using serialmail to send and fetchmail to download mail, and it works fine. Now I'm trying to deliver all local mail to other host without any luck. I removed all entries from "locals" and add one in smtproutes wich points our domain to the new host "Mydomain.com:192.168.1.100" What happend is that all outgoing mail goes fine to the pppdir ( my virtualdomains file says ":alias-ppp", and from there to my ISP, but when I try to send something to my domain, it also goes to the pppdir, it never reaches the smtproute, and if I include our domain in "locals" it reach the users in the actual host, never the new one. May be this should be simple, but I feel blind at this time. Any help will be welcome. Thanks. Eduardo Moor
Re: How to do a reverse DNS lookup in Qmail ?
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): If you use tcpserver (ucspi package), simply add the -p parameter to tcpserver command line. This will force the "paranoid" mode and tcpserver will do a reverse DNS check. This will force tcpserver to make sure the A and PTR records are a match. tcpserver does reverse lookups by default -- the -h and -H switches control this. In addition, setting -p only tells tcpserver to set a particular environment variable if the connection is deemed "paranoid." You need another switch to actually get it to reject the connection outright. This wasn't what he was asking about. He wants to reject connections, if I understand his english properly, that come from IP addresses that don't resolve to a name (reverse dns lookup). I think that's a bad idea. You didn't quote or attribute the message to which you were replying. Tisk -- this is a mailing list, after all. I'd be able to show better that you answered without understanding exactly what he meant. Aaron
Re: Multilog: fatal: the final answer (hopefully)
Steffan Hoeke: "Ok, the /var/log/qmail permissions weren't the problem /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)" why that? clemens
how do I resync two machines after MX confusion ?
First of all, this is a really stupid situation we should never have run into in the first place ; however : Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there. What I need to do now, and I am discovering qmail, is a way to get all the mail from the distant server to be sent to our machine with a minimum of fuss and if possible transparent to the users (just being late, extra headers don't hurt as long as they are of the kind lusers see by default in their mailer). I have started plunging into the really dense documentation of qmail and read some interesting contributions in the archive of this list, compiled maildircmd and taken a look at its doc as well. While I feel that there must be a simple solution short of writing a brute-force-and-ignorance-script with a complete list of maildirs to be processed, I lack the experience to figure this out on my own. Thanks in advance to the list for some pointers to intelligent solutions for my stupid problem. -- Best Regards André Morin
Re: how do I resync two machines after MX confusion ?
On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote: Unfortunately, the second option is what I have to face. Then unless you have a way of definitively identifying which emails to extract from whathever local delivery method each user employs, then you have no perfect solution. If the user has control of the delivery/forwarding in any way, they may not be retreivable at all. If there was some user mail on the clone prior to the MX mixup, then you'll need a way to separate them. If you are lucky and the only delivey method is Maildir and the only emails on that system are ones that can be redirected, then you can probably qmail-inject them back into your clone system with an smtproutes entry. You may need to grep out certain Delivered-to: headers to avoid hitting the anti-loop code of qmail. If you are not so lucky, then it'll be painful and thankless and probably imperfect and there is no one solution. Regards. It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: First of all, this is a really stupid situation we should never have run into in the first place ; however : Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there.
Re: how do I resync two machines after MX confusion ?
Unfortunately, the second option is what I have to face. On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote: Date: Wed, 28 Jun 2000 17:00:11 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how do I resync two machines after MX confusion ? It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: First of all, this is a really stupid situation we should never have run into in the first place ; however : Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there.
Re: how do I resync two machines after MX confusion ?
On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote: Date: Wed, 28 Jun 2000 17:11:02 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how do I resync two machines after MX confusion ? On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote: Unfortunately, the second option is what I have to face. Then unless you have a way of definitively identifying which emails to extract from whathever local delivery method each user employs, then you have no perfect solution. If the user has control of the delivery/forwarding in any way, they may not be retreivable at all. If there was some user mail on the clone prior to the MX mixup, Yes there was. then you'll need a way to separate them. If you are lucky and the only delivey method is Maildir and the only emails on that system are ones that can be redirected, then you can probably qmail-inject them back into your clone system with an smtproutes entry. You may need to grep out certain Delivered-to: headers to avoid hitting the anti-loop code of qmail. Nearly all use simple maildir delivery. How would I do this ? Write a script to grep out the last Delivered-to: header ? Use some qmail-program to do that ? What would be the right way to do the qmail-inject then ? Will I need to create a smtproute-file in spite of the fact that the correct MX is now known to the DNS-servers used by the clone to resolve names ? If you are not so lucky, then it'll be painful and thankless and probably imperfect and there is no one solution. I am really a comple newbie to qmail, while I am discovering the doc, I am quite amazed about its nifty design. The other option for me would be some ugly script doing some rsync-alike things to the maildirectories of the users. Thank You for your responsiveness, even if you confirm what I felt : I'm in trouble... Regards. It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there.
Re: how do I resync two machines after MX confusion ?
If it was delivered to maildirs, would a simple tar / FTP /untar solution work ?? assuming ofcourse that both machines have the same maildir setup ? At 02:38 AM 6/29/00 +0200, you wrote: On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote: Date: Wed, 28 Jun 2000 17:11:02 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how do I resync two machines after MX confusion ? On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote: Unfortunately, the second option is what I have to face. Then unless you have a way of definitively identifying which emails to extract from whathever local delivery method each user employs, then you have no perfect solution. If the user has control of the delivery/forwarding in any way, they may not be retreivable at all. If there was some user mail on the clone prior to the MX mixup, Yes there was. then you'll need a way to separate them. If you are lucky and the only delivey method is Maildir and the only emails on that system are ones that can be redirected, then you can probably qmail-inject them back into your clone system with an smtproutes entry. You may need to grep out certain Delivered-to: headers to avoid hitting the anti-loop code of qmail. Nearly all use simple maildir delivery. How would I do this ? Write a script to grep out the last Delivered-to: header ? Use some qmail-program to do that ? What would be the right way to do the qmail-inject then ? Will I need to create a smtproute-file in spite of the fact that the correct MX is now known to the DNS-servers used by the clone to resolve names ? If you are not so lucky, then it'll be painful and thankless and probably imperfect and there is no one solution. I am really a comple newbie to qmail, while I am discovering the doc, I am quite amazed about its nifty design. The other option for me would be some ugly script doing some rsync-alike things to the maildirectories of the users. Thank You for your responsiveness, even if you confirm what I felt : I'm in trouble... Regards. It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there.
Re: how do I resync two machines after MX confusion ?
File and directory ownership could give some headaches... If you have good bandwidth between the machines, I again recomend maildirsmtp. Armando From: Andre Morin [EMAIL PROTECTED] I do not see any specific qmail-precautions to take while I untar the stuff, am I right ? smime.p7s
Re: how do I resync two machines after MX confusion ?
I'd copy all the messages from all the users to the ~alias Maildir, and then use djb's serialmail (the maildirsmtp util, to be exact) to blast'em to the original machine. After checking, delete the messages. This shouldn't work with mailboxes, tough. Armando -Original Message- From: Andre Morin [EMAIL PROTECTED] How would I do this ? Write a script to grep out the last Delivered-to: header ? Use some qmail-program to do that ? smime.p7s
Re: how do I resync two machines after MX confusion ?
On Wed, 28 Jun 2000, Darcy Buskermolen wrote: Date: Wed, 28 Jun 2000 17:50:43 -0700 From: Darcy Buskermolen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how do I resync two machines after MX confusion ? If it was delivered to maildirs, would a simple tar / FTP /untar solution work ?? assuming ofcourse that both machines have the same maildir setup ? They do indeed have the same setup. I was looking into such a brute force approach as well. It will certainly do the trick, but I hoped to end up with a more elegant (qmail) solution. But it looks like I will have to do just what you suggest. I do not see any specific qmail-precautions to take while I untar the stuff, am I right ? Thank you anyway to both of you, who answered my questions so quickly, for confirming me that I did not overlook some really cheap trick. At 02:38 AM 6/29/00 +0200, you wrote: On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote: Date: Wed, 28 Jun 2000 17:11:02 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: how do I resync two machines after MX confusion ? On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote: Unfortunately, the second option is what I have to face. Then unless you have a way of definitively identifying which emails to extract from whathever local delivery method each user employs, then you have no perfect solution. If the user has control of the delivery/forwarding in any way, they may not be retreivable at all. If there was some user mail on the clone prior to the MX mixup, Yes there was. then you'll need a way to separate them. If you are lucky and the only delivey method is Maildir and the only emails on that system are ones that can be redirected, then you can probably qmail-inject them back into your clone system with an smtproutes entry. You may need to grep out certain Delivered-to: headers to avoid hitting the anti-loop code of qmail. Nearly all use simple maildir delivery. How would I do this ? Write a script to grep out the last Delivered-to: header ? Use some qmail-program to do that ? What would be the right way to do the qmail-inject then ? Will I need to create a smtproute-file in spite of the fact that the correct MX is now known to the DNS-servers used by the clone to resolve names ? If you are not so lucky, then it'll be painful and thankless and probably imperfect and there is no one solution. I am really a comple newbie to qmail, while I am discovering the doc, I am quite amazed about its nifty design. The other option for me would be some ugly script doing some rsync-alike things to the maildirectories of the users. Thank You for your responsiveness, even if you confirm what I felt : I'm in trouble... Regards. It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there.
Re: limit to RCPT TO
On Wed, Jun 28, 2000 at 05:53:15PM -0700, Jason Ingham wrote: There is purportedly a patch for this but the link on the qmail website is stale. (The site exists but the file isn't there anymore.) Search for "limits the number of RCPT TO: commands" on: http://www.qmail.org/top.html I'm in need of this myself, does anyone have it lying around? I don't have it anywhere I can reach it now, but I've posted a port of the maxrcpt patch from 1.02 to 1.03 (i suppose that's the one you're talking about). Search this mlist's archives. RC Thanks! ~Jason Marcilio Jorgensen Cassella wrote: Hi, How do i limit number of RCPT TO in my SMTP server ? Thanks, Marcilio Jorgensen [EMAIL PROTECTED] AlterNex S/A Brazil -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Re: how do I resync two machines after MX confusion ?
It depends on where the mail is on this clone server. Is it in the mail queue or has it been locally delivered to users there? The former is much easier to deal with than the latter. Regards. On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote: First of all, this is a really stupid situation we should never have run into in the first place ; however : Due to some not so interesting reasons, for a couple of days our DNS has pointed to another machine with our cloned qmail-configuration on another IP in another town. I have complete root access to that machine. Now everything is back as before, but while this machine was MX for quite a bunch of virtual domains we host, the mail arrived there. What I need to do now, and I am discovering qmail, is a way to get all the mail from the distant server to be sent to our machine with a minimum of fuss and if possible transparent to the users (just being late, extra headers don't hurt as long as they are of the kind lusers see by default in their mailer). I have started plunging into the really dense documentation of qmail and read some interesting contributions in the archive of this list, compiled maildircmd and taken a look at its doc as well. While I feel that there must be a simple solution short of writing a brute-force-and-ignorance-script with a complete list of maildirs to be processed, I lack the experience to figure this out on my own. Thanks in advance to the list for some pointers to intelligent solutions for my stupid problem. -- Best Regards André Morin
Re: limit to RCPT TO
There is purportedly a patch for this but the link on the qmail website is stale. (The site exists but the file isn't there anymore.) Search for "limits the number of RCPT TO: commands" on: http://www.qmail.org/top.html I'm in need of this myself, does anyone have it lying around? Thanks! ~Jason Marcilio Jorgensen Cassella wrote: Hi, How do i limit number of RCPT TO in my SMTP server ? Thanks, Marcilio Jorgensen [EMAIL PROTECTED] AlterNex S/A Brazil
filehandle
does qmail support the filehandle in linux?
ucspi-tcp and daemontools licenses?
I've looked at the web pages for both tools and in the archives themselves, but I can't find anything having to do with licensing issues for these two programs. I know they're not GNU, but I was wondering about distribution for them. I've made Mandrake RPMs for them would like to know if I can distribute them. The only changes I've made are to place the binaries in /usr/bin instead of /usr/local/bin. Can I distribute binaries this way? No patches or anything else have been applied to them. Or do I have to put them into /usr/local/bin in order to distribute them? Thank you in advance. If you can point me to a page describing the license for either program as well, I would sincerely appreciate it (as I think the license should be included in the RPMs also). -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721 Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org Current Linux uptime: 3 days 4 hrs and 16 mins.
Re: Building very large Qmail instalations...
Greg Moeller writes: Now, we called Sun, asking about a high capacity disk solution, one that might help with the IO problems. (cache on the disk array to take care of all the fsyncs Qmail does) They told us that around 50k-60k mailboxes is about the limit of Qmail. They have no clue. I've designed multiple sites with close to a milllion mailboxes running on Sun hardware (well, okay, one of them is just starting up, but it's designed for five million mailboxes). Now, my question to all of you is how expandable is Qmail, and what's the best way to do it? Just the way you're doing it: single mailstore with multiple front-ends. We're looking to expand the system to 150,000-200,000 mailboxes. How does Qmail deal with a single storage array linked to multiple load balenced servers? Very well. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Is Unix compatible with Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | Linux?
qmail_smtpd and tcpserver
Hi all I used qmail-smtpd, qmail-pop3d with tcpserver, but i don't understand why tcpserver too slow, here my tcpserver commands _ tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c20 -u $QMAILUID -g $QNOFILEGID 0 smtp /var/qmail/bin/qmail-smtpd 21 _ tcpserver -v -H -R -b30 -c10 0 pop3 /var/qmail/bin/qmail-popup mydomain /var/qmail/auth_pop /var/qmail/bin/qmail-pop3d Maildir 21 I am using qmail-ldap Thanks for every feedback Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
RE: Building very large Qmail instalations...
Title: RE: Building very large Qmail instalations... I am also tackling the same problem. My idea is to have a line of frontend servers load-balanced at network level and other line of servers solely taking care of storage. The mail servers would access the storage via NFS on a private network. My current problem is to pick the right techology: NAS like NetApp or SAN like SGI's CXFS. Gustav Gustav Yeung Senior Systems Manager renren.com Holdings Ltd. Email: [EMAIL PROTECTED] Joy is not in Things, It is in us. Richard Wagner (1813-1883) -Original Message- From: Greg Moeller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 3:49 PM To: [EMAIL PROTECTED] Subject: Building very large Qmail instalations... I'm one of the admins of a largish Qmail installation (~60,000 mailboxes) and the hardware we're running it on it near the limit. (Sun Ultra 450, dual processor, A1000 storage array) The system is very IO bound, sometimes with a load average of 20-25. (although usually between 3-8) Now, we called Sun, asking about a high capacity disk solution, one that might help with the IO problems. (cache on the disk array to take care of all the fsyncs Qmail does) They told us that around 50k-60k mailboxes is about the limit of Qmail. Now, my question to all of you is how expandable is Qmail, and what's the best way to do it? We're looking to expand the system to 150,000-200,000 mailboxes. How does Qmail deal with a single storage array linked to multiple load balenced servers? Greg
manpages for ucspi-tcp
Before I make some unecessary work for myself, I was wondering two things: Are there manpages for ucspi-tcp 0.88 somewhere? None are in the package. Also, is there a html2man program or something I can use to make this easier? -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net Freezer Burn BBS: telnet://bbs.freezer-burn.org . ICQ: 54924721 Webmaster for the Linux Portal Site Freezer Burn: http://www.freezer-burn.org Current Linux uptime: 3 days 4 hrs and 58 mins.
Re: Building very large Qmail instalations...
Well...I have a little 2c to chuck in as well I have just finished designing a system (and implementing it) for our corporation that allows distributed e-mail across a city, with hundreds, possibly thousands, of different locations either dialing up or being permanently connected to our main relay. And all e-mail is sent to [EMAIL PROTECTED], no subdomains (although we have set it up to allow for virtual domains in the future), and is delivered to the correct location. All the e-mail is relayed to NFS shares on client machines around Sydney, uing Qmail's maildir delivery format. If an NFS share is down (ie a site hasn't dialed up recently or an ISDN link has failed), then it is deferred for up to a week - simplistic but it works. All users can check their e-mail internally from their local server or externally from the main server (only internet viewable machine in the entire network, and even then through a router) via NIS. Why go to all this trouble? You may say. Why not just use aliases? Because aliases can create excess traffic, bouncing e-mails when servers are down and the like. The aim of this project was to make network traffic across the whole network as small as possible, with reliability for as many locations as possible and the ability for smaller ones to only have to dial in (similar to UUCP). This way, the only network traffic is an e-mail being transferred to an NFS share, and all employees are happy. If a server goes down, no others are affected (except if the master server was to go down, but even then POP and SMTP will still work, just being deferred until it comes up again). We are also working on a redundant server for when a link goes down or the server has a failure. If you're still reading, congratulations you might be interested in all this. I am considering writing a HOWTO for this (Reliable and Efficient Distributed e-mail (REDE) across endless locations) if anybody wants it, because I have to document it all anyway for the corporation. There might already be something already out there, I dunno. But it was a great learning experience for me in Qmail, NFS, NIS, network infrastructure between locations... If anybody is interested in a HOWTO in the future, please e-mail me personally. Regards Brett Randall
Re: ucspi-tcp and daemontools licenses?
on 6/28/00 9:17 PM, Vincent Danen at [EMAIL PROTECTED] wrote: I've looked at the web pages for both tools and in the archives themselves, but I can't find anything having to do with licensing issues for these two programs. I know they're not GNU, but I was wondering about distribution for them. I've made Mandrake RPMs for them would like to know if I can distribute them. The only changes I've made are to place the binaries in /usr/bin instead of /usr/local/bin. Can I distribute binaries this way? No patches or anything else have been applied to them. Or do I have to put them into /usr/local/bin in order to distribute them? Thank you in advance. If you can point me to a page describing the license for either program as well, I would sincerely appreciate it (as I think the license should be included in the RPMs also). A quick peek on the list archive came up with no definative answer. The only page that might help you out is: ftp://koobera.math.uic.edu/www/lists.html#qmaildist which tells you how to subscribe to a list which is for distributors of qmail-related packages. I'd have to assume that ucspi-tcp and daemontools are somewhat qmail related. Pat