spam processing
sadly, one of our domains seems to have gotten onto one or more of those "Buy * Million first class spam recipients' email addresses NOW" lists/CDs. so we keep receiving mails from all over this lovely planet for the non existent users michellep tonyak jenniferd barbik melindaa gabriellej barbis doloresz melindab junem (exciting isn't it) i would like to process them automatically via a .qmail* file, and one thing i would like to extract automatically is the IP of the SMTP relay that sent the mail to our server. example: Return-Path: [EMAIL PROTECTED] Received: (qmail 28677 invoked by alias); 21 Sep 2000 01:26:51 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 28673 invoked from network); 21 Sep 2000 01:26:51 - Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65) by 192.168.27.19 with SMTP; 21 Sep 2000 01:26:51 - Received: from cs28100-41.houston.RR.COM by srvweb.IMPI-GIPSI.FR with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id S52XFY3D; Thu, 21 Sep 2000 00:07:33 +0200 DATE: 20 Sep 00 5:08:51 PM FROM: [EMAIL PROTECTED] Message-ID: TeK72wV57gK1zQ7474o SUBJECT: get shopping discounts, improve your quality of life so i would like to extract 194.206.111.65 from the line Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65) i am rather new at parsing ... and PERL? is that something you wear around your neck? sorry if you consider this off topic, it certainly is part of my life with qmail *g* cheers wolfgang
Re: pop3 running as...
On Wed, 20 Sep 2000, andy wrote: Just one question for y'all. As per the "humorous" thread, none of you are obliged to answer, and if I in any way come off as and asshole or idiot feel free to harass me. ( Oh shit! that wasn't an asshole thing to say was it? ) Is qmail-popup\qmail-pop3d supposed to run as root? Thanks in advance, -Andy Simple answer, yes. Long explanation. qmail-popup reads the username and password from the socket and passes them to the next program (usually checkpassword by djb or another program based on it). checkpassword verifies the username and password and changes the gid and uid and priveledges to become the user just verified. It then runs qmail-pop3d as that user. The fact that checkpassword switches to the identity of the verified user is what requires qmail-popup to be run as root. It is also what provides protection from any exploits in qmail-pop3d (none have been found to date and based on Dan's and Russ' coding, I doubt that any will be found). qmail-pop3d runs as the user who owns the mailbox being accessed and therefore can only access files and directories available to that user. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
qmail-pw2u
Hi everyone, Thanks for all, I'm runnig the qmail-pw2u like % ./qmail-pw2u alm:x:65542:1::/d1/qmail/qmail/users/alm:/sbin/sh But I don't have the prompt! "alm:x:65542:1::/d1/qmail/qmail/users/alm:/sbin/sh" is a line in /etc/passwd Allama,
qmail Digest 21 Sep 2000 10:00:01 -0000 Issue 1130
qmail Digest 21 Sep 2000 10:00:01 - Issue 1130 Topics (messages 49009 through 49103): Re: patch to qmail-remote outgoingip patch 49009 by: Magnus Bodin 49036 by: Russell Nelson Re: QMAILQUEUE patch 49010 by: J.J.Gallardo 49070 by: Jason Haar 49093 by: David Dyer-Bennet qmail syntax problem 49011 by: Jens Georg 49012 by: Magnus Bodin 49013 by: Jost Krieger 49014 by: wolfgang zeikat 49080 by: Jens Georg SMTP 49015 by: Nick Davies 49016 by: Johan Almqvist Controlling resources. 49017 by: dG 49018 by: Petr Novotny Mail billing software for qmail 49019 by: hitesh 49025 by: Olivier M. some qmail message not being delivered to a certain smtp server. header questions 49020 by: John W. Lemons III 49021 by: Charles Cazabon 49022 by: Peter van Dijk 49023 by: Petr Novotny 49024 by: Charles Cazabon 49026 by: Peter van Dijk 49028 by: Petr Novotny 49054 by: John W. Lemons III 49061 by: Charles Cazabon Mail in the Q 49027 by: Doug Schmidt 49030 by: Petr Novotny Re: Humorous 49029 by: Greg Kopp 49031 by: John Gonzalez/netMDC admin 49034 by: Brad Johnson 49035 by: dG 49039 by: Dave Sill 49040 by: Greg Kopp 49042 by: Robin S. Socha 49044 by: John Gonzalez/netMDC admin 49045 by: markd.bushwire.net 49056 by: Felix von Leitner 49094 by: David Dyer-Bennet 49100 by: Russell Nelson Re: Number of user-processes 49032 by: Dave Sill 49033 by: markd.bushwire.net need help with vpopmail 49037 by: Simo Lakka 49088 by: Dale Miracle SMTP connections timing out 49038 by: Albert Hopkins 49043 by: Petr Novotny Re: Two @ signs in RCPT TO - how to reject? 49041 by: Dave Sill Re: Users don't recieve mail... 49046 by: Dave Sill 49047 by: Cyril Bitterich 49050 by: wolfgang zeikat 49057 by: Dave Sill 49059 by: Cyril Bitterich dotqmail scripting 49048 by: Gary Richardson 49051 by: Oezguer Kesim 49052 by: Peter Samuel 49053 by: Charles Cazabon 49072 by: Gary Richardson Re: Mailman - qmail 49049 by: Dave Sill Send a mail 49055 by: Allama Hicham 49058 by: Charles Cazabon 49060 by: dG 49062 by: Jerry Lynde 49063 by: Dave Sill 49065 by: Dave Sill 49066 by: Peter Samuel 49068 by: Jerry Lynde 49069 by: Rishi Maker messages on queue with no "To:" address 49064 by: Donovan, Laura 49067 by: Peter Samuel pop3 running as... 49071 by: andy 49073 by: Peter Samuel 49074 by: Ben Beuchler 49102 by: Timothy L. Mayo similar to the scripting question... 49075 by: Galen Johnson 49076 by: Charles Cazabon 49077 by: Galen Johnson tcprules question 49078 by: Brice Ruth 49082 by: Brice Ruth 49083 by: Ben Beuchler unsubscribe please 49079 by: Mervyn at ifwdc.com 49081 by: Ihnen, David DNS ERROR 49084 by: tigre21.gamma.qnet.com.pe 49085 by: Markus Stumpf Re: Remotely subscribing multiple addresses 49086 by: Brett Randall 49087 by: Austad, Jay stumped with ezmlm 49089 by: Bill Logan 49090 by: Bill Logan Tarpitting 49091 by: Denis Petrov 49092 by: Chris Johnson Sending all outgoing email through a relay 49095 by: Al Sparks 49096 by: Brett Randall 49097 by: Al Sparks 49098 by: Brett Randall Re: Are we acting as an open relay? 49099 by: Greg White spam processing 49101 by: wolfgang zeikat qmail-pw2u 49103 by: Allama Hicham Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- On Tue, Sep 19, 2000 at 12:39:42PM +0200, Magnus Bodin wrote: Yes. This answer is _very_ late. On Sat, Feb 12, 2000 at 02:20:13AM -0800, Aaron Nabil wrote: Thanks for the "qmail-remote outgoingip patch", I was able to Who contributed this, and where? Has anything been done to this further? Making it possible to bind qmail-remote to a specific interface. OK. I found it. Here: http://www.qmail.org/outgoingip.patch But it wasn't linked anywhere. /magnus -- http://x42.com/ It's here: lia href="http:[EMAIL PROTECTED]"Markus Stumpf/a has a a href="http://www.lamer.de/maex/creative/software/qmail/"pair of qmail patches/a, one to cause qmail-smtpd to log its disposition of mail, and another to convince qmail-remote to use a
Re: pop3 running as...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Sep 2000, at 17:14, andy wrote: Is qmail-popup\qmail-pop3d supposed to run as root? qmail-popup, yes (unless you have some single-uid setup). qmail-pop3d, not (root never gets any mail under qmail, anyway). -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 -- QDPGP 2.61b Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOcnOO1MwP8g7qbw/EQIo7ACfUN/boAo3Fk2ML8RvtUwTFE2XLaQAn0f9 khSvV5F52zHPCfN9D0A/KHff =DFyB -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]
Syslog
Hi, I'm running qmail on two machines (one slack 7.0 and one rh 6). They are both setup identically buy on the rh machine qmail's status doesn't goto messages. How do i get it to? Thanks. Nick -- Nick Davies Technical Director Magnitude Ltd www.magnitude.co.uk [EMAIL PROTECTED]
Re: qmail-pw2u
On Wed, Sep 20, 2000 at 10:16:10PM +, Allama Hicham wrote: I'm runnig the qmail-pw2u like % ./qmail-pw2u alm:x:65542:1::/d1/qmail/qmail/users/alm:/sbin/sh Try; cd /var/qmail/users /var/qmail/bin/qmail-pw2u /etc/passwd assign The qmail-pw2u man page is worth reading :) 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]
Maildir Mailbox Format!
Hi, Can netscape messanger and outlook express automatically recongize the maildir mailbox format.?? Thank you MarkLo
Oversize DNS packet patch
HI, I would like to know how to apply the Oversize DNS packet patch to Qmail. Thank you Mark lo
Re: Maildir Mailbox Format!
the email clients Netscape Messenger and Outlook Express dont need to recognize the maildir format, cause they dont have anything to do with it. to fetch mail, these clients contact a POP3 server program or an IMAP server program on your incoming mail server, and those programs "present" them the mail in a format they understand. to send mail, these clients contact the SMTP server program on your outgoing mail server, and that has nothing to do with Maildir / Mailbox. both netscape and outlook express can cooperate with a qmail mail server that uses Maildir format. wolfgang Also sprach Mark Lo [EMAIL PROTECTED] on 21.09.2000: Can netscape messanger and outlook express automatically recongize the maildir mailbox format.??
Re: Syslog
On Don, 21 Sep 2000, Nick Davies wrote: Hi, I'm running qmail on two machines (one slack 7.0 and one rh 6). They are both setup identically buy on the rh machine qmail's status doesn't goto messages. How do i get it to? Have a look into /etc/syslog.conf. If there is a line with mail.* -/some/logfile look for the qmail-messages in that logfile. In the line similar to *.*;mail.none;news.none -/var/log/messages you have to remove mail.none to get the qmail-logs into /var/log/messages. hih, -- Oliver Koch Registered Linux User 163952 "It's a summons." "What's a summons?" "It means summon's in trouble." -- Rocky and Bullwinkle
Re: Re: Users all of a sudden have to download all email from server???
had one customer with a smiliar thing.. no matter what mail servers were using, it seems to be a Outlook related problem. As far we could see this behaviour only causes if someone tries not to delete the mails after reading them through Outlook. So sometimes Outlook gets only the new one.. or even all again in one bunch. This never happened with other mail clients. Anton On Thu, 13 Jul 2000, Dave Sill wrote: Date: Thu, 13 Jul 2000 09:41:08 -0400 (EDT) To: [EMAIL PROTECTED] From: Dave Sill [EMAIL PROTECTED] Subject: Re: Users all of a sudden have to download all email from server??? Dan Hill [EMAIL PROTECTED] wrote: I have salesmen that connect to my server via dialup. They are using MS Outlook 97. Yes, I know its not very good, but does what we need it to do. I have their accounts setup to not delete their email from the server. How? Now all of a sudden, they are downloading all of their e-mail, as if this was the first time they ever accessed their accounts from their boxes. I can't find anything fishy in log files other than their messages listed as New. Anyone have any ideas as to what might be happening? Insufficient data. What server are they accessing to retrieve their mail? qmail-pop3d? Some other POP3 daemon? An IMAP daemon? -Dave
Send a Mail
Hi everyone, I'm a user "alm", I'm sending a mail like %echo to: alm |/var/qmail/bin/qmail-inject But when I read the syslog file, I find that Sep 21 11:21:02 saladin qmail: 969535262.065338 new msg 284546 Sep 21 11:21:02 saladin qmail: 969535262.072289 info msg 284546: bytes 226 from [EMAIL PROTECTED] qp 7121 uid 65542 Sep 21 11:21:02 saladin qmail: 969535262.378825 starting delivery 1: msg 284546 to local [EMAIL PROTECTED] Sep 21 11:21:02 saladin qmail: 969535262.380862 status: local 1/10 remote 0/20 Sep 21 11:21:03 saladin qmail: 969535263.283817 new msg 284547 Sep 21 11:21:03 saladin qmail: 969535263.285761 info msg 284547: bytes 333 from [EMAIL PROTECTED] qp 7129 uid 65535 Sep 21 11:21:03 saladin qmail: 969535263.589951 starting delivery 2: msg 284547 to local [EMAIL PROTECTED] Sep 21 11:21:03 saladin qmail: 969535263.591965 status: local 2/10 remote 0/20 Sep 21 11:21:03 saladin qmail: 969535263.592887 delivery 1: success: did_0+1+0/q p_7129/ Sep 21 11:21:03 saladin qmail: 969535263.643506 status: local 1/10 remote 0/20 Sep 21 11:21:03 saladin qmail: 969535263.666332 end msg 284546 Sep 21 11:21:03 saladin qmail: 969535263.733224 delivery 2: failure: This_messag e_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/ Sep 21 11:21:03 saladin qmail: 969535263.825974 status: local 0/10 remote 0/20 Sep 21 11:21:04 saladin qmail: 969535264.126290 bounce msg 284547 qp 7138 Sep 21 11:21:04 saladin qmail: 969535264.161001 end msg 284547 Sep 21 11:21:04 saladin qmail: 969535264.321734 new msg 284546 Sep 21 11:21:04 saladin qmail: 969535264.323660 info msg 284546: bytes 924 from qp 7138 uid 65541 Sep 21 11:21:04 saladin qmail: 969535264.498601 starting delivery 3: msg 284546 to local [EMAIL PROTECTED] Sep 21 11:21:04 saladin qmail: 969535264.500616 status: local 1/10 remote 0/20 I don't know what that qmail send message two times and what that's mean "This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/" and I don't find any mail in Maildir directory. Thanks for you Allama,
qmail + MySQL site need.
Hi, Is there any docmentations or web site exists to teach people how to use Mysql + qmail?? Thank you Mark
oops.. i am sorry...
i am sorry.. my email client crashed and i had to set up a new one asap. But did copy the "outgoing" folder into the "output" one by mistake.. i am sorry for this .. :(( Anton Pirnat
Re: Send a Mail
On Thu, Sep 21, 2000 at 12:01:06AM +, Allama Hicham wrote: I'm a user "alm", I'm sending a mail like %echo to: alm |/var/qmail/bin/qmail-inject But when I read the syslog file, I find that "This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/" It means that for some reason qmail is delivering the message to user 'alm' and then re-delivering to the user 'alm'. Does ~alm/.qmail exist? Does it perhaps have an instruction to forward messages to 'alm' ? 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]
Re: Maildir Mailbox Format!
Yes, IE and NM connects via pop3 and on the server activates qmail-popup, which transparently acces to Maildir or Mailbox - Original Message - From: Mark Lo To: [EMAIL PROTECTED] Sent: Thursday, September 21, 2000 12:38 PM Subject: Maildir Mailbox Format! Hi, Can netscape messanger and outlook express automatically recongize the maildir mailbox format.?? Thank you MarkLo
Re: Humorous
On Wed, Sep 20, 2000 at 07:58:38PM +0200, Felix von Leitner wrote: [snip] Felix PS: Outlook users, please read http://www2.merton.ox.ac.uk/~rejs/outlook.html In which you should read '75' as '72'. 72 is the globally accepted standard. Another outlook helper: http://www.okinfoweb.com/moe/bugs/bugs_047.htm or http://learn.to/quote (German only, unfortunately) http://leerquoten.nijntje.net/ is a Dutch version with probably just about the same content :) And ofcourse: http://rfc1855.x42.com/ Greetz, Peter. -- [ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat [student]Undernet:#groningen/wallops | IRCnet:/#alliance [developer] EFnet:#qmail _ [disbeliever - the world is backwards](__VuurWerk__(--*-
qmail/perl and attachments
This may be a bit off-topic (only a little), so forgive the intrusion. A co-worker is trying to write a perl script to send a mail message with an attachment included. I have looked at varius perl modules available at www.cpan.org, but the only one listed that has the ability to add attachments doesn't work with qmail. Apparently qmail will send multi-line responses, which would necessitate a complete re-write of the module. Unfortunately, we don't have that kind of time. Can someone point me in a direction to help him out? None of us are SMTP gurus. Has anyone done this before and could possibly give me a few ideas to pass along? Greg
Re: Oversize DNS packet patch
I would like to know how to apply the Oversize DNS packet patch to Qmail. Use the following command inside the qmail source directory: patch qmail-103.patch This assumes that the patch file was saved in the qmail source directory. For a complete description of the patch command use `man patch´. Regards, Frank
Re: qmail/perl and attachments
(Note: it's been mentioned here before, please do NOT reply to a post with a totally different subject. It's rude.) also sprach gkopp: This may be a bit off-topic (only a little), so forgive the intrusion. A co-worker is trying to write a perl script to send a mail message with an attachment included. I have looked at varius perl modules available at www.cpan.org, but the only one listed that has the ability to add attachments doesn't work with qmail. Apparently qmail will send multi-line responses, which would necessitate a complete re-write of the module. Unfortunately, we don't have that kind of time. perl -MCPAN -e 'install MIME::Entity' man MIME::Entity Works for me (with qmail, even)! /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- Subject: Forget about "2,0,12 Memory management screwy" Further investigation revealed that this was an 170Meg E-mail trying to go through our system. Was not kernel related at all. (Seen on the linux-kernel list by Sebastian Benoit)
Re: qmail/perl and attachments
Can someone point me in a direction to help him out? None of us are SMTP gurus. Has anyone done this before and could possibly give me a few ideas to pass along? There are modules that can assemble a complete MIME message (I just cannot look for them). For sending you may use ANY SMTP server if you use Net::SMTP. I find it rather annoying that most of the modules assume that the envelope recipients are to be extracted from the various headers. That's why I almost always use Net::SMTP. Regards, Frank
Re: qmail/perl and attachments
On Thu, 21 Sep 2000, Greg Kopp wrote: This may be a bit off-topic (only a little), so forgive the intrusion. A co-worker is trying to write a perl script to send a mail message with an attachment included. I have looked at varius perl modules available at www.cpan.org, but the only one listed that has the ability to add attachments doesn't work with qmail. Apparently qmail will send multi-line responses, which would necessitate a complete re-write of the module. Unfortunately, we don't have that kind of time. Can someone point me in a direction to help him out? None of us are SMTP gurus. Has anyone done this before and could possibly give me a few ideas to pass along? RFC1521 explains it quite well. I used it this morning to put together some BASE64 attachments. Somewhere around page 29 is probably what you're looking for. Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: some qmail message not being delivered to a certain smtp server. header questions
John W. Lemons III writes: I think I've figured out their problem... They are using FTGate to retrieve the mail from their ISP who places all their mail in a multi-drop mailbox. Then the "smartpop" stuff in FTGate pulls the info from the ISPs drop box and distributes it to the various local mail boxes, but can't distribute some of the messages because the ISP is not modifying the message headers to append the "expected" X-Recipient header derived from the RECV TO: information from the envelope. Is it just me, or does this sound non-standard? Any RFCs on this? Tell them that they cannot reliably do what they want unless their ISP cooperates. These things *are* completely non-standard, but can be made to work if the ISP stuffing the mail into the mailbox writes the same information expected by the software downloading from the pop3 box. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.
Re: dns oversize packet patch
Mark Lo writes: Hi, I don't know how to apply the oversize dns packet patch to qmail. That's okay. It's generally not necessary. Anybody who accidentally creates oversize dns records recognizes their mistake when nobody can send them mail. Even AOL stopped generating oversize records. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.
Re: qmail + MySQL site need.
Mark Lo writes: Hi, Is there any docmentations or web site exists to teach people how to use Mysql + qmail?? See http://www.qmail.org: li date="2223" [EMAIL PROTECTED] wrote a href="http://www.softagency.co.jp/mysql/qmail.en.html"MySQL + QMAIL/a, including qmail-getpw-mysql and checkpassword-mysql, to look up users in a mysql database. Iain Patterson has improved on a href="http://iain.cx/unix/qmail/mysql.php"MySQL + QMAIL/a. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.
Received: based SPAM blocking
I want to run the IP addresses from the Received: lines in a message header through something like rblsmtpd to block spam that was relayed to me. So I got all ready to set up my system-wide filters when I realised that DJB didn't split rblsmtpd up into smaller pieces (joke) ... so I wondered if anyone else thought it would be beneficial to have one program that did the lookups against the RBL, etc., and have rblsmtpd run it to do those lookups, as well as other programs that wanted to. Instead of: Connection - rblsmtpd (do lookup) - send back brief SMTP message. Have: Connection - rblsmtpd - send back brief SMTP message. | rblcheck(?) (do lookup) This way, other filters could call rblcheck (better name?) as well. Just wondering if I've missed the boat on why this would be a bad idea, or if it just hasn't been done yet. Sample headers ... --- Delivered-To: [EMAIL PROTECTED] Received: (qmail 25872 invoked from network); 21 Sep 2000 11:39:27 - Received: from gw2.fibrespeed.net ([EMAIL PROTECTED]) by web.fibrespeed.net with QMQP; 21 Sep 2000 11:39:27 - Received: from growl.pobox.com (208.210.124.27) by gw.fibrespeed.net with SMTP; 21 Sep 2000 11:39:27 - Received: from growl.pobox.com (localhost [127.0.0.1]) by growl.pobox.com (Postfix) with ESMTP id 53F6014F46 for [EMAIL PROTECTED]; Thu, 21 Sep 2000 07:38:27 -0400 (EDT) Received: from web.yn-tobacco.com (unknown [202.98.189.88]) by growl.pobox.com (Postfix) with ESMTP id B9CA914D34 for [EMAIL PROTECTED]; Thu, 21 Sep 2000 07:38:16 -0400 (EDT) Received: from mickey (tnt6-szb.szptt.net.cn [202.104.105.8]) by web.yn-tobacco.com with SMTP (Microsoft Exchange
RE: some qmail message not being delivered to a certain smtp server. header questions
Thats exactly what I've done. I fired off an email to my friend detailing the problem and some potential resolutions. (X-Recipient or Delivered-To headers derived from the RCPT To: envelope field) It will be interesting to see if they can accomplish this. I told him he would be better of running his own mail server, but that isn't an option since they don't have the technical people and won't hire them. Heck, they have 60+ people working there... -Original Message- From: Russell Nelson [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 21, 2000 8:47 AM To: qmail list Subject: RE: some qmail message not being delivered to a certain smtp server. header questions John W. Lemons III writes: I think I've figured out their problem... They are using FTGate to retrieve the mail from their ISP who places all their mail in a multi-drop mailbox. Then the "smartpop" stuff in FTGate pulls the info from the ISPs drop box and distributes it to the various local mail boxes, but can't distribute some of the messages because the ISP is not modifying the message headers to append the "expected" X-Recipient header derived from the RECV TO: information from the envelope. Is it just me, or does this sound non-standard? Any RFCs on this? Tell them that they cannot reliably do what they want unless their ISP cooperates. These things *are* completely non-standard, but can be made to work if the ISP stuffing the mail into the mailbox writes the same information expected by the software downloading from the pop3 box. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.
Re: Received: based SPAM blocking
On Thu, Sep 21, 2000 at 10:05:12AM -0400, Michael T. Babcock wrote: [snip] Instead of: Connection - rblsmtpd (do lookup) - send back brief SMTP message. Have: Connection - rblsmtpd - send back brief SMTP message. | rblcheck(?) (do lookup) This way, other filters could call rblcheck (better name?) as well. Just wondering if I've missed the boat on why this would be a bad idea, or if it just hasn't been done yet. http://freshmeat.net/projects/rblcheck/ seems to do just that :) Greetz, Peter. -- [ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat [student]Undernet:#groningen/wallops | IRCnet:/#alliance [developer] EFnet:#qmail _ [disbeliever - the world is backwards](__VuurWerk__(--*-
Re: q: vacation message.. qmail-vacation..
On Fri, 2 Jun 2000, Anton PIrnat wrote: hi there, anyone who tried out qmail-vacation script (Peter Samuel) together with vpopmail? As far i can see it wont use virtual domains as vpopmail is used to do... qmail-vacation does not support virtual domains. Patches are welcome. -- 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"
[OT] Achieving Time-Synch at mailserver
hi, sorry for the OT-ness. I just hope other mail-admins in here may have had the same problem, and may be willing to share some hints with me. I have 2 mails servers that I want to synch (and keep with the world's clock). As one is in co-location, there's no problem at all: I'm installing NTPd (although I have some security concerns). The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). I checked CPAN for NTP and found nothing. The Net::Time module doesn't seem to help as it's looking for a time server, and not a NTP server. Am I too misguided? How are you guys keeping machines in synch? martin
Re: qmail-pw2u
cd /var/qmail/users /var/qmail/bin/qmail-pw2u /etc/passwd assign The qmail-pw2u man page is worth reading :) And it can make your head spin. I spent quite along time last night reading the man pages for qmail-(pw2u, getpw, newu) along with several searches on list archives. Finally figured out what I was missing and got it going. Of course I have to fight the temptation to ask such a lame question to the list, instead choosing to burn my brain cells. ;) As it turns out my problem was not in converting users from /etc/passwd to users/assign, but in forgetting to echo ./Maildir/ .qmail. One thing I do not fully understand is what the purpose of having the /user/assign (include, exclude) files is, unless one is hosting for virtual domains or multiple email addresses per user. Then again maybe that is the purpose. Going back to my reading :) David
Re: qmail-pw2u
On Thu, Sep 21, 2000 at 10:41:46AM -0500, dG wrote: course I have to fight the temptation to ask such a lame question to the list, instead choosing to burn my brain cells. ;) Waahoo! Excellent! :) One thing I do not fully understand is what the purpose of having the /user/assign (include, exclude) files is, unless one is hosting for virtual domains or multiple email addresses per user. Then again maybe that is the purpose. That's pretty much it. In those cases it's great. If don't need to override /etc/passwd controlled delivery you don't have much need for it. That said, there is a tiny gain in using it, as qmail-local will always see if users/assign is being used. If it's not, that check is wasted. If you have a large userbase, it could be useful if even just to replicate /etc/passwd delivery. That's what we do now. I use the attached makefile to try to keep things sane. ATB, 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] # Makefile to manage qmail's users/assign mechanism of local delivery # control. See README. # James, 22nd May 2000. default: cdb # Make users/assign if with the passwd file or list of additional # instructions has changed. # qmail-pw2u replicates /etc/passwd into users/assign # users/append is a list of extra assignments assign: /etc/passwd append exclude /var/qmail/bin/qmail-pw2u /etc/passwd assign chgrp qmail assign # Build users/assign into the CDB database format. cdb: assign /usr/local/bin/assign-lint ./assign /var/qmail/bin/qmail-newu chgrp qmail cdb
Re: [OT] Achieving Time-Synch at mailserver
On Thu, Sep 21, 2000 at 11:39:32AM -0300, martin langhoff wrote: The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). The xntp package includes ntpdate. It does just this. Am I too misguided? How are you guys keeping machines in synch? xntpd, even on dial-up machines. 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]
Re: [OT] Achieving Time-Synch at mailserver
On Thu, Sep 21, 2000 at 03:58:45PM +0100, James Raftery wrote: On Thu, Sep 21, 2000 at 11:39:32AM -0300, martin langhoff wrote: The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). The xntp package includes ntpdate. It does just this. Am I too misguided? How are you guys keeping machines in synch? xntpd, even on dial-up machines. But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. Greetz, Peter. -- [ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat [student]Undernet:#groningen/wallops | IRCnet:/#alliance [developer] EFnet:#qmail _ [disbeliever - the world is backwards](__VuurWerk__(--*-
Re: [OT] Achieving Time-Synch at mailserver
From: Peter van Dijk [EMAIL PROTECTED] Date: Thu, 21 Sep 2000 17:12:32 +0200 On Thu, Sep 21, 2000 at 03:58:45PM +0100, James Raftery wrote: On Thu, Sep 21, 2000 at 11:39:32AM -0300, martin langhoff wrote: The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). The xntp package includes ntpdate. It does just this. Am I too misguided? How are you guys keeping machines in synch? xntpd, even on dial-up machines. But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. You can set the period in the configuration file. I believe the default is every 64 seconds (needs to be a power of 2). Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ virCIO http://www.virCIO.Com 4314 Avenue C Austin, TX 78751-3709 +1 512 374 0500 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. PGP signature
Re: [OT] Achieving Time-Synch at mailserver
On Thu, Sep 21, 2000 at 05:12:32PM +0200, Peter van Dijk wrote: But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. I don't know any more accurately than 'periodically'. My system clock doesn't run away with itself into oblivion, so I can live without a time sync on every dial-up. I imagine it can be made poll more often, either with a configuration option or some magic with the xntpdc program. ATB, 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]
Re: [OT] Achieving Time-Synch at mailserver
On Thu, Sep 21, 2000 at 04:38:02PM +0100, James Raftery wrote: On Thu, Sep 21, 2000 at 05:12:32PM +0200, Peter van Dijk wrote: But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. I don't know any more accurately than 'periodically'. My system clock doesn't run away with itself into oblivion, so I can live without a time sync on every dial-up. I imagine it can be made poll more often, either with a configuration option or some magic with the xntpdc program. minpoll minpoll maxpoll maxpoll These options specify the minimum and maximum polling in- tervals for NTP messages, in seconds to the power of two. The default range is 6 (64 s) to 10 (1,024 s). The al- lowable range is 4 (16 s) to 17 (36.4 h) inclusive. From man ntp.conf on my FreeBSD 4.0-STABLE box. 1024s should do for me. Greetz, Peter. -- [ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat [student]Undernet:#groningen/wallops | IRCnet:/#alliance [developer] EFnet:#qmail _ [disbeliever - the world is backwards](__VuurWerk__(--*-
Re: qmail-pw2u
That's pretty much it. Great, and it only took me 3 hours to figure that out :) If users/assign exists, will qmail-local start to use it automagically? Thanks for that Makefile, I did not realize that Makefiles don't have to be used with complex programs. Another book to add to the library. Thanks, David
RE: [OT] Achieving Time-Synch at mailserver
-Original Message- From: Peter van Dijk [mailto:[EMAIL PROTECTED]] xntpd, even on dial-up machines. But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. So what? It doesn't matter if it fails. It doesn't set the clock to zero, after all. It just doesn't set it. If it really makes a difference to you, have the appropriate stop and start daemon commands in the scripts that execute upon bringup/bringdown of the dialup interface... then it runs when you're connected and doesn't when you aren't. David
Re: qmail-pw2u
On Thu, Sep 21, 2000 at 11:46:24AM -0500, dG wrote: Great, and it only took me 3 hours to figure that out :) *G* If users/assign exists, will qmail-local start to use it automagically? Not quite. qmail-local actually uses users/cdb, which is the hashed database that the qmail-newu program makes from users/assign. If you don't use qmail-newu qmail-local won't see that you've either created the cdb or modified it. Thanks for that Makefile, I did not realize that Makefiles don't have to be used with complex programs. Another book to add to the library. If you have a situation where an output file is remade by some process which needs to be done if a set of input files have been modified, you most likely have a case for using make. ATB, 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]
advantages of maildir
Greets! Preface: with the mbox format, a message is appended at the end of a LONG text file ... reading a message means finding the message at the end of this LONG text file, right? So, with maildir, 2 important directories exist: cur and new ... so if a new message arrives in a maildir, it is in the "new" directory - once it is read, it is transferred to the "cur" directory where it is stored as a separate file ... Body: with these understandings, it would make sense to me that for a person using IMAP, maildir would be an ideal format to use ... a message comes into the Inbox, Messenger filters the message based on the header into a folder on the IMAP server (also a maildir) and there it lands in the "new" directory (right?) ... so the user hits "Next" to go to the next unread message that Messenger knows of, Messenger takes you to the folder it filtered the mail into and opens the new message ... ideally, this take very, very little time ... because neither Messenger nor the IMAP server need to read through an mbox-style text file to find the message, its simply the first message in the "new" directory ... or not? The Point: I'm not noticing a considerable speed increase ... moreover, I'm not noticing there being no corrolation between the number of messages in a folder and the time it takes to access a new message (this ought to be constant, right ... if you have 50 message or 2500 messages in that folder shouldn't matter, right?) ... What's going on here that I'm missing and was I crazy to transfer my mail systems from mbox to maildir?? Regards, Brice Ruth
Re: advantages of maildir
The Point: I'm not noticing a considerable speed increase ... moreover, How about relative load on the server? There's a lot of factors to consider in this regard. Possibly the code that handled v7 mailboxes scans the whole mailbox at startup and retains pointers directly into an open file. A Maildir scanner most likely retains the filenames which must be opened each time. I'm not noticing there being no corrolation between the number of messages in a folder and the time it takes to access a new message (this ought to be constant, right ... if you have 50 message or 2500 messages in that folder shouldn't matter, right?) ... What's going on here that I'm missing and was I crazy to transfer my mail systems from mbox to maildir?? What you need to do is measure the complete picture. System load, response times, network traffic, maintenance (such as purging aged messages) etc. Also if the profile of the mail changes, that can affect a lot of things too, for example, what if the mailbox has a small number of very large messages, does your performance profile change? Typically Maildir gains as the average message size grows. But, it's very much an "it depends" situation. I'd be very surprised if you've lost by changing over, so don't sweat it too much. Regards.
Pop3 Timeout problems
Lately, my server has been having problems with POP3 timeouts. Using Qmail 1.03 and the pop3 daemon that comes with QMail. I'm getting many calls from clients claiming that their email programs say: POP3 Server not responding, etc. This occurs during an email download. Some will be halfway through, or 1/4 or 90%. What is causing these pop3 timeouts? Thanks, Jose de Leon
RE: advantages of maildir
I am perenially amused by performance complaints where there is probably no performance problem. You ask if there is an improvement? How can you really know. Maybe the bottleneck is the IP transfer between the server and you, and when it came down to it, the spooled Imap was running faster than your data bandwidth. So, you don't see any difference. When something goes so fast that you blink and its done, is there any performance increase that will make it seem faster? Me to coworker: "Why do you have all this code here? You can do it more simply this other way." coworker: "Its faster this way." Me: "It runs at the most, once every hour, for less than five seconds the slow way. How will its speed affect anything?" coworker: "ummm... I dunno." David -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 21, 2000 9:11 AM To: [EMAIL PROTECTED] Subject: advantages of maildir Greets! Preface: with the mbox format, a message is appended at the end of a LONG text file ... reading a message means finding the message at the end of this LONG text file, right? So, with maildir, 2 important directories exist: cur and new ... so if a new message arrives in a maildir, it is in the "new" directory - once it is read, it is transferred to the "cur" directory where it is stored as a separate file ... Body: with these understandings, it would make sense to me that for a person using IMAP, maildir would be an ideal format to use ... a message comes into the Inbox, Messenger filters the message based on the header into a folder on the IMAP server (also a maildir) and there it lands in the "new" directory (right?) ... so the user hits "Next" to go to the next unread message that Messenger knows of, Messenger takes you to the folder it filtered the mail into and opens the new message ... ideally, this take very, very little time ... because neither Messenger nor the IMAP server need to read through an mbox-style text file to find the message, its simply the first message in the "new" directory ... or not? The Point: I'm not noticing a considerable speed increase ... moreover, I'm not noticing there being no corrolation between the number of messages in a folder and the time it takes to access a new message (this ought to be constant, right ... if you have 50 message or 2500 messages in that folder shouldn't matter, right?) ... What's going on here that I'm missing and was I crazy to transfer my mail systems from mbox to maildir?? Regards, Brice Ruth
Translating messages
I'm traing to translate messages from my old pop-server (Netscape Mail Server v2.02) to the new (QMail 1.03 + VPopmail 4.8.7 + QMailAdmin 0.33) perfectly configured and running (what a big server !!). I put the old messages of [EMAIL PROTECTED] from old-server in his box and now i configure my netscape to read messages from the new server (user = user1%server.dom1.com), receive the messages but all the parts (headers, envelope and body) appears in the body, that is, there isn't Subject, Date, From,To. Only a Subjetc (blank) and "headers, envelope and body" all as the body. Any ideas?
Re: Re: Users all of a sudden have to download all email from server???
On Thu, Jul 13, 2000 at 03:47:30PM +0200, Anton Pirnat wrote: had one customer with a smiliar thing.. no matter what mail servers were using, it seems to be a Outlook related problem. As far we could see this behaviour only causes if someone tries not to delete the mails after reading them through Outlook. So sometimes Outlook gets only the new one.. or even all again in one bunch. This never happened with other mail clients. I narrowed it down to using LAST (deprecated) vs. UIDL (preferred). I belive Outlook tries to use LAST which qmail-pop3d does not support. Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
can't send to addresses w/ in them.
One of our customers is upset because he can't email his brother at his bigfoot address. The address has an ampersand in the username portion eg; DNB[EMAIL PROTECTED] which qmail (1.03) apparently translates to "dnb^[EMAIL PROTECTED]" and the message is returned as undeliverable. Of course this customer has to point out that the sister with the MSN account can send to it, with no problems. DOH! I'm not necessarily trying to correct or work around the problem, but I wish I had an RFC I could quote that explains why this isn't working, and why MSN shouldn't deliver it either, except it is their nature to ignore/bend/break established protocols and procedures. Any insight would be greatly apreciated. TIA Duane L - [EMAIL PROTECTED] -
Re: can't send to addresses w/ in them.
On Thu, Sep 21, 2000 at 09:43:57AM -0700, Duane L. wrote: One of our customers is upset because he can't email his brother at his bigfoot address. The address has an ampersand in the username portion eg; DNB[EMAIL PROTECTED] which qmail (1.03) apparently translates to "dnb^[EMAIL PROTECTED]" and I see no evidence of that. Can you show us the log entries? Try: qmail-inject 'DNB[EMAIL PROTECTED]' and show us your logs as a consequence. Regards. the message is returned as undeliverable. Of course this customer has to point out that the sister with the MSN account can send to it, with no problems. DOH! I'm not necessarily trying to correct or work around the problem, but I wish I had an RFC I could quote that explains why this isn't working, and why MSN shouldn't deliver it either, except it is their nature to ignore/bend/break established protocols and procedures. Any insight would be greatly apreciated. TIA Duane L - [EMAIL PROTECTED] -
Re: can't send to addresses w/ in them.
On Thu, Sep 21, 2000 at 09:43:57AM -0700, Duane L. wrote: One of our customers is upset because he can't email his brother at his bigfoot address. The address has an ampersand in the username portion eg; DNB[EMAIL PROTECTED] which qmail (1.03) apparently translates to "dnb^[EMAIL PROTECTED]" and the message is returned as undeliverable. Of course this customer has to point out that the sister with the MSN account can send to it, with no problems. DOH! I know for a fact that qmail can send to addresses with a in them because I once had a mailing list that sent them unquoted, backgrounded itself, resent them because it did not complete, ad infinitem until I caught it and fixed the quoting. In a nutshell the **shell** was the issue, not qmail. cfm I'm not necessarily trying to correct or work around the problem, but I wish I had an RFC I could quote that explains why this isn't working, and why MSN shouldn't deliver it either, except it is their nature to ignore/bend/break established protocols and procedures. Any insight would be greatly apreciated. TIA Duane L - [EMAIL PROTECTED] - -- Christopher F. Miller, Publisher [EMAIL PROTECTED] MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 http://www.maine.com/ Database publishing, e-commerce, office/internet integration, Debian linux.
Re: Translating messages
"J.J.Gallardo" [EMAIL PROTECTED] wrote: I'm traing to translate messages from my old pop-server (Netscape Mail Server v2.02) to the new (QMail 1.03 + VPopmail 4.8.7 + QMailAdmin 0.33) perfectly configured and running (what a big server !!). I put the old messages of [EMAIL PROTECTED] from old-server in his box What does that mean? What command(s) did you use? If the old mailbox was in mbox format (multiple messages in one file) and his new mailbox is a maildir, I'd expect problems if you just used "mv". -Dave
Re: can't send to addresses w/ in them.
On Thu, 21 Sep 2000, Duane L. wrote: One of our customers is upset because he can't email his brother at his bigfoot address. The address has an ampersand in the username portion eg; DNB[EMAIL PROTECTED] which qmail (1.03) apparently translates to "dnb^[EMAIL PROTECTED]" and This looks like it is passing through the Obtuse smtpd program. That will escape strange characters (it's own definition of strange) with the hex code. As to where the obtuse smtpd is in the chain of mail from your customer to his brother remains to be seen. -- 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: advantages of maildir
Thank you for the responses! I recognize that my measuring is limited, I guess my only questions was the one about the new mail in a folder ... I was expecting constant access times (i.e. not based on number of messages in the folder) but I wasn't seeing that ... as time progresses I transfer more users over to maildirs, I'm sure I'll notice some of the other factors mentioned here. Regards, Brice Ruth [EMAIL PROTECTED] wrote: The Point: I'm not noticing a considerable speed increase ... moreover, How about relative load on the server? There's a lot of factors to consider in this regard. Possibly the code that handled v7 mailboxes scans the whole mailbox at startup and retains pointers directly into an open file. A Maildir scanner most likely retains the filenames which must be opened each time. I'm not noticing there being no corrolation between the number of messages in a folder and the time it takes to access a new message (this ought to be constant, right ... if you have 50 message or 2500 messages in that folder shouldn't matter, right?) ... What's going on here that I'm missing and was I crazy to transfer my mail systems from mbox to maildir?? What you need to do is measure the complete picture. System load, response times, network traffic, maintenance (such as purging aged messages) etc. Also if the profile of the mail changes, that can affect a lot of things too, for example, what if the mailbox has a small number of very large messages, does your performance profile change? Typically Maildir gains as the average message size grows. But, it's very much an "it depends" situation. I'd be very surprised if you've lost by changing over, so don't sweat it too much. Regards.
Re: spam processing
wolfgang zeikat [EMAIL PROTECTED] wrote: so we keep receiving mails from all over this lovely planet for the non existent users michellep tonyak jenniferd barbik melindaa gabriellej barbis doloresz melindab junem (exciting isn't it) i would like to process them automatically via a .qmail* file, and one thing i would like to extract automatically is the IP of the SMTP relay that sent the mail to our server. For each user, create a ~alias/.qmail-username file containing: |extract_relay where "extract_relay" is a shell/awk/perl/whatever script that finds the relay IP address and logs it. Writing this script is beyond the scope of this list. i am rather new at parsing ... and PERL? is that something you wear around your neck? sorry if you consider this off topic, it certainly is part of my life with qmail *g* It's not that I "consider" it off topic, it's that it *is* off topic. If it was a one-liner or something I could spout off the top of my head, I'd be happy to answer you, but it's not. You really should pick a scripting language, learn about it, and if you still need more help, contact a support forum for that language. -Dave
Re: qmail+maildir+imap
Brice Ruth [EMAIL PROTECTED] wrote: Here's the question: I have a large hierarchy of folders stored in my old imap (mbox format) - what can I use to easily convert this into maildir format? mbox2maildir. See www.qmail.org. -Dave
Documentation Need for qmail work with Mysql
Hi, I would like to know is there any other documnetation about how to use qmail with MySQL. I know there is a HOWTO from qmail site, but that document is not detailed enough to get me pass through all the stuff. Does anybody have any other good documentations on "How to use qmail with MySQL". I am greatly appreciated. Thank you Mark
Re: Translating messages
Dave Sill escribió: "J.J.Gallardo" [EMAIL PROTECTED] wrote: I'm traing to translate messages from my old pop-server (Netscape Mail Server v2.02) to the new (QMail 1.03 + VPopmail 4.8.7 + QMailAdmin 0.33) perfectly configured and running (what a big server !!). I put the old messages of [EMAIL PROTECTED] from old-server in his box What does that mean? What command(s) did you use? If the old mailbox was in mbox format (multiple messages in one file) and his new mailbox is a maildir, I'd expect problems if you just used "mv". No, because the NetscapeMailServer use one file per message, not mbox format. I put the messages in: /home/vpopmail/domains/dom1.com/user1/Maildir/new and connected via pop3 "I can read the messages", but in wrong type like I explain it at top. Read it carefully please.
qmail-popup
Hi everyone, I'm using qmail and Maildir I'm installing The checkpassword and I'm reading The Install file When I want to simulate a succeful POP login, I have the message : "-ERR unable to write pipe" Thank's for response :) Allama.
Re: spam processing
This program will only grab the most recent (last) Received: line's IP address. It can be modified to do more if you like, or you could just have it dump its output to a file listing IPs and every night run it through sort uniq. -x-CUT-x #!/usr/bin/perl $names="name1|name2|name3"; while () { if (/Received: from/) { $received = $_; } if (/To:.*$names/i) { $received =~ s/(([0-9]{1,3}\.){3}[0-9]{1,3})/$1/; $SpamIP = $1; # If you want to print them out ... print "$SpamIP\n"; } } -x-CUT-x i would like to process them automatically via a .qmail* file, and one thing i would like to extract automatically is the IP of the SMTP relay that sent the mail to our server. example: [...] so i would like to extract 194.206.111.65 from the line Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65)
Re: spam processing
This program will only grab the most recent (last) Received: line's IP address. It can be modified to do more if you like, or you could just have it dump its output to a file listing IPs and every night run it through sort uniq. -x-CUT-x #!/usr/bin/perl $names="name1|name2|name3"; while () { if (/Received: from/) { $received = $_; } if (/To:.*$names/i) { $received =~ s/(([0-9]{1,3}\.){3}[0-9]{1,3})/$1/; $SpamIP = $1; # If you want to print them out ... print "$SpamIP\n"; } } -x-CUT-x i would like to process them automatically via a .qmail* file, and one thing i would like to extract automatically is the IP of the SMTP relay that sent the mail to our server. example: [...] so i would like to extract 194.206.111.65 from the line Received: from unknown (HELO srvweb.IMPI-GIPSI.FR) (194.206.111.65)
Re: Translating messages
"J.J.Gallardo" [EMAIL PROTECTED] wrote: No, because the NetscapeMailServer use one file per message, not mbox format. I put the messages in: /home/vpopmail/domains/dom1.com/user1/Maildir/new and connected via pop3 "I can read the messages", but in wrong type like I explain it at top. OK, then the message files aren't in the standard format. Read it carefully please. Hey, you want to figure this out without my help? Just let me know. -Dave
Re: can't send to addresses w/ in them.
Well apparently the problem is with Outlook Express (surprise surprise) Using Elm or Pine delivers the message just fine. My apoligies for not trying a different mail client before posting my question. Thanks though, Duane On Thu, 21 Sep 2000 [EMAIL PROTECTED] wrote: On Thu, Sep 21, 2000 at 09:43:57AM -0700, Duane L. wrote: One of our customers is upset because he can't email his brother at his bigfoot address. The address has an ampersand in the username portion eg; DNB[EMAIL PROTECTED] which qmail (1.03) apparently translates to "dnb^[EMAIL PROTECTED]" and I see no evidence of that. Can you show us the log entries? Try: qmail-inject 'DNB[EMAIL PROTECTED]' and show us your logs as a consequence. Regards. the message is returned as undeliverable. Of course this customer has to point out that the sister with the MSN account can send to it, with no problems. DOH! I'm not necessarily trying to correct or work around the problem, but I wish I had an RFC I could quote that explains why this isn't working, and why MSN shouldn't deliver it either, except it is their nature to ignore/bend/break established protocols and procedures. Any insight would be greatly apreciated. TIA Duane L - [EMAIL PROTECTED] - Duane L - [EMAIL PROTECTED] -
RE: Users don't recieve mail...
Just a follow-up: Hey guys, Thanks alot for the quick and effective responses! I changed my user home dir mod to 755, it worked like a charm. Having it world-writable was some "short-cut" idea I had so I could write/read from my main user. I must have over looked that condition in the documentation. I commented out that gnu-pop3d line in my inetd.conf and used qmail-pop3d and the checkpassword instead. One thing though, I tried to exec the /var/qmail/bin/qmail-pw2u command to make the file users/assign. But again, it just hung up and I had to hit Control-C to halt it. I've read the man pages on it and I know that you can use the -u option if you want to include users with upper cases. Anyways, it should have worked with the other lower case users. So, thanks to Cyril Bitterich I was able to manualy edit assign to include my upper case user. I almost forgot about the last line being a period! But it worked, I was able to send/receive email with that upper case user. Yes, I've been telneting into my box, but I've been using MS Outlook for testing. I was using LWQ as one of my reference documents. My next step is to install daemontools and ucspi-tcp as you suggested Dave. Thank you for your help Dave, Wolfgang, and Cyril. Jim T.
Completely removing qmail and reinstalling again
I'm getting a lot of errors in Linux system, and I think it's due qmail. I've installed it using supervise and tcpserver, but I just followed a HOWTO, and I had almost no idea of what I was doing. So, I'm thinking about removing qmail and reinstalling again, using a simplest howto installing guide. Anybody can tell me how to completely qmail from Linux system, so I can be sure that it's not there anymore? Thank you Wagner R. LandgrafAutoma Consultoria Informática Ltda.[EMAIL PROTECTED]
unable to handle kernel paging request - and lots of more errors
Hi all, I'm getting the message "unable to handle kernel paging request at virtual address xx..". It says the process is qmail-remote. After this, the system hangs. Anybody knows what is going on? I also receive a lot of more erros in my Linux Debian system, and I think all of them are related to qmail. Do you have any ideas? Thanks Wagner R. LandgrafAutoma Consultoria Informática Ltda.[EMAIL PROTECTED]
Documentation on how to use qmail with mysql
HI, I would like to know is there any other site exists that teach how to use mysql with qmail. Thank you mark lO
Please help (Resend !)
Hi, I would like to know is there any other documnetation about how to use qmail with MySQL. I know there is a HOWTO from qmail site, but that document is not detailed enough to get me pass through all the stuff. Does anybody have any other good documentations on "How to use qmail with MySQL". I am greatly appreciated. Thank you Mark
ISP mail server.
Hi, Does ISP mail server need to install mail virus scanner ?? I personally don't think so, it is the job left to home or corporate users, am I right ?? Suggestion is welcome. Thank you mark
Re: unable to handle kernel paging request - and lots of more errors
Wagner R. Landgraf wrote: I'm getting the message "unable to handle kernel paging request at virtual address xx..". It says the process is qmail-remote. After this, the system hangs. Anybody knows what is going on? Its probably your hardware, I suggest you try and check for bad RAM. Qmail itself isn't responsible for any kernel oopses or panics. -- Jamie Heilman http://audible.transient.net/~jamie/ "It's almost impossible to overestimate the unimportance of most things." -John Logue
Re: [OT] Achieving Time-Synch at mailserver
On Thu, Sep 21, 2000 at 11:39:32AM -0300, martin langhoff wrote: I have 2 mails servers that I want to synch (and keep with the world's clock). As one is in co-location, there's no problem at all: I'm installing NTPd (although I have some security concerns). The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). I checked CPAN for NTP and found nothing. The Net::Time module doesn't seem to help as it's looking for a time server, and not a NTP server. Try Dan's clockspeed package: http://cr.yp.to/clockspeed.html Like everything Dan writes, it's small, simple, safe, and works well. It's particularly well suited to keeping time on a computer with an intermittent network connection. I use it on all my boxes (even the well connected ones). Chris
qmail-send's logging?
Has anyone tried to speed up qmail-send by changing log[123] so that they don't flush after every call? In theory at least, syscalls are expensive because they have to go through a change in security level. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.
remote smtp access
Hey All, I am trying to set up remote mail serverforcompany users. I got the pop3 stuff working fine, I can download mail from an outside line, but I can't send any remote mail when connected remotely, only local mail. I've tested the server as an open relayand I thought that anyone should be able to login to their mail account from anywhere and get and send any mail. Any Ideas? I didn't include any config info because I didn't know what would be relevant. Thanks, -=Andy
Site down
Hi, This site is down, it contains informations about qmail + MySQL. The address is http://iain.cx/unix/qmail/mysql.php . Is this site will be gone forever, or moved to somewhere esle.??? Thank you mark
Re: Please help (Resend !)
Mark Lo [EMAIL PROTECTED] wrote: I would like to know is there any other documnetation about how to use qmail with MySQL. You've now posted this question four or six times. No one is going to answer it in its present form; try presenting specific questions, showing evidence you've already done your research. 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. ---
Mail agent for Windows (totaly off topic)
Hi you all... I must say I'm having trouble each day, because I have to think twice about replying to the list... And usually I don't, but reply off-list... The reason for this is that I'm using Outlook... I have to, I get paid to use it... :-) Now my question... Is there a "friendly" mail agent that runs under Windows? If it's small... hey, just the better... Thanks and sorry for disturbing you all with this... Goran egrave - Slovenskih fantov elektronski grob
Re: ISP mail server.
Also sprach Mark Lo [EMAIL PROTECTED] on 22.09.2000: Does ISP mail server need to install mail virus scanner ?? I personally don't think so, it is the job left to home or corporate users, am I right ?? Suggestion is welcome. i would think an ISP mail server doesn't have to run a run a virus scanner, it sure would be a nice additional service tho, and it might keep the mail server out of problems that may occur when certain self-mailing virii cause heavy mail traffic by sending themselves repeatedly ... just my 2 cents wolfgang
Re: ISP mail server.
On Fri, Sep 22, 2000 at 03:46:21AM +0800, Mark Lo wrote: Hi, Does ISP mail server need to install mail virus scanner ?? I personally don't think so, it is the job left to home or corporate users, am I right ?? Suggestion is welcome. The ISP should not ever tamper with your mail. Scanning and *warning* the user is allowed. Ofcourse, if the ISP makes it an opt-in feature, that is completely acceptable. Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me
Re: Please help (Resend !)
What is this? Something like 6 emails today asking the same questions about qmail and MySQL? Time to start creating more mail filters. - Original Message - From: Mark Lo To: [EMAIL PROTECTED] Sent: Thursday, September 21, 2000 2:44 PM Subject: Please help (Resend !) Hi, I would like to know is there any other documnetation about how to use qmail with MySQL. I know there is a HOWTO from qmail site, but that document is not detailed enough to get me pass through all the stuff. Does anybody have any other good documentations on "How to use qmail with MySQL". I am greatly appreciated. Thank you Mark
Re: [OT] Achieving Time-Synch at mailserver
Chris Johnson wrote: On Thu, Sep 21, 2000 at 11:39:32AM -0300, martin langhoff wrote: I have 2 mails servers that I want to synch (and keep with the world's clock). As one is in co-location, there's no problem at all: I'm installing NTPd (although I have some security concerns). The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). I checked CPAN for NTP and found nothing. The Net::Time module doesn't seem to help as it's looking for a time server, and not a NTP server. Try Dan's clockspeed package: http://cr.yp.to/clockspeed.html Like everything Dan writes, it's small, simple, safe, and works well. It's particularly well suited to keeping time on a computer with an intermittent network connection. I use it on all my boxes (even the well connected ones). I've been using NTP for a long time with success! How does clockspeed compare to NTP? Is there any tai time server? Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
Re: qmail-send's logging?
On Thu, Sep 21, 2000 at 03:58:25PM -0400, Russell Nelson wrote: Has anyone tried to speed up qmail-send by changing log[123] so that they don't flush after every call? In theory at least, syscalls are expensive because they have to go through a change in security level. At a cost in reliability, ofcourse. I haven't tried. I do have my queues and logging on separate physical disks tho :) Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me
Re: remote smtp access
andy [EMAIL PROTECTED] wrote: I got the pop3 stuff working fine, I can download mail from an outside line, but I can't send any remote mail when connected remotely, only local mail. You need to set up qmail for selective relaying, using tcpserver and an appropriate rules.cdb file. Read Dave Sill's "Life with qmail" for details. If you need to allow roaming/DHCP'd clients to relay, you'll need an SMTP-after-POP solution, just as Bruce Guenter's relay-ctrl package. See www.em.ca/~bruceg/ for that. 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: unable to handle kernel paging request - and lots of more errors
How do I try and check for bad RAM? How do I check diskspace? Command "diskspace" doesn't work. I have huge log files in qmail, and it is still not working, and I have installed it one week ago. Can I delete those files? Why are they that huge? (about 20 Mb) Thank you Wagner R. Landgraf Automa Consultoria Informática Ltda. [EMAIL PROTECTED] - Original Message - From: "Jamie Heilman" [EMAIL PROTECTED] To: "Wagner R. Landgraf" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 21, 2000 4:54 PM Subject: Re: unable to handle kernel paging request - and lots of more errors Wagner R. Landgraf wrote: I'm getting the message "unable to handle kernel paging request at virtual address xx..". It says the process is qmail-remote. After this, the system hangs. Anybody knows what is going on? Its probably your hardware, I suggest you try and check for bad RAM. Qmail itself isn't responsible for any kernel oopses or panics. -- Jamie Heilman http://audible.transient.net/~jamie/ "It's almost impossible to overestimate the unimportance of most things." -John Logue
strange problem with SMTP connection to gmx.net
I had a strange problem with mails to gmx.net today. Every message to gmx.net got this error: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ I tried to do kill -ALRM [pid of qmail-send here] but I always got the same error... but I was able to telnet the (very slow) gmx mail server (mx0.gmx.net). I didn't knew any solutions... so I restarted my system ;( after that I did the kill -ALRM [pid of qmail-send here] again... and it worked! but 20% of the mails to gmx.net still had this deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ error... I restarted again... kill -ALRM [pid of qmail-send here] again.. now it worked! anybody already had the same problem? or know what the problem was? thanks for answers! cya Joel
Re: Please help (Resend !)
have a look at qmail.org...one site is down...the other one doesn't contain detail infomations.so I need a detailed documentations. - Original Message - From: Charles Cazabon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 22, 2000 4:17 AM Subject: Re: Please help (Resend !) Mark Lo [EMAIL PROTECTED] wrote: I would like to know is there any other documnetation about how to use qmail with MySQL. You've now posted this question four or six times. No one is going to answer it in its present form; try presenting specific questions, showing evidence you've already done your research. 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: unable to handle kernel paging request - and lots of more errors
-Original Message- From: Wagner R. Landgraf [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 21, 2000 1:58 PM To: [EMAIL PROTECTED] Subject: Re: unable to handle kernel paging request - and lots of more errors How do I try and check for bad RAM? Scuff your feet on the rug thoroughly, then reach directly into the computer without touching the case and remove the memory chips. It helps if the computer is on. If you follow this procedure, I'm pretty sure you'll have bad ram chips in your hand that you will then need to replace. How do I check diskspace? Command "diskspace" doesn't work. Depends. Do you want to know how much you have used in a particular directory, or how much you have free overall? I have huge log files in qmail, and it is still not working, It must be doing something, or it wouldn't write huge log files. and I have installed it one week ago. I hate it when I install things and they keep not working when I leave them there. Can I delete those files? Why are they that huge? (about 20 Mb) I suspect that as root you have the ability to delete the files. They are large because qmail likes to log every action, and has been doing alot of actions. It helps alot when trying to track down what has gone wrond. Maybe these logs contain a clue as to why it is not working. David PS - ROFL
Re: unable to handle kernel paging request - and lots of more errors
Wagner R. Landgraf [EMAIL PROTECTED] wrote: How do I try and check for bad RAM? If you're on a PC, try 'memtest86'. Other Unix system? 'memtester'. Find them at freshmeat.net. How do I check diskspace? Command "diskspace" doesn't work. df -h ; df -i These really are basic things for a Unix sysadmin or mail admin to know. You should perhaps get a good book on system administration and read it. I have huge log files in qmail, and it is still not working, and I have installed it one week ago. Can I delete those files? Why are they that huge? (about 20 Mb) They're huge because qmail logs everything; it's handy if you need that information later on. If you want to have an audit trail, compress the older logs and keep them around for a while, then back them off to tape and delete them. If you don't care, just delete them now. 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: Documentation on how to use qmail with mysql
On Fri, Sep 22, 2000 at 03:43:12AM +0800, Mark Lo wrote: HI, I would like to know is there any other site exists that teach how to use mysql with qmail. hey, once a day is enough, ok ? :) if you don't get an answer, it means probably that nobody know, or that nobody use mysql with qmail... Regards, Olivier -- _ Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
Re: [OT] Achieving Time-Synch at mailserver
Quoting martin langhoff ([EMAIL PROTECTED]): The other machine has a intermittent connection, so I'm looking for a way to synchronize on a command (instead of a daemon). I checked CPAN for NTP and found nothing. The Net::Time module doesn't seem to help as it's looking for a time server, and not a NTP server. You might check for the commands "rdate" or "netdate" -- both will get the time from another machine. On our PC's with linux, we further need to use the "clock" or "hwclock" commands to set the hardware clock to match the system clock. We run these out of a cron job every so often, and only run ntpd on one computer in the network. Aaron
System start-up files...
This is in regards to Dave Sill's LWQ[2.8.2] I followed the directions, up to this point: ..Taken from your LWQ. Create the script using your editor or by downloading it with your web browser, then install it into your system's init.d directory, which should be in one of the following locations: /etc/init.d /sbin/init.d /etc/rc.d/init.d ... I don't have these directories in my version of linux, I'm using slackware 7.1. I have: qmail rc.Mrc.gpm rc.inet2 rc.news rc.0 rc.Src.httpd rc.local rc.pcmcia rc.4 rc.atalkrc.ibcs2 rc.local~ rc.samba rc.6 rc.cdromrc.inet1 rc.modulesrc.serial rc.K rc.font.sample rc.inet1~ rc.netdevice rc.sysvinit alita:/etc/rc.d# So I guess I just put the qmail script here: /etc/rc.d/. Maybe include it in my rc.local file so it loads on booting-up? And the part where you said: . Allow the local host to inject mail via SMTP: echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp /usr/local/sbin/qmail cdb . If I type the last line I get: alita:/# /usr/local/sbin/qmail cdb bash: /usr/local/sbin/qmail: No such file or directory I made your qmail script executable and a symbolic ln to /usr/local/sbin/, but it doesn't seem to find it. This is probably some os error on my part... Any ideas? Jim T.
Re: Please help (Resend !)
The last time I checked there were several good search engines on the Internet; www.google.com, www.altavista.com, www.excite.com. :) David From: "Mark Lo" [EMAIL PROTECTED] Date: Fri, 22 Sep 2000 05:35:58 +0800 To: "Charles Cazabon" [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Please help (Resend !) have a look at qmail.org...one site is down...the other one doesn't contain detail infomations.so I need a detailed documentations. - Original Message - From: Charles Cazabon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 22, 2000 4:17 AM Subject: Re: Please help (Resend !) Mark Lo [EMAIL PROTECTED] wrote: I would like to know is there any other documnetation about how to use qmail with MySQL. You've now posted this question four or six times. No one is going to answer it in its present form; try presenting specific questions, showing evidence you've already done your research. 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. ---
Masking of Info
Hi guys, Is there a way to NOT show my internal email IPs and stuff, which module must i add to filter those stuff out ?? Thks so much for your time, Paul Return-Path: [EMAIL PROTECTED] Received: from sophia.pacific.net.sg ([192.169.41.209]) by pob5.pacific.net.sg (Post.Office MTA v3.5.3 release 223 ID# 0-53829L2S100V35) with ESMTP id sg for [EMAIL PROTECTED]; Wed, 20 Sep 2000 15:00:26 +0800 Received: from mailhost.mydomain.com (host.mydomain.com [external.ip.goes.here]) by sophia.pacific.net.sg with SMTP id e8K70Qo14488 for [EMAIL PROTECTED]; Wed, 20 Sep 2000 15:00:26 +0800 (SGT) Received: (qmail 6106 invoked from network); 20 Sep 2000 07:01:20 - Received: from unknown (HELO paul) (192.168.100.24) by mailhost.mydomain.com with SMTP; 20 Sep 2000 07:01:20 - From: "A User" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test Date: Wed, 20 Sep 2000 15:02:58 +0800 Message-ID: 002001c022d0$cfa36db0$[EMAIL PROTECTED]
Re: [OT] Achieving Time-Synch at mailserver
Peter van Dijk [EMAIL PROTECTED] writes: But when does xntpd send out requests then? It seems to only do so every once in a while, and if I'm not dialed in at that time, it fails. Most of what clock synchronization software does, though, is to figure out how much your clock drifts naturally and then just keep adjusting for that drift. It only needs occasional external data to correct it's idea of the internal drift, not constant data. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/
Re: [OT] Achieving Time-Synch at mailserver
Daniel Augusto Fernandes [EMAIL PROTECTED] writes: I've been using NTP for a long time with success! How does clockspeed compare to NTP? Is there any tai time server? xntpd does two things (well, three, actually). It contacts remote time servers periodically to correct its notion of time, and it determines the "natural drift" of your system clock and constantly corrects for it. It can also provide the time to remote machines that are querying it. clockspeed separates these different functions. You first take a few measurements to establish your clock drift, and then you run a daemon that just adjusts for that known drift and doesn't continue to poll other time servers and adjust. You can periodically take another measurement and see if the drift has changed. Personally, I've looked at the TAI library with interest but I've never seen a good reason to move away from xntpd for time synchronization. It works fairly well, I find it convenient to have xntpd take care of handling changing system clock drift for me (and I have a few machines that don't have consistent clock drift), and I like being able to use any convenient server as a server for ntpdate in a pinch. I understand the xntpd stratum setup and we have a fairly nice setup of multiple stratums here. The clockspeed approach has the advantage of working fine for a system that's only rarely connected to the network, but to me a computer without network connectivity is almost worthless except for playing games (for which clock synchronization doesn't really matter). -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/
RE: qmail-popup
Is the pop3d daemon running, if so what user is it running as? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of LOTFI Youssef Sent: Thursday, September 21, 2000 11:27 AM To: [EMAIL PROTECTED] Subject: qmail-popup Hi everyone, I'm using qmail and Maildir I'm installing The checkpassword and I'm reading The Install file When I want to simulate a succeful POP login, I have the message : "-ERR unable to write pipe" Thank's for response :) Allama.
User unknown
wndrgrl.goldblatt.net greeted my arrival home after a hard day at work a couple days ago with the sound of a clicking hard drive. Recover some stuff as can, replace drive reinstall. first priorities: bind qmail. bind works okay. I re-downloaded and recompiled qmail. I was able to recover /var/qmail from my old system, so in theory the configuration is still okay. I picked up tcpserver and fixed that up, and I got checkpasswd running, so now I can check my email via pop3. Except I can't receive any mail. qmail is apparently rejecting mail incoming to the local domain, responding with user unknown. A friend attempted to send a message to [EMAIL PROTECTED] (an account I was careful to make sure existed before running this test). His Sendmail produced the following output: Sep 21 21:21:11 got sendmail[4972]: VAA04970: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, relay=wndrgrl.goldblatt.net. [208.190.130.82], stat=User unknown I'm not getting anything in /var/log/messages or /var/log/syslog. I'm unable to find a useful pointer in the logs, the FAQ, or the archives. Pointers to any or all of these welcome, if applicable. Linux kernel 2.2.17, Slackware 7.1. qmail-showctl produces the following output: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009. group ids: 2108, 2107. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is wndrgrl.goldblatt.net. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is goldblatt.net. defaulthost: Default host name is goldblatt.net. doublebouncehost: (Default.) 2B recipient host: wndrgrl.goldblatt.net. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is wndrgrl.goldblatt.net. helohost: (Default.) SMTP client HELO host name is wndrgrl.goldblatt.net idhost: (Default.) Message-ID host name is wndrgrl.goldblatt.net. localiphost: (Default.) Local IP address becomes wndrgrl.goldblatt.net. locals: Messages for localhost are delivered locally. Messages for wndrgrl.goldblatt.net are delivered locally. Messages for virtualhost.goldblatt.net are delivered locally. Messages for shikky.com are delivered locally. Messages for viquilitman.com are delivered locally. Messages for goldblatt.net are delivered locally. me: My name is wndrgrl.goldblatt.net. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is goldblatt.net. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at localhost. SMTP clients may send messages to recipients at wndrgrl.goldblatt.net. SMTP clients may send messages to recipients at virtualhost.goldblatt.net. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 wndrgrl.goldblatt.net. 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: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. virtualdomains.hold: I have no idea what this file does. Thanks. ag
Changing the SMTP port in qmail.
Hi, I am trying to change the smtp port in qmail to port 26. I know it sounds a little bit retarded, but I'd like to know how its done. I am using SuSE 6.4 and qmail 1.03 ... Thanks NuWave [EMAIL PROTECTED]