bounceroute? -- how to offload bounces
Howdy, all. Our outbound mail server spends the vast majority of its resources (attempting to) bounce mail (usually from spam :( ). The result is that sometimes, when load is very heavy, normal outbound deliveries sit in the queue and wait a while. So... I'd like to set up a dedicated machine to handle bounces. The bounce* and doublebounce* control files don't appear to be useful here. And I don't see how I can garner the help of smtproutes, either. What I really want is the following logic: "A message needs to be bounced? Relay it first to 192.168.N.N and let him handle it." Thanks in advance for any suggestions! Dave
RE: Documentation Specialist Seeking Contract Work
Since nobody else seems able to do it, maybe you should write a book on qmail? Dave ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 10:05 AM To: [EMAIL PROTECTED] Subject: Documentation Specialist Seeking Contract Work Documentation Specialists Seeking Contract Work - Technical Writing, Editing,Graphics, Robohelp, HTML, SGML, etc. Senior technical writers, senior editors, project leaders and electronic documentation specialists seek contract work. Clients have included companies such as Microsoft and Koch Petroleum. Excellent communication skills, able to work with all levels of the company from programmers to CEO. Excellent background in technical, marketing and creative writing. Familiar with educational material as well as e-commerce. Writing samples, full resume and references available on request. Experience in creating both published and online documentation. REQUIRED: Prefer Corp to Corp Sole relationship directly with the client. Agents are also welcome in the same capacity. Production is done at our facility. We are fully equipped. PLEASE REPLY ONLY BY PHONE Contact - Casey Lea or Domhnall CGN Adams, CS - TO INQUIRE ABOUT SERVICES, AVAILABILITY, OR TO CONFIRM REMOVAL FROM OUR LIST CALL 780-998-4066 PST Rates: Fees are charged by the hour or by the project. _ This Message was Composed by a user of Extractor Pro '98 Bulk E- Mail Software. If you wish to be removed from this advertiser's future mailings, please reply with the subject "Remove" and this software will automatically block you from their future mailings.
RE: Requesting the services of Hercule Poirrot
However, when I ran qmail-qstat, it showed ~3300 messages in the queue (normally this is closer to 400). In the past, this has indicated an onslaught on spam. But if resources are available, and smtp and local have concurrency available, I don't understand why ANY incoming message would not show up in someone's mailbox promptly. I don't either. Did you try injecting a message and tracking it through the logs? You need to identify where they're lingering. No, I did not try in enough detail. Do you recommend injecting from a remote qmail machine? That would allow me to track the individual message's delivery from the remote qmail's maillog, since it may never make it to the local server... And have you check your trigger? I'm fearful of running "make check" because it depends on "install", and this is a live system. However, the trigger shows: prw--w--w- 1 qmails qmail 0 Sep 1 10:40 trigger (and the system seems to be fine now without any modification). So, unless there are any other ideas, I guess I'll just have to try to track an injection next time around, eh? Thanks very much! Dave K :)
SOLVED: so much qmail-smtpd activity, so little qmail-send activity...
I used recordio with qmail-smtpd to trace some smtp dialogs, and found some results that you qmail-philes might find useful. For some reason, I had trouble extracting this info by looking at the source code. Useful qmail-smtpd exit codes: 256 = bare linefeed problem (http://cr.yp.to/docs/smtplf.html) 25600 = tcpserver denial (probably invalid IP) I hope this helps others of y'all. Incidentally, if there are THAT many 256's showing up in our logs, I wonder if, rather than taking it as a Hard error, the remote smtp server is treating it as a deferral, and continuing to retry repeatedly... Dave -Original Message- From: Dave Kitabjian Sent: Monday, July 17, 2000 10:43 AM To: '[EMAIL PROTECTED]' Subject: so much qmail-smtpd activity, so little qmail-send activity... I recently started monitoring qmail-smtpd's activity via "tcpserver -v", and at the moment it's burning through a steady 15-20 concurrencies, scrolling by beyond readability. Meanwhile, as I "tail -f maillog" for qmail-send's activity, it sits predominantly idle, with an occasional message to process. Now, regardless of whether it's local or remote, it should get picked up by qmail-send, right? So the question then is, if it's not receiving mail, what is qmail-smtpd doing? Is it receiving connections from known spammers on my tcp.smtp list, and dropping them? A quick scan of IP's doesn't jibe with that theory; plus there's no "access denied" message shown. I'm suspicious of all the: 2000-07-17 09:55:44.476546500 tcpserver: end 99787 status 256 Looking at tcpserver.c, I can't tell what this means. I looks like it has something to do with the wait() function. Can one of you Unix/C gurus lend a hand? Thanks :) Dave
RE: Requesting the services of Hercule Poirrot
Do you recommend injecting from a remote qmail machine? That would allow me to track the individual message's delivery from the remote qmail's maillog, since it may never make it to the local server... Hmm, I didn't think there was any question that messages were being queued and the delays were after that point. Am I missing something? I did not know if the messages were queued yet or not. That is why I also checked that qmail-smtpd had enough concurrencies to spare. But that raises a good point: when I trace my message next time around, I'll be sure to see if it's already in the queue, but stuck there for some reason. Dave K
RE: Requesting the services of Hercule Poirrot
That figure means they're not delivered yet, either locally or remotely. It usually just means that the messages are deferring, either because the remote server is down or something else "normal". They will either deliver eventually, or else they will expire and then bounce. Dave -Original Message- From: Bob Ross [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 31, 2000 11:35 AM To: [EMAIL PROTECTED] Subject: Re: Requesting the services of Hercule Poirrot Mine shows. Is this those it keeps working on and can't process?. If so how do I get rid of them. messages in queue: 65 messages in queue but not yet preprocessed: 0 - Original Message - From: "Charles Cazabon" [EMAIL PROTECTED] To: "'Qmail Mailing List'" [EMAIL PROTECTED] Sent: Thursday, August 31, 2000 8:25 AM Subject: Re: Requesting the services of Hercule Poirrot Dave Kitabjian [EMAIL PROTECTED] wrote: However, when I ran qmail-qstat, it showed ~3300 messages in the queue (normally this is closer to 400). In the past, this has indicated an onslaught on spam. But if resources are available, and smtp and local have concurrency available, I don't understand why ANY incoming message would not show up in someone's mailbox promptly. So after an hour or so of analysis, I noticed that the queue was finally beginning to slowly but steadly drop on its own, and when it dropped to ~1900, some of my own delayed messages arrived, and I assumed the problem was on its way out, so I left it to heal on its own. When this occurs, how many messages does qmail-qstat report as not yet being processed, as opposed to fully processed and in the queue? If this number is large, you may want to look at the big-todo patch. Charles -- -- Charles Cazabon [EMAIL PROTECTED] QCC Communications Corporation Saskatoon, SK My opinions do not necessarily represent those of my employer. --
Envelope Recipient from environment?
Hey folks, We have access to the envelope sender in $SENDER, but qmail munges the envelope recipient via virtualdomains, resulting in $RECIPIENT which is not a valid email address. We all know that you can calculate the envelope recipient by taking $RECIPIENT and removing $HOST from the beginning, or else parsing the To:, Cc:, and Bcc: headers by hand. But considering the flexibility provided in qmail-command, it seems to me rather odd that I don't have access to what might be considered the most primitive property, the envelope recipient, without jumping through some hoops. Am I missing something? I guess some of you might use $EXT@$HOST if you have wildcard entries in assign; we have a separate alias entry for each recipient in assign... Thanks y'all, Dave
qmail shirts really selling?
Hey, Vern! Do my eyes deceive me or are you really finally printing and selling one of the qmail tshirts? http://www.cafepress.com/qmail0a/ I like both; any chance you'll have http://vern.com/tshirts/qmail/qmail1d.html for sale, too? Dave p.s. Newbies: check out http://vern.com/tshirts/qmail/
RE: qmail auto reply looping
-Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Friday, August 11, 2000 9:35 AM To: [EMAIL PROTECTED] Subject: Re: qmail auto reply looping [EMAIL PROTECTED] wrote: 1 user A has enable auto reply and put some text 2 user B has also enabled auto reply and has put some auto reply text 3 now if user A will send any mail to user B then A will get an auto reply from B ,again as user A has set his auto reply enabled so A will sent auto reply to B ,this will go in to infinite loop Users A and B are using stupid and/or broken autoresponders. Good autoresponders don't blindly respond to everything. They limit the rate of responses to a single address, and they try not to reply to other autoresponders. -Dave ...and a couple of ways they do this is by: 1) Not sending auto-replies with a valid return address, and 2) Checking the Headers and Subject for indications of mailing lists and mailbots. -Dave 2 :)
RE: Returned mail: User unknown * from this list!
Yea, I think I've gotten some of these, too. In fact, sometimes I get a bounce message a MONTH or more after I posted something to this list! Dave -Original Message- From: Brett Randall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 7:06 PM To: [EMAIL PROTECTED] Subject: Returned mail: User unknown * from this list! Does anybody else get this bounceback when posting to this qmail list? I get it for EVERY e-mail I send to here! And I'm not bcc'ing or cc'ing to this or any other user... Whichever gateway is having trouble here is also probably defying a few internet standards by the incorrect use of a nonexistant FQDN, wouldn't you say? Brett. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 8:33 PM To: [EMAIL PROTECTED] Subject: Returned mail: User unknown *** This message originated by GCS Client Services *** - Delivery could not be made to the following recipients - Invalid Recipient: MichaelG [EMAIL PROTECTED] (unrecoverable error) Invalid Recipient: qmail [EMAIL PROTECTED] (unrecoverable error) RFC822 Header may follow: X-Env-Sender: [EMAIL PROTECTED] X-Env-Recipient: [EMAIL PROTECTED] X-End-of-Envelope: X-Internal-ID: 3973070E0001B625 Received: from amstr.com (162.120.128.9) by dubs0001.amstr.com (NPlex 2.0.119) for [EMAIL PROTECTED]; Tue, 25 Jul 2000 03:32:37 -0700 Message-ID: [EMAIL PROTECTED] Date: Tue, 25 Jul 2000 20:27:16 +1000 From: (Brett Randall) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Double Forwarding
so much qmail-smtpd activity, so little qmail-send activity...
I recently started monitoring qmail-smtpd's activity via "tcpserver -v", and at the moment it's burning through a steady 15-20 concurrencies, scrolling by beyond readability. Meanwhile, as I "tail -f maillog" for qmail-send's activity, it sits predominantly idle, with an occasional message to process. Now, regardless of whether it's local or remote, it should get picked up by qmail-send, right? So the question then is, if it's not receiving mail, what is qmail-smtpd doing? Is it receiving connections from known spammers on my tcp.smtp list, and dropping them? A quick scan of IP's doesn't jibe with that theory; plus there's no "access denied" message shown. I'm suspicious of all the: 2000-07-17 09:55:44.476546500 tcpserver: end 99787 status 256 Looking at tcpserver.c, I can't tell what this means. I looks like it has something to do with the wait() function. Can one of you Unix/C gurus lend a hand? Thanks :) Dave
RE: A better Single-UID POP3 Howto?
Well, we found it very helpful, although, yes, there were some pretty confusing points. We never used any vpopwhatever stuff; just his HOWTO, and it's working fine. I could probably help you with some hurdles, but you'll have to be more specific about what confuses you or what problem you're having? Dave :) -Original Message- From: Steven M. Klass [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 12, 2000 6:47 PM To: [EMAIL PROTECTED] Subject: A better Single-UID POP3 Howto? Hey all, I almost have qmail running right. If I can just get it to send externally, all will be well. Anyway, I read Paul Greg Single UID POP3 Howto, and I was wondering if anyone else had as much trouble following it as I did. No disrespect, especially since he did it, and I can't figure out how to do it. Anyway, can anyone suggest some lessons learned, a better howto, or a better way to start off. Thanks
RE: URGENT!!! HELP!!! HP-UX fault
Would you mind also posting the contents of your file, /var/qmail/rc? Thanks, Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: URGENT!!! HELP!!! HP-UX fault Hello ppl! I have HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license my qmail start script runs Ok, but qmail stops. When I restart qmail deamon manualy it keeps runing. here is what I run: #!/sbin/sh # # /etc/rc*.d/S**qmail - Start/Stop the qmail daemon # PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH case $1 in "start") # csh -cf '/var/qmail/rc ' echo -n ' qmail' csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' sleep 10 ;; "stop") pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; "start_msg") echo "Starting qmail" ;; "stop_msg") echo "Stopping qmail" ;; *) echo "usage: /sbin/init.d/qmail {start|stop}" ;; esac Any ideas? Regards, Eldar Imangulov
RE: URGENT!!! HELP!!! HP-UX fault
Hmm. My untrained eye isn't seeing anything offhand, but perhaps the gurus here can comment. You might start isolating the problem by removing the " echo -n ' qmail'" from your script, and running it again. Also, look in /var/log/maillog; are there any messages being produced? Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 05, 2000 8:40 AM To: Dave Kitabjian; [EMAIL PROTECTED] Subject: Re: URGENT!!! HELP!!! HP-UX fault here it is: #!/sbin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ /var/qmail/bin/qmail-start ./Mailbox splogger qmail Regards, Eldar Imangulov ([EMAIL PROTECTED]) From: Dave Kitabjian [EMAIL PROTECTED] To: 'Eldar Imangulov' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 4:38 PM Subject: RE: URGENT!!! HELP!!! HP-UX fault Would you mind also posting the contents of your file, /var/qmail/rc? Thanks, Dave -Original Message- From: Eldar Imangulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: URGENT!!! HELP!!! HP-UX fault Hello ppl! I have HP-UX web1 B.11.00 U 9000/800 610339382 unlimited-user license my qmail start script runs Ok, but qmail stops. When I restart qmail deamon manualy it keeps runing. here is what I run: #!/sbin/sh # # /etc/rc*.d/S**qmail - Start/Stop the qmail daemon # PATH=/usr/bin:/bin:/var/qmail/bin:/var/qmail/conf:$PATH case $1 in "start") # csh -cf '/var/qmail/rc ' echo -n ' qmail' csh -cf '/var/qmail/bin/qmail-start ./Mailbox splogger qmail ' echo -n ' qmail' sleep 10 ;; "stop") pid=`/usr/bin/ps -e | /usr/bin/grep qmail-send | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; "start_msg") echo "Starting qmail" ;; "stop_msg") echo "Stopping qmail" ;; *) echo "usage: /sbin/init.d/qmail {start|stop}" ;; esac Any ideas? Regards, Eldar Imangulov
RE: fetal error 111: delivery aborted
Stages.worm: an example please?
When LOVELETTER hit, Johan was kind enough to post an example of the actual, MIME-still-encoded, text of the virus: http://www.almqvist.net/~johan/virus.txt I've seen the helpful page about Stages.worm at: http://www.antivirus.com/vinfo/virusencyclo/default5.asp?VName=VBS_STAGE S.A Unfortunately, it doesn't show the "source" text of the virus. Does anyone have an example of what this virus looks like? I'd like to know if our filters are going to work against it. Thanks in advance! Dave
RE: qmail-ldap error message!!
Dear 8823544, You will probably have more luck with qmail-ldap-specific issues on the qmail-ldap mailing list: [EMAIL PROTECTED] Ciao, Dave -Original Message- From: 8823544 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2000 6:08 AM To: [EMAIL PROTECTED] Subject: qmail-ldap error message!! Hi,everyone: While I have already set up my qmail(with ldap patch) and Openldap server, I send a mail to the mail server and have some error in logfile, "Temporary_error_in_qmail-qmqpc_(as_mail_forwarder)_(LDAP-ERR_#239)". What dose the message mean?
RE: mailquotacheck error
I looks like you're running into a resource limit, such as not enough disk space, not enough RAM, or no more room in the process table to fork a new process. Dave -Original Message- From: Luis Bezerra [mailto:[EMAIL PROTECTED]] Sent: Monday, May 15, 2000 12:20 PM To: [EMAIL PROTECTED] Subject: mailquotacheck error ... anyone knows this mailquotacheck error: /usr/bin/mailquotacheck: fork: Rasource temporarily unavailable QUOTACHECK ERROR: the mail quotacheck program cannot determine the size of this message. Please inform postmaster of the site you are tryiong to mail to.
miniQmail and QMQP? (was: Share queue between servers)
1) Are any of you out there running miniQmail / QMQP? 2) What's the final word on which is recommended: multiple inbound SMTP servers, or a series of QMQP servers? (The goal is high volume / high availability). For the latter, here are the two configs I'm considering: Internet | | smtp |_ | | | MXa | MXb _|___ _|___ |miniQ||miniQ| ... |_||_| | | | qmqpc| |__|__ ___|_ ___ | qmail/ | | RAID | | qmqpd |---| -queue| |_| | -Maildirs | | |___| | NFS __|__ | | | | _|___ _|___ |qmail||qmail| ... |_||_| | |DNS round robin | pop | pop |__|__ | | Internet Here's the other config: Internet | | smtp |_ | | | MXa | MXb _|___ _|___ |qmail||qmail| ... |_||_| | | | NFS | |__|__ ___|___ | RAID | | -queue| | -Maildirs | |___| | NFS __|__ | | | | _|___ _|___ |qmail||qmail| ... |_||_| | |DNS round robin | pop | pop |__|__ | | Internet Notes: 1)For the moment, both POP sides are the same (I'm not sure what other POP options exist). 2)The first uses miniQmail; the 2nd does not. 3)The first has a "master" qmail server. The second are pure peers, offering better availability. Is the 2nd option even possible with qmail? Any and all educated input is more than welcome. How do some of you very large sites operate? Thanks! Dave _ Refs: http://cr.yp.to/qmail/mini.html http://cr.yp.to/proto/qmqp.html http://cr.yp.to/qmail/faq/incominghost.html#organize http://cr.yp.to/qmail/faq/servers.html#qmqpd http://web.infoave.net/~dsill/lwq.html#big-servers http://www.nrg4u.com/qmail/QLDAPINSTALL http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p2.gif http://msgs.securepoint.com/cgi-bin/get/qmail9811/179/1/1/1.html http://msgs.securepoint.com/cgi-bin/get/qmail9811/175/1/1.html
RE: Still can't get mail from outside server
Try Q-Cards: http://www.kitabjian.com/dave/qmailhelp/ Q-Cards offers and end-to-end, flow-of-logic approach to Sending, Receiving, and Retrieving email via qmail. It helps you to check each roadblock along the way to confirm that it's working. hth Dave :) -Original Message- From: James [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 11, 2000 5:43 AM To: [EMAIL PROTECTED] Subject: Still can't get mail from outside server I've fixed the parse problem, which I was hoping was going to fix the problem I have having with receiving mail, but it didn't. I've rebooted since the parse fix. I can send an email to myself internally, but if I try to send an email to myself from another server.. it never reaches. What is the mechanism that allows outside mail to reach a user, such as [EMAIL PROTECTED]? I understand that rcpthosts allows relaying.. but that doesn't control WHO sends mail to me on my server, does it? If so, this would mean that I cannot get mail from anyone but who I choose. This isn't correct, is it? I used to be able to receive email when I was using sendmail, so I believe my MX is set up correctly. I don't know what to check. Thanks James
RE: Two Delivered-To headers - Why ?
We frequently get two Delivered-To headers when one qmail mailbox forwards to another qmail mailbox. Dave -Original Message- From: PPPindia [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 04, 2000 1:57 PM To: [EMAIL PROTECTED] Subject: Two Delivered-To headers - Why ? Setup: LAN, Redhat 6.1, qmail, vpopmail/vchkpw, Mailman list software Default domain : sanshri.com, Virtual domain : ppp.com Mailman list is configured for the virtual domain ppp.com Problem : Two Delivered-To headers are being generated - one addressed to the alias, and the other with the actual destination address - the mailman list owner address. (see below) I am having this problem not only in this case, but also when i manually create an alias in the default domain sanshri.com So far i have never been able to create an alias entry without the mail having two delivered-to headers ? I do not have this problem when i create an alias through qmailadmin/vpopmail. The alias setup for the virtual domain is as follows : - In /domains/ppp.com/.qmail-pppshar | preline /home/mailman/mail/wrapper post pppshar In .qmail-default the vdelivermail is called... and the default line put by vpopmail is there undisturbed in /var/qmail/users/assign Headers : Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 1040 invoked from network); 4 May 2000 12:02:28 - Received: from unknown (HELO sanshri.com) ([EMAIL PROTECTED]) by 192.168.0.15 with SMTP; 4 May 2000 12:02:28 - Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 986 invoked from network); 4 May 2000 11:57:05 - Received: from unknown (HELO ppp) (192.168.0.3) by 192.168.0.15 with SMTP; 4 May 2000 11:57:05 - Message-ID: 003f01bfb5be$ddd1ef80$0300a8c0@ppp From: "listc" [EMAIL PROTECTED] To: [EMAIL PROTECTED] - What could be the problem here ? I want only one Delivered-To header in the messages. Please help ksamy ++ PPPshar- Internet for your LAN with one Internet account netMailshar -Email for every desktop with one 'Net account. MailAssistant - Speaking Email Notifier GetAgain - resume interrupted downloads. Visit http://www.pppindia.com/software ++
RE: Multi-RCPT vs. Single RCPT delivery - logic error?
Thank you all for your feedback. I don't see where my login needs reconciling. Yes, I realized after I sent the email that your logic was not flawed. (Your login is probably okay, too ;) Thanks again. Dave (K)
Multi-RCPT vs. Single RCPT delivery - logic error?
Regarding: http://web.infoave.net/~dsill/lwq.html#multi-rcpt Dave S, I'm having trouble accepting this logic. You mention 3 options: "Say you're an MTA, and one of your users sends a message to three people on hostx.example.com. There are several ways you could do this. 1. You could open an SMTP connection to hostx, send a copy of the message to the first user, send a copy to the second user, send a copy to the third user, then close the connection. 2. You could start three processes, each of which opens an SMTP connection to hostx, sends a copy of the message to one of the users, then closes the connection. 3. You could open an SMTP connection to host, send a copy of the message addressed to all three users, then close the connection. " and that qmail uses option #2. Clearly, the rank of efficiency is, from best to worst,: 3, 1, 2 -- We had a situation with a customer who was consulting for a college. So every few days, she had to send a 10MB PowerPoint file to about 50 recipients at that college. Under qmail, a separate thread was opened up for each qmail-remote. a) That means a total transfer of 500MB rather than simply 10MB. b) Secondly, since all outbound threads were tied up for a long time, all other mail was deferring, causing customer complaints. c) Finally, since all 50 messages were being received by the same remote SMTP server, the transfer was bottlenecked by the cpu and i/o of their single mail relay trying to receive 50 copies of the same thing. We love qmail, and it's working very well for us in general. But I'm having a hard time reconciling your logic in this paragraph. Perhaps you could clarify for me. Dave (K)
RE: Qmail behind firewall question
What about removing the "exec" completely? I don't see why exec is necessary, and I don't know if your script variables will be passed into the new process created by the exec. Dave -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Monday, April 24, 2000 11:49 AM To: [EMAIL PROTECTED] Subject: Re: Qmail behind firewall question Vincent Danen [EMAIL PROTECTED] wrote: tcpserver: fatal: unable to figure out port number for geceventures.com I'm starting qmail-smtpd with: #!/bin/sh QMAILUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcprules.d/smtpd.cdb \ -u $QMAILUID -g $NOFILESGID geceventures.com 25 \ /var/qmail/bin/qmail-smtpd 21 Make that "echo exec...", run it, verify that the expanded command is correct--especially the UID and GID. -Dave
RE: Impact on qmail of no $TCPREMOTEINFO / IDENT ?
Thanks for the info. Why don't you try it - it's very easy to do. I know it's easy to do. Actually, we've had the -R flag on tcpserver for a couple of months now. And I haven't *observed* any negative side effects. But qmail is a complex system, so there could be side effects going on that I wouldn't be aware of. So I'm simply trying to draw on the "eyes and ears" of this bright, happy community of qmail listers to see if they have any useful insight. As the proverb says, "Plans fail for lack of counsel, but with many advisers they succeed." If informed people tell me it's not an issue, I'm a happy camper and we'll go with it! (Of course if nobody says anything, then we might go with it anyway :) Dave
Impact on qmail of no $TCPREMOTEINFO / IDENT ?
I've researched $TCPREMOTEINFO and "ident lookups". And, for everyone else's benefit, I included the useful snippets below. -- My question is, what impact is there on qmail of not having $TCPREMOTEINFO available? We are switching to all Cisco Pix firewalls which, unlike our previous firewalls, all appear to have the IDENT port blocked. Fine, so I put the "-R" option in my qmail tcpservers, and we're happy again, with no more 26-second delays. The man pages say qmail-smtpd required $TCPREMOTEINFO, but it doesn't say how it uses it. Will it show up in the headers somewhere? Is that were the Received-By header gets the IP-name translation? We want to make an informed decision, and to do so we need to understand how it will impact qmail. Thanks in advance! Dave :) _ From Bernstein: http://cr.yp.to/ucspi-tcp/environment.html $TCPREMOTEINFO is a connection-specific string supplied by the remote host via the 931/1413/IDENT/TAP protocol. If no information is available, $TCPREMOTEINFO is not set. Beware that $TCPREMOTEINFO can contain arbitrary characters. From RFC 1413 "Identification Protocol": http://andrew2.andrew.cmu.edu/rfc/rfc1413.html Excerpts: "The Identification Protocol (a.k.a., "ident", a.k.a., "the Ident Protocol") provides a means to determine the identity of a user of a particular TCP connection. Given a TCP port number pair, it returns a character string which identifies the owner of that connection on the server's system. The Identification Protocol was formerly called the Authentication Server Protocol" "Security Considerations The information returned by this protocol is at most as trustworthy as the host providing it OR the organization operating the host. For example, a PC in an open lab has few if any controls on it to prevent a user from having this protocol return any identifier the user wants. Likewise, if the host has been compromised the information returned may be completely erroneous and misleading. The Identification Protocol is not intended as an authorization or access control protocol. At best, it provides some additional auditing information with respect to TCP connections. At worst, it can provide misleading, incorrect, or maliciously incorrect information. The use of the information returned by this protocol for other than auditing is strongly discouraged. Specifically, using Identification Protocol information to make access control decisions - either as the primary method (i.e., no other checks) or as an adjunct to other methods may result in a weakening of normal host security. An Identification server may reveal information about users, entities, objects or processes which might normally be considered private. An Identification server provides service which is a rough analog of the CallerID services provided by some phone companies and many of the same privacy considerations and arguments that apply to the CallerID service apply to Identification. If you wouldn't run a "finger" server due to privacy considerations you may not want to run this protocol. " Other: The Ident port is Port 113.
RE: Impact on qmail of no $TCPREMOTEINFO / IDENT ?
Thanks for the reply. The man pages say qmail-smtpd required $TCPREMOTEINFO, but it doesn't Really? Where? I didn't see that and the code in qmail-smtpd.c suggests that it's optional. Hmm. Well, the qmail-smtpd man page says: "... qmail-smtpd must be supplied several environment variables; see tcp-environ(5)..." and the man for tcp-environ lists TCPREMOTEINFO: http://www.qmail.org/man/man5/tcp-environ.html It doesn't hurt to get it and log it, And how would one do that? Does it show up when you run qmail-smtpd with tcpserver's -v option? In an SMTP relay environment, such as an ISP or a corporate outbound system where most people send from a desktop, via a local server to you, it's mostly not of use (that's not to say that it couldn't be useful just that it's not typically implemented to be so). I see. Well, we're an ISP, and remember that while half our SMTP mail (outbound mail) comes from desktops like you said, the other half (ie, incoming mail) comes from other SMTP relays around the world. I'm open for more input. Can anyone else comment on how else a blank $TCPREMOTEINFO will affect our qmail logs, headers, etc? Dave
RE: Understanding To and From
Yes, Charles, I'm pretty darn happy at this point. Thank you both, Charles and Claus. So here's what I think you're saying. 1) The To: and From: headers are basically completely forgeable, and can't be trusted for tracing spam (along with Reply-To). 2) The only things that matter are the envelope sender and recipient, and qmail stores these as Return-Path: and Delivered-To:, respectively. And Return-Path: can be forged anyway. - Looking at INTERNALS, qmail appears to store the envelope sender under queue/info and the recipients under queue/local and queue/remote, eh? 3) So the only thing I can trust (ignoring spoofing) is the IP address shown in the Received: header from which my server got the message. Thanks guys, Dave -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 10:45 AM To: Dave Kitabjian Cc: '[EMAIL PROTECTED]' Subject: Re: Understanding "To" and "From" Dave Kitabjian [EMAIL PROTECTED] wrote: It's time for me to understand this stuff clearly once and for all, partly so that I can handle spam intelligently and properly. I'm unclear on the exact relationships between the following: --- 1) MUA: "From", "To", "Bcc", "Reply Address" fields 2) SMTP: "MAIL FROM:" and "RCPT TO:" 3) Delivered Message: "To:", "From:", "Reply-To:", "Return-Path:" headers. Also, the terms "envelope sender" and "envelope recipient". SMTP "MAIL FROM:" is the envelope sender, and "RCPT TO:" is the envelope recipient. These are the only things that matter to an MTA; it doesn't care what addresses are listed in the From: and To: headers in the message itself. From what I currently understand, the MUA fields are (obviously) completed by the sender. (Let's assume a common client like Eudora or Outlook Express rather than qmail-inject for this discussion). They are all effectively completed by the sender. MS-Windows mail clients may automatically use the contents of the From: header as the envelope sender, but with many mail programs the user can set the envelope addresses to whatever he likes. When connecting to the SMTP server to send the message, the "From" and "To" fields are copied by the MUA to become the "From:" and "To:" headers of the message. The "From" field is also used in the SMTP conversation as the "MAIL FROM:". Not necessarily. For example, if the user has QMAILUSER/QMAILHOST set in their environment, qmail will construct the envelope sender address from those if injected locally. The "Reply-To" header is created by the MUA from either the "Reply Address" field, if present, or else the "From" field. The "Return-Path:" header is added by the SMTP server based on the "Reply-To" or "From" header (?) Reply-To: is not necessarily, unless you want replies to go to an address different from the From: address. - Question: So, now what do we look at to determine the "envelope sender" and "envelope recipient"? Secondly, which of these terms/headers is used to determine whom qmail delivers the message to? With qmail, the envelope sender is preserved in the Return-path: header. The envelope recipient is preserved in the Delivered-To: header. Okay, now the message bounces because because it's an evil spam message. - Question: Where does MAILER-DAEMON send the bounce message? To the "From:" person? "Reply-To:"? The Return-Path: header, which is a copy of the envelope sender address. But since it's spam, it will be one of: -Empty -Fake/nonexistent [EMAIL PROTECTED] -Real, but an innocent bystander's address [EMAIL PROTECTED] And the bounce will either bounce or be delivered to the innocent bystander. If I could understand THIS much, I'd be very happy. Happy? 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. ---
Understanding To and From
Hi, folks. It's time for me to understand this stuff clearly once and for all, partly so that I can handle spam intelligently and properly. I'm unclear on the exact relationships between the following: --- 1) MUA: "From", "To", "Bcc", "Reply Address" fields 2) SMTP: "MAIL FROM:" and "RCPT TO:" 3) Delivered Message: "To:", "From:", "Reply-To:", "Return-Path:" headers. Also, the terms "envelope sender" and "envelope recipient". 4)Bounced Message: "To:" header --- From what I currently understand, the MUA fields are (obviously) completed by the sender. (Let's assume a common client like Eudora or Outlook Express rather than qmail-inject for this discussion). When connecting to the SMTP server to send the message, the "From" and "To" fields are copied by the MUA to become the "From:" and "To:" headers of the message. The "From" field is also used in the SMTP conversation as the "MAIL FROM:". Then, all addresses in the "To", ("Cc",) and "Bcc" fields are used as SMTP "RCPT TO:" entries. - Question: Are "Bcc" recipients not stored anywhere in the headers, or are they stored in the headers until the message is ready to be delivered into the recipients box, and then stripped off? (If they are NOT stored in the headers, where does qmail store them?) The "Reply-To" header is created by the MUA from either the "Reply Address" field, if present, or else the "From" field. The "Return-Path:" header is added by the SMTP server based on the "Reply-To" or "From" header (?) - Question: So, now what do we look at to determine the "envelope sender" and "envelope recipient"? Secondly, which of these terms/headers is used to determine whom qmail delivers the message to? Okay, now the message bounces because because it's an evil spam message. - Question: Where does MAILER-DAEMON send the bounce message? To the "From:" person? "Reply-To:"? If I could understand THIS much, I'd be very happy. Dave ___ p.s. fyi, here's what started all this today. I got the following message. It seems some spammer sent the below message with an SMTP MAIL FROM of "x" and tried to deliver it to "[EMAIL PROTECTED]" (via Bcc, I guess), which does NOT exist. Then it looks like MAILER-DAEMON tried to bounce it to "x" (right?). But how it the world did this *other* guy get the bounce?? ___ I get *ALOT* of theese bounces to postmaster. And it really starts to get boring now, please take action... Name Withheld; but he's from some domain that has nothing to do with us Offending message including original headers: Received: (qmail 31029 invoked from network); 5 Apr 2000 17:38:27 - Received: from bsdpop.netcarrier.net (209.140.173.251) by butler.informatik.gu.se with SMTP; 5 Apr 2000 17:38:27 - Received: (qmail 64117 invoked for bounce); 5 Apr 2000 17:42:44 - Date: 5 Apr 2000 17:42:44 - From: [EMAIL PROTECTED] To: x Subject: failure notice Hi. This is the qmail-send program at bsdpop.netcarrier.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: x Received: (qmail 64105 invoked from network); 5 Apr 2000 17:42:44 - Received: from unknown (HELO mail.celtis.fr) (195.115.137.1) by bsdpop.netcarrier.net with SMTP; 5 Apr 2000 17:42:44 - Received: from K5eK2fb75 (ppp-59.tnt-1.hou.smartworld.net [64.38.18.59]) by mail.celtis.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id 22YZPQ74; Wed, 5 Apr 2000 19:34:26 +0200 DATE: 05 Apr 00 12:41:55 PM FROM: x Message-ID: 14738Fj1e6 SUBJECT: lose 2-14 inches in one hour! 100% guarantee Did you know that there's a way to lose 2 to 14 inches of fat PERMANENTLY and SAFELY in only 1 HOUR?! . . . 100% Guaranteed! Did you know that this has been CLINICALLY PROVEN?! balance of seriously annoying spam deleted
RE: OE 4/5 smtp timeouts
On Tuesday, March 14, 2000 4:46 PM, Paul Farber [SMTP:[EMAIL PROTECTED]] wrote: Hello all, Having one heck of a time with Outlook Express 4/5 timeing out when sending mail. Are there any timers to adjust in the app or on the server side (qmail 1.03) to get rid of these MS 'features'? Assuming you're running qmail-smtpd with tcpserver, "man tcpserver" and look into the "R" option, among others. Dave
RE: AOL Problem - Looked in archive ....
We've seen this as well. My understanding was that AOL was having internal mail problems, and that's why those AOL customers weren't receiving the message. AOL was reluctant to admit fault, but that's what it turned out to be. If this turns out to be something else, I'd like to know what you discover! Dave On Friday, March 10, 2000 12:01 PM, Kevin Kling [SMTP:[EMAIL PROTECTED]] wrote: Howdy ! I'm running a standard LWQ install and everything is working except that I can't send to AOL - I can send to Yahoo OK. I have no patches installed because I looked from the archive that the DNS issues had been resolved by AOL. The Log shows this for an AOL message send: @400038c91e43215e231c new msg 162909 @400038c91e43215f4044 info msg 162909: bytes 787 from [EMAIL PROTECTED] qp 15942 uid 501 @400038c91e43253d785c starting delivery 591: msg 162909 to remote [EMAIL PROTECTED] @400038c91e43253efb14 status: local 0/10 remote 1/20 @400038c91e48127f580c delivery 591: success: 205.188.157.3_accepted_message./Remote_host_said:_250_OK/ @400038c91e4812811944 status: local 0/10 remote 0/20 @400038c91e48128222e4 end msg 162909 But the message never gets to the recipient. No bounces are sent or any other feedback. Any suggestions ? Thanks ! Kevin This is my config dump: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 500, 501, 502, 0, 503, 504, 505, 506. group ids: 500, 501. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mail.saratoga-springs.org. 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 saratoga-springs.org. defaulthost: (Default.) Default host name is mail.saratoga-springs.org. doublebouncehost: (Default.) 2B recipient host: mail.saratoga-springs.org. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mail.saratoga-springs.org. helohost: (Default.) SMTP client HELO host name is mail.saratoga-springs.org. idhost: (Default.) Message-ID host name is mail.saratoga-springs.org. localiphost: (Default.) Local IP address becomes mail.saratoga-springs.org. locals: Messages for mail.saratoga-springs.org are delivered locally. Messages for saratoga-springs.org are delivered locally. Messages for 208.136.11.61 are delivered locally. Messages for cm-208-136-11-61.nycap.rr.com are delivered locally. me: My name is mail.saratoga-springs.org. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is saratoga-springs.org. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at mail.saratoga-springs.org. SMTP clients may send messages to recipients at saratoga-springs.org. SMTP clients may send messages to recipients at 208.136.11.50. SMTP clients may send messages to recipients at cm-208-136-11-61.nycap.rr.com. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 mail.saratoga-springs.org. 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. rcpthosts.real: I have no idea what this file does. defaultdelivery: I have no idea what this file does.
RE: A complete log rolling reporting system?
*** newsyslog *** Maybe I'm lucky, or something. We use FreeBSD almost exclusively, and it includes a fantatic tool called "newsyslog". I would think some of you would have it too, since it's been around since 1987 and came out of MIT. Anyway, newsyslog automatically maintains N generations of log archives, compresses them, renames them, based on size or age. It really couldn't be any better. I don't need cyclog (do I?), and I'm a happy camper. I have an entry in syslog.conf like this: mail.info /u1/qmail/log/maillog and an entry in newsyslog.conf like this: /u1/qmail/log/maillog 664 25*24Z The latter says keep 25 generations of archives, ignore file size, archive every 24 hours, and compress the archives. Any other suggestions? Dave On Tuesday, February 29, 2000 3:20 PM, Mark E. Drummond [SMTP:[EMAIL PROTECTED]] wrote: I am searching for log file nirvana.
buggy interaction with VisualMail
VM is a web-based email client: http://www.mintersoft.com/products/visualmail/index.html It works fine when using sendmail as the SMTP server. And, of course, qmail works fine apart from VM. But when using qmail as the smtp server for VM, AND subsequently reading the mail in VM, there are two problems: 1) Date corruption 2) Missing messages I've approached mintersoft regarding this, but I'm not optimistic that they will be both willing and able to fix it. So, I'm looking for workarounds. I'm assuming that the date problem is caused either by qmail using GMT or else by VM possibly neglecting to add the "Date:" header. What's the best way to pin down the cause of the ploblem, and then how to fix it? Regarding Missing Messages, I'm wondering if this is caused by the date problem (above), or perhaps by VM neglecting to add a Message-Id header. Again, what's the best way to pin down the cause of the ploblem, and then how to fix it? Is it to reroute through qmail-inject, as per: http://cr.yp.to/qmail/faq/servers.html#network-rewriting ? Thanks, folks. Dave __ NOTES: From qmail-header: STAMPS Every message must contain a Date field, with the date in a strict format defined by RFC 822. If necessary qmail- inject creates a new Date field with the current date (in GMT). Every message should contain a Message-Id field. The field contents are a unique worldwide identifier for this message. If necessary qmail-inject creates a new Message- Id field. From the archive: ...Yes, but queueing it with datemail will create a Date: field using the local timezone. - Harald
RE: Hey folks, please help
Unfortunately, *I* don't know the answer to your question, but I would go to: http://cr.yp.to/ezmlm.html and ask the "ezmlm" list. I'm sure they can give you an answer. Dave On Sunday, February 20, 2000 2:11 AM, Brandon Wolf [SMTP:[EMAIL PROTECTED]] wrote: This hopefully will be the right place to ask this question. My ISP just changed to qmail and added the mailing list software to. My question is, how can you change the mailing list so that the reply to address is always the list address? I have had people complain about having to forward the mail back the list and reenter the list address vs hitting reply. Any help would be greatly appreciated THanks Brandon Wolf
RE: ISP and qmail
Try Q-Cards: http://www.kitabjian.com/dave/qmailhelp/ It will walk you through step by step. Let me know how it works out for you. Dave On Tuesday, February 01, 2000 3:44 AM, jandj [SMTP:[EMAIL PROTECTED]] wrote: Hello We are setting up an small ISP and would like to use qmail for our mail server. I have installed and tested qmail # echo to: me | /var/qmail/bin/qmail-inject.. This works fine the mail shows up in the specified users mail box..Where I get stuck is with pop3. I have also installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and receive mail to and from remote hosts. I have MX records setup in our name server.. Can some point me in the right direction I don't want to go back to M.S. Jerry
RE: Wildcard virtual email mapping
We use a variation on the same HOWTO. All you do is: 1) rcpthosts: theirdomain.com 2) virtualdomains: theirdomain.com:theirdomain-com 3) assign: +theirdomain-com:popuser:888:888:/u1/...theirdomain-com/default:-:: Then, in the directory /u1/...theirdomain-com/default: 4) create Maildir 5) create .qmail-default with entry: /u1/...theirdomain-com/default/Maildir/ That should do it! Dave On Monday, January 24, 2000 10:44 AM, Robbie Honerkamp [SMTP:[EMAIL PROTECTED]] wrote: I'm running Qmail in a single-UID POP server setup (as in Paul Gregg's HOWTO). Everything is working fine except.. Some users want any email coming to any possible address in their domain mapped to their mailbox. I've been playing with several possibilities in /var/qmail/users/assign, but nothing seems to work so far. Has anyone done this before under such a setup? Thanks, Robbie
RE: Cannot creating user account with an in qmailadmin
It's probably simply a problem with the shell's special treatment of . I don't know how qmailadmin works, but we have a shell script for adding user accounts. In such cases, we have to call the command similar to: # create_user.sh f\b That is, we quote the character, and everything works fine. It's possible the qmailadmin would behave similarly. Dave :) On Thursday, January 20, 2000 10:43 PM, john [SMTP:[EMAIL PROTECTED]] wrote: Hi, I am trying to create user account in qmail using qmailadmin and I am unable to create a user for example fb. Why does this have so much restriction ? Can I create it? Regards John File: ATT0.html
smtp-poplock: installation probs
For some reason, all mail to "drh.net" has been expiring and returning to me for weeks. So I'm posting this here hoping that either Dave Harris is still subscribed or one of you folks might be able to help me with smtp-poplock. Here goes! We have a need for smtp-poplock right now, and we're anxiously configuring it trying to get it working. Let me share a few comments/problems. I'd greatly value your feedback/assistance! - 1. Perms on checkfifo I don't understand why you "chmod 644 checkfifo". In order to run it, I have to "chmod 755" or else it's not executable. - 2. checkfifo fails unless readlog is running. It gives the error: bsd# /usr/src/smtp-poplock-2.04/checkfifo ./fifo error opening fifo: Device not configured at /usr/src/smtp-poplock-2.04/checkfifo line 16. However, it's worth mentioning that checkfifo does indeed pass the test if readlog is running. Also, running "fifo-safety" had no impact on this behavior. - 3. Furthermore, checkfifo KILLS readlog every time. In case it helps, here's what things look like after "make install": bsd# pwd /var/smtp-poplock bsd# ls -l total 0 -rw-r--r-- 1 root wheel 0 Dec 30 11:35 dbfile prw--- 1 root wheel 0 Dec 30 12:11 fifo - 4. /var/run/readlog.pid This file never appears to be created: bsd# /usr/sbin/readlog-starter restart cat: /var/run/readlog.pid: No such file or directory usage: kill [-s signal_name] pid ... kill -l [exit_status] kill -signal_name pid ... kill -signal_number pid ... - 5. /usr/sbin/logpopauth-pre hangs POP After USER joe +OK PASS schmo there is no reply; the POP session is hung. Here is how it's running: #!/bin/sh /usr/local/bin/tcpserver -c 600 0 110 \ /var/qmail/bin/qmail-popup `hostname` \ /usr/sbin/logpopauth-pre \ /bin/checkpassword \ /usr/bin/logpopauth-post \ /var/qmail/bin/qmail-pop3d ./Maildir All the other problems might be ignorable, but this one is a show-stopper. - I'd value any suggestions or questions you have. Thanks!! Dave
RE: Tcpserver problems on machine w/ multiple IPs
Interesting. Check "man tcpserver". Note that: The server's address is given by host and port. host can be 0, allowing connections from any host; or a particular IP address, allowing connections only to that address; or a host name, allowing connections to the first IP address IP address, allowing connections only to that address; or for that host. Try the various options for host. Also, you might try playing with the -o option. Let me know if this helps! Dave On Thursday, January 06, 2000 3:31 PM, Brian Baquiran [SMTP:[EMAIL PROTECTED]] wrote: All of a sudden I'm having problems with tcpserver on a machine with multiple IP's (but only one network interface card). It was working great until recently; running qmail-smtpd and qmail-pop3d on both a "live" IP and a non-routable IP (192.168.0.x). But just a few hours ago, it stopped running qmail-smtpd AND qmail-pop3d on the non-routable IP. The non-routable IP is still up. I can telnet to ports 25 and 110 from machines on the non-routable network, but although tcpserver seems to accept the connection, it does not seem to run the proper program once a TCP session is established. It works OK on the live IP though. Has this happened to anyone else before? Any advice (where to look, etc.) would be greatly appreciated. Brian -- [EMAIL PROTECTED] http://www.baquiran.com US Fax: (603) 908-0727 AIM: bbaquiran
forwarding terminology?
We have been using the term "mail forwarding" with our customers in the same way that the USPS uses it: when your mail arrives at your mailbox, it is "redirected" to a remote location (via a "" entry in .qmail). However, we have been told by a somewhat educated customer that this process is really called "moving", not forwarding. "Forwarding", they say, means that a copy is saved locally (via a "./Maildir/" entry in .qmail) and a second copy is transmitted to the forwarding address. What is the correct terminology? How do most of you use the term "forwarding"? Thanks for your input! Dave NetCarrier
Q-Cards
Hey Folks, When you get some free time, take a look at: http://www.kitabjian.com/dave/qmailhelp/ I originally prepared these "Q-Cards" for our intranet to help our internal (and future) staff debug, diagnose, and maintain our qmail-based email servers when I'm out of town. Then it occurred to me that this type of end-to-end or "one hurdle at a time" sequential approach might be helpful to other beginners in the qmail community at large. Anyway, I know there are definite holes in my understanding of the way qmail works, but I have most of the pieces in place. I'd really value you guys looking it over for accuracy and usefulness and offering any comments. And by all means, let me know if you find them useful! Thanks! Dave K
RE: Is there an update on the qmail book
O'Reilly doesn't even list it under their Upcoming Books :( http://www.oreilly.com/catalog/new.html A better question might be, "By the time the qmail book comes out, will it contain anything that we haven't already figured out the hard way?" Don't forget to check Life With Qmail: http://Web.InfoAve.Net/~dsill/lwq.html ...and maybe Q-Cards: http://www.kitabjian.com/dave/qmailhelp/ Dave :) On Thursday, December 16, 1999 11:56 AM, Albert Hopkins [SMTP:[EMAIL PROTECTED]] wrote: Has anyone heard about the release date of the O'Reilly qmail book? I'm really looking forward to this book as I am having trouble finding good documentation on the Net.
RE: Eudora? Outlook?
Yes, Netscape is a problem, even in the new versions. You would think you could turn off the "smart @" interpretation, but I don't think you can. Netscape always assumes you were mistaken when you included the "@", and strips off the rest. We decided to use pop ids such as: joe-domain.com instead of [EMAIL PROTECTED] Good ol' "double-dash". Almost any special character is asking for trouble. "" and "$" screw up your unix command line, ".." somehow is supposed to risk security by directory climbing, "%", "!", and "=" are all used for special functions in email addresses, etc. And ".", "_", and "-" should all be legal email characters. We just enforce that no email address can contain a "-" (double dash) and it works fine. Dave -Original Message- From: Markus Stumpf [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 05, 1999 12:49 PM To: Shashi Dahal; [EMAIL PROTECTED] Subject:Re: Eudora? Outlook? On Tue, Oct 05, 1999 at 02:17:40PM -0700, Shashi Dahal wrote: is that only Eudora can collect mails from that pop server whereas Outlook and Netscape mails cannot. How do you accounts look like? Netscape tends to stripe of everything after and including the "@". So it may happen that you try to login to the POP server as joe instead of [EMAIL PROTECTED] and the the authentication will most likely fail. Some POP password checking modules out there allow replacing the "@" with an "%", so you can login as joe%pop.example.com also, which e.g. netscape will leave unmodified. \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses Research Development| mailto:[EMAIL PROTECTED] | you funny and you need Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| a mouse to delete files D-80807 Muenchen | Fax: +49 (89) 32356-299 |
fixcr left hanging
Greetings folks, Ever since I implemented the "fixcr" addition to "smtpd", I've noticed that over time my qmail servers accumulate a large number (several dozen) pairs of processes: "fixcr" and "sh -c fixcr | /usr/qmail/bin/qmail-smtpd". -- ps -alxww UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 1002 45088 88130 0 10 0 496 244 wait I ??0:00.00 sh -c fixcr | /usr/qmail/bin/qmail-smtpd 1002 45105 45088 0 2 0 752 380 sbwait S ??0:00.08 fixcr ... 88130 p1- S 2:06.75 tcpserver -c 600 -x /etc/tcp.smtp.cdb -u 1002 -g 1001 0 smtp sh -c fixcr | /usr/qmail/bin/qmail-smtpd -- When I kill -9 a "fixcr" process, it ends the corresponding "sh -c fixcr | /usr/qmail/bin/qmail-smtpd" process, which makes it appear that for some reason "fixcr" is having trouble exiting cleanly. Other than an occasional "killall -9 fixcr" that I have to run, it doesn't seem to cause any problems except for concern by the mail administrator (me :) that something isn't configured properly. Speaking of configuration, here's what I use: tcpserver -c 600 -x /etc/tcp.smtp.cdb \ -u `id -u qmaild` -g `id -g qmaild` 0 smtp \ sh -c 'fixcr | /usr/qmail/bin/qmail-smtpd' Any suggestions? Thanks! Dave
RE: Fw: spanning lines in .qmail
Ah, the truth comes out... Now does anyone know how to insert carriage returns under FreeBSD 3.0? Dave On Thursday, August 05, 1999 11:37 AM, Chris Garrigues [SMTP:[EMAIL PROTECTED]] wrote: From: "Leon Vismer" [EMAIL PROTECTED] Date: Thu, 5 Aug 1999 17:18:59 +0200 If you have to use \n just remember to use echo -e and not just echo. echo without the -e will ignore the return sequence and just print \n This varies depending on your version of unix. Chris -- Chris Garrigues virCIO http://www.DeepEddy.Com/~cwg/ http://www.virCIO.Com +1 512 432 4046 +1 512 374 0500 4314 Avenue C O-Austin, TX 78751-3709 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. File: ATT0.att
RE: Fw: spanning lines in .qmail
Sorry, I forgot that it was builtin. bourne shell is preferred, /bin/sh. But if I could even do it in csh, that would be better than nothing! Dave On Thursday, August 05, 1999 12:26 PM, Brad Shelton [SMTP:[EMAIL PROTECTED]] wrote: On Thu, Aug 05, 1999 at 12:21:58PM -0400, Dave Kitabjian wrote: Ah, the truth comes out... Now does anyone know how to insert carriage returns under FreeBSD 3.0? What shell? -- Brad Shelton On Line Exchange http://ole.net
Industry name for various email services? (repost)
What are the industry-standard names for the following email services: -- 1) They can have: any_name@their_domain and a separate POP for each. (.qmail-any_name) -- 2) They can have: any_name@their_domain but they get only a single pop account, "default", for retrieval of all the mail (.qmail-default). -- 3) All mail to any_name@their_domain_2 is treated as any_name@their_domain_1 (by virtualdomains entry: their_domain_2:their_domain_1) -- We've been calling these variously "Full Domain email", "POP domain email", "Alias Domain email", etc. But I want to know what the *real* names are for these. Thanks very much! Dave
q in qmail means ?
I ask this question with great trepidation. Either I'm the only one brave enough to ask, or I'm the only one stupid enough to have to ask, but... What does the "q" in "qmail" mean? Dave p.s. Since I'm going to get flamed for stupidity, let me ask another question: If LWQ insists that the official name is "qmail", not "Qmail", why does the logo start with "Q" on http://www.qmail.org/top.html?
ISP: Industry name for various email services?
What are the industry-standard names for the following email services: - 1) They can have: any_name@their_domain and a separate POP for each. (.qmail-any_name) - 2) They can have: any_name@their_domain but they get only a single pop account, "default", for retrieval of all the mail (.qmail-default). - 3) All mail to any_name@their_domain_2 is treated as any_name@their_domain_1 (by virtualdomains entry: their_domain_2:their_domain_1) - We've been calling these variously "Full Domain email", "POP domain email", "Alias Domain email", etc. But I want to know what the *real* names are for these. Thanks very much! Dave
RE: New qmail list et al
I'm not sure I understand the "raison d'etre" of the new list. That is, how is the new list substantially different from this one? Dave On Wednesday, June 30, 1999 10:01 AM, Alex Miller [SMTP:[EMAIL PROTECTED]] wrote: I pump all my qmail list mail files to a special folder and am adept at using find utilities to find if previous people have commented on the issue I am concerned with. I have decided to start a new qmail mailing list using EZMLM. Here are the rules. Postings should be related to the following subject areas. QMail QMail security QMail on a system that has a firewall Memphis RPM Summer RPM Tarball documentation UCSI tcp server TCP wrappers POP Mail POP Mail Security QMail side effect speculations and questions RPM side effect speculations and questions User group/club formation Beginner questions anything that the sender thinks/feels/surmises/postulates/hopes is qmail related What is particularly on-topic is anything related to the senders efforts to use qmail effectively on their unique, strange, and broken environment that may have some effect on qmail and it's derivatives. Cross-posting to other lists is allowed with the following caveats: the cross-posting should be relevant to the other lists, and any responses should have cross-posting removed from those other lists unless the response is still relevant. In other words, the new list will be very tolerant of cross-postings, i.e., the more the merrier, but participants should actively attempt to prune according to the wishes of the other list communities. What is forbidden on my new list. Any mailing containing the following: "Your an idiot" "That is off-topic" "That is way off-topic" "Take it elsewhere" "RTFM" "Your posting is against the rules of this list" or other such messages. Subscribers will be on the honor system to follow the rules and will be asked to leave by me if they do not. I am considering calling it: [EMAIL PROTECTED] I'd appreciate any suggestions. Alex Miller
RE: Resending delivered mail
Here's something I keep handy for such occasions: #!/bin/sh # # bulk_forward.sh, Dave Kitabjian, 6/3/99, [EMAIL PROTECTED] # # Forwards an entire directory of email to somewhere else using Qmail. # if [ $# -ne 2 ] then echo "Usage: $0 source_directory desination_address" exit 1 fi error=0 for message in `ls $1` do qmail-inject $2 $1/$message if [ $? -eq 0 ] then echo "Done: $message: "`grep '^From:' $1/$message | head -1` else echo "ERROR: $message: "`grep '^From:' $1/$message | head -1` error=1 fi done if [ $error -eq 1 ] then exit 2 else exit 0 fi ### On Wednesday, June 30, 1999 11:41 AM, Bruno Wolff III [SMTP:[EMAIL PROTECTED]] wrote: On Wed, Jun 30, 1999 at 09:42:04AM -0400, Victor Tavares [EMAIL PROTECTED] wrote: I've searched the archives but couldn't find a quick answer to the following question: How do you resend mail that has been successfully delivered to a Maildir? Some mail readers (such as mutt) have tag and bounce features that make it relatively easy to resend messages to other people while preserving almost all of the header information. You could also probably use a foreach loop in csh to use each file in the maildir directory as input to qmail-inject with a specified recipient.
RE: where is checkpassword and ucspi-tcp?
I had the same problem once. Assuming you have access to an FTP Proxy server, enable it in your web browser. Otherwise, you may never get to Dan's qmail page, ftp://koobera.math.uic.edu/www/qmail.html. HTH. Dave On Saturday, June 26, 1999 11:16 PM, Denis Voitneko [SMTP:[EMAIL PROTECTED]] wrote: I am in the process of getting a pop3d working on my box. I've been trying to get checkpassword and ucspi-tcp from the sites listed on qmail.org but they're dead. Is there an alternative place I can get these packages from? Denis
purging spam - here's what's working for me
The following script seems to have worked for me. Note that you don't "touch" the "mess" file under ./queue/ but the corresponding "info" file, as per FAQ 7.3. Checking the log, messages appear to be SLOWLY retrying, and then expiring with the message: Jun 24 15:17:38 bsdpop qmail: 930251858.063072 delivery 523142: failure: Sorry,_ I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/I'm_not_going_to _try_aga in;_this_message_has_been_in_the_queue_too_long./ and the qmail-qstat is going down, although gradually. Let me know if this is helpful or can be improved. Dave p.s. I created this script today to purge out a bunch of spam from the same domain; so, it searches the "From:" line. This might have to change for other spammers. #!/bin/sh # # purge_spam.sh # # Dave Kitabjian # [EMAIL PROTECTED] # # As a parameter, give string to look for on the From: line. # Since deleting the file isn't safe, we simply "touch" # the "info" file corresponding to the "mess" message file # so that it artificially expires and is removed automatically. # You may have to run "qmail-tcpok" first. # if [ $# -ne 1 ] then echo "$0: Usage: $0 From_string_to_search_for" exit 1 fi QUEUE="/usr/qmail/queue" cd $QUEUE fixed_string="`echo $1 | sed 's/\./\\\./g'`" cd mess for message in `find . -type f` do if [ `grep "^From:.*${fixed_string}.*" $message | wc -l` -gt 0 ] then # touch the "info" file: info_file="../info/${message}" echo "Touching: $info_file" # 6/7/66 is a special birthday that's definitely 7 days ago :) touch -t 19660607.00 $info_file fi done
RE: $ to do this? Re: Concept: 'infinate' POP3 accounts per pop3 user.
I missed the beginning of this thread, so pardon this if it's moot. But I couldn't help noticing that someone wants to use '[EMAIL PROTECTED]' as POP authentication ids. I tried to do this and ran into a serious problem: Netscape Mail chokes on the "@". It assumes you mistakenly entered your email address when you really meant to put your POP id. So it converts it to, in your example, '[EMAIL PROTECTED]', chopping off the '@theirname.domain.com' part. So we chose to avoid the "@". If my C skills were more proficient or I had more time, I'd still keep it as "@" internally but hack checkpassword so that Netscape users only could use an alternate character, such as "%" (thanks, Paul). Dave ... Essentially I'm thinking of enabling the user to login via POP3 as '[EMAIL PROTECTED]' with their normal password. (I've written the checkpasswd so it's easy to authenticate ok). ...
Holiday messaging: preventing loops?
I developed a script to support holiday messages. It appears to work very nicely with one important exception (that I expected): if a person on holiday sends a message to another person on holiday, they get an infinite loop of holiday notifications to each other (thank God for quota enforcement!) Anyway, below is the guts of my script, which is pretty basic. So my question to y'all is, what logic do other "holiday" algorithms employ to prevent such looping? Could I make a more judicial choice of environment variables to use for the sender and recipient? (I went to some length in research to configure things so that a holiday message could be properly "replied" to, but perhaps disabling this is inevitable?) Thanks in advance! Dave - #!/bin/sh # # holiday.sh # # Dave Kitabjian, 6/11/99 # [EMAIL PROTECTED] # # This script should be entered into a user's .qmail file as |holiday.sh # It depends on the SENDER environment variable, provided by qmail-local; # HOME and HOST are also used. # It permits delivery and replies with a message found in .holiday # # Should be able to use $USER @ $HOST, but we using a single-uid # configuration of Qmail. HOST is okay, but USER must be pulled from # home directory: # (We don't use $LOCAL since we don't know where the username ends and # the domain begins without hacking $HOME) QMAILUSER=`basename $HOME` # used by qmail-inject to set "From:" header QMAILHOST=$HOST # used by qmail-inject to set "From:" header export QMAILUSER export QMAILHOST qmail-inject $SENDER "$HOME/.holiday" exit 0 -