Why messages not in maildir of users???
I use qmail with serialmail and fetchmail. I conect to my ISP with dial up.All messages for out are stored in "/var/qmail/alias/pppdir/" and that is OK.All mesages witch I receive (with fetchmail) are in "/var/qmail/qlias/pppdir/" too. And that is problem. Why this mesages not in maildir of my users??? Howqmail can dislocate this messages in maildir of my usersI use vpopmail.
Re: pop3 / tcpserver problems
Photocon: avail. Can someone tell me what to do about a "tcpserver: fatal: unable to figure out port number for pop-3" error on a redhat 6.2 system? add pop3110/tcp#Post Office Protocol - Version 3 pop3110/udp#Post Office Protocol - Version 3 pop-3 110/tcp#Post Office Protocol - Version 3 for qmail :) pop-3 110/udp#Post Office Protocol - Version 3 for qmail :) to /etc/services, if they are not there. clemens
Re: Why not inetd?
Peter van Dijk: Research shows that FreeBSD 4.0's inetd actually doesn't have these misfeatures anymore - it has a concurrency limit (yes, really!) and a max-connections-per-minute-per-remote-IP. starting with at most 2.8.8, it has. freebsd 2.8.8 is my religion. clemens
Re: pop3 / tcpserver problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7 Jun 00, at 8:53, clemensF wrote: add pop3 110/udp#Post Office Protocol - Version 3 pop-3 110/udp#Post Office Protocol - Version 3 for qmail :) Ouch! Since when can pop3 run over udp? 110/tcp lines are just enough. -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOT3kN1MwP8g7qbw/EQI2/wCfadnyU8i2sldvMx7HA5yrna58MVwAn0qr PK4Tu0nD4A9DIqmG2+OijrEz =Xy+3 -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]
Re: thousands of qmail-queue processes hanging...
bjv: What has started to happen today is that receiving mail is slow, between the '.' and 'ok' from qmail (got that from telnet to port 25). Even slower is its sending, which is about a message every 5 or 10 seconds. The other noticable problem is that there are thousands of qmail-queue processes running concurrently in the process table. Most of the processes are did you concurrency-limit outgoing/incoming connections via control/concurrency{remote,local} and tcpserver -c and -b or the appropriate inetd.conf settings? did you check: z0:57:55:600:/queue/lock/:sendmutex: z1024:56:55:644:/queue/lock/:tcpto: p:57:55:622:/queue/lock/:trigger: which is, ls-itarary speaking, or ls-wise, or simply wise: (ls -l /var/qmail/queue/lock/) total 1 -rw--- 1 qmails qmail 0 May 13 13:59 sendmutex -rw-r--r-- 1 qmailr qmail 1024 Jun 7 04:16 tcpto prw--w--w- 1 qmails qmail 0 Jun 7 08:53 trigger qmail depends on these. clemens
server load problem
Hi, I am running redhat linux6.1, qmail. My server conf are as follows: Intel PIII 550 MHz, 1 GB RAM, 48GB SCSI HDD We are using a web based software developed by our company for proving web based email service. Now there are about 24000 users on our server. It is giving problems: 1: server gets hanged up. 2: CPU utilization id very high 3: RAM is being used too much. I need a help to do memory management as well as to configure qmail for very heavy loads. Thank you kapil -- Kapil Sharma DSF Internet Services Pvt. Ltd. [EMAIL PROTECTED] http://www.dsfinternet.com
Multiple domains
Hello. I've configured in my machine a few domains: example.com test.com What can I do if I want to have 2 different e-mail address: [EMAIL PROTECTED] [EMAIL PROTECTED] I have the user "me", but those two different e-mail addresses goes to the same user, is there a way to make them go to different users? As the alias files don't make any difference (as far as I know) for users between domains... Thanks.
Re: Multiple domains
hi, At 10:35 07.06.00 +0200, Andrés wrote: I've configured in my machine a few domains: example.com test.com What can I do if I want to have 2 different e-mail address: [EMAIL PROTECTED] [EMAIL PROTECTED] I have the user "me", but those two different e-mail addresses goes to the same user, is there a way to make them go to different users? you need virtual domains - you need vpopmail (www.inter7.com) ;-) -- MfG Michael Hufnagl Netzwerktechnik *** * ecore Kommunikations AG * http://www.ecore.net *
Re: Relaying to different hosts
Chris Johnson wrote: I can use the .qmail files to forward e-mail to another address, but how do you relay a messages onto another server without changing the envelope. I don't think you'll be able to. You can use smtproutes to override DNS and send a whole domain's mail somewhere else without changing the envelope, but I don't know of a way to do it with different addresses in the same domain. Why do you care if the envelope is changed? What you propose is trivial with .qmail files if you use forwarding, but the envelope recipient will change. Chris OK. Even if the envelope isn't changed I can't find a solution to this problem using .qmail files. If anyone can shed any light on this, it would be appreciated. Joolsie
Re: Does someone knows what is this about?
"Petr Novotny" [EMAIL PROTECTED] writes: On 5 Jun 00, at 19:12, Peter van Dijk wrote: The only correct choice is 1. If your customer has an open relay, block them on your own smarthost until they fix their problem. Oh thanks. In other words, you're giving me the following possibilities: 1. Get used to being listed in ORBS. 2. Losing customers by denying them service (something that noone else does, at least around here). Actually, if there's spam coming through a customer's server, we require that they take steps to stop it - whether they are using our mailserver as a smarthost or not. And if they refuse to take action, we *will* cut their service. In fact, we have gone so far as to block all port 25 traffic to a non-responsive customer. That got their attention fairly quickly... And we still get listed by ORBS at times, and I simply couldn't care less. I have seen nothing to disprove that they list sites out of spite, and that they do not follow their own stated guidelines on their web page. Now, if I were listed by RBL or RSS - *that* would make me worry. We've got a clause in our AUP stating that customers may not "engage in behaviour that is detrimental to our systems, other customers, or the Internet as a whole". Anyone running an open relay after being warned that spammers are using it definitely falls foul of that clause. -- "I live in the heart of the machine. We are one."
qmail Digest 7 Jun 2000 10:00:00 -0000 Issue 1025
qmail Digest 7 Jun 2000 10:00:00 - Issue 1025 Topics (messages 42761 through 42823): Re: Does someone knows what is this about? 42761 by: Petr Novotny 42774 by: OK 2 NET - André Paulsberg 42776 by: Bruno Wolff III 42781 by: Mate Wierdl 42786 by: Aaron L. Meehan 42796 by: Peter van Dijk 42823 by: Jenny Holmberg Re: Qmail problems - mail won't send 42762 by: slvrchair.monmouth.com Help on smtp and rcpthosts !! 42763 by: Xionghui Chen 42764 by: Vince Vielhaber 42766 by: Len Budney 42813 by: clemensF Re: Why not inetd? 42765 by: Peter van Dijk 42785 by: John Gonzalez/netMDC admin 42801 by: clemensF 42803 by: John Gonzalez/netMDC admin 42816 by: clemensF Web Tool for qmail 42767 by: Nguyen Hong Son 42768 by: Uelinton Braulio dos Santos 42769 by: Olivier M. PROBLEM with messages 42770 by: Sinisa Malesevic Help Please! 42771 by: yavuz 42784 by: net admin qmail + filter + autorespond 42772 by: Gologan, Andrei 42773 by: Russell P. Sutherland Re: programming with vpopmail - add account from web 42775 by: "Próspero, Esteban" 42777 by: kingram 42778 by: Bruno Negrão List all users 42779 by: Ari Arantes Filho 42791 by: David L. Nicol Opinions on filtering 42780 by: Derek Watson 42792 by: Derek Watson 42812 by: clemensF Virtual domains problems 42782 by: Patricio Escobar Pineda Re: Can it be done? 42783 by: Guillermo Villasana Cardoza rejecting emails 42787 by: Jens Georg 42799 by: Greg Hinton 42802 by: clemensF Re: tcpserver: unable to bind 42788 by: clemensF Relaying to different hosts 42789 by: Jules Desforges 42790 by: Chris Johnson 42822 by: Jules Desforges Checkpoppasswd 42793 by: Michael Hornby Setting default domain for outgoing mail on a per user basis 42794 by: scarrera.Telenisus.com "Get Me Off This List!" Dissenting Opinion 42795 by: Kai MacTane thousands of qmail-queue processes hanging... 42797 by: bjv 42818 by: clemensF pop3 / tcpserver problems 42798 by: Photocon 42800 by: Ben Beuchler 42815 by: clemensF 42817 by: Petr Novotny Suggestion for mailing list manager? 42804 by: John R Levine 42805 by: Murat Guven Mural 42806 by: Ben Beuchler 42807 by: Peter Green 42808 by: Russ Allbery Re: DRAFT RFD - comp.mail.qmail - Comments Sought (Was: qmail advocacy questions) 42809 by: Darren Wyn Rees 42811 by: Brad Johnson Anybody got the RPM for Qmail, pease send me eom 42810 by: Tushar.Shah.snstech.com Why messages not in maildir of users??? 42814 by: Sinisa Malesevic server load problem 42819 by: kapil sharma Multiple domains 42820 by: Andrés 42821 by: Michael Hufnagl 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] -- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 Jun 00, at 11:56, OK 2 NET - Andr Paulsberg wrote: This seems like a weak excuse, all your interfaces should have matching RDNS to their main A records and it's sufficient to set this up once! Who shall fill in control/locals, should the reverse (outside my control) change? I still fail to see "domain must be any RDNS for your computer you can think of". If your mailservers hostname is mail.antek.cz then mail.antek.cz is also an domain, then [EMAIL PROTECTED] is an required RFC 822 postmaster address. Yes; but the machine has also an interface antek.vol.cz (outside my control). This interface is never shown in DNS as MX, but still it's an _outgoing_ interface for world-bound mail. Should I have this interface in control/locals? Not at all - anyone using it is just doing that by mistake. There are surely more ways to get mail to these admins / postmasters, but telnet to port 25 and manually dropping a "rcpt to: postmaster" is far to much to ask from a normal person trying to contact a postmaster. ORBS tester (notifier) is far from being "normal person". After all, a normal person wouldn't know how to set up and run such a service. Or doesn't ORBS know either? They postmaster described in RFC822 is for all user, not ORBS only. ORBS only have the IP address of the mailserver, as per RFC822 postmaster@RDNS/IP should be enough. Perhaps this shows the beef some people have with ORBS. "Four legs goos, two legs bad." It would be trivial for you to change the way you notify the postmaster. It would actually
Re: Suggestion for mailing list manager?
* GNU Mailman: looks superswell, but I'd rather not have to learn python WHAT'S WRONG WITH LEARNING PYTHON yeah! i hate it, too! clemens
Re: Suggestion for mailing list manager?
Russ Allbery: WHAT'S WRONG WITH LEARNING PYTHON It's annoying? :) and dots-in-names dont make oo! clemens
dot-qmail extensions ...
Dear all, I have been trawling through all the docs I can find trying to find the answer to the question: When I am using dot-qmail extension files to process mail through a script, is there any way to view the output produced by the scripts when they process an e-mail? I desperately need to find the answer to this question so I can complete an upgrade for a system which has recently come into my care. Appreciatively, M __ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com
Re: dot-qmail extensions ...
mwangu wrote: Dear all, I have been trawling through all the docs I can find trying to find the answer to the question: When I am using dot-qmail extension files to process mail through a script, is there any way to view the output produced by the scripts when they process an e-mail? I desperately need to find the answer to this question so I can complete an upgrade for a system which has recently come into my care. Appreciatively, .qmail-anything |program tmp/qmail-anything.log 21 is not sufficient? -- 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/ Involvement with people is always a very delicate thing -- it requires real maturity to become involved and not get all messed up. -- Bernard Cooke
Re: thousands of qmail-queue processes hanging...
Hi, I had the same problem - it is Solaris 7 - it has a OS bug that keeps the qmail-smtpd and qmail-queue processes hanging around indefinatly - (well almost ) and this eats up memory and slows everything down - A major pain :)) TO FIX - you cannot just upgrade to solaris 8 - you need to re-install from scratch - I have tried the recommended patches and it does not work - I have tried the upgrade and still does not work. Trust me - from scratch is the only way - major pain - :))) If you have more questions - please mail me - I have experience with solaris and qmail 9limited I must admit - but some none the less). Regards Tonino bjv wrote: Hello all, I am running qmail1.03 on SunOS5.7 single processor, single disk machine. This is an incoming qmail box that processes around 75,000 messages a day. It does no local delivery, it simply relays all mail to a certain host with a line like the following in smtproutes: :host.domain What has started to happen today is that receiving mail is slow, between the '.' and 'ok' from qmail (got that from telnet to port 25). Even slower is its sending, which is about a message every 5 or 10 seconds. The other noticable problem is that there are thousands of qmail-queue processes running concurrently in the process table. Most of the processes are fairly recent (started within the last couple of minutes), but some are several hours old. Here is a sample of ps -ef: qmailq 20471 1 0 15:51:29 ?0:00 bin/qmail-queue qmailq 19623 1 0 15:51:10 ?0:00 bin/qmail-queue qmailq 20899 1 0 15:51:40 ?0:00 bin/qmail-queue qmailq 21515 1 0 15:51:54 ?0:00 bin/qmail-queue qmailq 17269 1 0 15:50:17 ?0:00 bin/qmail-queue qmailq 19408 19385 0 15:51:06 ?0:00 bin/qmail-queue There a thousands of these processes, and as you can see, some of them have init as a parent, and some have an actual qmail-smtpd. The queue is growing on this incoming mail server because it is sending mail so infrequently/slowly. Can somebody please give me some advice on where to start. Oh, iostat looks like this: extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 0.0 0.00.00.0 0.0 0.00.00.0 0 0 c0t0d0s0 0.0 0.20.01.3 0.0 0.10.0 311.2 0 5 c0t0d0s1 0.0 0.00.00.0 0.0 0.00.00.0 0 0 c0t0d0s2 0.0 0.00.00.0 0.0 0.00.00.0 0 0 c0t0d0s3 1.3 209.8 12.5 1281.9 0.0 6.30.0 29.6 0 99 c0t0d0s4 0.0 0.00.00.0 0.0 0.00.00.0 0 0 c0t0d0s6 0.0 0.10.00.4 0.0 0.10.0 628.6 0 5 c0t0d0s7 0.0 0.00.00.0 0.0 0.00.00.0 0 0 cobalt:vold(pid207) s4 is mounted as /var/qmail. Obviously pretty busy 99%! I think this 99% busy is a result of these qmail-queue porcess, however I am hesitant to believe that this problem is as simple as the disk is maxing out and thus the hanging qmail-queue porcesses. Especially because this box has been able to handle the load thus far, and I do not detect any new extremely large influx of mail. I would be tremendously grateful for any advice tackling this problem. Brandon
Re: pop3 / tcpserver problems
Petr Novotny: pop3110/udp#Post Office Protocol - Version 3 pop-3 110/udp#Post Office Protocol - Version 3 for qmail :) Ouch! Since when can pop3 run over udp? 110/tcp lines are just enough. about as ouch than all the other entries. iana used to allocate numbers for udp and tcp, stop, ende, no discussion. please don't blame me, i was so tiny back then... clemens
Re: tcpserver: unable to bind
What should I verify??? I've also removed sendmail with "rpm --nodep -e sendmail". Thank you again, Luca clemensF wrote: Luca Zancan: "tcpserver: fatal error: unable to bind: port already in use", or usually it's one too many. at least two servers in the field. clemens -- __ Luca Zancan Logica S.r.l. e-mail [EMAIL PROTECTED] URL http://www.logicaonline.com __
Re: Does someone knows what is this about?
Peter van Dijk writes: ORBS does not list a machine until it has received a relayed test message. Then why does Alan suggest that qmail is an open relay by default simply because its smtp server accepts more mail than it will deliver? Why would he care? -- -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.
another set of q's
Hello all, Now that I have restored some order to my qmail system with the SIGHUP command (again THANKs to all who helped on that one...) I would like to know if it is possible to recover/deliver all the messages that are sitting in the bounced directory. Is there anyway of retrieving who tried to send to whom so I could do some sort of nice forwarded of those bounced emails to their intended recipients? also, in what directory will i find this mail-log file for the error messages that have accumulated - i'm sure that there are many during that 2 day period... finally, is anyone familiar with this error message -BTW is there a listing of all qmail error messages and their causes somewhere? Failed to deliver to '[EMAIL PROTECTED]' SMTP module(domain tap.co.il) reports: DNS Loop: MX-record mail.brainlink.com points back to us thanks to all! judy -- Judy Simon = J-Town Productionsm, LTD Jerusalem, Israel
Re: dot-qmail extensions ...
mwangu writes: When I am using dot-qmail extension files to process mail through a script, is there any way to view the output produced by the scripts when they process an e-mail? Anything sent by a program delivery to stdout or stderr ends up in the log file. -- -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.
Script Required
Hi can anyone mailme the script to be injected for blocking iloveyou virus ? i need it very urgently. 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: Setting default domain for outgoing mail on a per user basis
[EMAIL PROTECTED] writes: I am running qmail on a Linux box with a default domain of "default.com" and a virtual domain of "virtual.com". I have set up the users in "control/virtualhosts" and they receive mail correctly for the virtual domain. My question is, when a user that exists on the virtual domain "virtual.com" and they ssh into my box, is there a way for qmail to tag the outgoing email for that user to say it came from "virtual.com" and not the default domain "default.com"? Basically this is a question of outgoing email originating from the box itself, because I know this is configurable in a POP3/IMAP client. I don't want to use a .pinerc or .muttrc file if I don't have to. Any help would be greatly appreciated. You might be able to set environment variables to convince qmail-inject to default or rewrite the From: address. -- -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.
Re: server load problem
I found out from top that mysqld is taking most of the cpu utilization. Now how to customize it? Server is hanging up and it won't respond to ctrl-alt-del kapil Greg Owen wrote: > We are using a web based software developed by our > company for proving web based email service. Now > there are about 24000 users on our server. It is > giving problems: > 1: server gets hanged up. Define "hanged up." You get a kernel oops? System doesn't oops but stops responding to network and keyboard input? System won't respond to control-alt-delete? > 2: CPU utilization id very high Great. Who's using it? Use 'top', 'ps', or whatever your favorite tool is to track heavy processor users. > 3: RAM is being used too much. Great. Who's using it? Use 'top', 'ps', or whatever your favorite tool is to track memory hogs. I think you will find that, unless it is misconfigured (e.g. the startup script is starting qmail over and over again) that qmail isn't responsible for high CPU or high RAM. > I need a help to do memory management as well as to > configure qmail for very heavy loads. You need to find out who is using all that memory and CPU, and either fix it or decide you need to add processor and memory. Once you've got spare capacity on the machine, you should modify your concurrencyremote setting and your allowed concurrent incoming connections (tcpserver -cN where N is the max incoming concurrent connections) so that they can use the capacity. But I recommend fixing your CPU/RAM problems first. -- gowen -- Greg Owen -- [EMAIL PROTECTED] -- Kapil Sharma DSF Internet Services Pvt. Ltd. [EMAIL PROTECTED] http://www.dsfinternet.com
RE: qmail-ldap error message!!
What's the famous #204 bug in qmail-pop3d.c Patrick
Re: Script Required
Hi I picked up the small skript "checkattach" from Noel G. Mistula and modified to do "Subject:" type filtering. Do the following: 1. Install the script in /usr/local/bin. 2. chmod +x checksubj 3. Add this skript into your user's .qmail files and - if applicable - into /var/qmail/alias/.qmail-default (first line:) |/usr/local/bin/checksubj ~/Maildir/ etc. 4. Modify the subject text fields in "checksubj" to your needs, eg. add "|*insurance*". The script evaluates the string case sensitive! It allows wildcards, but be carefull! 5. The sender becomes the E-Mail bounced. 6. You can watch the results (and test the script) viewing your Maillog. cheers. eh. #!/bin/sh # # qmail -- checksubj # Author: Dr. Erwin Hoffmann - FEHCom # Date: 2000-06-02 # Version: 0.1 # # I use this in a user's .qmail file # by adding the line # |/usr/local/bin/checksubj # before the ./Maildir/ # printsubj () { echo "Your E-Mail was rejected is because it contained a Subject like: $SUBJECTLINE." echo "Sorry, we don't accept those E-Mails." } checksubject () { case $SUBJECTLINE in I-LOVE-YOU|ASSURANCE) printsubj $SUBJECTLINE exit 100;; *) ;; esac } SUBJECT=`(grep "Subject: " | awk -F: '{print $2}')` for SUBJECTLINE in $SUBJECT do checksubject $SUBJECTLINE done exit 0 +---+ | 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: qmail+maildrop+amavis
Nuno Ferreira wrote: [cut] Also I can't seem to get any info on getting amavis working with Qmail. All the their document says it's ''... integrated due to contribution ... remains untested" Sorry for late reply - I was out of the office for some days and busy with other stuff than reading eMails. Please see http://dev.amavis.org/ or checkout the latest sources from our CVS server at sourceforge.net If you have any further questions, please feel free to contact me/us directly. HTH best regards, Rainer Link -- Rainer Link | Member of Virus Help Munich (www.vhm.haitec.de) [EMAIL PROTECTED] | Member of AMaViS Development Team (dev.amavis.org) rainer.w3.to | Maintainer FAQ "antivirus for Linux" (av-linux.w3.to)
Re: qmail+maildrop+amavis
Thanks, Meanwhile I was able to get it working. However, I still am unable to make maildrop work with QMail. I have installed maildrop-0.76b, I have the following in ~/.qmail ./Maildir/ | /var/qmail/bin/preline /usr/local/bin/maildrop and the folowing in ~/.mailfilter DEFAULT="./Maildir/" if ( /^(To|Cc|From|Reply-To): *@hotmail.com*/ ) { to [EMAIL PROTECTED] } I think maildrop is being called correctly, because I had a permission problem that appeared in the logs and now it stopped appearing. However, with this configuration, I [EMAIL PROTECTED] never gets any message coming to me from hotmail.com. Maybe there's something wrong with the "if", but I can't see it. Furthermore I think that with this configuration some mails (the ones from hotmail.com) get thrown back into the queue and come back to me several times. Is there anybody able to shed some light. TIA Nuno Ferreira Departamento de Informática da APCMC Tel: 22 5074212 Fax: 22 5074219 [EMAIL PROTECTED] - - Original Message - From: "Rainer Link" [EMAIL PROTECTED] To: "Nuno Ferreira" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 07, 2000 4:35 PM Subject: Re: qmail+maildrop+amavis Nuno Ferreira wrote: [cut] Also I can't seem to get any info on getting amavis working with Qmail. All the their document says it's ''... integrated due to contribution ... remains untested" Sorry for late reply - I was out of the office for some days and busy with other stuff than reading eMails. Please see http://dev.amavis.org/ or checkout the latest sources from our CVS server at sourceforge.net If you have any further questions, please feel free to contact me/us directly. HTH best regards, Rainer Link -- Rainer Link | Member of Virus Help Munich (www.vhm.haitec.de) [EMAIL PROTECTED] | Member of AMaViS Development Team (dev.amavis.org) rainer.w3.to | Maintainer FAQ "antivirus for Linux" (av-linux.w3.to)
Can it be done 2 ...
I have some more question about this... So, the email gets to the internal servers but can the internal servers be sendmail servers or they must also be qmail servers and will the users be able to read their messages from the internet??? Thanks again Guillermo Villasana Cardoza wrote: Thanks a lot for all the help... I will try and see how it works :) Dave Sill wrote: Guillermo Villasana Cardoza [EMAIL PROTECTED] wrote: I have one Internet IP address .. which I use for my firewall behind the firewall I have several internal servers... The problem is that each server will be a different web and mail server... eg. mailserver1.domain.com mailserver2.domain.com ... etc Each mail server with it's own users... Can this be done? Sure. You'll need to: 1) list mailserver1.domain.com, mailserver2.domain.com, etc in control/rcpthosts, 2) add entries like: mailserver1.domain.com:[IP of mailserver1] to control/smtproutes, and 3) set up MX records for mailserver1, mailserver2, ... pointing to the firewall. -Dave
Re: qmail+maildrop+amavis
At 4:54 PM +0100 6/7/00, Nuno Ferreira wrote: Thanks, Meanwhile I was able to get it working. However, I still am unable to make maildrop work with QMail. I have installed maildrop-0.76b, I have the following in ~/.qmail ./Maildir/ | /var/qmail/bin/preline /usr/local/bin/maildrop and the folowing in ~/.mailfilter DEFAULT="./Maildir/" if ( /^(To|Cc|From|Reply-To): *@hotmail.com*/ ) { to [EMAIL PROTECTED] } I think maildrop is being called correctly, because I had a permission problem that appeared in the logs and now it stopped appearing. However, with this configuration, I [EMAIL PROTECTED] never gets any message coming to me from hotmail.com. The pattern above doesn't match any valid address from hotmail.com. "man maildropfilter" and read again what kind of regular expressions maildrop supports. Maybe there's something wrong with the "if", but I can't see it. Furthermore I think that with this configuration some mails (the ones from hotmail.com) get thrown back into the queue and come back to me several times. Looks to me that they'll be delivered twice, once by the ./Maildir/ in .qmail, and once by maildrop's default. Is there anybody able to shed some light. TIA Nuno Ferreira Departamento de Informática da APCMC Tel: 22 5074212 Fax: 22 5074219 [EMAIL PROTECTED] - -- -- Paul J. Schinder NASA Goddard Space Flight Center Code 693 [EMAIL PROTECTED]
RE: server load problem
I found out from top that mysqld is taking most of the cpu utilization. Now how to customize it? That's a better question for a MySQL list. The problem can fall into one of three categories: 1) MySQL itself has a bug which is being exercised and which needs fixing 2) Your company's code is inefficiently using MySQL and should be optimized 3) MySQL is fine, your code is fine, you just need more server for 24000 users You'll need to find a MySQL resource that can help you with those questions. This list isn't it. Server is hanging up and it won't respond to ctrl-alt-del I would definitely raise that on a MySQL list. I have never seen a server with MySQL hit that failure mode, but my MySQL server experience was with much smaller installations. There are probably MySQL diagnostics and logs which can help you figure out why things are getting that bad. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
take II: another set of q's
Hello all, did this note go out earlier today? if so, I apologize for the repeat... Now that I have restored some order to my qmail system with the SIGHUP command (again THANKs to all who helped on that one...) I would like to know if it is possible to recover/deliver all the messages that are sitting in the bounced directory. Is there anyway of retrieving who tried to send to whom so I could do some sort of nice forwarded of those bounced emails to their intended recipients? also, in what directory will i find this mail-log file for the error messages that have accumulated - i'm sure that there are many during that 2 day period... finally, is anyone familiar with this error message -BTW is there a listing of all qmail error messages and their causes somewhere? Failed to deliver to '[EMAIL PROTECTED]' SMTP module(domain tap.co.il) reports: DNS Loop: MX-record mail.brainlink.com points back to us thanks to all! judy -- Judy Simon = J-Town Productionsm, LTD Jerusalem, Israel -- Judy Simon = J-Town Productionsm, LTD Jerusalem, Israel
FW: Ok, I'm an idiot...
I must have missed something when setting up my installation... I seem to have looped my "sendmail" around. Can someone help me un-fsck myself? castle:/var/qmail/bin# ls -la /var/qmail/bin lrwxrwxrwx 1 root root9 Jun 1 12:41 /var/qmail/bin - /usr/sbin castle:/var/qmail/bin# ls -la sendmail lrwxrwxrwx 1 root root 23 Jun 1 13:58 sendmail - /var/qmail/bin/sendmail I've spent half of today trying to find where in the docs to tell me what it SHOULD be. :/ Sigh. Would appreciate assistance (even just "RTFM appropriate document") Regards, Geordon Geordon VanTassle, MCP Ameritech IVRU Support Phone: 847-248-2590 Dark River.gif
qmailanalog and multilog
Does anyone have a patch to qmailanalog to read the new multilog time format? Ken Jones inter7
Re: qmailanalog and multilog
On 07-Jun-2000, Ken Jones wrote: Does anyone have a patch to qmailanalog to read the new multilog time format? It's not a patch like you want, but in case you want to know how to make it work: I use a C program called tai64nfrac found on qmail.org to filter the log before feeding to qmailanalog's matchup. Ronny
Duplicates
Many subscribers have been reporting duplicate messages in the last few days from a couple of qmail servers I manage that send out a daily newsletter with a few hundred thousand subscribers. Yet the logs only show one message delivered to any of those people. But usually several deferrals. I figure my timeoutremote was set too low (60), so that it got delivered even though qmail-remote thought it timed out. So I now put it up to 600. Does that make sense, or could there be other reasons for duplicates that don't show in the logs? The servers are generally rather busy, with 2-500 remote processes and a system load of 4-6, and I think the ISP was having some bandwidth problems in the last few days. - Flemming
Re: qmail+maildrop+amavis
On Wed, Jun 07, 2000 at 04:54:18PM +0100, Nuno Ferreira wrote: and the folowing in ~/.mailfilter DEFAULT="./Maildir/" if ( /^(To|Cc|From|Reply-To): *@hotmail.com*/ ) { to [EMAIL PROTECTED] } The regular expression isn't right. It'll match only addresses that start with zero or more spaces, followed by @hotmail.co followed by zero or more m's. That's not what you want. Chris
group email information
Hi All, Here is something I would like to know how to do: I have qmail 1.03, qmail-admin, vpopmail, and tcpserver installed in my system. I want to use a "group" email address so that when someone in my office sends a mail to say "[EMAIL PROTECTED]", all the techs receive this message, but not any other groups (my groups I would imagine would be techguys, management, sports, etc)...can this be done with qmail? -Bill
Re: group email information
On Wed, Jun 07, 2000 at 04:06:03PM -0700, Bill Parker wrote: I want to use a "group" email address so that when someone in my office sends a mail to say "[EMAIL PROTECTED]", all the techs receive this message, but not any other groups (my groups I would imagine would be techguys, management, sports, etc)...can this be done with qmail? Stick a whole bunch of e-mail addresses, one per line, in ~alias/.qmail-techguys. man dot-qmail for more. Chris
Re: Anybody got the RPM for Qmail, pease send me eom
Tushar you can download from ftp://ftp.u-aizu.ac.jp the directory is /pub/net/qmail/msci-memphis.edu/var-qmail file name is qmail-1.03-102memphis.src.rpm Kapil - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 06, 2000 11:58 PM Subject: Anybody got the RPM for Qmail, pease send me eom
Re: Script Required
Hi qmailers, Attached is the modified version of my checkattach script. This time it will check filenames like THIS.IS.A.VBS.VIRUS.txt.vbs If you have comments please let me know. cheers Noel Mistula -Original Message- From: Erwin Hoffmann [EMAIL PROTECTED] To: System Administrator [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, 8 June 2000 5:32 Subject: Re: Script Required Hi I picked up the small skript "checkattach" from Noel G. Mistula and modified to do "Subject:" type filtering. Do the following: 1. Install the script in /usr/local/bin. 2. chmod +x checksubj 3. Add this skript into your user's .qmail files and - if applicable - into /var/qmail/alias/.qmail-default (first line:) |/usr/local/bin/checksubj ~/Maildir/ etc. 4. Modify the subject text fields in "checksubj" to your needs, eg. add "|*insurance*". The script evaluates the string case sensitive! It allows wildcards, but be carefull! 5. The sender becomes the E-Mail bounced. 6. You can watch the results (and test the script) viewing your Maillog. cheers. eh. #!/bin/bash # # qmail -- checkattach # Author: Noel G. Mistula [EMAIL PROTECTED] # Date: 28 June 1999 Version: 0.1 # I appreciate any comment to this quick and dirty way of filtering attachment. # # Modified: 7 July 1999 Version: 0.3 # Modified: 7 May 2000 Version: 0.4 # This is release under the GNU/GPL. # This is a very crude program. Use at your own risk. # This will bounce incoming email with executable, # video and other attachments. Just remove/add # whichever filetype (e.g. EXE, AVI, COM) is required. # # I use this in a user's .qmail file # by adding the line # |/usr/local/bin/checkattach # before the ./Maildir/ # # Make sure to chmod 555 /usr/local/bin/checkattach # so that qmail users can execute it. # Start program here. ### This part is the new version (ver. 0.3) printmsg () { echo "The reason your email was rejected is you sent an attachment that can cause problems." echo "Sorry, the attachment you sent is in violation of our company's policy because it can cause problems like virus, or increase traffic load, or delete file(s) and/or among others." echo "Please disable HTML formatting when sending email because Visual Basic Script Worms/Virus normally exploits this." echo "--- Attachment filetype you sent is $ATTYPE" } # # Check for NOT allowed attachment. # Here you can include more filetype you want. # checktype () { case $ATTYPE in VBS | VBE | JSE | CSS | WSH | SCT | HTA | VXD | EXE | HTM | DOT | HLP | PAK | DAT | PCX | PPS | COM | BAT | CMD | AVI | MOV | RAM | OCX | CAB | SHS | CLA | RA | BMP | MPE | MPG | MP3 | MP4 | WAV | AUD | AU | DLL) printmsg $ATTYPE exit 100;; *) ;; esac } #ATTACHTYPE=`grep "filename=" - | gawk '{split($NF, results, "."); r=toupper(results[2]); print r}' | cut -c -3` Below doesn't work if more than 2 fields in name= #ATTACHTYPE=`grep "name=" - | gawk '{split($NF, results, "."); r=toupper(results[3]); print r}' | cut -c -3` End of ver. 0.3 Below works OK ## This part is recently modified (7may2000) because I noticed that the gawk part in the ## ATTACHTYPE above, doesn't properly check when you have a filename like ## THIS.IS.A.VBS.VIRUS.txt.vbs ## The ATTACHTYPE below resolves this problem ;). ATTACHTYPE=`grep "name=" - | gawk 'BEGIN {FS="."}; {print toupper($NF)}' | cut -c -3` for ATTYPE in $ATTACHTYPE do checktype $ATTYPE done End of ver. 0.4 exit 0
Re: Why not inetd?
On Tue, 6 Jun 2000, John Gonzalez/netMDC admin wrote: On Tue, 6 Jun 2000, Peter Samuel wrote: I've never seen this. How? What operating system? What version of inetd? You've got me curious now. Regards Peter -- man inetd pop3 stream tcp nowait.120 root /var/qmail/bin/tcp-env tcp-env.. Thanks for partially answering my question :) This works for linux, and others have reported a similar mechanism for FreeBSD, however it doesn't work for Solaris, and I'd be pretty sure it won't work for HP/UX, OSF (or whatever Compaq are calling Digital Unix these days) and any other commercial Unix. Regards Peter -- Peter Samuel[EMAIL PROTECTED] Technical Consultantor at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"
Re: tcpserver: unable to bind
Luca Zancan: What should I verify??? you have set up qmail somehow, so there is a line w.r.t. qmail in your start up files. you must have started two server processes, usually due to a commandline ending in '' where it shouldn't. clemens
Re: Web Tool for qmail
You can try SQWebmail at http://www.inter7.com/sqwebmail . This is what Nguyen Hong Son said: Dear all Thank you for helping me with the SMTP Auth patch, But if you know where to get a tool (or package) for making a web-mail site for qmail, please tell me . Thanks a lot Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: Relaying to different hosts
On Wed, Jun 07, 2000 at 09:43:16AM +0100, Jules Desforges wrote: Chris Johnson wrote: I can use the .qmail files to forward e-mail to another address, but how do you relay a messages onto another server without changing the envelope. I don't think you'll be able to. You can use smtproutes to override DNS and send a whole domain's mail somewhere else without changing the envelope, but I don't know of a way to do it with different addresses in the same domain. Why do you care if the envelope is changed? What you propose is trivial with .qmail files if you use forwarding, but the envelope recipient will change. Chris OK. Even if the envelope isn't changed I can't find a solution to this problem using .qmail files. If anyone can shed any light on this, it would be appreciated. I assume you mean "even if the envelope is changed." The example in your initial post was: I would like to send :- [EMAIL PROTECTED] to server [x.y.z] [EMAIL PROTECTED] to server [p.q.r] . and finally any aliases that do not match are forwarded onto another server [d.e.f] You might try this: # echo '[EMAIL PROTECTED]' ~alias/.qmail-bill # echo '[EMAIL PROTECTED]' ~alias/.qmail-ted # echo '| forward "$DEFAULT"@example3.dom' ~alias/.qmail-default This assumes that blah.com is a local domain. You'll need to make the appropriate adjustments if it's virtual (maybe use .qmail-blah-bill, .qmail-blah-ted, and .qmail-blah-default). This does use forwarding and the envelope recipient will change, but who cares? Chris
Virtual Domains and MX Records
Hi, I'm totally stuck trying to get qmail working the way I want it to, and the more I try to change configurations the more I get mixed up. The idea is that I have user.domain.co.uk as the virtual domain, so that [EMAIL PROTECTED] is sent to a local mailbox. What I've done so far is: made an MX record pointing to the domain.co.uk machine in qmail/control/virtualdomain entered user.domain.co.uk:username put user.domain.co.uk into rcpthosts and sent a HUP to both named and qmail-send Now reading the FAQ's and howto's etc I was led to believe that this would basically take the following steps: 1) mail arrives at domain.co.uk mail server 2) mail server has domain in its rcpthosts, good 3) is the domain in locals? no.. 4) is the domain a virtualdomain? yes... deliver to username And then username goes and checks his mail and there's the message. At the moment I'm getting a: [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) Can anyone tell me where I'm going wrong please? I hope its not something stupid I've forgot, apologies if it is. TIA, Andy.
Re: Virtual Domains and MX Records
On Thu, Jun 08, 2000 at 03:46:22AM +0100, Andy Coates wrote: Now reading the FAQ's and howto's etc I was led to believe that this would basically take the following steps: 1) mail arrives at domain.co.uk mail server 2) mail server has domain in its rcpthosts, good 3) is the domain in locals? no.. 4) is the domain a virtualdomain? yes... deliver to username And then username goes and checks his mail and there's the message. At the moment I'm getting a: [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) There needs to be a .qmail-default file in ~username with delivery instructions. If you want the default delivery instruction (which is probably to deliver mail to ./Mailbox or ./Maildir/), just create an empty .qmail-default file. Chris
Re: Virtual Domains and MX Records
- Original Message - From: "Chris Johnson" [EMAIL PROTECTED] To: "Andy Coates" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 08, 2000 4:20 AM Subject: Re: Virtual Domains and MX Records On Thu, Jun 08, 2000 at 03:46:22AM +0100, Andy Coates wrote: Now reading the FAQ's and howto's etc I was led to believe that this would basically take the following steps: 1) mail arrives at domain.co.uk mail server 2) mail server has domain in its rcpthosts, good 3) is the domain in locals? no.. 4) is the domain a virtualdomain? yes... deliver to username And then username goes and checks his mail and there's the message. At the moment I'm getting a: [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) There needs to be a .qmail-default file in ~username with delivery instructions. If you want the default delivery instruction (which is probably to deliver mail to ./Mailbox or ./Maildir/), just create an empty ..qmail-default file. Aargh thats it!! S close, I thought with the username in the virtualdomain bit would just send it locally to username. Thanks, I did just make an empty one and it works perfectly. Wow thats a relief :-) Later, Andy.
sqwebmail with local accounts
How do I use the web interface for accessing my real domain's user accounts? Virtual domains have no problems accessing mail, but this is so cool I want to do it for my real accounts too. Do I create a virtual domain, and add links to the home dir's of each real unix account? I tried to find it my self, and failed. Just point me to the right doc. The environment: dns, qmail, checkpassword, deamontolls, vpopmail, sqwebmail, ezmlm, autorespond, qmailadmin using maildir, qmail-pop3d, qmail-smtpd Thank you.
Re: qmailanalog and multilog
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.