qmail Digest 15 Dec 2000 11:00:01 -0000 Issue 1214
qmail Digest 15 Dec 2000 11:00:01 - Issue 1214 Topics (messages 54015 through 54084): Re: VPOPMAIL Problem 54015 by: Hubbard, David 54023 by: Milen Petrinski 54067 by: Sean Reifschneider Re: Running qmail-pop3d as non-root user 54016 by: Gjermund Sorseth Re: Changing double bounce sender from #@[] to anything else 54017 by: Charles Cazabon 54019 by: Jonathan McDowell 54030 by: Kris Kelley Re: Converting from vpopmail to vmailmgr 54018 by: Charles Cazabon Re: rblsmtpd conflict with ucspi -tcp 54020 by: Alex Pennace 54021 by: Charles Cazabon qmail problems? 54022 by: rdrake.telusplanet.net 54024 by: Charles Cazabon 54025 by: Alex Pennace 54026 by: rdrake.telusplanet.net Re: LDAP with qmail almost ok 54027 by: Marcio Sa 54029 by: Olivier M. 54069 by: Henning Brauer Re: Smtp AUTH 54028 by: Kris Kelley ipchains + qmail + vmailmgr 54031 by: Mark Lo Loop protection 54032 by: Laurence Brockman 54033 by: Greg Owen Looking for way to delete all mail sent to a non-existent mailbox 54034 by: David Geller 54035 by: Greg Owen 54038 by: Ricardo Cerqueira Dynamic relay question 54036 by: rmarcos 54039 by: Kris Kelley 54042 by: Charles Cazabon Hy. 54037 by: Seby 54040 by: Andy Bradford 54041 by: Mark Delany 54043 by: Seby How ezmlm works with mysql databases. 54044 by: Fernando Costa de Almeida 54070 by: Henning Brauer Re: Copy Outbound messages 54045 by: Charrua 54061 by: Peter Samuel RE : RE : Smtp AUTH 54046 by: Charles Trtanj slow? 54047 by: richard morris different kind of rblsmtpd 54048 by: Markus Stumpf 54076 by: andrew.tic.ch Concurrent access to one mailbox via IMAP? 54049 by: Marc Knoop 54050 by: Peter Green 54054 by: Charles Cazabon 54060 by: Marc Knoop 54065 by: Greg Owen RBL gone crazy? 54051 by: asantos 54068 by: Edward S. Marshall qmail server communication 54052 by: gmo.gmx.de 54055 by: Charles Cazabon location of virtual domains mail. 54053 by: Peter Brezny 54057 by: Charles Cazabon Mail flood in queue 54056 by: Sam Laffere 54059 by: Charles Cazabon 54062 by: Markus Stumpf 54063 by: Mark Delany Re: RE : Smtp AUTH 54058 by: Kris Kelley 54064 by: Charles Trtanj Re: a problem about hostname/virtual domain 54066 by: qmail.col7.metta.lk Bare CRLF's and 'email floods' 54071 by: CK 54072 by: Ian Lance Taylor 54073 by: andrew.tic.ch 54074 by: Markus Stumpf [EMAIL PROTECTED] 54075 by: Marc-Adrian Napoli 54082 by: hari_bhr Re: Does qmail really delay a bounce for this long? 54077 by: Matt Harrington emulating sendmail's [EMAIL PROTECTED] feature? 54078 by: Matt Harrington 54079 by: Alex Pennace 54080 by: Mark Delany 54081 by: Matt Harrington How to add banner/image 54083 by: Paulus Hendarwan 1 000 000 USD to get me rid of my utter frustration 54084 by: Franck PORCHER 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] -- Just go to the domain directory and type this: echo "[EMAIL PROTECTED]" .qmail-default That means any email that comes in to that domain addressed to a nonexistent address will be handled by the .qmail-default since a .qmail-username for that address won't exist. Dave -Original Message- From: Jesus Arnaiz [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 2:54 AM To: [EMAIL PROTECTED] Subject: VPOPMAIL Problem Hi Everyone! I use qmail as my MTA and I have vpopmail installed. The problem is I create a virtualdomain with virtual users and I want to do this: All e-mail sent to a pop user put the mail in the Maildir of the user, and all e-mail sent to an address which do not exists like ([EMAIL PROTECTED]) should be sent to an external address ([EMAIL PROTECTED]). I do this: I create the popusers. .qmail-default-- | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] .qmail-postmaster--- [EMAIL PROTECTED] I think this should work but all e-mail I send goes to "[EMAIL PROTECTED]" Can anybody help me?. Thanks in advance -- Jesús Arnáiz Departamento de Sistemas ARCOMEDIA.COM Hi Everyone! I use qmail as my MTA and I have vpopmail installed. The problem is I create a virtualdomain with virtual users and I want to do this: All
OT: Holiday
Not that anyone cares, but I'm off to the other side of the country for three weeks, and I'm unsubscribing so I don't have 3000 e-mails waiting when I get back. Sayanora. -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com
Help on setting up services
I installed qmail following this page steps: http://www.europe.redhat.com/documentation/HOWTO/Qmail-VMailMgr-Courier-imap-HOWTO-2.php3 I used binary rpm. All the binaries installed OK. Trying to start services i got: #/etc/rc.d/init.d/qmail start svc-start: Fatal error: Service 'qmail' does not exist. Can anyone tell me how to create those services and shoy me some init scripts to get this task automatic on boot? Thanks in advance. __ Consigue tu cuenta de correo universal y gratuita en http://webmail.wanadoo.es
Re: Hy.....
+ Seby [EMAIL PROTECTED]: | On Thu, 14 Dec 2000, Andy Bradford wrote: | | On Thu, 14 Dec 2000 20:17:40 +0200, Seby wrote: | | How can i configure qmail to allow a users to send emails only to | the localhost.. and to can not send emails romote (to another host) | [...] sorry... but a meant to say a specific user not all users. Maybe you won't enjoy this answer, but I can't think of any easy way. To do this sort of thing would probably require quite a bit of hackery into the qmail innards, and even then it would be pointless because such a restriction is trivially circumvented: The user could simply telnet to the SMTP port of another machine, or get a program that would do so for him. If you have a problem with a user abusing email privileges, I suggest you confront him or her about it rather than trying a technical fix that is most likely to fail or backfire anyway. - Harald
Re: Qmail and RFC1894 - Delivery Status Notifications
Fair enough. Then use something other than the = sign. And if you're worried about using a string that ends up being longer than 64 characters, then use a simple database and send the key that identifies the original recipient. Something like: bounce-dbkey12345678@listhost then handle the bounce in ~bounce/.qmail-default by looking up the database to find the original recipient. Does someone have working code for this and would be willing to share? Warm greetings, Norbert. -- Strengthen your integrity and it will become your key success factor! Norbert Bollow, Weidlistr.18, CH-8624 Gruet (near Zurich, Switzerland) Editor, Integrity in Politics Ezine http://integrity-in-politics.com Tel +41 1 972 20 59 Fax +41 1 972 20 69 http://thinkcoach.com
[OT] do you know this MTA(not qmail) error msg?
hi, sorry for being OT. I need help to diagnose an errormsg I'm receiving from a remote MTA -- mainly to show it's the other admin who's in fault. Or else repair my error and be humble about it :). To make matters worse, the errormsg is unknown to me: seems to be coming from a box I think is running WinNT. The full msg is at the end of this email. The relevant lines seem to be: - - Transcript of session follows - 451 [EMAIL PROTECTED]... reply: read error from mail1.dacas.com.ar. 553 mail2.dacas.com.ar. config error: mail loops back to me (MX problem?) 554 [EMAIL PROTECTED]... Local configuration error --AAA30448.976851513/ns2.dacas.com.ar Content-Type: message/delivery-status Reporting-MTA: dns; ns2.dacas.com.ar Received-From-MTA: DNS; mail.netizen.com.ar Arrival-Date: Fri, 15 Dec 2000 00:38:30 -0300 Final-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.5.0 Remote-MTA: DNS; mail2.dacas.com.ar Last-Attempt-Date: Fri, 15 Dec 2000 00:38:33 -0300 - now I did an nslookup and got: reino.com.arpreference = 5, mail exchanger = mail1.dacas.com.ar reino.com.arpreference = 10, mail exchanger = mail2.dacas.com.ar It certainly seems I'm on the safe side. But I wanted to check with more experienced admins, specially because I've never seen such msg. The bounced msg looks like: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 21300 invoked from network); 15 Dec 2000 11:39:31 - Received: from unknown (HELO localhost) ([EMAIL PROTECTED]) by 10.10.10.10 with SMTP; 15 Dec 2000 11:39:31 - Delivered-To: [EMAIL PROTECTED] Received: from ns.scim.net by localhost with POP3 (fetchmail-5.5.1) for [EMAIL PROTECTED] (single-drop); Fri, 15 Dec 2000 08:39:31 -0300 (ART) Received: (qmail 5343 invoked from network); 15 Dec 2000 03:28:46 - Received: from mail.dacas.com.ar (HELO bbs.dacas.com.ar) (200.43.156.10) by scim.com.ar with SMTP; 15 Dec 2000 03:28:46 - X-ROUTED: Fri, 15 Dec 2000 00:28:14 -0300 Received: from [200.43.156.7] by bbs.dacas.com.ar with smtp id 004527d8 ; Fri, 15 Dec 2000 00:27:38 -0300 Received: from localhost (localhost) by ns2.dacas.com.ar (8.9.3/8.8.7) with internal id AAA30448; Fri, 15 Dec 2000 00:38:33 -0300 Date: Fri, 15 Dec 2000 00:38:33 -0300 From: Mail Delivery Subsystem [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="AAA30448.976851513/ns2.dacas.com.ar" Subject: Returned mail: Local configuration error Auto-Submitted: auto-generated (failure) This is a MIME-encapsulated message --AAA30448.976851513/ns2.dacas.com.ar The original message was received at Fri, 15 Dec 2000 00:38:30 -0300 from [EMAIL PROTECTED] [200.16.153.4] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - 451 [EMAIL PROTECTED]... reply: read error from mail1.dacas.com.ar. 553 mail2.dacas.com.ar. config error: mail loops back to me (MX problem?) 554 [EMAIL PROTECTED]... Local configuration error --AAA30448.976851513/ns2.dacas.com.ar Content-Type: message/delivery-status Reporting-MTA: dns; ns2.dacas.com.ar Received-From-MTA: DNS; mail.netizen.com.ar Arrival-Date: Fri, 15 Dec 2000 00:38:30 -0300 Final-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.5.0 Remote-MTA: DNS; mail2.dacas.com.ar Last-Attempt-Date: Fri, 15 Dec 2000 00:38:33 -0300 --AAA30448.976851513/ns2.dacas.com.ar Content-Type: message/rfc822 Return-Path: [EMAIL PROTECTED] Received: from mail.netizen.com.ar ([EMAIL PROTECTED] [200.16.153.4]) by ns2.dacas.com.ar (8.9.3/8.8.7) with ESMTP id AAA30446 for [EMAIL PROTECTED]; Fri, 15 Dec 2000 00:38:30 -0300 From: [EMAIL PROTECTED] Received: from www (scim.com.ar [200.16.153.141]) by mail.netizen.com.ar (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id AAA32103; Fri, 15 Dec 2000 00:17:32 -0300 Date: Fri, 15 Dec 2000 00:17:32 -0300 Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Consulta empresarial explicacion: Esta es una consulta de una empresa al sitio web de Reino S.A. nombre y apellido: KRONUS PRODUCCIONES direccion: PRODUCCION TELEVISIVA Y PUBLICITARIA localidad: Capital Federal cp: 1045 ciudad: BS. AS. provincia: BS. AS. pais: Argentina telefono particular: 4953-3692 e-mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] consultas: DESEARIAMOS PONERNOS EN CONTACTO CON LA EMPRESA PARA OFRECERLES UNA PROPUESTA PUBLICITARIA EN UN PROGRAMA DE TV DE YOGA Y SALUD. SALUDOS CORDIALES Submit: Enviar --AAA30448.976851513/ns2.dacas.com.ar--
Secondary MX (Was: Mail flood in queue)
+ "Mark Delany" [EMAIL PROTECTED]: | My qmail server is the secondary MX for domain tri.net. | mx1.tri.net got flooded with about 28,000 invalid user emails, which | overflowed onto my qmail secondary server, mx2.tri.net. | | (As an aside. This re-raises the question of whether it is good | practise to be a secondary MX for another site. I generally think it's | a bad idea...) At least if you do, it's very helpful if the two sites have identical policies with regards to such things as relaying, checking envelope sender domains and the like. And it's a lot better if the primary MX does like qmail and accepts mail even for non-existing users, or else the secondary MX gets saddled with creating bounce messages on behalf of the other domain. And that is bad indeed. Been there, done that, got the T-shirt. - Harald
RE: [OT] do you know this MTA(not qmail) error msg?
553 mail2.dacas.com.ar. config error: mail loops back to me (MX problem?) 554 [EMAIL PROTECTED]... Local configuration error That is Sendmail. I forget how exactly you cause that error, but it isn't hard to do, and yes, it is their configuration that needs fixing. -- gowen -- Greg Owen -- [EMAIL PROTECTED] SoftLock.com is now DigitalGoods!
No,there are 144000 mails in my queue!!!
Most of them are the same. Pls tell me how to deal with it. I have put the mail from address to the badmailfrom,but it wouldn't stop. I hate Sparm === ΪÄã¶ø½¨£¬ÎªÄã¶øÉ裬ÈÃÄã´«µÝÕæÐÄÕæÒâ 163.netºØ¿¨Õ¾£¨http://ecard.163.net£© 163µç×ÓÓʾÖȫзîÏ×£¬¾«²ÊÎÞÏ޵ĵç×Ӻؿ¨Õ¾¡£ ===
Re: No,there are 144000 mails in my queue!!!
jf [EMAIL PROTECTED] wrote: Most of them are the same. Pls tell me how to deal with it. There are several approaches you can take: 1. Wait it out. Those messages will eventually all be bounced or delivered, and your queue will drop back to 0 messages. This will take time. 2. Stop qmail and qmail-smtpd. Use qmHandle (www.qmail.org) to remove the messages from the queue. Restart qmail and qmail-smtpd. You may have to repeat this process if the spammer continues to use your domain as his envelope sender, which is what I assume is causing this. 3. Stop accepting all mail temporarily, bouncing it all immediately. You could do this by doing: cp /var/qmail/control/rcpthosts /var/qmail/control/rcpthosts.save echo "" /var/qmail/control/rcpthosts This will affect legitimate mail for you as well. 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. ---
How can i filter outgoing mail queue!
Hi, i wanna add some kind of filtering to my outgoing mail traffic to stop some mails with attachments like mp3's and mpeg's. How can i do this? Any idea? Blackman
Re: No,there are 144000 mails in my queue!!!
JF, I just had to deal with the same problem. It was a dictionary spam is what somebody called it. On my server, they where in the remote outgoing queue, but I believe the fix is the same. Keep in mind, I had never worked with python, and the little script was a python script. Luckily, my server already had python installed. The non-existant documentation meant I had to trial and error this, but here is a summary of what I did. Go to this location, and get this script onto your server, I put mine in /var/qmail/bin. http://www.redwoodsoft.com/~dru/programs/mailRemove.py Make it executable. chmod +x mailRemove.py Create the directory filter under qmail/queue. Mine was like this mkdir /var/qmail/queue/filter Next run the script in a test-only mode. You can CTRL-C out of it. python mailRemove.py [search-string] Since all my spam flood was from [EMAIL PROTECTED] my command looked like this, python mailRemove.py registrar If this runs, then you can do this for real. It moves the spam into the filter directory. I halted both qmail-send and smtp before doing this. Like this. python mailRemove.py --real registrar I had 28000 spams, and it took about 5 hours to remove 18000 of these. This server was only a 486/100, 32meg ram. Hopefully it will be lots faster on a better machine. While I am here, I wish to thank Mark and Markus for your help yesterday regarding my problem. Sam - Original Message - From: "jf" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 9:09 AM Subject: No,there are 144000 mails in my queue!!! Most of them are the same. Pls tell me how to deal with it. I have put the mail from address to the badmailfrom,but it wouldn't stop. I hate Sparm === ΪÄã¶ø½¨£¬ÎªÄã¶øÉ裬ÈÃÄã´«µÝÕæÐÄÕæÒâ 163.netºØ¿¨Õ¾£¨http://ecard.163.net£© 163µç×ÓÓʾÖȫзîÏ×£¬¾«²ÊÎÞÏ޵ĵç×Ӻؿ¨Õ¾¡£ ===
Re: No,there are 144000 mails in my queue!!!
I think that you can also temporarily shorten the time settings for qmail to return mail within a few hours. Most legitimate mail will be delivered, but "stuck" mail will get bounced more quickly. - Original Message - From: "Charles Cazabon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 9:50 AM Subject: Re: No,there are 144000 mails in my queue!!! jf [EMAIL PROTECTED] wrote: Most of them are the same. Pls tell me how to deal with it. There are several approaches you can take: 1. Wait it out. Those messages will eventually all be bounced or delivered, and your queue will drop back to 0 messages. This will take time. 2. Stop qmail and qmail-smtpd. Use qmHandle (www.qmail.org) to remove the messages from the queue. Restart qmail and qmail-smtpd. You may have to repeat this process if the spammer continues to use your domain as his envelope sender, which is what I assume is causing this. 3. Stop accepting all mail temporarily, bouncing it all immediately. You could do this by doing: cp /var/qmail/control/rcpthosts /var/qmail/control/rcpthosts.save echo "" /var/qmail/control/rcpthosts This will affect legitimate mail for you as well. 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: Secondary MX (Was: Mail flood in queue)
| (As an aside. This re-raises the question of whether it is good | practise to be a secondary MX for another site. I generally think it's | a bad idea...) At least if you do, it's very helpful if the two sites have identical policies with regards to such things as relaying, checking envelope sender domains and the like. That's good advice. Also make sure that you have identical (or sufficient) resources. Regards.
Re: 1 000 000 USD to get me rid of my utter frustration
Franck PORCHER [EMAIL PROTECTED] writes on 14 December 2000 at 21:47:18 -1000 This list may be the ultimate trap. I've tried so many different things, followed so many advices... but still around in utter frustration! Here follows header lines from the msgs I receive from the qmail mailing list: ... From [EMAIL PROTECTED] Fri Dec 01 08:51:41 2000 Return-Path: [EMAIL PROTECTED] ... I've sent coutless msgs to : [EMAIL PROTECTED] [EMAIL PROTECTED] That one right there should do it. You say *none* of these addresses yield any return *at all*? I don't know how to explain that. I note that your message to the list says it's from "[EMAIL PROTECTED]", a different username. Does mail to both of those usernames reach you reliably? I'm sending the unsubscribe message for you, to see if you ever see the confirmation message (and if you do, try replying, who knows?). Not being the list-owner, and more importantly, not having command-line access to ezmlm on list.cr.yp.to, I can't do anything about directly fixing your problem. -- David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED] SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/ Photos: http://dd-b.lighthunters.net/
Re: How can i filter outgoing mail queue!
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i wanna add some kind of filtering to my outgoing mail traffic to stop some mails with attachments like mp3's and mpeg's. If this is mail injected via SMTP, set /var/qmail/control/databytes to the maximum message size you want to allow. If it's locally injected, you'll need to use something like Bruce Guenter's filtering patches and write a filter which checks for various attachments. You can find his stuff at http://em.ca/~bruceg/ . 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: Secondary MX (Was: Mail flood in queue)
Thanks for the input. Here is how it turned out, and my summary of the situation. I own both servers, and have been trying to figure out the best implimentation of redundancy. By having the secondary server in place, the primary server was slowed down, but it never failed to accept or deliver mail the whole time. Granted, while the secondary was trying to feed into the primary, some new incoming was pushed off onto the secondary. I feel that this put very little legitimate mail at risk. Keep in mind, I did not know for sure that I could dump the spam, yet. I only knew that if I waited long enuf, it would eventually clear out. My mistake was that I had two virtual domains running on that secondary server throughout all of this. Lack of time(read as lazyness) is the only reason that I had never moved them off of this particular server. Incoming mail for these two domains was working fine, but outgoing mail was being held up in the queue. Lesson here is do not put primary functions on a secondary machine. It removes your ability to just turn it off while you think about the problem. I responded to 'jf' on his problem, and the fix I used is listed there. My feeling is that this old 486 I used as a secondary MX cost me almost nothing and saved my butt by giving some options I would not have had otherwise. It has been great when my dedicated line customers have had to be down for a bit, or their servers have gone down to be able to cache their mail, and tell them that as soon as their server is back up, that I can provide them all their 'lost' mail. Sam - Original Message - From: "Harald Hanche-Olsen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 6:51 AM Subject: Secondary MX (Was: Mail flood in queue) + "Mark Delany" [EMAIL PROTECTED]: | My qmail server is the secondary MX for domain tri.net. | mx1.tri.net got flooded with about 28,000 invalid user emails, which | overflowed onto my qmail secondary server, mx2.tri.net. | | (As an aside. This re-raises the question of whether it is good | practise to be a secondary MX for another site. I generally think it's | a bad idea...) At least if you do, it's very helpful if the two sites have identical policies with regards to such things as relaying, checking envelope sender domains and the like. And it's a lot better if the primary MX does like qmail and accepts mail even for non-existing users, or else the secondary MX gets saddled with creating bounce messages on behalf of the other domain. And that is bad indeed. Been there, done that, got the T-shirt. - Harald
Re: [OT] do you know this MTA(not qmail) error msg?
Quoting martin langhoff ([EMAIL PROTECTED]): sorry for being OT. I need help to diagnose an errormsg I'm receiving from a remote MTA -- mainly to show it's the other admin who's in fault. Or else repair my error and be humble about it :). To make matters worse, the errormsg is unknown to me: seems to be coming from a box I think is running WinNT. The MTA is sendmail. The problem is that sendmail on that machine does not know it's supposed to handle email for reino.com.ar. This would be analogous to installing qmail but not putting your domain into locals, even though there is an MX record pointing to you. Most people put local domains for sendmail into a file named sendmail.cw, but they can also be specified in sendmail.cf. Aaron - - Transcript of session follows - 451 [EMAIL PROTECTED]... reply: read error from mail1.dacas.com.ar. 553 mail2.dacas.com.ar. config error: mail loops back to me (MX problem?) 554 [EMAIL PROTECTED]... Local configuration error
start script change to support smtp-auth patch
I have installed/compiled the smtp-auth patch into my qmail installation, but I cannot figure out what file to modify to add support for it. I am running qmail 1.03 on freebsd. I tried adding it to /var/qmail/supervise/qmail-smtpd/run, but it does not seem to take. Any help would be greatly appreciated, Eric
RE: start script change to support smtp-auth patch
Oh and here is a copy of the run file: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -R -H -l0 -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd /var/qmail/b in/qmail-smtpd /bin/checkpassword 21 I did not add the crmd5 piece because I am not sure I need it? Eric -Original Message- From: Eric Walters [mailto:[EMAIL PROTECTED]] Sent: Friday, December 15, 2000 11:58 AM To: Qmail (E-mail) Subject:start script change to support smtp-auth patch I have installed/compiled the smtp-auth patch into my qmail installation, but I cannot figure out what file to modify to add support for it. I am running qmail 1.03 on freebsd. I tried adding it to /var/qmail/supervise/qmail-smtpd/run, but it does not seem to take. Any help would be greatly appreciated, Eric
Relay problems
From looking at the archives, I realize this is about the thousandth of these you've seen, but I couldn't find in there a solution to my problem. I'm running Mandrake 7.1, qmail 1.03; I installed qmail following Adam McKenna's HOW-TO, and it works just fine from the localhost. However, when I try to use it as an SMTP relay, it barfs. From Outlook Express I actually get a message that tells me the mail host dropped the connection suddenly (but, if I hit retry a couple of times, eventually it goes through). From a little DOS-based command-line mailer I've got, I get no message, but watching /var/log/qmail/qmail-smtpd/current while I'm trying to send shows that the connection is established and then dropped before I even start typing the body of the message. I followed the HOW-TO's instructions on creating the smtp.tcp.cdb file, and when I check the tcpserver process using ps it shows that at least on the command line it is specified correctly. Any suggestions? In fact, the relay and all the clients are behind a firewall, so even having a completely open relay wouldn't be terrible, but I would like to know how to do it properly. Thanks.
Re: How can i filter outgoing mail queue!
On Fri, Dec 15, 2000 at 08:04:59PM -, [EMAIL PROTECTED] wrote: Hi, i wanna add some kind of filtering to my outgoing mail traffic to stop some mails with attachments like mp3's and mpeg's. Qmail-Scanner is a in-line mail filter used especially for virus scanning and attachment blocking. See http://qmail-scanner.sourceforge.net/ for details. -- Cheers Jason Haar Unix/Special Projects, Trimble NZ Phone: +64 3 9635 377 Fax: +64 3 9635 417
Strange Things In maillog - ???
Hello all, just noticed these in my logs (over and over again) - I eventually denied all ip access (incoming) - Have any of you seen this before??? What was happening??? Below are the contents of my 'maillog' - Thanks!!! tcpserver: pid 49682 from 203.252.5.27tcpserver: ok 49682 flashburn-x.parview.com:192.168.16.3:25 1tym.chollian.net:203.252.5.27::4196tcpserver: end 49682 status 256tcpserver: status: 0/40tcpserver: status: 1/40tcpserver: pid 49684 from 203.252.5.27tcpserver: ok 49684 flashburn-x.parview.com:192.168.16.3:25 1tym.chollian.net:203.252.5.27::2942tcpserver: end 49684 status 256tcpserver: status: 0/40tcpserver: status: 1/40tcpserver: pid 49687 from 203.252.5.27tcpserver: ok 49687 flashburn-x.parview.com:192.168.16.3:25 1tym.chollian.net:203.252.5.27::3538tcpserver: end 49687 status 256tcpserver: status: 0/40tcpserver: status: 1/40tcpserver: pid 49689 from 203.252.5.27tcpserver: ok 49689 flashburn-x.parview.com:192.168.16.3:25 1tym.chollian.net:203.252.5.27::4324tcpserver: end 49689 status 256tcpserver: status: 0/40
Re: Strange Things In maillog - ???
On Fri, Dec 15, 2000 at 02:56:42PM -0500, Jesse Sunday wrote: Hello all, just noticed these in my logs (over and over again) - I eventually denied all ip access (incoming) - Have any of you seen this before??? What was happening???Below are the contents of my 'maillog' This may (or may not) be an indication for someone trying to inject tons of SPAM to your server. Your server rejects them and so no "new messages" are generated. qmail-smtpd doesn't log anything (besides severe failures) so you won't see anything unless you patch your qmail-smtpd. Another solution is to plug recordio (from the uscpi-tcp package) between tcpserver and qmail-smtpd, but then you will see *everthing* in the communication between your smtpd and any other. I have a patch, that one can plug recordio permanently but it will only be logging, if the RECORDIO environment variable is set (which can be easily accomplished via tcpserver). I find this very handy if you want to only trace connections from special IPs. I checked, the patch is for 0.84 and will not work with 0.88. \Maex -- SpaceNet AG | 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.
Duplicates in log created by queue_extra
When someone sends email to a dot-qmail alias I have specified in ~alias/, the message shows up twice in the msg-log created by queue_extra. Question is, is there a filter to get rid of this. Or have I misconfigured. BACKGROUND: The qmail source was modified as instructed by the qmail-howto (among other things). ~alias/msg-log is actually a symbolic link which points to /var/allmail/INBOX. /var/allmail is on a seperate fixed disk.
Re: Duplicates in log created by queue_extra
Nathan Harmon [EMAIL PROTECTED] wrote: When someone sends email to a dot-qmail alias I have specified in ~alias/, the message shows up twice in the msg-log created by queue_extra. Question is, is there a filter to get rid of this. Or have I misconfigured. What does the .qmail file contain? If it has any forward entries, it will get re-injected and delivered to msglog again. 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: Duplicates in log created by queue_extra
On Fri, Dec 15, 2000 at 03:11:48PM -0500, Nathan Harmon wrote: When someone sends email to a dot-qmail alias I have specified in ~alias/, the message shows up twice in the msg-log created by queue_extra. Question is, is there a filter to get rid of this. Or have I misconfigured. I bet the ~alias/.qmail files in question forward mail to other addresses. Follow along: qmail-inject foo | v qmail-queue --- msg-log | v qmail-local (foo) | v qmail-queue (for forwarded mail) - msg-log ... PGP signature
Re: Duplicates in log created by queue_extra
On Fri, 15 Dec 2000, Nathan Harmon wrote: When someone sends email to a dot-qmail alias I have specified in ~alias/, the message shows up twice in the msg-log created by queue_extra. Question is, is there a filter to get rid of this. Or have I misconfigured. BACKGROUND: The qmail source was modified as instructed by the qmail-howto (among other things). ~alias/msg-log is actually a symbolic link which points to /var/allmail/INBOX. /var/allmail is on a seperate fixed disk. Show us the exact line(s) you changed in the source. Show us the contents of the relevant ~alias/.qmail- file. Show us the exact details of the symlink mentioned above (are you sure that's what you did, because you make no mention of ~alias/.qmail-log, or similar, AND a .qmail file can't just be a symlink to a mailbox). -- Regards Peter -- Peter Samuel[EMAIL PROTECTED] http://www.e-smith.org (development)http://www.e-smith.com (corporate) Phone: +1 613 368 4398 Fax: +1 613 564 7739 e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada "If you kill all your unhappy customers, you'll only have happy ones left"
Virtual Domain Users
I've got a bunch of virtual domains that I manage and I was wondering if it would be possible to do the following. Basically, I don't want to have to create root, postmaster, hostmaster, etc... aliases for each of the virtual domains. Ideally, I'd like them to be handled by the default ~alias/.qmail-xxx aliases on the system. I guess this would be analagous to putting something like the following at the top of your sendmail/postfix virtualdomains/virtuserstable: rootroot@localhost Is something like this possible under qmail? Thanks in advance... --Jerry name: Jerry Alexandratos || Open-Source software isn't a phone: 703.599.6023 || matter of life or death... email: [EMAIL PROTECTED] || ...It's much more important || than that!
Re: Virtual Domain Users
Jerry A! [EMAIL PROTECTED] wrote: I've got a bunch of virtual domains that I manage and I was wondering if it would be possible to do the following. Basically, I don't want to have to create root, postmaster, hostmaster, etc... aliases for each of the virtual domains. [...] I guess this would be analagous to putting something like the following at the top of your sendmail/postfix virtualdomains/virtuserstable: rootroot@localhost Is something like this possible under qmail? Yes, although root is a bad example. qmail doesn't deliver to root, ever, as a security measure. Just put a forwarding directive in your ~alias/.qmail-* entries: user@localdomain You'll typically have a line like this for each of ~alias/.qmail-{root,postmaster,...} 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: Duplicates in log created by queue_extra
Sorry, should have been more specific. root@mail:~ cat /usr/src/qmail-1.03/extra.h #ifndef EXTRA_H #define EXTRA_H #define QUEUE_EXTRA "Tlog\0" #define QUEUE_EXTRALEN 5 #endif root@mail:~ ls -l ~alias/msg-log lrwxrwxrwx 1 root qmail 18 Dec 14 14:46 /var/qmail/alias/msg-log - /var/allmail/INBOX root@mail:~ cat ~alias/.qmail-log ./msg-log root@mail:~ ls -l /var/allmail/INBOX -rw-rw 1 allmail nofiles 2325 Dec 15 13:49 /var/allmail/INBOX For example, if I send a message to [EMAIL PROTECTED], the message will appear twice in /var/allmail/INBOX. I'm assuming this is because it is recording the message to [EMAIL PROTECTED], as well as the message to [EMAIL PROTECTED] Now, I've pondered changing the QUEUE_EXTRA to something that would copy the mail directly to ~alias/msg-log. But I'm not a programmer (or even a very good one at that), so I tend to ask permission before messing with sources *snicker*. I'm also going to be running ezmlm mailing lists on here. Will I have the same problem with those? Let me know if you need additional information. Thanks. Nathan At 12/15/00 3:27:00 PM, you wrote: Show us the exact line(s) you changed in the source. Show us the contents of the relevant ~alias/.qmail- file. Show us the exact details of the symlink mentioned above (are you sure that's what you did, because you make no mention of ~alias/.qmail-log, or similar, AND a .qmail file can't just be a symlink to a mailbox).
Re: Duplicates in log created by queue_extra
On Fri, 15 Dec 2000, Nathan Harmon wrote: Sorry, should have been more specific. root@mail:~ cat /usr/src/qmail-1.03/extra.h #ifndef EXTRA_H #define EXTRA_H #define QUEUE_EXTRA "Tlog\0" #define QUEUE_EXTRALEN 5 #endif root@mail:~ ls -l ~alias/msg-log lrwxrwxrwx 1 root qmail 18 Dec 14 14:46 /var/qmail/alias/msg-log - /var/allmail/INBOX root@mail:~ cat ~alias/.qmail-log ./msg-log root@mail:~ ls -l /var/allmail/INBOX -rw-rw 1 allmail nofiles 2325 Dec 15 13:49 /var/allmail/INBOX For example, if I send a message to [EMAIL PROTECTED], the message will appear twice in /var/allmail/INBOX. I'm assuming this is because it is recording the message to [EMAIL PROTECTED], as well as the message to [EMAIL PROTECTED] No. What you have above looks kosher. The message should be delivered to spock and log. There is no message re-injection happening so the extra.c code is only ever called once. Can you show us the relevant log entries (don't massage them at all, please). Now, I've pondered changing the QUEUE_EXTRA to something that would copy the mail directly to ~alias/msg-log. But I'm not a programmer (or even a very good one at that), so I tend to ask permission before messing with sources *snicker*. There should be no need to do that. I'm also going to be running ezmlm mailing lists on here. Will I have the same problem with those? Hopefully not if you've made the changes correctly. -- Regards Peter -- Peter Samuel[EMAIL PROTECTED] http://www.e-smith.org (development)http://www.e-smith.com (corporate) Phone: +1 613 368 4398 Fax: +1 613 564 7739 e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada "If you kill all your unhappy customers, you'll only have happy ones left"
Re: Duplicates in log created by queue_extra
Hrmmm. I can't recreate the problem. I think something (or someone else) must have fixed it. Weird. Anyway, get this. Now ezmlm is giving me the trouble. I know this isn't an ezmlm list, but let me run it by some of you and maybe you can tell me if this is being caused by a qmail problem or an ezmlm problem. I created a mailing list called testlist by doing the following... As root, I su'ed to alias, then ran the following command /usr/local/bin/ezmlm/ezmlm-make ~/testlist ~/.qmail-testlist testlist mbandt.com Then I subsequently did the following /usr/local/bin/ezmlm/ezmlm-sub ~/testlist [EMAIL PROTECTED] /usr/local/bin/ezmlm/ezmlm-sub ~/testlist [EMAIL PROTECTED] Both of these users exist on the syste in their own nature (nathan.harmon is the actual username in /etc/passwd). Now, when use Outlook to send a message to [EMAIL PROTECTED], the message arrives just fine for nathan.harmon and nathan. Problem is, if I look at /var/allmail/INBOX (reference from my previous posts), the message shows up twice. --- FROM /var/allmail/INBOX --- From [EMAIL PROTECTED] Fri Dec 15 21:52:43 2000 Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 5956 invoked from network); 15 Dec 2000 21:52:43 - Received: from unknown (HELO EDP6) (192.100.100.22) by 192.100.100.198 with SMTP; 15 Dec 2000 21:52:43 - Message-ID: 006401c066e2$2a962960$166464c0@EDP6 From: "Nathan Harmon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: TEST Date: Fri, 15 Dec 2000 16:58:32 -0500 Organization: Monroe Bank Trust MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Status: RO X-Status: X-Keywords: X-UID: 1 TEST From [EMAIL PROTECTED] Fri Dec 15 21:52:44 2000 Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 5963 invoked by alias); 15 Dec 2000 21:52:43 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Delivered-To: mailing list [EMAIL PROTECTED] Received: (qmail 5956 invoked from network); 15 Dec 2000 21:52:43 - Received: from unknown (HELO EDP6) (192.100.100.22) by 192.100.100.198 with SMTP; 15 Dec 2000 21:52:43 - Message-ID: 006401c066e2$2a962960$166464c0@EDP6 From: "Nathan Harmon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: TEST Date: Fri, 15 Dec 2000 16:58:32 -0500 Organization: Monroe Bank Trust MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Status: RO X-Status: X-Keywords: X-UID: 2 TEST --- END OF THIS ---
Re: Duplicates in log created by queue_extra
On Fri, Dec 15, 2000 at 05:12:22PM -0500, Nathan Harmon wrote: Now, when use Outlook to send a message to [EMAIL PROTECTED], the message arrives just fine for nathan.harmon and nathan. Problem is, if I look at /var/allmail/INBOX (reference from my previous posts), the message shows up twice. Surely it does. The first is a copy of the email you've sent via outlook. The second is a copy of the email ezmlm injected for distribution. \Maex -- SpaceNet AG | 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.
More on relay problem, something to do with tcpserver
Ok, by checking the logs I've determined that from certain clients (namely a command-line DOS smtp mailer we use) the smtp connection ends before getting any data, with the following message in/var/log/qmail/qmail-smtpd/current: tcpserver: end xxx status 256 When using Outlook Express, which is successful, this message winds up in the log: tcpserver: end xxx status 0 Simple question: where can I find out what the end statuses provided by tcpserver mean? TIA
how to ignore $HOME/.qmail ?
i'd like ~joe/.qmail to be ignored by qmail. i don't want qmail to check if ~joe exists at all. instead, i'd like /var/qmail/alias/.qmail-joe to be the only file consulted. i put this line in /var/qmail/users/assign: =joe:alias:81:81:/var/qmail/alias:-:joe: but qmail-newu complains: msg# /var/qmail/bin/qmail-newu qmail-newu: fatal: bad format in users/assign what am i doing wrong? ---Matt
Qmail support in Australia ?
Hi all... I'm in the process of proposing a shift off our current (almost working :)) email system to qmail and have stumbled upon a small but significant problem. Our IT manager is a non-techi and as such is always looking for the, MS solution... I'm the only *nix guy in the department and have successfully convinced him to move DNS/WEB/Cache/DHCP over to *nix, phew !!! (email is next) The IT manager likes throwing "What happens if you get hit by a bus" at me... well, I get hit by a bus and not a single soul in our IT department can do any Qmail admin. I'd be happy to train them up but I need to also know that commercial support is available in Australia... This is the clincher !!! Cheers Dennis
RE: Qmail support in Australia ?
Hi Mark... As I mentioned... If I get hit by a bus the other guys no NOTHING of unix, NOTHING The picture is starting to become clearer now huh :) -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Saturday, 16 December 2000 11:10 AM To: [EMAIL PROTECTED] Subject: Re: Qmail support in Australia ? If you don't need it to be onsite support, then does it matter where the support comes from? I'm sure a number of the support orgs on www.qmail.org are happy to offer remote support contracts. Regards. On Sat, Dec 16, 2000 at 10:50:00AM +1100, Dennis wrote: Hi all... I'm in the process of proposing a shift off our current (almost working :)) email system to qmail and have stumbled upon a small but significant problem. Our IT manager is a non-techi and as such is always looking for the, MS solution... I'm the only *nix guy in the department and have successfully convinced him to move DNS/WEB/Cache/DHCP over to *nix, phew !!! (email is next) The IT manager likes throwing "What happens if you get hit by a bus" at me... well, I get hit by a bus and not a single soul in our IT department can do any Qmail admin. I'd be happy to train them up but I need to also know that commercial support is available in Australia... This is the clincher !!! Cheers Dennis
Re: No,there are 144000 mails in my queue!!!
At 11:09 PM 12/15/00 +0800, jf wrote: Most of them are the same. Pls tell me how to deal with it. I have put the mail from address to the badmailfrom,but it wouldn't stop. I hate Sparm have you run the rblsmtpd also ?
Re: mail-abuse Setups
ie one check per "-r". That indeed seems to have resolved the issue. Thank you muchly. ag