Re: SMTPd questions...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8 Apr 00, at 13:01, Scott D. Yelich wrote: (1) Is it better to write an SMTPd that is strict to the RFCs or lenient? That is, where does one go to settle disputes -- or is it better to sit back and miss mail due to differences in interpreting the RFCs? Ie: if an smtpd accepts bare linefeeds, etc., is that really all that bad on incoming? The problem is - you need to send CR/LF forward. You can't be sure that simple changing LF to CR/LF is the right thing - you may be in the middle of binary data and LF should not be interpreted as "new line" there. sendmail converts all bare LFs it sees to CR/LF. It may corrupt the mail, and it falsely assures the sender that his mails are OK. On the other hand, it doesn't ask the administrator to do anything. You may run all incoming (and I mean ALL) mail through fixcrio. Then you don't need to care. -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOPF0pFMwP8g7qbw/EQIpMACgyEzc8dYKPexqyZdsWIuy6KbVHjkAoIZs HoqnGKPHKXimFcUt8O16/sKb =g2/Q -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: Unable to configure IMAP client
Dave Sill wrote: I'm using qmail v1.03 and UW-IMAP 4.7b and both of them are running ok. I don't think so, or you wouldn't be posting... Ok... It would be better to say "both of them seem to be running ok". Did you install maildir patches for imap? Which ones? I installed the following patches, provided by David Harris webpage: maildir980721.patch.gz - maildir driver patch imap-4.5-qmail.patch - qmail file locations imap-4.5-createproto.patch - new folder format fixup imap-4.5-mdirlist.patch - maildir listing fixup imap-4.5-maildir980721-rename.patch - fix rename bug in maildir driver imap-4.5-maildir980721-delete.patch - fix folder delete bug in maildir driver IMAP server directory: INBOX Should that be Maildir? I don't know. I also tried Maildir, but it didn't work. I tried to follow some explanations which I read in a message posted in the list by John Ellis in 1997, but it still didn't work. Please, could anybody help me? Regards, Gilberto Rodrigues
Re: QMQPD question
Try.. strace -f -o qmtp.out -p `pidof qmtpd` Henrik. "Benjamin de los Angeles Jr ." wrote: What I didn't mention is that 'truss' seems to me, a command-line utility, unlike ptrace which is a C function. Is there a command-line equivalent for ptrace? I would not ask anyone to search for man pages for this, but if you know anything that is equivalent, _offhand_ is definitely ok. Besides, I'm saving this problem later, since I'm busy with another development project now. On Thu, Apr 06, 2000 at 09:56:13PM -0700, [EMAIL PROTECTED] wrote: On Fri, Apr 07, 2000 at 12:42:05PM +0800, Benjamin de los Angeles Jr . wrote: I'm using Linux, what's the equivalent of truss for this platform? As a System Administrator, did you bother searching the man pages first? Or are you asking us to search the man pages for you? Try man -k trace
sort mail with qmail
My problem: I have a small server, and I dont want sent too big mail, so I want to sort e-mail BEFORE sending, catch too big mail, grep and convert attachements, re-sent mail with just a pointer to attachement and text/plain. How I can do? Thanks in advance ___.EriC._
qmail Digest 10 Apr 2000 10:00:00 -0000 Issue 967
qmail Digest 10 Apr 2000 10:00:00 - Issue 967 Topics (messages 39777 through 39798): ref mailing list 39777 by: Asif Ansari 39778 by: Karsten Kaus Re: Vapormail (was: Re: Problem: 552 max. message size exceeded) 39779 by: Peter van Dijk Root owns ALL mail ! 39780 by: c.raven.ukonline.co.uk 39784 by: Harald Hanche-Olsen 39785 by: c.raven.ukonline.co.uk VPOPMAIL SETUP 39781 by: Hemanta Sharma 39782 by: Jeff Commando Sherwin Re: quick question (qmail-1.03) 39783 by: Keith Warno Newbie help 39786 by: Boyd Kelly 39787 by: Jeff Commando Sherwin Defending qmail's odd file system to the great unwashed 39788 by: Ben Beuchler 39789 by: Russ Allbery 39792 by: Russell Nelson Re: qmail relay opened 39790 by: Russell Nelson Security on qmail server 39791 by: jackie.MACRO.COM.HK 39794 by: Russell Nelson Re: About virtual domain and IP aliasing 39793 by: Russell Nelson Re: SMTPd questions... 39795 by: Petr Novotny Re: Unable to configure IMAP client 39796 by: Gilberto Rodrigues Re: QMQPD question 39797 by: Henrik Öhman sort mail with qmail 39798 by: Eric Poubeau 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] -- Sorry to bother u, But please tell me how to unsubscribe from this mailing lost,bcoz my mailbox is very small. Regards and bye. Asif. to unsubscribe: send (may be empty) mail to [EMAIL PROTECTED] I think it would be a great idea to add the above line as a footer to every mail that is forwarded. We see these requests too often. This could also stop the forwarded messages containing only the subject: unsubscribe. Karsten Kaus. Asif Ansari wrote: Sorry to bother u, But please tell me how to unsubscribe from this mailing lost,bcoz my mailbox is very small. Regards and bye. Asif. On Sat, Apr 08, 2000 at 10:06:42PM +0200, Frank D. Cringle wrote: Dave Sill [EMAIL PROTECTED] writes: "Soffen, Matthew" [EMAIL PROTECTED] wrote: I mean, How do you go from postfix to mail server (at least qmail and sendmail have the word MAIL in their titles). Well, "post" is "mail", and "fix", well, I guess that means it fixes mail problems (namely sendmail :-). "fix" is colloquial for "quick" or "snappy" in German and possibly also in Dutch. Maybe that influenced Wietse's choice. Uhm no, it's not, in Dutch. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++ Hi, I'm having a major problem with a new install of Qmail under FreeBSD 3.2. Qmail was installed by a server management package and appears ok - except all mail entering the qmail/queue/mess folders is being owned by root: drwxr-x--- 2 qmailq qmail512 Apr 8 22:11 . drwxr-x--- 25 qmailq qmail512 Dec 13 17:01 .. -rw-r--r-- 1 rootqmail 2749 Apr 7 19:27 634892 -rw-r--r-- 1 rootqmail 17998 Apr 8 22:11 634915 The Qmail deamons are running with the correct UID (AFAIK from the faq): ps -aux gives: qmails 279 0.0 0.1 836 468 con- ISat11AM 0:01.05 qmail-send qmaill 291 0.0 0.1 780 476 con- ISat11AM 0:00.86 splogger qmail root 292 0.0 0.1 780 384 con- ISat11AM 0:00.32 qmail-lspawn ./Mail qmailr 293 0.0 0.1 776 364 con- ISat11AM 0:00.01 qmail-rspawn qmailq 294 0.0 0.1 768 388 con- ISat11AM 0:00.02 qmail-clean and the mail is arriving ... it just can't be transferred to any user popboxes: Apr 9 18:13:47 ns1 qmail: 955300427.913207 delivery 1033: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/ Apr 9 18:13:47 ns1 qmail: 955300427.913409 status: local 0/10 remote 0/20 as witnessed by /var/log/maillog. If I chown the messages back to qmailq then the mail goes through . whats happening here? Is this fixable without a reinstall? I don't have binaries as the qmail prog was bundled with a self installer. Cheers, Chris R. + [EMAIL PROTECTED]: | I'm having a major problem with a new install of Qmail under FreeBSD 3.2. | Qmail was installed by a server management package and appears ok - except | all mail entering the qmail/queue/mess folders is being owned by root: Most likely, that means that /var/qmail/bin/qmail-queue is suid root. It really should be suid qmailq: -rws--x--x 1 qmailq qmail 21220 Wed Sep 09 11:02:51 1998 /var/qmail/bin/qmail-queue* - Harald Thanks, that was it! All the files were owned
Re: locking out mail accounts ...
From: Shaun Gibson [EMAIL PROTECTED] Hi there I need to do the following : - lock a mailbox (without deleting it or the mail contained in it) - if a user tries to access a mailbox locked like this all they get back when trying to collect mail is a preset 'call support to re-enable this mailbox'. Suggestions anyone ? If you use maildirs, try this: cd $USER_HOME chmod +t . # safe editing mv Maildir LOCKED.Maildir mv .qmail LOCKED.qmail echo './LOCKED.Maildir/' .qmail # incoming messages will be delivered maildirmake Maildir cp $MyStandardCallSupportMessage \ Maildir/new/`perl -e 'printf "%d",time'`.`uname -n` # first POP3 connection get the standard "expired - call support" message chown -R $USER_UID .qmail Maildir chgrp -R $USER_GID .qmail Maildir chmod -t . # end of editing -- Tullio Andreatta Logicom s.r.l. - Via L.Gambara, 55 - I-25100 Brescia ITALY [EMAIL PROTECTED] http://www.logicom.it/
Re: QMQPD question
Hrm, s/qmtp/qmqp/g. Sorry. Henrik. Henrik Öhman wrote: Try.. strace -f -o qmtp.out -p `pidof qmtpd` Henrik. "Benjamin de los Angeles Jr ." wrote: What I didn't mention is that 'truss' seems to me, a command-line utility, unlike ptrace which is a C function. Is there a command-line equivalent for ptrace? I would not ask anyone to search for man pages for this, but if you know anything that is equivalent, _offhand_ is definitely ok. Besides, I'm saving this problem later, since I'm busy with another development project now. On Thu, Apr 06, 2000 at 09:56:13PM -0700, [EMAIL PROTECTED] wrote: On Fri, Apr 07, 2000 at 12:42:05PM +0800, Benjamin de los Angeles Jr . wrote: I'm using Linux, what's the equivalent of truss for this platform? As a System Administrator, did you bother searching the man pages first? Or are you asking us to search the man pages for you? Try man -k trace
Re: ref mailing list
In 13.48 09/04/00 +, Karsten Kaus [EMAIL PROTECTED] wrote: to unsubscribe: send (may be empty) mail to [EMAIL PROTECTED] I think it would be a great idea to add the above line as a footer to every mail that is forwarded. We see these requests too often. This could also stop the forwarded messages containing only the subject: unsubscribe. If a subscriber don't read: - welcome message, explaining how to unsubscribe - headers stating 'mail to [EMAIL PROTECTED] for help' - recurring messages who explain "too often" how to unsubscribe will this subscriber read a message footer remind? [ ] yes [ ] no, because _ [ ] no, he never read messages due to his religion beliefs -- Tullio Andreatta Logicom s.r.l. - Via L.Gambara, 55 - I-25100 Brescia ITALY [EMAIL PROTECTED] http://www.logicom.it/
Another SMTPd question.
-BEGIN PGP SIGNED MESSAGE- I received a response regarding the CR/LF issue -- but it wasn't really an "answer" to the question[s] that I asked. But that's ok, at least it wasn't a flame. Anyway, connect up to your favorite MTA. Issue: mail from: blah mail xxz: blah rcpt to: blah rcpt hoho: blah Again, my question... it appears that sendmail checks the "from:" and "to:" parts of these commands whereas qmail does not. Are there any other commands for MAIL other than "from:" and to RCPT other than "to:" ? Scott -BEGIN PGP SIGNATURE- Version: 2.6.2 iQCVAwUBOPGwDFpGPE+AF6qBAQGUFwP9EtjhKEiLS/qFbo7pmDERG2gXcBF4OFWy NJW/0Y7/JgPNxBIg8NruaNsr9tfkTc/HrTDR3666r9VvQ32gKtU+6Pu9xXE3jL4Q FvtEM1+dhN3cyh4jfkKXucF7J4MCXW02YLcJrd93vWcE2P4tm51oaPPTEQU2ZOao 6uQdA2Un4J4= =OYpi -END PGP SIGNATURE-
Testing qmail/UW-IMAP installation
I installed qmail v1.03 and UW-IMAP v4.7b server. I patched qmail with David Harris' patches. I have the following lines in IMAP log file: 2000-04-10 11:05:42.089529500 tcpserver: status: 2/40 2000-04-10 11:05:42.092338500 tcpserver: pid 1078 from 192.168.30.14 2000-04-10 11:05:42.193794500 tcpserver: ok 1078 :192.168.30.9:143 :192.168.30.14::60825 2000-04-10 11:36:05.190121500 tcpserver: end 1078 status 256 2000-04-10 11:36:05.190134500 tcpserver: status: 1/40 And when I execute imapd, as following: # /usr/local/etc/imapd I got the message: * OK magenta IMAP4rev1 v12.264 server ready So it seems to me that IMAP server is running fine. But my Netscape client cannot get messages. Is there any way to test the IMAP server to see if it's ok and it is dealing with users Maildir? Thanks in advance, Gilberto Rodrigues
Re: Another SMTPd question.
On Mon, Apr 10, 2000 at 04:42:20AM -0600, Scott D. Yelich wrote: [snip] I received a response regarding the CR/LF issue -- but it wasn't really an "answer" to the question[s] that I asked. But that's ok, at least it wasn't a flame. Anyway, connect up to your favorite MTA. Issue: mail from: blah mail xxz: blah rcpt to: blah rcpt hoho: blah Again, my question... it appears that sendmail checks the "from:" and "to:" parts of these commands whereas qmail does not. Are there any other commands for MAIL other than "from:" and to RCPT other than "to:" ? Nope, so why check these parts? :) Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
RE: sort mail with qmail
On 10-Apr-2000 Eric Poubeau wrote: My problem: I have a small server, and I dont want sent too big mail, so I want to sort e-mail BEFORE sending, catch too big mail, grep and convert attachements, re-sent mail with just a pointer to attachement and text/plain. How I can do? Now firstly, that's not an MTA problem. However, I'll assume that you're connected through a slow link, and that you don't want saturate that link with huge e-mails, which is understandable (but misguided). If you convert a mail to contain pointers to (I suppose) HTTP or FTP accessible files instead of huge attachments, you'd have to write the code to extract these attachments, and store them somewhere in your HTTP or FTP space, only to find out that the recipient uses her browser or mail client to download said files. Net gain in bandwidth: zero. Next you'll have to manage these files (do you delete them after a successful download, or what?). Net increase in complexity: quite a lot. Effect on your small server: worse than if you'd simply send out those attachments. If your users want to send out big attachments, these'll somehow get out. Better educate them to use "gzip" (or "winzip") on their Word/Excel files. Usually that takes care of the bloat. As to batching up the mail before sending it to your smarthost, with qmail that's done by delivering all outgoing mail to a Maildir, and using serialmail. Works like a charm. HTH, Stefaan -- --PGP key available from PGP key servers (http://www.pgp.net/pgpnet/)-- Ninety-Ninety Rule of Project Schedules: The first ninety percent of the task takes ninety percent of the time, and the last ten percent takes the other ninety percent.
RE: Unable to configure IMAP client
I used UW-IMAP quite some time ago and found it to be a cpu/mem hog even when using /var/spool/mail/$USER. After I moved my server to Maidirs I also implemented courier-imap by inter7(www.inter7.com/courierimap) I just checked the site and its up to 0.30something, I am still using 0.27 with huge success, it is hardly noticeable even on my old slow mailserver. There is reasonably good documentation, but its pretty intuitive to setup and I had little problems, there even is a blurb about configuring common clients. -- Tim -Original Message- From: gvrj [mailto:gvrj]On Behalf Of Gilberto Rodrigues Sent: Monday, April 10, 2000 5:24 AM To: qmail List Subject: Re: Unable to configure IMAP client Dave Sill wrote: I'm using qmail v1.03 and UW-IMAP 4.7b and both of them are running ok. I don't think so, or you wouldn't be posting... Ok... It would be better to say "both of them seem to be running ok". Did you install maildir patches for imap? Which ones? I installed the following patches, provided by David Harris webpage: maildir980721.patch.gz - maildir driver patch imap-4.5-qmail.patch - qmail file locations imap-4.5-createproto.patch - new folder format fixup imap-4.5-mdirlist.patch - maildir listing fixup imap-4.5-maildir980721-rename.patch - fix rename bug in maildir driver imap-4.5-maildir980721-delete.patch - fix folder delete bug in maildir driver IMAP server directory: INBOX Should that be Maildir? I don't know. I also tried Maildir, but it didn't work. I tried to follow some explanations which I read in a message posted in the list by John Ellis in 1997, but it still didn't work. Please, could anybody help me? Regards, Gilberto Rodrigues
Re: sort mail with qmail
On Mon, Apr 10, 2000 at 11:53:50AM +0200, Eric Poubeau wrote: My problem: I have a small server, and I dont want sent too big mail, so I want to sort e-mail BEFORE sending, catch too big mail, grep and convert attachements, re-sent mail with just a pointer to attachement and text/plain. How I can do? You can install two qmail services, loop all mail through one, and redirect through the other. I doubt though, that there is too many clients that supports the MIME-type "message/external-body" as specified in RFC2046. Converting it to an text URL within the body would of course be an alternative, but I wouldn't dare to think of everything that can go wrong here. /magnus -- http://x42.com/
problem with notifying user that new email arrived
hi ! I want qmail to notify user that new email arrived. When this happens qmail should send SMS to user's cellular phone. So I put the .qmail file in user's home directory: /home/info/Mailbox |preline /home/info/sendsms It adds new email to mailbox and runs script that sends SMS. Everything is working fine when I send email without attachments. But when there is an attachment I got this error in maillog: Apr 10 14:52:24 p-s qmail: 955371144.310268 starting delivery 36: msg 68528 to local [EMAIL PROTECTED] Apr 10 14:52:24 p-s qmail: 955371144.310615 status: local 1/10 remote 0/20 Apr 10 14:52:25 p-s qmail: 955371145.410328 delivery 36: deferral: preline:_fatal:_unable_to_copy_input:_broken_pipe/ Apr 10 14:52:25 p-s qmail: 955371145.410737 status: local 0/10 remote 0/20 Then SMS is sent and messages is added to Mailbox but qmail treats this message as undelivered. You could see it when typing qmail-qread. qmail tries to deliver this message again and again according to its delivery schedule and every time user gets SMS and message is added to his Mailbox. Could you please give me some advice how to correct this problem ? thanks in advance Dariusz Zmokly
Re: documentation?
On Mon, Apr 10, 2000 at 03:34:54PM +0200, Frank Tegtmeyer wrote: On Sun, Apr 09, 2000 at 10:18:18PM -0700, Brian Kifiak wrote: fairly intuitive but I'm unsure of other parts (ie '7f000...' in above example). Is it documented? I assume it's an IP address. 127.0.0.1 === 7F.00.00.01 I think Dan is just preparing our brains for IPV6 representation : Regards.
Adding users...
I am a relative newbie to qmail. I have setup a RedHat 6.0 server running qmail. After a couple of days I finally got everything working. It all workings 100% perfect for what I need it to do. I only have one problem, I am setting this up for my employer and need to create about 200 email accounts. I can create each account manually by using the adduser command, seteach password, login as the user and run maildirmake, edit the assign file and run qmail-newu. I have tried to run the qmail-pw2u file, but it seems to hang my box. There has to be a faster way to create users. I would love to look into it more myself, but I have a boss that is gettin rather fidgety and wants his email by yesterday. Any help would be greatly appreciated. S. Peace
RE: Adding users...
Set upyour skeleton directory so it copies the appropriate maildir folders when you create a new user. Go to the mailinglist archives and search for skeleton. -Original Message-From: Steve Peace [mailto:[EMAIL PROTECTED]]Sent: Monday, April 10, 2000 10:59 AMTo: [EMAIL PROTECTED]Subject: Adding users... I am a relative newbie to qmail. I have setup a RedHat 6.0 server running qmail. After a couple of days I finally got everything working. It all workings 100% perfect for what I need it to do. I only have one problem, I am setting this up for my employer and need to create about 200 email accounts. I can create each account manually by using the adduser command, seteach password, login as the user and run maildirmake, edit the assign file and run qmail-newu. I have tried to run the qmail-pw2u file, but it seems to hang my box. There has to be a faster way to create users. I would love to look into it more myself, but I have a boss that is gettin rather fidgety and wants his email by yesterday. Any help would be greatly appreciated. S. Peace
Re: Mini-survey on RFC 1651/1869 compliancy
Andrzej Kukula writes: S: 220 [greeting] C: EHLO client.example.org [tries to negotiate ESMTP] S: [not responding in expected time] C: HELO client.example.org [tries to estabilish plain SMTP] I'm confused. Why would a client time-out and issue a different HELO? Seems to me that it ought to give up on a session if it doesn't get a response. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
Re: SMTPd questions...
"Scott D. Yelich" [EMAIL PROTECTED] wrote: (1) Is it better to write an SMTPd that is strict to the RFCs or lenient? The "robustness principle" says: be conservative in what you send, but liberal in what you accept. In other words, adhere to the RFC's strictly in anything your daemon sends, but don't strictly enforce the RFC's on commands it receives from others just for the sake of compliance. E.g., if a client sends you "mail from:[EMAIL PROTECTED]", you can accept it, but when sending "mail" commands, you should use the valid syntax "mail from:[EMAIL PROTECTED]". That is, where does one go to settle disputes -- or is it better to sit back and miss mail due to differences in interpreting the RFCs? There's Internet Police Department to which you can report RFC offendors. End users will probably not be impressed that you're bouncing their mail due to petty protocol errors. However, not all protocol errors are minor. (2) Are there any tools to thoroughly test a prospective SMTPd against RFC compliance? Don't know of any. Is anyone interested in such a tool? Probably some SMTP implementors. (3) qmail accepts "mail from:" and "rcpt to:" without parameters. The "data" command is then allowed, a message body can be entered, and is accepted with a 250 after the dot line. Is this correct? Sure, why not? qmail will attempt to deliver the message to all listed recipients and report and errors to specified sender. :-) -Dave
Re: SMTPd questions...
There's Internet Police Department Make that "There's no Internet Police Department..." -Dave
[OT] RE: Vapormail (was: Re: Problem: 552 max. message size exceeded)
Dave Sill [EMAIL PROTECTED] writes: "Soffen, Matthew" [EMAIL PROTECTED] wrote: I mean, How do you go from postfix to mail server (at least qmail and sendmail have the word MAIL in their titles). "fix" is colloquial for "quick" or "snappy" in German and possibly also in Dutch. Maybe that influenced Wietse's choice. Note that this arguing is as stupid as Wietse's. Just my 2 cents. -- Ondrej Sury
qmail and LDAP
All the information I've found so far about qmail and LDAP pertains only to dealing with user account information on extremely large mail servers where the users in the LDAP directory have no local accounts. I'm wondering if anyone is using qmail in a different sort of LDAP environment, where there are local accounts, and the functionality you really need qmail/LDAP integration for is mail aliases. nss_ldap solves the account information part of the puzzle for me; what I haven't found existing information on is the aliases part of things. It seems like the qmail way of doing things would mandate an add-on like fastforward, but that handled LDAP-stored mailing lists instead of using CDB files. Any experiences here? --Bret
RE: Unable to configure IMAP client
Tim Hunter [EMAIL PROTECTED] writes on 10 April 2000 at 09:34:47 -0400 After I moved my server to Maidirs I also implemented courier-imap by inter7(www.inter7.com/courierimap) I just checked the site and its up to 0.30something, I am still using 0.27 with huge success, it is hardly noticeable even on my old slow mailserver. There is reasonably good documentation, but its pretty intuitive to setup and I had little problems, there even is a blurb about configuring common clients. After reading on the inter7 web pages about Courier IMAP, I got the impression that it wasn't going to work right for clients using Outlook or Netscape. Based on that, I eliminated it from consideration; what's the point of something that doesn't support two such major products? Am I taking the problems more seriously than I should? (I also read some about *why* it didn't work, and it sounds like those products are "broken" and Courier IMAP is "right". I understand the author's position. But that still leaves me not seeing why I should install it.) -- Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Re: Unable to configure IMAP client
David, courier-imap can be configured with the option '--enable-workarounds-for-imap-client-bugs' which, as it says enables courier-imap to work with broken IMAP clients including Netscape and Outlook. Hope this helps, Del. David Dyer-Bennet wrote: Tim Hunter [EMAIL PROTECTED] writes on 10 April 2000 at 09:34:47 -0400 After I moved my server to Maidirs I also implemented courier-imap by inter7(www.inter7.com/courierimap) I just checked the site and its up to 0.30something, I am still using 0.27 with huge success, it is hardly noticeable even on my old slow mailserver. There is reasonably good documentation, but its pretty intuitive to setup and I had little problems, there even is a blurb about configuring common clients. After reading on the inter7 web pages about Courier IMAP, I got the impression that it wasn't going to work right for clients using Outlook or Netscape. Based on that, I eliminated it from consideration; what's the point of something that doesn't support two such major products? Am I taking the problems more seriously than I should? (I also read some about *why* it didn't work, and it sounds like those products are "broken" and Courier IMAP is "right". I understand the author's position. But that still leaves me not seeing why I should install it.) -- Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Running supervised pop server?
Hello, I'm currently running qmail-pop3d under tcpserver (til yesterday, it run under inetd) and as it crashedtoday just one hour after a reboot, I'd like to let it run some kind of supervised. tcpserver is start in /var/qmail/rc but what do I have to do in order to get the supervision? TIA Gabriel Best regards, Gabriel
ezmlm only for broadcast
Any help is appreciated on this matter: I want to use ezmlm on top of qmail to do the following: 1. create a mailing list 2. allow only broadcast, subscribers cannot post 3. only one user is allowed to subscribe and unscribe and post Any guidelines or pointers are welcome. I've read the ezmlm FAQ and I am still at a lost. Thanks Rene
Re: Running supervised pop server?
Gabriel Ambuehl [EMAIL PROTECTED] wrote: I'm currently running qmail-pop3d under tcpserver (til yesterday, it run under inetd) and as it crashedtoday just one hour after a reboot, I'd like to let it run some kind of supervised. tcpserver is start in /var/qmail/rc but what do I have to do in order to get the supervision? Look at how qmail-smtpd is handled in "Life with qmail", and do the same thing for qmail-pop3d: http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail -Dave
Re: Testing qmail/UW-IMAP installation
Gilberto Rodrigues [EMAIL PROTECTED] wrote: I installed qmail v1.03 and UW-IMAP v4.7b server. I patched qmail with David Harris' patches. I have the following lines in IMAP log file: ... And when I execute imapd, as following: # /usr/local/etc/imapd I got the message: * OK magenta IMAP4rev1 v12.264 server ready So it seems to me that IMAP server is running fine. But my Netscape client cannot get messages. Is there any way to test the IMAP server to see if it's ok and it is dealing with users Maildir? You could use strace/truss/par to trace system calls in the IMAP daemon. You'll need to connect to the IMAP port, lookup up the PID of the IMAP daemon, start tracing that PID, then execute the IMAP commands to log in and check your mailbox. You might want to try another IMAP client such as fetchmail or Outlook Express. I don't remember having any trouble with Netscape and UW-IMAP, though. -Dave
Re: ezmlm only for broadcast
On Mon, Apr 10, 2000 at 12:46:00PM -0500, Rene Casalme wrote: I want to use ezmlm on top of qmail to do the following: 1. create a mailing list 2. allow only broadcast, subscribers cannot post 3. only one user is allowed to subscribe and unscribe and post Any guidelines or pointers are welcome. I've read the ezmlm FAQ and I am still at a lost. ad 0) Use the [EMAIL PROTECTED] mailing list. ad 1) $ man ezmlm-make (and FAQ 4.37) ad 2) for moderation (i.e. "broadcast") a) $ man ezmlm-make (see flags -m, -s) b) Read EZMLM FAQ: 4.16, 4.18, 8.x \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake Research Development| mailto:[EMAIL PROTECTED] | up screaming and you Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| realize you haven't D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Re: problem with notifying user that new email arrived
Dariusz Zmokly [EMAIL PROTECTED] wrote: I want qmail to notify user that new email arrived. When this happens qmail should send SMS to user's cellular phone. So I put the .qmail file in user's home directory: /home/info/Mailbox |preline /home/info/sendsms It adds new email to mailbox and runs script that sends SMS. Everything is working fine when I send email without attachments. But when there is an attachment I got this error in maillog: Apr 10 14:52:24 p-s qmail: 955371144.310268 starting delivery 36: msg 68528 to local [EMAIL PROTECTED] Apr 10 14:52:24 p-s qmail: 955371144.310615 status: local 1/10 remote 0/20 Apr 10 14:52:25 p-s qmail: 955371145.410328 delivery 36: deferral: preline:_fatal:_unable_to_copy_input:_broken_pipe/ Apr 10 14:52:25 p-s qmail: 955371145.410737 status: local 0/10 remote 0/20 Then SMS is sent and messages is added to Mailbox but qmail treats this message as undelivered. You could see it when typing qmail-qread. qmail tries to deliver this message again and again according to its delivery schedule and every time user gets SMS and message is added to his Mailbox. Could you please give me some advice how to correct this problem ? preline freaks out if the program it's running doesn't read the entire message. sendsms is obviously doing just that when the message contains an attachement. Since preline returns an error status that qmail-local considers temporary, the delivery is deferred and retried. The simplest fix, if you don't care about sendsms errors, would be to change the invocation to: |preline /home/info/sendsms; exit 0 -Dave
Problems with qmail-pw2u
I was wondering if anyone could point me in the right direction. I'm using RedHat 6.1 with MD5 and Shadow passwords on my systems and am using both an RPM install of qmail-1.03 with a few patches on one system and the source version on another system. When I attempt to run: /usr/bin/qmail/qmail-pw2u /etc/passwd /etc/qmail/users/assign I get the error: qmail-pw2u: fatal: unable to find alias user I get this error on both systems, regardless of the type of install. Aside from the differences of the installation of Qmail, the systems are identical. Here is the some of the output of my passwd/user files: (from /etc/passwd) qmaild:x:80:80::/var/qmail:/bin/bash qmaill:x:85:80::/var/qmail:/bin/bash qmailp:x:86:80::/var/qmail:/bin/bash alias:x:81:80::/var/qmail/alias:/bin/bash qmailq:x:82:81::/var/qmail:/bin/bash qmailr:x:83:81::/var/qmail:/bin/bash qmails:x:84:81::/var/qmail:/bin/bash (from /etc/shadow) qmaild:!!:10910:0:9:7::: qmaill:!!:10910:0:9:7::: qmailp:!!:10910:0:9:7::: alias:!!:10910:0:9:7::: qmailq:!!:10910:0:9:7::: qmailr:!!:10910:0:9:7::: qmails:!!:10910:0:9:7::: (from /etc/group) nofiles:x:80: qmail:x:81: Any assistance would be greatly appreciated. I've looked through the archive and have found several instances of this same problem, but no clear answers, or perhaps none that I've understood. Thanks, -Chris
Re: Sorry, no mailbox (unusual)
[EMAIL PROTECTED] wrote: I have a many machines installed with qmail-1.03 with simular config. But today I found that mail for one user (oracle) on one of machines is just bounced with "Sorry, no mailbox by that name #5.1.1" error. This has .qmail for forwarding his email to mailhub. All other users with simular config, oracle user on other machines with same config work just fine, but this one...ugh... I've checked all permissions, tried to create ./Maildir/, everything looks good for. But not for qmail. Any thoughts/suggestions? Obviously something is different. I would first verify that "oracle" on this machine meets qmail-getpw's definition of a user: qmail-getpw considers an account in /etc/passwd to be a user if (1) the account has a nonzero uid, (2) the account's home directory exists (and is visible to qmail- getpw), and (3) the account owns its home directory. qmail-getpw ignores account names containing uppercase letters. qmail-getpw also assumes that all account names are shorter than 32 characters. Your oracle account probably isn't UID 0, so I'd make sure the home directory is accessible and owned by oracle. -Dave
Re: Problems with qmail-pw2u
Chris Tolley [EMAIL PROTECTED] wrote: I was wondering if anyone could point me in the right direction. I'm using RedHat 6.1 with MD5 and Shadow passwords on my systems and am using both an RPM install of qmail-1.03 with a few patches on one system and the source version on another system. When I attempt to run: /usr/bin/qmail/qmail-pw2u /etc/passwd /etc/qmail/users/assign I get the error: qmail-pw2u: fatal: unable to find alias user Try: strace /usr/bin/qmail/qmail-getpw alias Look at the output to see where it's failing. Post it here if you can't figure it out. -Dave
Re: Problems with qmail-pw2u
Hmmm... On the machine that you are having the problems finding the alias user, are you running a qmail-1.03 binary package that was compiled on a different machine? I had similar problems. I built qmail-1.03, tarred up the binaries, moved them to a (seemingly) identical machine, and it failed to run. This is because the numeric uids and gids of the qmail system users are compiled into the code. (Other ppl on this list confirmed this for me; thank you). For example, I can reproduce your error by copying /etc/passwd and changing the alias user's uid and then trying to run qmail-pw2u on it: keith@develop[pts/8]:~$ cp /etc/passwd . keith@develop[pts/8]:~$ grep ^alias: ./passwd alias:x:202:214:Qmail Subsystem,,,:/usr/local/qmail/alias:/bin/false keith@develop[pts/8]:~$ # alias user has uid 202; will change it to 302 keith@develop[pts/8]:~$ vi ./passwd keith@develop[pts/8]:~$ grep ^alias: ./passwd alias:x:302:214:Qmail Subsystem,,,:/usr/local/qmail/alias:/bin/false keith@develop[pts/8]:~$ qmail-pw2u ./passwd 1/dev/null qmail-pw2u: fatal: unable to find alias user keith@develop[pts/8]:~$ - Original Message - From: "Chris Tolley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 10, 2000 2:22 PM Subject: Problems with qmail-pw2u I was wondering if anyone could point me in the right direction. I'm using RedHat 6.1 with MD5 and Shadow passwords on my systems and am using both an RPM install of qmail-1.03 with a few patches on one system and the source version on another system. When I attempt to run: /usr/bin/qmail/qmail-pw2u /etc/passwd /etc/qmail/users/assign I get the error: qmail-pw2u: fatal: unable to find alias user I get this error on both systems, regardless of the type of install. Aside from the differences of the installation of Qmail, the systems are identical. Here is the some of the output of my passwd/user files: (from /etc/passwd) qmaild:x:80:80::/var/qmail:/bin/bash qmaill:x:85:80::/var/qmail:/bin/bash qmailp:x:86:80::/var/qmail:/bin/bash alias:x:81:80::/var/qmail/alias:/bin/bash qmailq:x:82:81::/var/qmail:/bin/bash qmailr:x:83:81::/var/qmail:/bin/bash qmails:x:84:81::/var/qmail:/bin/bash (from /etc/shadow) qmaild:!!:10910:0:9:7::: qmaill:!!:10910:0:9:7::: qmailp:!!:10910:0:9:7::: alias:!!:10910:0:9:7::: qmailq:!!:10910:0:9:7::: qmailr:!!:10910:0:9:7::: qmails:!!:10910:0:9:7::: (from /etc/group) nofiles:x:80: qmail:x:81: Any assistance would be greatly appreciated. I've looked through the archive and have found several instances of this same problem, but no clear answers, or perhaps none that I've understood. Thanks, -Chris
Problem with qmail counting local deliveries
Our qmail+ldap installation seems to be losing track of the number of local deliveries going on. We have it set up to limit concurrent local deliveries to 50, and after running for a while, it will think that it already has 50 local deliveries running, and won't start any more up. In reality, though, it has between 0 and 20 running Here's an example: mail013# tail -1000 syslog | grep 'status:' | tail -10 Apr 10 14:09:32 mail013 qmail: 955390172.820586 status: local 50/50 remote 13/50 Apr 10 14:09:35 mail013 qmail: 955390175.792667 status: local 50/50 remote 12/50 Apr 10 14:09:35 mail013 qmail: 955390175.993011 status: local 50/50 remote 11/50 Apr 10 14:09:39 mail013 qmail: 955390179.265143 status: local 50/50 remote 10/50 Apr 10 14:09:40 mail013 qmail: 955390180.472890 status: local 50/50 remote 9/50 Apr 10 14:09:41 mail013 qmail: 955390181.445602 status: local 50/50 remote 8/50 Apr 10 14:09:48 mail013 qmail: 955390188.578305 status: local 50/50 remote 9/50 Apr 10 14:09:48 mail013 qmail: 955390188.705810 status: local 50/50 remote 8/50 Apr 10 14:09:53 mail013 qmail: 955390193.873759 status: local 50/50 remote 9/50 Apr 10 14:09:54 mail013 qmail: 955390194.544234 status: local 50/50 remote 10/50 mail013# ps -ef | grep qmail-local | grep -v grep |wc -l 0 mail013# ps -ef | grep qmail-lspawn |grep -v grep |wc -l 19 Additionally, many of the 19 qmail-lspawn processes are a week old or older, and seem to be hung (they don't have any child processes, and are in a poll() system call). This can be solved by shutting down qmail and starting it back up, but I don't want to have to do this every week for each of our 20 mail servers. Has anybody seen this problem before? We are running qmail-1.03 with the LDAP patches from 19991007. We've got a cluster of about 20 mail servers, each pushing around 65,000 messages/day. I'm seeing this problem after running for about 2 weeks. Thanks for any pointers, --Scott.
Mail Headers
More of a email format rather than a qmail question, so I apologize for posting this here up front. Could not get the answer in Dan's pages. If I were to get a bounced message, is it possible to re-direct the response to one address and the actual message to another. I have used Reply-To: to re-direct the bounce. Any ideas on the response to the bounce? Thanks, Len
Re: problem with notifying user that new email arrived
On Mon, Apr 10, 2000 at 02:17:56PM -0400, Dave Sill wrote: preline freaks out if the program it's running doesn't read the entire message. sendsms is obviously doing just that when the message contains an attachement. Since preline returns an error status that qmail-local considers temporary, the delivery is deferred and retried. The simplest fix, if you don't care about sendsms errors, would be to change the invocation to: |preline /home/info/sendsms; exit 0 Of course you could check the status of sendsms, then return an error code to qmail that would do something sensible (like not defer it sendsms errored, but would it if was a temp error). Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2,43 Howitt Road, Belsize Park,London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only]
RE: Problems with qmail-pw2u
Dave, From what I can make of this, I'm missing /etc/ld.so.preload. If that is my problem, can someone tell me what source or RPM I can get that from? Here is the verbose output of strace /usr/bin/qmail/qmail-getpw alias : execve("/usr/bin/qmail/qmail-getpw", ["/usr/bin/qmail/qmail-getpw", "alias"], [/* 26 vars */]) = 0 brk(0) = 0x8049e20 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=22440, ...}) = 0 mmap(0, 22440, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) = 4096 mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000 mprotect(0x40104000, 30940, PROT_NONE) = 0 mmap(0x40104000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40104000 mmap(0x40108000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40108000 close(3)= 0 mprotect(0x40019000, 962560, PROT_READ|PROT_WRITE) = 0 mprotect(0x40019000, 962560, PROT_READ|PROT_EXEC) = 0 munmap(0x40013000, 22440) = 0 personality(0 /* PER_??? */)= 0 getpid()= 9778 brk(0) = 0x8049e20 brk(0x8049fc0) = 0x8049fc0 brk(0x804a000) = 0x804a000 brk(0x804b000) = 0x804b000 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused) close(3)= 0 open("/etc/nsswitch.conf", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0644, st_size=1739, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1739 read(3, "", 4096) = 0 close(3)= 0 munmap(0x40013000, 4096)= 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=22440, ...}) = 0 mmap(0, 22440, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libnss_files.so.2", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=247348, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33"..., 4096) = 4096 mmap(0, 35232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4010c000 mprotect(0x40114000, 2464, PROT_NONE) = 0 mmap(0x40114000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x40114000 close(3)= 0 munmap(0x40013000, 22440) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=1196, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1196 close(3)= 0 munmap(0x40013000, 4096)= 0 stat("/var/qmail/alias", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 write(1, "alias\000521\000518\0/var/qmail/alias\0\0"..., 33alias521518/var/qmail/alias) = 33 _exit(0) -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 1:37 PM To: [EMAIL PROTECTED] Subject: Re: Problems with qmail-pw2u Chris Tolley [EMAIL PROTECTED] wrote: I was wondering if anyone could point me in the right direction. I'm using RedHat 6.1 with MD5 and Shadow passwords on my systems and am using both an RPM install of qmail-1.03 with a few patches on one system and the source version on another system. When I attempt to run: /usr/bin/qmail/qmail-pw2u /etc/passwd /etc/qmail/users/assign I get the error: qmail-pw2u: fatal: unable to find alias user Try: strace /usr/bin/qmail/qmail-getpw alias Look at the output to see where it's failing. Post it here if you can't figure it out. -Dave
supervise everywhere
We took down one of our servers and replaced the hard drive with something much larger. Another guy was working on it, so I don't exactly know right now what procedure was used to do this. But... When he brought the server back up, we noticed (understatement) that a supervise directory was created under almost every directory (but not *all* of them). What could have caused this? I never explicitly created the 100 or so supervise directories. When qmail was started, though, I don't think that the original supervise directory was there-- will supervise go crazy creating directories? Thanks for any help, Jen
RE: Problems with qmail-pw2u
Chris Tolley [EMAIL PROTECTED] wrote: From what I can make of this, I'm missing /etc/ld.so.preload. Yes, but that's normal. If that is my problem, can someone tell me what source or RPM I can get that from? Here is the verbose output of strace /usr/bin/qmail/qmail-getpw alias : ... write(1, "alias\000521\000518\0/var/qmail/alias\0\0"..., 33alias521518/var/qmail/alias) = 33 This shows that the "qmail-getpw alias" succeeded. Did you do this as the same user who ran qmail-pw2u? Try running qmail-getpw2u under strace. Also, send us the output of qmail-showctl. -Dave
Re: supervise everywhere
[EMAIL PROTECTED] wrote: We took down one of our servers and replaced the hard drive with something much larger. Another guy was working on it, so I don't exactly know right now what procedure was used to do this. But... When he brought the server back up, we noticed (understatement) that a supervise directory was created under almost every directory (but not *all* of them). What could have caused this? Looks like a bug in the LWQ "qmail" script--or whatever startup script you're using. The LWQ script does: cd /var/qmail/supervise env - PATH="$PATH" svscan echo $! /var/run/svscan.pid echo "." If /var/qmail/supervise doesn't exist, the cd fails, and svscan will run from /, and it assumes that each subdirectory is a service, and runs supervise on it. The script should check to make sure the cd succeeded, e.g.: if cd /var/qmail/supervise; then env - PATH="$PATH" svscan echo $! /var/run/svscan.pid fi echo "." Sorry about that: that's a basic shell programming error. -Dave
Re: Problems with qmail-pw2u
How about output of qmail-showctl and egrep '(^alias:|^qmail[dlpqrs]:)' /etc/passwd ? - Original Message - From: "Dave Sill" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 10, 2000 3:34 PM Subject: RE: Problems with qmail-pw2u Chris Tolley [EMAIL PROTECTED] wrote: From what I can make of this, I'm missing /etc/ld.so.preload. Yes, but that's normal. If that is my problem, can someone tell me what source or RPM I can get that from? Here is the verbose output of strace /usr/bin/qmail/qmail-getpw alias : ... write(1, "alias\000521\000518\0/var/qmail/alias\0\0"..., 33alias521518/var/qmail/alias) = 33 This shows that the "qmail-getpw alias" succeeded. Did you do this as the same user who ran qmail-pw2u? Try running qmail-getpw2u under strace. Also, send us the output of qmail-showctl. -Dave
SPAMCONTROL not work properly
Hello everyone, I am having problems with my qmail MTA: when mail-abuse.org tests my site, qmail is accepting MAIL FROM and RCPT TO with PERCENTHACK. My badrcptpatterns has the line: *%* And my badrmailpatterns has the line: *%* So, my MTA is already opened for relay Could you help me? thanks in advance -- - Luís Bezerra de A. Junior [EMAIL PROTECTED] SecrelNet Informática LTDA Fortaleza - Ceará - Brasil Fone: 021852882090 -
Re: Mail Headers
On Mon, Apr 10, 2000 at 02:59:51PM -0400, "Vaz, Len" [EMAIL PROTECTED] wrote: More of a email format rather than a qmail question, so I apologize for posting this here up front. Could not get the answer in Dan's pages. If I were to get a bounced message, is it possible to re-direct the response to one address and the actual message to another. I have used Reply-To: to re-direct the bounce. Any ideas on the response to the bounce? You won't be able to do this in all cases since the bounce messages will be generated by the remote machines. Different servers use different formats, so there is no reliable way to extract the original message and send it some place else. If you control the envelope sender address of the outgoing messages, you can set it to be one handled by a program that recognizes a couple of the formats used in practice.
RE: Problems with qmail-pw2u
I've been running all of this as root, including the attempt that yielded the original error. I've been doing this testing on the box that has a source install. When I run 'strace /usr/bin/qmail/qmail-pw2u alias' on the box with the RPM install, it never completes. It hangs with the following output: execve("/usr/bin/qmail/qmail-pw2u", ["/usr/bin/qmail/qmail-pw2u", "alias"], [/* 25 vars */]) = 0 brk(0) = 0x8052e20 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=24081, ...}) = 0 mmap(0, 24081, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) = 4096 mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000 mprotect(0x40104000, 30940, PROT_NONE) = 0 mmap(0x40104000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40104000 mmap(0x40108000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40108000 close(3)= 0 mprotect(0x40019000, 962560, PROT_READ|PROT_WRITE) = 0 mprotect(0x40019000, 962560, PROT_READ|PROT_EXEC) = 0 munmap(0x40013000, 24081) = 0 personality(0 /* PER_??? */)= 0 getpid()= 13277 brk(0) = 0x8052e20 brk(0x8052fc0) = 0x8052fc0 brk(0x8053000) = 0x8053000 chdir("/var/qmail") = 0 open("users/include", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 open("users/exclude", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 open("users/mailnames", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 read(0, and it just sits there with a blinking cursor. The output of the strace that you saw before was from the source install. Since that one appears to be behaving a little better I'm going to focus on it. Here is the output of qmail-showctl from my source install: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 521, 518, 519, 0, 520, 522, 523, 524. group ids: 518, 519. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is astral.datareturn.com. 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 . defaulthost: (Default.) Default host name is astral.datareturn.com. doublebouncehost: (Default.) 2B recipient host: astral.datareturn.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is astral.datareturn.com. helohost: (Default.) SMTP client HELO host name is astral.datareturn.com. idhost: (Default.) Message-ID host name is astral.datareturn.com. localiphost: (Default.) Local IP address becomes astral.datareturn.com. locals: me: My name is astral.datareturn.com. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is . 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 astral.datareturn.com. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 astral.datareturn.com. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. egrep '(^alias:|^qmail[dlpqrs]:)' /etc/passwd yields the following: qmaild:x:518:518::/var/qmail:/bin/bash qmaill:x:519:518::/var/qmail:/bin/bash qmailp:x:520:518::/var/qmail:/bin/bash alias:x:521:518::/var/qmail/alias:/bin/bash qmailq:x:522:519::/var/qmail:/bin/bash qmailr:x:523:519::/var/qmail:/bin/bash qmails:x:524:519::/var/qmail:/bin/bash -Chris -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 2:35 PM To: [EMAIL PROTECTED] Subject: RE: Problems with qmail-pw2u Chris Tolley [EMAIL PROTECTED] wrote: From what I can make of this, I'm missing /etc/ld.so.preload. Yes, but that's
Re: Problems with qmail-pw2u
Erm... qmail-pw2u reads from standin. You ran it as "/usr/bin/qmail/qmail-pw2u alias"; it was waiting for input via stdin, not hanging. Try 'strace qmail-getpw alias', which is probably what you meant to do! Also, what is the output of qmail-showctl on the RPM box? And what is the egrep output on that box? - Original Message - From: "Chris Tolley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 10, 2000 4:26 PM Subject: RE: Problems with qmail-pw2u I've been running all of this as root, including the attempt that yielded the original error. I've been doing this testing on the box that has a source install. When I run 'strace /usr/bin/qmail/qmail-pw2u alias' on the box with the RPM install, it never completes. It hangs with the following output: execve("/usr/bin/qmail/qmail-pw2u", ["/usr/bin/qmail/qmail-pw2u", "alias"], [/* 25 vars */]) = 0 brk(0) = 0x8052e20 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=24081, ...}) = 0 mmap(0, 24081, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) = 4096 mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000 mprotect(0x40104000, 30940, PROT_NONE) = 0 mmap(0x40104000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40104000 mmap(0x40108000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40108000 close(3)= 0 mprotect(0x40019000, 962560, PROT_READ|PROT_WRITE) = 0 mprotect(0x40019000, 962560, PROT_READ|PROT_EXEC) = 0 munmap(0x40013000, 24081) = 0 personality(0 /* PER_??? */)= 0 getpid()= 13277 brk(0) = 0x8052e20 brk(0x8052fc0) = 0x8052fc0 brk(0x8053000) = 0x8053000 chdir("/var/qmail") = 0 open("users/include", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 open("users/exclude", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 open("users/mailnames", O_RDONLY|O_NONBLOCK) = 3 read(3, "", 64) = 0 close(3)= 0 read(0, and it just sits there with a blinking cursor. The output of the strace that you saw before was from the source install. Since that one appears to be behaving a little better I'm going to focus on it. Here is the output of qmail-showctl from my source install: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 521, 518, 519, 0, 520, 522, 523, 524. group ids: 518, 519. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is astral.datareturn.com. 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 . defaulthost: (Default.) Default host name is astral.datareturn.com. doublebouncehost: (Default.) 2B recipient host: astral.datareturn.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is astral.datareturn.com. helohost: (Default.) SMTP client HELO host name is astral.datareturn.com. idhost: (Default.) Message-ID host name is astral.datareturn.com. localiphost: (Default.) Local IP address becomes astral.datareturn.com. locals: me: My name is astral.datareturn.com. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is . 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 astral.datareturn.com. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 astral.datareturn.com. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. egrep '(^alias:|^qmail[dlpqrs]:)' /etc/passwd yields the following: qmaild:x:518:518::/var/qmail:/bin/bash qmaill:x:519:518::/var/qmail:/bin/bash
Re: supervise everywhere
Dave Sill [EMAIL PROTECTED] wrote: The script should check to make sure the cd succeeded, e.g.: [...] Sorry about that: that's a basic shell programming error. What about doing a `set -e` at the beginning of the scripts? That way they'll stop if they hit any error. 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: SPAMCONTROL not work properly
On Mon, Apr 10, 2000 at 04:59:14PM -0300, Luis Bezerra wrote: I am having problems with my qmail MTA: when mail-abuse.org tests my site, qmail is accepting MAIL FROM and RCPT TO with PERCENTHACK. Arrrggh! Just after the test seemed to indicate that your MTA failed the test, did it say anything else? (Hint: yes, it did.) Chris
delivery hiccup involving MDaemon.v2.7.SP4.R and hacked 250 reply
I'd like to think it's my fault, for altering smtpd.c to have cute messages, but this has never happened before, so it could mean that MDaemon got confused by the non-standard 250 code, saying more than "250 ok" like others do, and returned the buffer in a rcpt to: command. I'm looking at these headers: Received: (qmail 501888 invoked by alias); 10 Apr 2000 20:55:05 - Delivered-To: 250 ok yes [EMAIL PROTECTED] Received: (qmail 501889 invoked from network); 10 Apr 2000 20:54:54 - Received: from asub.arknet.edu (HELO asubserver1.asub.arknet.edu) (150.208.48.1) by tesla.umkc.edu with SMTP; 10 Apr 2000 20:54:54 - Received: from guest.asub.arknet.edu [150.208.48.186] by asubserver1.asub.arknet.edu [127.0.0.1] with SMTP (MDaemon.v2.7.SP4.R) for [EMAIL PROTECTED]; Mon, 10 Apr 2000 15:46:50 -0500 Apparently qmail on tesla delivered this to "250 ok yes [EMAIL PROTECTED]" which fell through to me, instead of queueing it and re-sending it to [EMAIL PROTECTED] like was supposed to happen. I have forwarded the message to the correct recipient, but I would like to prevent this from happening again. I am guessing that I need to include a dash after the OK in the replies, like microsoft exchange has, to fix this. Reviewing the relevant documentation, that is, http://cr.yp.to/smtp/request.html, I am led to understand that a SMTP response of "250 ok yes sir" is every bit as valid as exchange's "250 OK - Recipient [EMAIL PROTECTED]" so I am not changing my server. Thoughts? _ David Nicol 816.235.1187 [EMAIL PROTECTED] "Nobody wants a hammer with racing stripes and a horn." - Greg Knauss
Machine Specs
I am looking at purchasing a new machine to set-up qmail. We are estimating a build up to appx 250,000 emails a day. What kind of system (PC) would you recommend for this kind of traffic ? thanks ! td
Re: RFC: Qmail Anti-Spam HOWTO
On Tue, Apr 04, 2000 at 12:24:55PM +0100, Will Harris wrote: However it doesn't explain how to do do what I want. I want to check all incoming messages to see if they're on DUL, ORBS, RSS, RBL or whatever and if so add a header to the message, say an "X-Spam-Warning: DUL" or the like. I know this is a trivial one line config option for Exim, but I haven't seen anything for qmail to do this. I've written a system-wide mail filtering program I implemented that checks RBL, RSS, ORBS, and DUL. snip details It also uses a small 4 line patch to qmail's received.c file to insert an X-Remote-IP header. Ok, I've taken a look at what you've done and the flame antispam patch and come up with the attached, which I think should do what I want. Except it doesn't. Closer examination reveals it's failing on the test to make sure we ip_scaned the entire string, but I can't see why. Anyone any hints for debugging qmail patches? J. -- Is it real, or is it Mimozine? diff -ruN qmail-1.02/Makefile qmail-1.02-new/Makefile --- qmail-1.02/Makefile Fri May 1 05:23:28 1998 +++ qmail-1.02-new/Makefile Sat Apr 8 17:45:31 2000 @@ -1310,10 +1310,12 @@ qmail-qmqpd: \ load qmail-qmqpd.o received.o now.o date822fmt.o qmail.o auto_qmail.o \ -env.a substdio.a sig.a error.a wait.a fd.a str.a datetime.a fs.a +env.a substdio.a sig.a error.a wait.a fd.a str.a datetime.a fs.a \ +stralloc.a alloc.a dns.o ip.o ./load qmail-qmqpd received.o now.o date822fmt.o qmail.o \ - auto_qmail.o env.a substdio.a sig.a error.a wait.a fd.a \ - str.a datetime.a fs.a + auto_qmail.o dns.o ip.o ipalloc.o env.a substdio.a sig.a \ + error.a wait.a fd.a \ + str.a datetime.a fs.a stralloc.a alloc.a `cat dns.lib` qmail-qmqpd.0: \ qmail-qmqpd.8 @@ -1330,9 +1332,9 @@ getln.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a \ str.a fs.a auto_qmail.o ./load qmail-qmtpd rcpthosts.o control.o constmap.o \ - received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ + received.o date822fmt.o now.o qmail.o ipalloc.o cdb.a fd.a wait.a \ datetime.a open.a getln.a sig.a case.a env.a stralloc.a \ - alloc.a substdio.a error.a str.a fs.a auto_qmail.o + alloc.a substdio.a error.a str.a fs.a auto_qmail.o dns.o ip.o `cat dns.lib` qmail-qmtpd.0: \ qmail-qmtpd.8 @@ -1496,7 +1498,7 @@ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ - alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \ + alloc.a substdio.a error.a str.a fs.a auto_qmail.o dns.o `cat dns.lib` `cat \ socket.lib` qmail-smtpd.0: \ diff -ruN qmail-1.02/dns.c qmail-1.02-new/dns.c --- qmail-1.02/dns.cFri May 1 05:23:28 1998 +++ qmail-1.02-new/dns.cSat Apr 8 13:52:38 2000 @@ -219,9 +219,10 @@ #define FMT_IAA 40 -static int iaafmt(s,ip) +static int iaafmt(s,ip,dom) char *s; struct ip_address *ip; +const char *dom; { unsigned int i; unsigned int len; @@ -233,7 +234,7 @@ i = fmt_ulong(s,(unsigned long) ip-d[1]); len += i; if (s) s += i; i = fmt_str(s,"."); len += i; if (s) s += i; i = fmt_ulong(s,(unsigned long) ip-d[0]); len += i; if (s) s += i; - i = fmt_str(s,".in-addr.arpa."); len += i; if (s) s += i; + i = fmt_str(s,dom); len += i; if (s) s += i; return len; } @@ -243,8 +244,8 @@ { int r; - if (!stralloc_ready(sa,iaafmt((char *) 0,ip))) return DNS_MEM; - sa-len = iaafmt(sa-s,ip); + if (!stralloc_ready(sa,iaafmt((char *) 0,ip,".in-addr.arpa."))) return DNS_MEM; + sa-len = iaafmt(sa-s,ip,".in-addr.arpa."); switch(resolve(sa,T_PTR)) { case DNS_MEM: return DNS_MEM; @@ -260,6 +261,34 @@ return 0; } } + return DNS_HARD; +} + +int dns_maps(ip,suffix) +struct ip_address *ip; +char *suffix; +{ + int r; + stralloc *sa; + + /* + * Ok, look for a CNAME or A record. + */ + if (!stralloc_ready(sa, iaafmt(NULL, ip, suffix))) + return DNS_MEM; + sa-len = iaafmt(sa-s, ip, suffix); + switch(resolve(sa, T_A)) { + case DNS_MEM: return DNS_MEM; + case DNS_SOFT: return DNS_SOFT; + case DNS_HARD: return DNS_HARD; + } + while ((r = findip(T_A)) !=2) { + if (r == DNS_SOFT) +return DNS_SOFT; + if (r == 1) +return 0; + } + return DNS_HARD; } diff -ruN qmail-1.02/received.c qmail-1.02-new/received.c --- qmail-1.02/received.c Fri May 1 05:23:28 1998 +++ qmail-1.02-new/received.c Sat Apr 8 13:55:29 2000 @@ -3,6 +3,8 @@ #include "now.h" #include "datetime.h" #include "date822fmt.h" +#include "dns.h" +#include "ip.h" #include "received.h" static int issafe(ch) char ch; @@ -47,6 +49,20 @@ char *helo; { struct datetime dt; + struct ip_address ip; + + if (!remotehost[ip_scan(remotehost, ip)]) { +switch(dns_maps(ip,".rbl.maps.vix.com.")) { + case 0: +qmail_puts(qqt,"X-Spam-Warning: "); +safeput(qqt, remotehost); +
qmail stopped responding
Suddenly qmail stopped responding today. Telnet to port 25 gave me the standard telnet "connected to" and "escape character is ^]" but no smtp prompt. ps aux showed many smtp processes. Since the phone was ringing off the hook, I had to hurry and didn't have time to look farther. I stopped the qmail service, waited about 30 seconds, then restarted it. It's answering again, but I don't know for how long. A feel rusty since it's been so long since anything has gone with my qmail installation. :-/ What should have I done to track down the culprit? Here's my run file for the supervised (DT .61) qmail process: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -Rv -x /etc/tcp.smtp.cdb -c 100\ -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd -b -t2\ -r rbl.maps.vix.com -r dul.maps.vix.com \ -r relays.mail-abuse.org sh -c ' /var/qmail/bin/qmail-smtpd cd /var/qmail/autoturn exec setlock -nx $TCPREMOTEIP/seriallock \ maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN ' 21 Any help appreciated. Jon
RE: Problems with qmail-pw2u
Oops...Here is the output from 'strace /usr/bin/qmail/qmail-getpw alias' from the RPM install: execve("/usr/bin/qmail/qmail-getpw", ["/usr/bin/qmail/qmail-getpw", "alias"], [/* 25 vars */]) = 0 brk(0) = 0x8049e20 open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=24081, ...}) = 0 mmap(0, 24081, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) = 4096 mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000 mprotect(0x40104000, 30940, PROT_NONE) = 0 mmap(0x40104000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40104000 mmap(0x40108000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40108000 close(3)= 0 mprotect(0x40019000, 962560, PROT_READ|PROT_WRITE) = 0 mprotect(0x40019000, 962560, PROT_READ|PROT_EXEC) = 0 munmap(0x40013000, 24081) = 0 personality(0 /* PER_??? */)= 0 getpid()= 13374 brk(0) = 0x8049e20 brk(0x8049fc0) = 0x8049fc0 brk(0x804a000) = 0x804a000 brk(0x804b000) = 0x804b000 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused) close(3)= 0 open("/etc/nsswitch.conf", O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0644, st_size=1744, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1744 read(3, "", 4096) = 0 close(3)= 0 munmap(0x40013000, 4096)= 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=24081, ...}) = 0 mmap(0, 24081, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3)= 0 open("/lib/libnss_files.so.2", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=247348, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33"..., 4096) = 4096 mmap(0, 35232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4010c000 mprotect(0x40114000, 2464, PROT_NONE) = 0 mmap(0x40114000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x40114000 close(3)= 0 munmap(0x40013000, 24081) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=1478, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1478 close(3)= 0 munmap(0x40013000, 4096)= 0 stat("/var/qmail/alias", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 write(1, "alias\00081\00080\0/var/qmail/alias\0\0\0", 31alias8180/var/qmail/alias) = 31 _exit(0)= ? Here is the output from egrep on the RPM install: qmaild:x:80:80::/var/qmail:/bin/bash qmaill:x:85:80::/var/qmail:/bin/bash qmailp:x:86:80::/var/qmail:/bin/bash alias:x:81:80::/var/qmail/alias:/bin/bash qmailq:x:82:81::/var/qmail:/bin/bash qmailr:x:83:81::/var/qmail:/bin/bash qmails:x:84:81::/var/qmail:/bin/bash and the output from qmail-showctl on the RPM install: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 81, 80, 85, 0, 86, 82, 83, 84. group ids: 80, 81. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is flashburn.datareturn.com. 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 datareturn.com. defaulthost: (Default.) Default host name is flashburn.datareturn.com. doublebouncehost: (Default.) 2B recipient host: flashburn.datareturn.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is flashburn.datareturn.com. helohost: (Default.) SMTP client HELO host name is flashburn.datareturn.com. idhost: (Default.) Message-ID host name is flashburn.datareturn.com. localiphost: (Default.) Local IP address becomes flashburn.datareturn.com. locals: Messages for localhost are delivered locally. Messages for flashburn.datareturn.com are delivered
Maildir format info
Hi all, I just started using maildirs with mutt and procmail. I am planning on writing a utility to allow me to search all of my maildir folders for mail matching certain regexps and then linking them into a result folder also a maildir that I could then browse with mutt. Relatively simple but I am looking for details on maildir format so that I dump my results without cheating. Does anyone have any ideas or pointers? Thanks, /Duncan -- Duncan Watson nCube
Qmail RPM for Redhat 6.2
Hello Everyone I am upgrading my Linux server to Linux Redhat 6.2. Does anyone know where I can ftp the Qmail RPM? Thanks Steve
Re: Maildir format info
Duncan Watson [EMAIL PROTECTED] writes: I just started using maildirs with mutt and procmail. I am planning on writing a utility to allow me to search all of my maildir folders for mail matching certain regexps and then linking them into a result folder also a maildir that I could then browse with mutt. Relatively simple but I am looking for details on maildir format so that I dump my results without cheating. Does anyone have any ideas or pointers? man 5 maildir (comes with qmail) There is _very detailed_ step by step information on how maildirs are to be used by programs. -- Manfred Bartz
special user
I have a special user account as [EMAIL PROTECTED] . The specail user just can receive some designated domain(or just localhost ) . Thought SENDER environment variable in dot-qmail can do it , but it still can be faked . Have a idea ? Thanks any help !!
Re: Qmail RPM for Redhat 6.2
On 10-Apr-2000, Steve Scoggins wrote: I am upgrading my Linux server to Linux Redhat 6.2. Does anyone know where I can ftp the Qmail RPM? http://em.ca/~bruceg Ronny
is yahoo die again ?
start to get back all those failed queues Ismal Hisham Mohd Darus Asst. Manager, System Support John Hancock Life Insurance (Malaysia) Berhad
Redirecting email messages into a local database
Hi there, I would like my qmail server to able to write messages received for the local recipients to a local database . It can or cannot be at the expense of local delivery to Maildir. So how do i do it? Is that some configuration file for me to set so that it invokes an executable whenever a mail arrive etc. If programming is required, which of the source files for qmail should I modify? Thanks a lot everyone! regards, steve
How do I unsubscribe?
Hi, Can somebody tell me how to unsubscribe from the list? I have serached on the Qmail site. But could not locate any info reg this. Raju
Re: SPAMCONTROL not work properly
More info on this here: http://www.faqts.com/knowledge-base/view.phtml/aid/1198/fid/206/lang/en and here: http://www.summersault.com/chris/techno/qmail/qmail-antispam.html Another Chris On Mon, 10 Apr 2000, Chris Johnson wrote: On Mon, Apr 10, 2000 at 04:59:14PM -0300, Luis Bezerra wrote: I am having problems with my qmail MTA: when mail-abuse.org tests my site, qmail is accepting MAIL FROM and RCPT TO with PERCENTHACK. Arrrggh! Just after the test seemed to indicate that your MTA failed the test, did it say anything else? (Hint: yes, it did.) Chris -- Chris Hardie - - mailto:[EMAIL PROTECTED] -- http://www.summersault.com/chris/ --