Re: deleting messages from the queue
Hi, you can try Michele Beltrame's "qmHandle": http://www.io.com/~mick/soft/qmhandle.html At 01:35 15.8.2000 +0200, wolfgang zeikat wrote: >i have a few messages sitting in the qmail queue that will never get >delivered - for example because the recipients' addies are on >fully-unqualified hosts. to avoid this, you can apply my SPAMCONTROL patch. http:/www.fehcom.de/qmail.html cheers. eh. > >can i just delete those messages to save qmail the retries and to save me >the final "sorry wasn't able to deliver" mail to postmaster@ ? or do i >have to follow some special steps to do so? > >wolfgang > > +---+ | fffhh http://www.fehcom.deDr. Erwin Hoffmann | | ff hh| | ffeee ccc ooomm mm mm Wiener Weg 8 | | fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln| | ff ee eee hh hh cc oo oo mm mm mm| | ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 | | ff hh hhccc ooomm mm mm Fax 0221 484 4924 | +---+
qmail Digest 15 Aug 2000 10:00:01 -0000 Issue 1093
qmail Digest 15 Aug 2000 10:00:01 - Issue 1093 Topics (messages 46642 through 46715): not able to send mails via remote SMTP 46642 by: Fat Toolz 46643 by: Brett Randall 46644 by: Erwin Hoffmann 46645 by: Brett Randall 46661 by: Erwin Hoffmann Re: Multiple Mails with qmail-inject 46646 by: Martin Sckopke SMTP not running 46647 by: Fat Toolz 46651 by: Chris Johnson 46711 by: Dale Miracle Re: Multiple Mails with qmail-inject - Solution 46648 by: Martin Sckopke Re: Hard linking messages between maildirs 46649 by: Slider 46650 by: Slider 46653 by: Paul Jarc 46663 by: Slider fetchmail & qmail 46652 by: Sergei Smirnov 46664 by: Dave Sill starting smail-send 46654 by: Clemens Hermann 46657 by: Chris Johnson Copying messages (was: Hard linking messages between maildirs) 46655 by: Dave Sill 46665 by: Slider Re: Virtualdomians 46656 by: Adam Goryachev Someone have a bad experience with qmail once. 46658 by: Sean C Truman 46659 by: Charles Cazabon 46687 by: Michael T. Babcock 46706 by: Eric Cox local email stuck in que until i restart qmailsend?? help 46660 by: J 46662 by: Dave Sill 46707 by: Eric Cox Everything up and running! 4 by: Fat Toolz checkpassword ... 46667 by: Juan Calderon Cyrus - Qmail Help. 46668 by: bburnip.uniserve.com 46671 by: Steve Kennedy Limiting Relaying 46669 by: Dorian McFarlane 46670 by: James Raftery Debian GNU/Linux (potato) Packages: var-qmail 46672 by: Gerrit Pape Re: starting qmail-send 46673 by: Clemens Hermann smtproutes not working! 46674 by: J 46676 by: Charles Cazabon 46677 by: markd.bushwire.net 46678 by: markd.bushwire.net 46679 by: Chris Johnson 46680 by: Charles Cazabon [OT]Mail::* Perl modules to validate email address (RFC822) 46675 by: martin langhoff 46681 by: Russ Allbery 46688 by: Magnus Bodin 46690 by: martin langhoff 46693 by: martin langhoff 46708 by: Magnus Bodin Re: filters 46682 by: Michael T. Babcock 46683 by: William E. Baxter Re: rblsmtpd and relays.mail-abuse.org 46684 by: Michael T. Babcock 46686 by: Michael T. Babcock Re: legit mail being blocked because of relay methods 46685 by: Michael T. Babcock smtp probs 46689 by: ameuse 46691 by: markd.bushwire.net Russ' rblsmtpd test robots. 46692 by: Ben Beuchler 46694 by: Russ Allbery 46696 by: Chin Fang 46698 by: Chris Johnson deleting messages from the queue 46695 by: wolfgang zeikat 46715 by: Erwin Hoffmann Can't Send mail to external recipients 46697 by: Tim Jones 46712 by: Dale Miracle Dan's rbldns and the relays.mail-abuse.org domain 46699 by: Chris Johnson split local domain addressing 46700 by: Andrew Gray 46701 by: Chris Johnson 46703 by: Andrew Gray 46704 by: Chris Johnson patch: ucspi-tcp-mysql.0.88.tar.gz 46702 by: Sean C Truman Re: split local domain addressing - similar question. 46705 by: Marc-Adrian Napoli Re: virtual domain (vpopmail): no mailbox here by that name (#5.1.1) 46709 by: Dale Miracle i can't get started? 46710 by: Len Scotney 46714 by: Dale Miracle Absent message 46713 by: Wilson Fletcher 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] -- Hi, I have strange problems with my SMTP. Local everything is working fine, even pop3 & checkpasword are running very good; the only thing is I'm missing to send emails with e.g. the Outlook Express Client (Receiving via pop3 is o.k.) I just checked qmail-show.ctl and found an Option databytes: (Default.) SMTP DATA limit is 0 bytes. and qmqpservers: (Default.) No QMQP servers. (I don't know what that is...) The error message coming from MS Outlook Express is The connection to the server has failed. Account: 'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E The ping is working like every other service. Does anybody have a clue or a simple hint for me? The qmail-control-files should be correct so far, too... Thanks. Stef > The connection to the server has failed. Account: 'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, > Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E Try to telnet to port 25 on that IP addre
urgent for help about qmail
I configure my qmail server store user email on ~$HOME/Maildir/ directoryand I can get new message in ~$HOME/Maildir/new/but when I use qmail-pop3d to access email. it can not get email from~$HOME/Maildir/new/Who can help meTHank u very much.I hope u can reply to my email box:[EMAIL PROTECTED]my /var/qmail/rc content:#!/bin/shexec env - PATH="/var/qmail/bin:$PATH" \qmail-start '|dot-forward .forward ./Maildir/'my user .qmail content:./Maildir/and I have use maildirmake command to make mail directory for maildirmailbox.and I can send email by my qmail server. and I have add info on /etc/inetd.conf as follow: pop-3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup ns.plagh.com.cn /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
RE: urgent for help about qmail
> and I have use maildirmake command to make mail directory for maildir > mailbox. OK, but did you run it as root? If you did, then the permissions are all stuffed. Make sure the Maildir/ folder and its contents are readable and writable by the user who will be accessing it (minimal survival command: cd ~user; chown -R user Maildir; chgrp -R group Maildir). Also this will not likely be your problem but inetd is no longer recommended for pop3 or smtp daemons (especially qmail ones). Use tcpserver instead (ref: www.qmail.org). By the way if the above doesn't work, try telnetting in to your mail server on port 110 from a client. If you receive a prompt, the problem is with the config on the server (eg permissions, settings). If you don't receive a prompt (ie timeout or disconnects immediately), then there is a problem with the process (try watching your logs or making sure that your pop3 daemon has started or its controller daemon (ie inetd,tcpserver) is started). /BR Manager InterPlanetary Solutions http://ipsware.com/
RE: urgent for help about qmail
Do a tail -f /var/log/maillog (unless you have set up other logging methods) while you attempt to log in. If any error messages appear, let me in. The fact that you can do a mutt -f ./Maildir means nothing, since mutt doesn't use the same permission structure as a POP3 daemon. Please also include a 'ls -la ~user' so I can see the permissions you have set up. I user qmail on shadow and non-shadow redhat (6.1) machines with no problems. If, after you have provided me with the above information, all else fails, then try reinstalling qmail from scratch as it is possible you have missed something. qmail is, above all, logical. I have some very complex qmail systems set up, and even though they took a lot of thinking about to do, it was in the end just a matter of implementing the correct parts of qmail to make it work. /BR Manager InterPlanetary Solutions http://ipsware.com/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 15, 2000 11:59 PM > To: Brett Randall > Subject: Re: RE: urgent for help about qmail > > > Sir: > Thank u very much for your help.But I am sorry for bothering you again. > I test the ./Maildir which is belong to that user and can be > read and write. > I can even read the new mail with command mutt -f Maildir. > But now question is I can not access mail through pop3. And at > the same time when I fetch mail through pop.it report that > authorization failure as follow: > [root@ns init.d]# telnet localhost 110 > Trying 127.0.0.1... > Connected to localhost.plagh.com.cn. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > user lix > +OK > pass meilixiang > -ERR authorization failed > Connection closed by foreign host > > > at first when I meet the question I use command pwunconv to > unshadow my passwd. Then it seems that I can pass > authorization.But I cannot get new email. But now I can not pass > authorization again. > Now I use redhat6.2.is it because redhat use PAM authorization method > > I have spend on configure qmail for several days.. *:* > I do not expect it is so difficult to configuration. > > Waiting for your reply. > > Best regards from Jack.lee > > > > > > > > -- > Smile to the world > Then u will find > The whole world smile to u > ~Q~ :P :) (*^:^*) ^;^ > > > > - > »¶ÓʹÓñ±¾©µç±¨¾ÖµÄÃâ·Ñµç×ÓÓʼþϵͳ! > http://btamail.net.cn or http://mail.bta.net.cn > ¿Í·þÖÐÐĵ绰£º223 £¨Ãâ·Ñ£© > ¿ì½Ý169ÉÏÍø,µç»°:169,Óû§Ãû:169,¿ÚÁî:169. >
POP
HI, Can i authenticate my POP Server in the DataBase (Postgres or Oracle) ? Please, tell me How ? Thanks, Marcilio AlterNex - Brasil
Re: Russ' rblsmtpd test robots.
On Mon, Aug 14, 2000 at 04:30:24PM -0700, Russ Allbery wrote: > > I just implemented rblsmtpd using the MAPS DUL. I sent a message off to > > Russ' testing bot and received the following reply: > > MAPS has recently dropped the TXT entries from their zones due to zone > size problems; perhaps that's the problem? To the best of my knowledge, they only dropped 'em from RSS. However, I have already figured out the problem and it was my own stupidity... Our mail server is behind a pair of load balancers (Foundry Server Irons, if anyone cares) and a pair of firewalls. The actual IP of the mail server is not reachable on port 25. Only the load balanced IP accepts connections. I'm going to temporarily allow port 25 directly to one of our mail servers and retest... Gracias, Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
Re: POP
> HI, > > > Can i authenticate my POP Server in the DataBase (Postgres or Oracle) ? > Please, tell me How ? > > > Thanks, > > Marcilio > AlterNex - Brasil > Probably, but don't have any information of hand. I know you can use an LDAP database (http://www.openldap.org) with qmail to auth pop3 users, the patch is avaiable at: http://www.nrg4u.com/qmail/QLDAPINSTALL Jack
Re: POP
See vpopmail www.vpopmail.cx this is a excentlent virtual domain manager that allows authenication to mysql,sybase,oracle and some others. Sean Truman www.prodigysolutions.com [EMAIL PROTECTED] - Original Message - From: Marcilio Jorgensen Cassella <[EMAIL PROTECTED]> To: qmail list <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 11:12 AM Subject: POP > HI, > > > Can i authenticate my POP Server in the DataBase (Postgres or Oracle) ? > Please, tell me How ? > > > Thanks, > > Marcilio > AlterNex - Brasil
sqwebmail 500 error after install
Getting a 500 error after install of sqwebmail any ideas? Kathleen
Re: sqwebmail 500 error after install
On Tue, Aug 15, 2000 at 11:12:28AM -0500, Kathleen Farber wrote: > Getting a 500 error after install of sqwebmail Could you be any less specific? Chris
Re: sqwebmail 500 error after install
I'm sorry I didn't give more detail but there's no need for rudeness. Some of us are beginners at this. Thank you Tim for your courtesy. Kathleen - Original Message - From: "Tim Hunter" <[EMAIL PROTECTED]> To: "Kathleen Farber" <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 2:46 PM Subject: Re: sqwebmail 500 error after install > It would be best to take this to the sqwebmail mailing list > > [EMAIL PROTECTED] > > > - Original Message - > From: Kathleen Farber <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 15, 2000 9:12 AM > Subject: sqwebmail 500 error after install > > > > Getting a 500 error after install of sqwebmail > > > > any ideas? > > > > Kathleen > > > > >
Re: i can't get started?
"Len Scotney"<[EMAIL PROTECTED]> wrote: >after 20 years with PCs/DOS/Win, i am now trying to help with something >completely new Congratulations on having the gumption to try something new. >starting qmail execvp - no such file or directory ??? > >what worries me is that the history page for daemontools show that some time >back execvp was replaced with pathexec, .is this the problem? Curious. The LWQ scripts call "exec", not "execvp": the former is a command, the latter is a library function. Check your /var/qmail/rc and /var/qmail/supervise/qmail-send/run scripts to make sure they specify "exec". >also i am concerned that even though the 'qmail' startup script just >starts, the check of the PATH does not show /var/qmail/bin ?? The "qmail" script sets PATH for itself to include /var/qmail/bin. >if i try and start qmail manually, with /var/qmail/rc, i get some >messages that say thattalk abour CNAME not working ?? We'll need to see the exact error message and the circumstances under which you receive it. >(i would have never got this far without LWQ, i found the HOWTO was too brief >for a newcomer) I'm glad you found it helpful but I wish it had helped you avoid this problem, whatever it is. >len (the old guy) -Dave, pretty old, too
Re: Absent message
Wilson Fletcher <[EMAIL PROTECTED]> wrote: >I would like to send an absent message but I am finding it difficult. Grab qmail-vacation via the link on www.qmail.org. -Dave
Help with hyphens in mail aliases
How do I include a hyphen in a mail alias? If I try to create one with a hyphen in it, like [EMAIL PROTECTED] it just doesn't work. Is there a translation issuse, just as ":" translates with "." //Lasse
.qmail files messingup?
hey.. I was wondering y my info@ e-mail address were not being used much latly.. geez o peats... I get this.. 966362592.970325 new msg 672345 966362592.970351 info msg 672345: bytes 783 from <[EMAIL PROTECTED]> qp 4205 uid 100 966362592.974618 starting delivery 15: msg 672345 to local [EMAIL PROTECTED] 966362592.974659 status: local 1/10 remote 0/20 966362593.067903 delivery 15: success: qmail-inject:_fatal:_read_error/qmail-inject:_fatal:_read_error/did_0+0+1/ 966362593.068080 status: local 0/10 remote 0/20 966362593.068196 end msg 672345 I have the latest version of vpopmail.. and it was working at one point.. what could of happened? normal mail works.. just when I have a .qmail mail file... did the format of hte .qmail file change or something? -- Jason J. Czerak ([EMAIL PROTECTED]) Linux Systems Evangelist Jasnik Services, LLC http://www.Jasnik.net
qmail ignoring default delivery
I used the life with qmail instructions and set up to deliver to ~/INBOX. This was working fine, and then all of a sudden it stopped. Mail is now being delivered to /var/mail/username. This behavior seemed to have started when a crontab auto-email was sent to root then redirected via alias to me. Seems very strange. * John McCoy, Jr Systems Administrator Central Systems, Mills College 510-430-3321 [EMAIL PROTECTED] *
Re: qmail ignoring default delivery
On Tue, Aug 15, 2000 at 10:51:40AM -0700, John McCoy, Jr wrote: > I used the life with qmail instructions and set up to deliver to ~/INBOX. > This was working fine, and then all of a sudden it stopped. Mail is now > being delivered to /var/mail/username. > This behavior seemed to have started when a crontab auto-email was sent to > root then redirected via alias to me. > Seems very strange. Is it happening for all mail? Or only root mail or only mail that is submitted via a shell on the local system? Is it happening for mail that arrives from a remote location? Check your /usr/lib/sendmail /usr/sbin/sendmail links to see if they're linked to the qmail wrapper or whether one of them is still the original sendmail. Regards.
My BAD!!! RE: qmail ignoring default delivery
I forgot I had restored accounts from the server about to be replaced, all the user accounts had .qmail files telling it to put mail in /var/mail/ Thanks for the quick response though. * John McCoy, Jr Systems Administrator Central Systems, Mills College 510-430-3321 [EMAIL PROTECTED] * -Original Message- From: John McCoy, Jr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 15, 2000 10:52 AM To: [EMAIL PROTECTED] Subject: qmail ignoring default delivery I used the life with qmail instructions and set up to deliver to ~/INBOX. This was working fine, and then all of a sudden it stopped. Mail is now being delivered to /var/mail/username. This behavior seemed to have started when a crontab auto-email was sent to root then redirected via alias to me. Seems very strange. * John McCoy, Jr Systems Administrator Central Systems, Mills College 510-430-3321 [EMAIL PROTECTED] *
qmailanalog ideas?
I'm trying to set up some quick scripts using qmailanalog. I would like to generate a report every morning on the previous 24 hours. The new multilog does not rotate based on time but rather on size, so that's a bit awkward. Has anyone arrived at a simple way to dig all the log entries covering a specified period of time from a multilog directory? Gracias, Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
netscape mail & qmailpop3 - help
Greetings, Greetings, I'm trying to use netscape mail with qmailpop & vmailmgrd. Outlook works fine, but when I try to use netscape mail or mozilla it keeps coming back with the password box saying password incorrect. I'm thinking it's more of a pop issue than vmailmgr because outlook/outlook express and other pop clients work. I can't get netscape mail to work though. I really appreciate any help you can give me. __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/
Re: Help with hyphens in mail aliases
Lasse Johansson <[EMAIL PROTECTED]> wrote: > How do I include a hyphen in a mail alias? > > If I try to create one with a hyphen in it, like > [EMAIL PROTECTED] it just doesn't work. > > Is there a translation issuse, just as ":" translates with "." qmail uses hyphens for extension addresses; however, you've also got a dot in that email address. The above address would be controlled by ~julianne/.qmail-margret:smith in a default install, and similar rules apply for aliases. 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. ---
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
Re: Can't Send mail to external recipients
That was it. Thanks, Dale. Following that info, once I installed tcpserver (I'm running a homebrewed server), I was able to use the tcprules as outlined and I'm now a successful QMail user. Tim Dale Miracle wrote: > Tim Jones wrote: > > > > I've just built and installed QMail 1.03 under a homebrew Linux running > > 2.0.38 and libc2.01. Even though it's an older kernel, I keep the > > various networking packages updated. I got hit with some heavy relay > > hacks last week and I've just learned about qmail's natural defense > > against unauthorized relay. > > > > The installation appears good -- qmail-lint reports no problems. I can > > send messages from one internal system to any other internal system, and > > mail to my domain users is received properly. Also, if I use "echo to: > > [EMAIL PROTECTED] |/var/qmail/bin/qmail-inject", a message is > > delivered with no problems. However, when I try to use a standard UMA > > like pine, or Netscape, I get the popular "sorry, that domain isn't in > > my list of allowed rcpthosts" message. > > > > I read the threads here and added entries to /etc/hosts.allow and > > /etc/tcp.smtp as outlined. But, the errors still occur. Oh, and no > > errors are sent to postmaster. Of course, I've restarted inetd and > > qmail. > > > > What am I missing? > > > > Tim Jones > > [EMAIL PROTECTED] > > Check out this web site it explains how to setup qmail for mail > relaying. Mail relaying is when a smtp server is asked to send mail to > another smtp server normally from a mua like pine, or netscape's mail, > etc. That is how an open relay'ing' (or spam) is performed. An smtp > client from an outside domain sends an e-mail to an smtp server for it > to deliver else where. > With the mail relaying setup correctly if a system doesn't know a client > it will not talk to it which means no mail is accepted to be sent. > > www.palomine.net/qmail/selectiverelay.html > > Take Care, > Dale
Re: Envelope Recipient from environment?
Dave Kitabjian <[EMAIL PROTECTED]> writes on 15 August 2000 at 16:01:16 -0400 > 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. I tend to agree that easy access to the envelope recipient would be nice. Your suggestion of parsing headers to get it doesn't work, though; the BCC header is gone by the time the mail arrives at its destination, and regardless of that, there's no requirement that the envelope recipient ever appear in any of those, or any other, message header. -- 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]
Relaying stopped. How to remove SPAMMER status?
Hi Folks, Well, I've successfully installed and configured QMail on my homebrewed Linux server. As such, the rampant SPAM relay that my system allowed over the past month has been stopped. What are the steps I should take to get my mail host removed from the "provider of SPAM relay" lists? Thanks for the help with my controlled Relay questions. Tim Jones
Re: Help with hyphens in mail aliases
On Tue, Aug 15, 2000 at 08:01:29PM +0200, Lasse Johansson wrote: > How do I include a hyphen in a mail alias? > > If I try to create one with a hyphen in it, like > [EMAIL PROTECTED] it just doesn't work. > > Is there a translation issuse, just as ":" translates with "." No there is not. For local domains qmail always matches users first. That means that if you have two users, 'alfa' and 'alfa-bravo', then; [EMAIL PROTECTED] will be delivered to ~alfa-bravo/.qmail [EMAIL PROTECTED] will be delivered to ~alfa/.qmail [EMAIL PROTECTED] will be delivered to ~alfa/.qmail-test and e.g. be catched by ~alfa/.qmail-default [EMAIL PROTECTED] will be delivered to ~alfa-bravo/.qmail-charlie and e.g. be catched by ~alfa-bravo/.qmail-default Or what do you mean by mail alias? Are you using fastforward? /magnus -- http://x42.com/
Re: Relaying stopped. How to remove SPAMMER status?
Tim Jones <[EMAIL PROTECTED]> wrote: > > Well, I've successfully installed and configured QMail on my homebrewed > Linux server. As such, the rampant SPAM relay that my system allowed > over the past month has been stopped. > > What are the steps I should take to get my mail host removed from the > "provider of SPAM relay" lists? Change your name, your domain name, your IP address, and move to a new country. On a more serious note, check the FAQ pages of ORBS, MAPS, etc, for instructions on how to confirm your non-relaying status. Only they can tell you how to get off of the lists they administer. 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: Relaying stopped. How to remove SPAMMER status?
Tim Jones wrote: > > Hi Folks, > > Well, I've successfully installed and configured QMail on my homebrewed > Linux server. As such, the rampant SPAM relay that my system allowed > over the past month has been stopped. > > What are the steps I should take to get my mail host removed from the > "provider of SPAM relay" lists? > > Thanks for the help with my controlled Relay questions. > > Tim Jones You will have check out these two sites, they are the main black list sites Orbs and MAPS . www.orbs.org maps.vix.com They both have a page where you can type in your ip address of your mail server and it will tell you if you are listed and what to do. I use to frequent them quite a bit when I was running a bbs years back because the smtp/pop3 in the bbs software was bad at preventing spam. Take Care, Dale
Re: Can't Send mail to external recipients
Tim Jones wrote: > > That was it. Thanks, Dale. Following that info, once I installed tcpserver > (I'm running a homebrewed server), I was able to use the tcprules as outlined > and I'm now a successful QMail user. Your welcome, I am glad you got it working. I saw your other message about getting off the open relay list, good luck on that. I had problems with relaying about 2 years ago with a bbs I use to run using a separate domain name. After the system got hit by lightning and I just never put it back up and unlisted the domain name. Later, Dale
Changing uid numbers with BruceG's autouidgid patch
If I'm running with BruceG's autouidgid patch and want to change the uids and gids that qmail uses, am I correct in assuming this will work: /etc/rc.d/init.d/qmail stop /etc/rc.d/init.d/smtp stop /etc/rc.d/init.d/pop3d stop /etc/rc.d/init.d/imapd stop vi /etc/passwd # Do my dirty business vi /etc/shadow # Do more dirty business cd /var/qmail find . -follow -user -exec chown alias {} \; find . -follow -user -exec chown qmaild {} \; find . -follow -user -exec chown qmaill {} \; find . -follow -user -exec chown qmailp {} \; find . -follow -user -exec chown qmailq {} \; find . -follow -user -exec chown qmailr {} \; find . -follow -user -exec chown qmails {} \; find . -follow -group -exec chgrp qmail {} \; find . -follow -group -exec nofiles qmail {} \; /etc/rc.d/init.d/qmail start /etc/rc.d/init.d/smtp start /etc/rc.d/init.d/pop3d start /etc/rc.d/init.d/imapd start I wanted to ask before I try it. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ virCIO http://www.virCIO.Com 4314 Avenue C Austin, TX 78751-3709 +1 512 374 0500 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. PGP signature
more questions on rbl
At the expense of sounding like an idiot: Why are all these complications of DNS queries are used to find out if a certain IP is in a server's rbl database? Are DNS queries processed faster than finger's or qmail-lspawn's when it uses qmail-users ? In what sense is it advantageous to require the delegation of a whole DNS domain to handle rbl database lookups? Afterall, we are just talking about a list of (IP)numbers to search, and not some complicated records. Mate
rss test fails
I got the included message back from my rss test. Then I also got a message saying my RSS block does not work. I start rblsmtpd with this run file: #! /bin/sh exec 2>&1 CDB="/var/service/rblsmtpd/tcprules.cdb" PORT="smtp" USER="qmaild" PATH=/var/qmail/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin; export PATH exec envuidgid $USER \ tcpserver -v -c40 -UX -x$CDB \ 0 $PORT \ rblsmtpd -r rbl.maps.vix.com -r dialups.mail-abuse.org -r relays.mail-abuse.org qmail-smtpd Where should I look for problems? Thx Mate Testing your RSS block. See http://www.crynwr.com/spam/ for more info Here's how the conversation looked from rrss.crynwr.com. Note that some sites don't apply the RSS block to postmaster, so I use your envelope sender as the To: address. I connected to 141.225.11.87 and here's the conversation I had: 220 wierdlmpc.msci.memphis.edu ESMTP helo rrss.crynwr.com 250 wierdlmpc.msci.memphis.edu mail from:<> 250 ok rcpt to:<[EMAIL PROTECTED]> 250 ok data 354 go ahead From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 15 Aug 2000 21:35:13 - Message-Id: <[EMAIL PROTECTED]> Test message . 250 ok 966375305 qp 16605 quit Successful termination. As far as I can tell, the email was delivered. That might not be what you want.
Re: qmailanalog ideas?
Put such a stats collection utility in a pipeline in your qmail init script. Such an arrangement avoids the need to deal with multilog rotation. You may wish to write such as utility in C/C++ for efficiency if your servers are busy. Regards, Chin Fang [EMAIL PROTECTED] > I'm trying to set up some quick scripts using qmailanalog. I would like > to generate a report every morning on the previous 24 hours. The new > multilog does not rotate based on time but rather on size, so that's a > bit awkward. Has anyone arrived at a simple way to dig all the log > entries covering a specified period of time from a multilog directory? > > Gracias, > Ben > > -- > Ben Beuchler [EMAIL PROTECTED] > MAILER-DAEMON (612) 321-9290 x101 > Bitstream Underground www.bitstream.net >
Re: rss test fails
On Tue, Aug 15, 2000 at 04:42:34PM -0500, Mate Wierdl wrote: > I got the included message back from my rss test. Then I also got a > message saying my RSS block does not work. I start rblsmtpd with this > run file: > > #! /bin/sh > exec 2>&1 > > CDB="/var/service/rblsmtpd/tcprules.cdb" > PORT="smtp" > USER="qmaild" > PATH=/var/qmail/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin; export PATH > > exec envuidgid $USER \ > tcpserver -v -c40 -UX -x$CDB \ > 0 $PORT \ > rblsmtpd -r rbl.maps.vix.com -r dialups.mail-abuse.org -r relays.mail-abuse.org >qmail-smtpd This is happening because relays.mail-abuse.org has stopped providing TXT records for listed IP addresses; they're providing only an A record now. rblsmtpd relies on the existence of a TXT record. There's a patch at http://www.cqc.com/~pacman/projects/rblsmtpd-rss/ that allows rblsmtpd to use an A record. This is what motivated me to mirror RSS with an rbldns-powered server. I've got it up and running on one of my boxes; I'm using it locally, and it's working just fine. rbldns has no problems at all with the size of the zone (which is reportedly the reason mail-abuse.org has stopped providing the TXT records). Unfortunately, I'm not free to make this public. Chris
Re: more questions on rbl
Mate Wierdl <[EMAIL PROTECTED]> writes on 15 August 2000 at 16:27:44 -0500 > At the expense of sounding like an idiot: > > Why are all these complications of DNS queries are used to find out if > a certain IP is in a server's rbl database? Are DNS queries processed > faster than finger's or qmail-lspawn's when it uses qmail-users ? > > In what sense is it advantageous to require the delegation of a whole > DNS domain to handle rbl database lookups? Afterall, we are just > talking about a list of (IP)numbers to search, and not some > complicated records. I'm not sure I'm understanding your question; if you're asking what I *think* you're asking, DNS is used because it is a reasonably efficient and very widely deployed way of spreading the data from the central site where it's updated to sites all over the world where it's used. -- 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: Relaying stopped. How to remove SPAMMER status?
Quoting Tim Jones ([EMAIL PROTECTED]): > Hi Folks, > > Well, I've successfully installed and configured QMail on my homebrewed > Linux server. As such, the rampant SPAM relay that my system allowed > over the past month has been stopped. Fascinating. qmail is relay-proof by default, so you almost have to purposefully mess up, unless doing something really dumb like allowing percent hack or something, to allow it to relay. Then, having messed up and knew it, you let it be a "rampant spam relay" for a month? I hope I'm not reading that correctly--perhaps it was rampant for a month and you just happened to not notice and only did *today*. Excuse me, but administrators of spam relays get me worked up. Especially qmail relays! Ugh. > What are the steps I should take to get my mail host removed from the > "provider of SPAM relay" lists? What "provider of SPAM relay" lists do you think you are on? How is it you know you are on them and not know how to get off? (for example, if you're on RSS, your bounces will have a URL to see. Have you gone to see it??). Aaron
Re: Relaying stopped. How to remove SPAMMER status?
> -Original Message- > From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]] > > Fascinating. qmail is relay-proof by default, so you almost have to > purposefully mess up, unless doing something really dumb like > allowing percent hack or something, to allow it to relay. Then, > having messed up and knew it, you let it be a "rampant spam relay" for > a month? I hope I'm not reading that correctly--perhaps it > was rampant > for a month and you just happened to not notice and only did *today*. or perhaps he didn't understand the relay control stuff w/ tcpserver and didn't have rcpthosts in place or some such. there have been plenty of people who have innocently not understood that process and removed the file. i would not call it a purposeful breaking of qmail. and if you don't know that the percent hack stuff removal is "dumb", you may do it not knowing any better. inexperienced is not dumb. knowing something was broken and not doing anything about it until blacklisted is a different story altogether. -- Michael Boyiazis [EMAIL PROTECTED] Mail Architect, NetZero, Inc. _NetZero Free Internet Access and Email__ http://www.netzero.net/download/index.html
Re: Relaying stopped. How to remove SPAMMER status?
Quoting M.B. ([EMAIL PROTECTED]): > > -Original Message- > > From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]] > > > > Fascinating. qmail is relay-proof by default, so you almost have to > > purposefully mess up, unless doing something really dumb like > > allowing percent hack or something, to allow it to relay. Then, > > having messed up and knew it, you let it be a "rampant spam relay" for > > a month? I hope I'm not reading that correctly--perhaps it > > was rampant > > for a month and you just happened to not notice and only did *today*. > > or perhaps he didn't understand the relay control stuff w/ tcpserver > and didn't have rcpthosts in place or some such. there have been > plenty of people who have innocently not understood that process > and removed the file. i would not call it a purposeful breaking of > qmail. and if you don't know that the percent hack stuff removal is > "dumb", you may do it not knowing any better. inexperienced is not > dumb. Heck, I am being harsh, however "back in the day" when I first tackled qmail and then switched our network from sendmail, anti-relay was first and foremost in my mind. There was not anything in the way of Dave Sill's "Life With qmail." Somehow I managed to muddle through without us becoming among the vilified spam relays. I suppose attention to detail is the key. Understanding your software thouroughly *before* making the box available to the Internet-at-large is essential. Allowing smtp connections, IMAP connections, POP3 connections, etc., without understanding the ramifications.. well I guess there are just many more inexperienced administrators out there nowadays. Disclaimer: I ain't perfect--but I try to pay attention to detail :) If you don't, your network has just become a menace to the rest. Aaron
Re: Changing uid numbers with BruceG's autouidgid patch
On Tue, Aug 15, 2000 at 04:25:55PM -0500, Chris Garrigues wrote: > If I'm running with BruceG's autouidgid patch and want to change the uids and > gids that qmail uses, am I correct in assuming this will work: > > /etc/rc.d/init.d/qmail stop > /etc/rc.d/init.d/smtp stop > /etc/rc.d/init.d/pop3d stop > /etc/rc.d/init.d/imapd stop > vi /etc/passwd# Do my dirty business > vi /etc/shadow # Do more dirty business > cd /var/qmail > find . -follow -user -exec chown alias {} \; > find . -follow -user -exec chown qmaild {} \; > find . -follow -user -exec chown qmaill {} \; > find . -follow -user -exec chown qmailp {} \; > find . -follow -user -exec chown qmailq {} \; > find . -follow -user -exec chown qmailr {} \; > find . -follow -user -exec chown qmails {} \; > find . -follow -group -exec chgrp qmail {} \; > find . -follow -group -exec nofiles qmail {} \; > /etc/rc.d/init.d/qmail start > /etc/rc.d/init.d/smtp start > /etc/rc.d/init.d/pop3d start > /etc/rc.d/init.d/imapd start > > I wanted to ask before I try it. Replace "find ." with "find /var/qmail /etc/qmail/owners", and yes, it should work. /etc/qmail/owners (a symlink from /var/qmail/owners) contains a set of files that are stat'ted to determine the desired user or group ID. -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/ PGP signature
mailq revisted
Here comes the mailq question again. I can run mailq as root and get a listing of the mail in queue. When I execute the command as any other user I get the following error message, (0)subb3@myhost:~ => mailq fatal: unable to chdir: access denied (111)subb3@myhost:~ => The man pages for qmail-queue says that the file should be run by root or group id qmails. Why is this limitation imposed on other users? Is it to provide some privacy to other users for their outgoing mail? -- Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ => Time is relative. Here is a new way to look at time. <= http://www.smcinnovations.com
question about qmail pop3d
sir I installed qmail on my machine. Now I can send and receive email normally. I can see email stay in ~$HOME/Maildir/new/ directory and I even can read it by mutt -f Maildir command.But there are some wrong when I wnat to access new message through pop3d. I start qmail-popup by tcpserver as follow:( I setup one qmail-pop3d directory on /service/ and put the run srcript on the directory content as follow) #!/bin/sh exec /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup ns.ab.com /var/qmail/bin/splogger pop3d & after I start up pop3d , netstat -l shows: [root@ns lix]# netstat -l Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 *:pop3 *:* LISTEN but when I access email by outlook,it said authoriation failure. so I telnet localhosts 110 : [root@ns lix]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.plagh.com.cn. Escape character is '^]'. +OK <[EMAIL PROTECTED]> user lix +OK pass mlix1819 -ERR authorization failed Connection closed by foreign host. when I access new message,I tail -f /var/log/maillog it shows: Aug 16 08:34:54 ns pop3d: 966386094.395216 tcpserver: status: 0/40 Aug 16 08:38:02 ns pop3d: 966386282.682302 tcpserver: status: 1/40 Aug 16 08:38:02 ns pop3d: 966386282.701181 tcpserver: pid 4320 from 127.0.0.1 Aug 16 08:38:02 ns pop3d: 966386282.704392 tcpserver: ok 4320 localhost:127.0.07 Aug 16 08:38:27 ns pop3d: 966386307.488338 tcpserver: end 4320 status 256 Aug 16 08:38:27 ns pop3d: 966386307.488727 tcpserver: status: 0/40 What's wrong? I use redhat6.2 with shadow password. can u help me? best regards - »¶ÓʹÓñ±¾©µç±¨¾ÖµÄÃâ·Ñµç×ÓÓʼþϵͳ! http://btamail.net.cn or http://mail.bta.net.cn ¿Í·þÖÐÐĵ绰£º223 £¨Ãâ·Ñ£© ¿ì½Ý169ÉÏÍø,µç»°:169,Óû§Ãû:169,¿ÚÁî:169.
Filtering Spamming
Can anyone give me some tips for filtering incomming mails from certain hosts or e-mails adresses. Im running Qmail+tcpserver, does anyone have a script from deleting messages from queue, following some match, for cleaning spamm from spool. Thanks a lot. -- Baltazar Quinterno Internet Argentina www.interar.com.ar
Re: question about qmail pop3d
Make sure you are running pop3d as root. since your putting email in the users home directories pop3d need to have access to all of them. Sean Truman www.prodigysolutions.com [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 8:54 PM Subject: question about qmail pop3d > sir I installed qmail on my machine. Now I can send and receive email normally. > I can see email stay in ~$HOME/Maildir/new/ directory and I even can read it by mutt -f Maildir command.But there are some wrong when I wnat to access new message through pop3d. > > I start qmail-popup by tcpserver as follow:( I setup one qmail-pop3d directory on /service/ and put the run srcript on the directory content as follow) > > #!/bin/sh > exec /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup ns.ab.com /var/qmail/bin/splogger pop3d & > > after I start up pop3d , netstat -l shows: > [root@ns lix]# netstat -l > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp0 0 *:pop3 *:* LISTEN > > but when I access email by outlook,it said authoriation failure. > so I telnet localhosts 110 : > > [root@ns lix]# telnet localhost 110 > Trying 127.0.0.1... > Connected to localhost.plagh.com.cn. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > user lix > +OK > pass mlix1819 > -ERR authorization failed > Connection closed by foreign host. > > when I access new message,I tail -f /var/log/maillog it shows: > Aug 16 08:34:54 ns pop3d: 966386094.395216 tcpserver: status: 0/40 > Aug 16 08:38:02 ns pop3d: 966386282.682302 tcpserver: status: 1/40 > Aug 16 08:38:02 ns pop3d: 966386282.701181 tcpserver: pid 4320 from 127.0.0.1 > Aug 16 08:38:02 ns pop3d: 966386282.704392 tcpserver: ok 4320 localhost:127.0.07 > Aug 16 08:38:27 ns pop3d: 966386307.488338 tcpserver: end 4320 status 256 > Aug 16 08:38:27 ns pop3d: 966386307.488727 tcpserver: status: 0/40 > > What's wrong? I use redhat6.2 with shadow password. > can u help me? > >best regards > - > »¶ÓʹÓñ±¾©µç±¨¾ÖµÄÃâ·Ñµç×ÓÓʼþϵͳ! > http://btamail.net.cn or http://mail.bta.net.cn > ¿Í·þÖÐÐĵ绰£º223 £¨Ãâ·Ñ£© > ¿ì½Ý169ÉÏÍø,µç»°:169,Óû§Ãû:169,¿ÚÁî:169.
Re: question about qmail pop3d
On Wed, Aug 16, 2000 at 08:53:03AM +0800, [EMAIL PROTECTED] wrote: > I can see email stay in ~$HOME/Maildir/new/ directory and I even can read it > by mutt -f Maildir command.But there are some wrong when I wnat to access new > message through pop3d. > > I start qmail-popup by tcpserver as follow:( I setup one qmail-pop3d > directory on /service/ and put the run srcript on the directory content as > follow) > > #!/bin/sh > exec /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup ns.ab.com >/var/qmail/bin/splogger pop3d & This should read: exec /usr/local/bin/tcpserver -vR 0 pop-3 \ /var/qmail/bin/qmail-popup ns.ab.com /bin/checkpassword /var/qmail/bin/qmail-pop3d qmail-popup needs to exec checkpassword, not splogger. If you don't have checkpassword (it's not installed with qmail), you can get it from http://cr.yp.to. And checkpassword invokes qmail-pop3d. Also, if you're running this with svscan/supervise, don't put it in the background (remove the '&'). Chris
Re: Relaying stopped. How to remove SPAMMER status?
At 06:55 PM 8/15/00, Aaron L. Meehan wrote: >Quoting Tim Jones ([EMAIL PROTECTED]): > > Well, I've successfully installed and configured QMail > on my homebrewed > > Linux server. As such, the rampant SPAM relay that my > system allowed > > over the past month has been stopped. > >Fascinating. qmail is relay-proof by default, so you >almost have to >purposefully mess up, unless doing something really dumb >like >allowing percent hack or something, to allow it to >relay. Then, >having messed up and knew it, you let it be a "rampant >spam relay" for >a month? I hope I'm not reading that correctly--perhaps >it was rampant >for a month and you just happened to not notice and only >did *today*. > >Excuse me, but administrators of spam relays get me worked >up. >Especially qmail relays! Ugh. I think that you're reading him incorrectly. I believe that he meant to say that he had been using some other mail package, and the relaying was happening. He has now switched to qmail and the relaying has, of course, stopped. Todd
dul checkout before implementation
I'm thinking of adding DUL and/or RBL on our inbound mail servers. Before I emplement I've been asked by higherups to monitor how much email is being held up as spam on a lighter use server. Is there a simple way to do this? Or should I just put in a quick hack to qmail-smtpd.c to log whenever the RBLSMTPD variable is set from tcpserver indicating it has found mail from a suspect IP. Thanks, mike. _NetZero Free Internet Access and Email__ http://www.netzero.net/download/index.html
Re: Relaying stopped. How to remove SPAMMER status?
As I replied to Aaron out of band, I was not having a relay problem with QMail. The problem was an old sendmail installation. I spend a bit of time on the road and monitoring a home network is not high on my priorities. When I finally discovered the sendmail problem, I switched over to QMail and had things resolved immediatly. My question was simply "Now that I have the relay hole corked for good, where do I turn to get my IP removed from the 'this machine allows SPAM relay' lists?" That question has been answered by a number of helpful folks here on the qmail list. I thank you all from the bottom of my heart. Tim "Aaron L. Meehan" wrote: > Quoting M.B. ([EMAIL PROTECTED]): > > > -Original Message- > > > From: Aaron L. Meehan [mailto:[EMAIL PROTECTED]] > > > > > > Fascinating. qmail is relay-proof by default, so you almost have to > > > purposefully mess up, unless doing something really dumb like > > > allowing percent hack or something, to allow it to relay. Then, > > > having messed up and knew it, you let it be a "rampant spam relay" for > > > a month? I hope I'm not reading that correctly--perhaps it > > > was rampant > > > for a month and you just happened to not notice and only did *today*. > > > > or perhaps he didn't understand the relay control stuff w/ tcpserver > > and didn't have rcpthosts in place or some such. there have been > > plenty of people who have innocently not understood that process > > and removed the file. i would not call it a purposeful breaking of > > qmail. and if you don't know that the percent hack stuff removal is > > "dumb", you may do it not knowing any better. inexperienced is not > > dumb. > > Heck, I am being harsh, however "back in the day" when I first tackled > qmail and then switched our network from sendmail, anti-relay was first > and foremost in my mind. There was not anything in the way of Dave > Sill's "Life With qmail." Somehow I managed to muddle through without > us becoming among the vilified spam relays. > > I suppose attention to detail is the key. Understanding your software > thouroughly *before* making the box available to the Internet-at-large > is essential. Allowing smtp connections, IMAP connections, POP3 > connections, etc., without understanding the ramifications.. well I > guess there are just many more inexperienced administrators out there > nowadays. Disclaimer: I ain't perfect--but I try to pay attention to > detail :) If you don't, your network has just become a menace to the > rest. > > Aaron
converting tai64n to something readable
I know this spawned one of those never-ending threads last time I brought it up, so I'm not asking for opinions on the usefulness or lack thereof of the tai64n format. I'm just trying to *understand* the format... I've read and reread DjB's documentation of the format and still find it quite confusing. For example, I still do not understand the significance of the first eight bytes of the stamp. I think it is the reference point for the second four bytes, but why is it necessary? Why would the reference point change? Why not select an arbitrary point in time and make it the reference point? I would also appreciate it if someone could sketch out some pseudo-code for working with tai64n. A task I have frequently wished I could perform would be slicing out a section of a log file covering a specified time range. Since I do not know C, I do not have the luxury of using libtai. So I guess I would need a way of converting a specific time to it's tai64n equivalent. Thoughts? Suggestions? Thanks, Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
Re: converting tai64n to something readable
On Tue, Aug 15, 2000 at 11:42:18PM -0500, Ben Beuchler wrote: >I'm just trying to *understand* the > format... http://cr.yp.to/libtai/tai64.html describes TAI64, TAI64N, and TAI64NA. >Since I do not know C, I do not have the luxury > of using libtai. Go to your local library and borrow K&R. After reading chapter one, you'll learn most things you need to know. :-) > So I guess I would need a way of converting a specific > time to it's tai64n equivalent. his, her, its; not hi's, he'r, it's Sorry Ben, I had to say that. :-) But seriously, look at the URL above. ---Chris K. -- Chris, the Young One |_ If you can't afford a backup system, you can't Auckland, New Zealand |_ afford to have important data on your computer. http://cloud9.hedgee.com/ |_ ---Tracy R. Reed
Re: converting tai64n to something readable
On Wed, Aug 16, 2000 at 05:18:50PM +1200, Chris, the Young One wrote: > http://cr.yp.to/libtai/tai64.html describes TAI64, TAI64N, and TAI64NA. > > > Since I do not know C, I do not have the luxury > > of using libtai. > > Go to your local library and borrow K&R. After reading chapter one, > you'll learn most things you need to know. :-) > > > So I guess I would need a way of converting a specific > > time to it's tai64n equivalent. > > > his, her, its; not hi's, he'r, it's > > > Sorry Ben, I had to say that. :-) But seriously, look at the URL above. Yeah, I seem to have a mental glitch lately that tells my fingers to type "it's" in all the wrong places. I've read the doc you mention. I found it rather tough to follow. I just received some info from Russ that I think is unlocking my mental block for me, so it may make some sense for me by tomorrow. I do need to learn at least some C, I know. So far I have found a knoledge of Python and some Perl to be more useful. I'm assuming the "K&R" to which you refer is an introductory C text? Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
Re: converting tai64n to something readable
On Wed, Aug 16, 2000 at 12:36:49AM -0500, Ben Beuchler wrote: > I've read the doc you mention. I found it rather tough to follow. I > just received some info from Russ that I think is unlocking my mental > block for me, so it may make some sense for me by tomorrow. I guess I'm not you, but I pretty much got it the moment I read it. Basically, for a TAI64 label, numbers below 2^62 are ``negative'', and between 2^62 and 2^63 are ``positive'', relative 19700101 TAI. That's what the 0x4000 prefix you're seeing stands for. (0x4000 is 2^62.) > I do need to learn at least some C, I know. So far I have found a > knoledge of Python and some Perl to be more useful. I'm assuming the > "K&R" to which you refer is an introductory C text? Quoted from http://www.tuxedo.org/~esr/jargon/html/entry/Kamp;R.html K&R [Kernighan and Ritchie] n. Brian Kernighan and Dennis Ritchie's book "The C Programming Language", esp. the classic and influential first edition (Prentice-Hall 1978; ISBN 0-13-110163-3). Syn. White Book, Old Testament. See also New Testament. You probably want ``New Testament'' instead, actually, since it covers ANSI C: New Testament n. [C programmers] The second edition of K&R's "The C Programming Language" (Prentice-Hall, 1988; ISBN 0-13-110362-8), describing ANSI Standard C. See K&R; this version is also called `K&R2'. Hope it helps, ---Chris K. -- Chris, the Young One |_ but what's a dropped message between friends? Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. http://cloud9.hedgee.com/ |_ Robinson, IV
Re: How to hold queue until later?
On Mon, Aug 14, 2000 at 07:23:12PM +1000, Brett Randall wrote: Hi, > We are planning on installing a number of RAS boxes around Sydney that dial > in from our subsidiaries at preset times and transfer mail that has been > held in each location (ie sent from the client but held at the server), and > download mail that's waiting to be transferred to that location. Have a look at autoturn at the qmail website we use that and are quite satisfied with that. Mail is sent and got while phone prices are low. using cron to send and receive mail. Jacob -- A saying of the Buddha from http://metta.lk/ This, indeed, is refuge secure. This, indeed, is refuge supreme. By seeking such a refuge is one released from all sorrow. Random Dhammapada Verse 192
4.7.1 error reported to netscape mail client
I had posted this previously to the list and got some replies back on what I can do to fix the problem. I raised the number of connections that tcpserver would accept. I got another e-mail from the same user saying he is still every so often getting this error. This isn't something qmail is sending him this is a dialog box that netscape is showing. To refresh your memory briefly, a user of mine is getting an error from netscape comm. mail client 4.7.1 please try again later. No one else has said anything about this happening to them and the mail flow is quite consistent. After monitoring this I think I have found the problem but I want to make sure. I noticed a lot more e-mail activity lately and noticed people are sending to 5, 10, 15 people at a time. You get a couple people doing that and the 20 connection limit in qmail's smtpd is pegged until it can deliver the mail. I went through the log again looked for the date's and times he couldn't send mail and noticed that there pending remote deliveries of 20/20, 20/20, 20/20 . Which was odd because the number of deliveries never went down. I looked through log and found that a quite a few people had sent e-mail's to 5 and 10 people at a time and some of those mail servers were deferring connections. I noticed the it was possible that he was trying to send at a time when the queue was 20/20 and when he waited a minute or so the queue went down to 19/20 which allowed him to send. If this is so can i raise the number of connections? I don't like re-compiling binaries once I got everything working fine, tempting fate it to easy. ;) Thanks in advance, -- Dale Miracle System Administrator Teoi Virtual Web Hosting
Re: Filtering Spamming
Baltazar Quinterno wrote: > > Can anyone give me some tips for filtering incomming mails > from certain hosts or e-mails adresses. Tons of info on the qmail site. Search for "rblsmtpd". Once that is installed, check out www.mail-abuse.org, and www.orbs.org. > Im running Qmail+tcpserver, > > does anyone have a script from deleting messages from queue, following > some match, for cleaning spamm from spool. Spammer gotcha, eh? Know the feeling... Again, there's info on the qmail site. I believe you can just stop qmail, delete the messages (from the spammer! :), and then restart qmail. But don't quote me on that. In any case, this very scenario has been discussed every week or so of the few months that I've been on the list. A good place to start is Dave's (?) mailing list archive search page: http://www-archive.ornl.gov:8000/ . Hoping that helps, Eric
Re: 4.7.1 error reported to netscape mail client
On Wed, Aug 16, 2000 at 01:55:08AM -0400, Dale Miracle wrote: > I noticed a lot more e-mail activity lately and noticed people are > sending to 5, 10, 15 people at a time. You get a couple people doing > that and the 20 connection limit in qmail's smtpd is pegged until it can > deliver the mail. I went through the log again looked for the date's > and times he couldn't send mail and noticed that there pending remote > deliveries of 20/20, 20/20, 20/20 . Which was odd because the number of > deliveries never went down. I looked through log and found that a quite > a few people had sent e-mail's to 5 and 10 people at a time and some of > those mail servers were deferring connections. I noticed the it was > possible that he was trying to send at a time when the queue was 20/20 > and when he waited a minute or so the queue went down to 19/20 which > allowed him to send. > > If this is so can i raise the number of connections? I don't like > re-compiling binaries once I got everything working fine, tempting fate > it to easy. ;) If you review the man page for qmail-smtpd, it will explain the usage of "concurrencyremote" which should solve your problem. Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
Re: converting tai64n to something readable
Date: Tue, 15 Aug 2000 23:42:18 -0500 From: Ben Beuchler <[EMAIL PROTECTED]> I've read and reread DjB's documentation of the format and still find it quite confusing. For example, I still do not understand the significance of the first eight bytes of the stamp. I think it is the reference point for the second four bytes, but why is it necessary? Why would the reference point change? Why not select an arbitrary point in time and make it the reference point? tai64n is tai64 followed by a number of nanoseconds. tai64 is a 64 bit number. In external format, this is 24 hexadecimal digits. The first 16 hex digits are the tai64 portion. The last 8 hex digits are the number of nanoseconds. The web page refers to these 24 hex digits as 12 bytes--8 bytes for tai64 and 4 bytes for the nanoseconds. Here is a recent tai64n timestamp: 4000399a2c15230e6f14. The tai64 portion is 4000399a2c15. This is 2^62 + 0x399a2c15. This is between 2^62 and 2^63, so this represents the second 0x399a2c15 seconds after the beginning of 1970. The rest of the timestamp is is 0x230e6f14 == 588148500. So this tai64n label represents August 16, 2000 05:52:21.5881485 + Your questions about the reference point seem to indicate some confusion. I'm not sure what you are getting at. DJB did pick an arbitrary reference point: he picked January 1, 1970, the same reference point as is used for the Unix epoch. The first 8 bytes, minus 2^62, give the number of seconds since January 1, 1970. The last 4 bytes give the number of nanoseconds since the start of that second. There are one (American) billion nanoseconds in one second, so 4 bytes is enough. I would also appreciate it if someone could sketch out some pseudo-code for working with tai64n. A task I have frequently wished I could perform would be slicing out a section of a log file covering a specified time range. Since I do not know C, I do not have the luxury of using libtai. So I guess I would need a way of converting a specific time to it's tai64n equivalent. Well, here is a trivial way to do that using GNU date, restricted to times before the year 2038, ignoring nanoseconds: echo 4000`(echo obase = 16; date +%s) | bc` Here I use "date +%s" to convert the current time into the number of seconds since January 1, 1970. The --date option can be used to pick any other time. Then I prepend 4000 to effectively add 2^62, and I use zeroes to pick out the start of the given second. Ian
Re: converting tai64n to something readable
Ben Beuchler wrote: > > Since I do not know C, I do not have the luxury > of using libtai. So I guess I would need a way of converting a specific > time to it's tai64n equivalent. First, like some people have already said, learn C. If you ever need to write something that handles large amounts of data effeciently on a *nix machine, C is the s**t. Not to mention you may need to modify one of your programs to suit your tastes. That being said, i'm working on a Python module as an interface to libtai. I believe I've figured out most of the intricacies of Python modules, and have a few functions coded. But with my schedule it will be at least a few days until I can use it in a program to test it out. I'll post a webpage at www.ericcox.com when it does something useful... Eric
Re: 4.7.1 error reported to netscape mail client
Ben Beuchler wrote: > If you review the man page for qmail-smtpd, it will explain the usage of > "concurrencyremote" which should solve your problem. > Thanks for reply. I forgot to check thatI guess I wasn't thinking. I knew I had seen it somewhere. I looked through the install read me files and didn't see it there. -- Dale Miracle System Administrator Teoi Virtual Web Hosting