qmail Digest 28 Jan 2001 11:00:00 -0000 Issue 1258 Topics (messages 56145 through 56186): Re: warning: unknown record type in todo/67391 56145 by: Alex Pennace 56147 by: NDSoftware Re: conf-spawn 56146 by: Alex Pennace Specific IP 56148 by: Linux 56155 by: Andy Bradford Re: Strange messages in log 56149 by: Erwin Hoffmann Re: Wildcards in badmailfrom? 56150 by: Erwin Hoffmann DotFiles 56151 by: Webmaster 56152 by: Webmaster 56181 by: qmail.artemas.reachin.com Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1) 56153 by: Peter van Dijk Re: mail routing? 56154 by: Peter van Dijk SOMEONE GET ME OFF THIS LIST 56156 by: courtney.whtz.com 56157 by: Hubbard, David 56159 by: courtney.whtz.com 56160 by: Jonathan D. Poole 56161 by: Claudio Nieder 56162 by: Boz Crowther qmail patch 56158 by: Franco Galian Qmail patchs 56163 by: NDSoftware Qwest.net & Qmail - online presentation.. 56164 by: Steve Fulton 56182 by: qmail.artemas.reachin.com Create a bounce message? 56165 by: Hubbard, David 56172 by: Paul Jarc QMAILQUEUE patch 56166 by: Paul Farber What variables are available inside of .qmail-*? 56167 by: Brian Ghidinelli 56168 by: Chris Johnson 56174 by: Peter Green 56175 by: Andy Bradford Re: Why so few qmail-remote processes 56169 by: Paul Jarc 56171 by: Greg White Re: is there a filter to scan message header and reject accordingly 56170 by: Mate Wierdl Mirgating to qmail !! 56173 by: Dennis Re: rblsmtpd 56176 by: Martin Randall Hotmail and Qmail (was Re: Subtle qmail bug?) 56177 by: qmail.artemas.reachin.com Newbie... couple of basic questions... 56178 by: Choz Sun 56180 by: Choz Sun 56183 by: qmail.artemas.reachin.com Re: quotas 56179 by: qmail.artemas.reachin.com 2 problems with QMAIL 56184 by: Tomas TPS Ulej 56185 by: pape.innominate.com 56186 by: Tomas TPS Ulej Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
On Sat, Jan 27, 2001 at 11:41:34AM +0100, octave klaba wrote: > Hello, > > I see in the log file a strange warning. what does it mean ? > > # cat /var/log/qmail/current | grep 67391 > @400000003a72a5f52ec6ad94 new msg 67391 > @400000003a72a5f52ec6c504 warning: unknown record type in todo/67391 man qmail-log: unknown record type in ... There is a serious bug in either qmail-queue or qmail-send. It could also mean some disk corruption has occurred, or you improperly patched qmail.
Yes i have too this bugs when i try to install a antivirus who use the qmail-queue ! When i have this problem, the problem is from qmail-queue ! All messages are not delivered and are in the queue... I have MRTG graph... My logs is different but it like at your logs ! Nicolas DEFFAYET, NDSoftware http://www.ndsoftware.net - [EMAIL PROTECTED] France: Tel +33 671887502 - Fax N/A UK: Tel +44 8453348750 - Fax +44 8453348751 USA: Tel N/A - Fax N/A -----Original Message----- From: Alex Pennace [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 12:04 PM To: octave klaba Cc: [EMAIL PROTECTED] Subject: Re: warning: unknown record type in todo/67391 On Sat, Jan 27, 2001 at 11:41:34AM +0100, octave klaba wrote: > Hello, > > I see in the log file a strange warning. what does it mean ? > > # cat /var/log/qmail/current | grep 67391 > @400000003a72a5f52ec6ad94 new msg 67391 > @400000003a72a5f52ec6c504 warning: unknown record type in todo/67391 man qmail-log: unknown record type in ... There is a serious bug in either qmail-queue or qmail-send. It could also mean some disk corruption has occurred, or you improperly patched qmail.
On Fri, Jan 26, 2001 at 09:04:19PM -0500, Paul Jarc wrote: > Suppose my concurrencylocal and concurrencyremote will never be > greater than, say, 50. Is there then any penalty in setting > conf-spawn to 100? More to the point, is there any reason not to set > conf-spawn to the largest value possible, other than portability? qmail-lspawn and qmail-rspawn allocate memory for conf-spawn structures, thus setting it lower will mean less memory is used. The structures themselves are relatively small, so most changes make little difference.
Hi. There is a method to run qmail on a specific IP address. For example binding on 111.222.222.222:25 instead of 0.0.0.0:25 Thanks
Thus said Linux on Sat, 27 Jan 2001 14:24:39 +0100: > There is a method to run qmail on a specific IP address. > For example binding on 111.222.222.222:25 instead of 0.0.0.0:25 This is the job of tcpserver... find your invocation of tcpserver and change the 0 to 111.222.222.222. Andy -- [-----------[system uptime]--------------------------------------------] 9:34am up 86 days, 11:55, 6 users, load average: 1.05, 1.17, 1.15
Hi, the provided answers point to the right problem. Except for the following: --> If your QMAIL installation comes from a package (eg. SuSE Linux) you have to obey the relative path of the installation. The common QMAIL package for SuSE Linux has a QMAIL path like /usr/local/var/qmail ...... --> Thus check, where the QMAIL binaries are! cheers. eh. At 14:42 25.1.2001 +0100, Marcus Korte wrote: >Dear all, > >I got after startup of qmail (setup regarding to LWQ) many of the following >messages in >/var/log/qmail/current: >2001-01-25 13:22:29.687206500 alert: cannot start: unable to read controls > >Does anybody know the root cause of the problem? > >Which files do you need to analyze this problem? > >Regards, >Marcus > >-- >Sent through GMX FreeMail - http://www.gmx.net > > +-----------------------------------------------------------------------+ | fff hh http://www.fehcom.de Dr. Erwin Hoffmann | | ff hh | | ff eee hhhh ccc ooo mm 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 eeee hh hh ccc ooo mm mm mm Fax 0221 484 4924 | +-----------------------------------------------------------------------+
Hi, this is covered in my SPAMCONTROL patch: http://ww.fehcom.de/qmail_en.html cheers. eh. At 09:26 26.1.2001 -0700, Andy Bradford wrote: >Hey all, >I have a really annoying spammer on my hands and just wonder if it is >possible to use wildcards in badmailfrom? Originally I added > > [EMAIL PROTECTED] > >to badmailfrom and that blocked it for about a month. Then he got >halfway smart and changed his sender address to > > [EMAIL PROTECTED] > >for which I added > > @tpts6.seed.net.tw > >to badmailfrom. This however, only worked for a few minutes as he is >apparently starting to create random names for mail hosts. Here is a >list that I have collected so far > > @tpts4.seed.net.tw > @mx.seed.net.tw > @ara.seed.net.tw > @tpts6.seed.net.tw > @sky.seed.net.tw > @iris.seed.net.tw > @giga.net.tw > @party.seed.net.tw > @ksmail.seed.net.tw > @saturn.seed.net.tw > @tpts7.seed.net.tw > >Now, my question is, would it be possible to block as in > > @*.seed.net.tw > >Thanks. I guess I could always try it to see what it does but I would >rather know before hand---the man page doesn't mention anything about >wildcards. > >Andy > > +-----------------------------------------------------------------------+ | fff hh http://www.fehcom.de Dr. Erwin Hoffmann | | ff hh | | ff eee hhhh ccc ooo mm 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 eeee hh hh ccc ooo mm mm mm Fax 0221 484 4924 | +-----------------------------------------------------------------------+
Hi, I install qmail Memphis version with dt-run services with virtualdomains
using assign file. And I have a little problem:
The file .qmail is of the user is processed but the files
.qmail-jkljklsdfsdjkl no.
Any person can say me why???
Thanks.
I write again, sorry!!! :-)----- Original Message -----From: WebmasterSent: Saturday, January 27, 2001 2:54 PMSubject: DotFilesHi, I install qmail Memphis version with dt-run services with virtualdomains
using assign file. And I have a little problem:
The file users .qmail file is processed but the files
.qmail-jkljklsdfsdjkl no.
Any person can say me why???
Thanks.
I am not sure what you are asking. ~username/.qmail is the file that determines how to process mail sent to [EMAIL PROTECTED] (where yourmachine.example.org is your machine, e.g. globalred.com). ~username/.qmail-foo is the file the determines how to process mail sent to [EMAIL PROTECTED] Now, if /var/qmail/control/virtualdomains has a line like this: heaven.af.mil:username The mail sent to [EMAIL PROTECTED] will be processed in qmail as [EMAIL PROTECTED] (the ~username/.qmail-foo file). And mail sent to any undefined address @heaven.af.mil will be processed as [EMAIL PROTECTED] (the ~username/.qmail-default file). Read the relevent Qmail docs, FAQs, and man pages for more information. - Sam > Hi, I install qmail Memphis version with dt-run services with virtualdomains > using assign file. And I have a little problem: > > The file .qmail is of the user is processed but the files > .qmail-jkljklsdfsdjkl no. > > Any person can say me why??? > > Thanks.
On Fri, Jan 26, 2001 at 09:16:54AM -0800, [EMAIL PROTECTED] wrote: > On Thu, 25 Jan 2001, Markus Stumpf wrote: > > > If AOL or hotmail would decide to change their MX records to your mailserver > > this will for sure also cause you problems. > > Actually, Qmail works fine as an incoming MX for Hotmail.com. > mail.hotmail.com, one of Hotmail's incoming mx machines, runs Qmail. [1] [snip] > [1] Qmail's fingerprint is that it accepts the > MAIL FROM: <[EMAIL PROTECTED]> in the SMTP session being shortened > to MAIL <[EMAIL PROTECTED]> The mail.hotmail.com that I just telnetted to on port 25 did not except this shortened version. It was also completely unsimilar to qmail-smtpd. Greetz, Peter.
On Fri, Jan 26, 2001 at 09:50:28AM -0800, Omer Faruk Sen wrote: > Hi; > > Is it possible to route incoming mails to different > machines for example > if a user name start with a to c abc.foo.org will > handle it or if a user name start with d to g > defg.foo.org will handle that.. Sure. Just set up these machines, put 'abc.foo.org' in rcpthosts and locals on the box, and make sure the box knows about users a thru c. Then on your central incoming box(es) either build a big list and use fastforward, or write a small wrapper around forward to go into your ~alias/.qmail-default. > I think it must be possible.And all machines must be > aware of that configuration to handle right email.Of > course there is another problem grows how will end > user > know which machine is right machine to send mail and > RECEIVE(via pop3) I think there are pop3-relays that can relay to a certain box based on username. Don't know where to find those, tho. Greetz, Peter.
I have tried multiple times to unsubscribe from this list- I have no clue why it has not worked. I wish to remove any addresses @whtz.com AS WELL as @z100.com. I am the sys admin in charge of these domains, amd do not wish to receive any more mailings!!!!
GET ME OFF THIS DAM LIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BERNARD J. COURTNEY
Z100/WHTZ RADIO
MIS/ENGINEERING DEPT.
[EMAIL PROTECTED]
I know this can be very complicated but try sending an email to [EMAIL PROTECTED] from the address you subscribed with, and this is the qmail list, not a dam list. :-) Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 1:33 PM To: [EMAIL PROTECTED] Subject: SOMEONE GET ME OFF THIS LIST I have tried multiple times to unsubscribe from this list- I have no clue why it has not worked. I wish to remove any addresses @whtz.com AS WELL as @z100.com. I am the sys admin in charge of these domains, amd do not wish to receive any more mailings!!!! GET ME OFF THIS DAM LIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BERNARD J. COURTNEY Z100/WHTZ RADIO MIS/ENGINEERING DEPT. [EMAIL PROTECTED]
Here is the problem- I've got about 18 different alias's that all point to one mailbox, and i have no clue which one was used to subscribe as that was about 3 years ago..since we have consolodated mail systems I also now have no access to send mail from any of those alias addresses...
Bernie
@
Sent by: "Hubbard, David" <[EMAIL PROTECTED]>
01/27/2001 02:01 PM
To: [EMAIL PROTECTED]
cc:
bcc:
Subject: RE: SOMEONE GET ME OFF THIS LIST
I know this can be very complicated but try sending an email to
[EMAIL PROTECTED] from the address you subscribed
with, and this is the qmail list, not a dam list. :-)
Dave
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 1:33 PM
To: [EMAIL PROTECTED]
Subject: SOMEONE GET ME OFF THIS LIST
I have tried multiple times to unsubscribe from this list- I have no clue
why it has not worked. I wish to remove any addresses @whtz.com AS WELL as
@z100.com. I am the sys admin in charge of these domains, amd do not wish
to receive any more mailings!!!!
GET ME OFF THIS DAM LIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BERNARD J. COURTNEY
Z100/WHTZ RADIO
MIS/ENGINEERING DEPT.
[EMAIL PROTECTED]
So, why not insert some sort of a clue, and look at the headers. stupidity I understand, and I commiserate with. rudeness accompanied by brilliance I tolerate. rudeness amlgated with stupidity deserves the flammage I am going to bestow on it. On Sat, 27 Jan 2001 [EMAIL PROTECTED] wrote: > > > Here is the problem- I've got about 18 different alias's that all point to one >mailbox, and i have no > clue which one was used to subscribe as that was about 3 years ago..since we have >consolodated mail > systems I also now have no access to send mail from any of those alias addresses... > > > > Bernie > > > > > @ > Sent by: "Hubbard, David" <[EMAIL PROTECTED]> > 01/27/2001 02:01 PM > > To: [EMAIL PROTECTED] > cc: > bcc: > Subject: RE: SOMEONE GET ME OFF THIS LIST > > > I know this can be very complicated but try sending an email to > [EMAIL PROTECTED] from the address you subscribed > with, and this is the qmail list, not a dam list. :-) > > Dave > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 27, 2001 1:33 PM > To: [EMAIL PROTECTED] > Subject: SOMEONE GET ME OFF THIS LIST > > > I have tried multiple times to unsubscribe from this list- I have no clue > why it has not worked. I wish to remove any addresses @whtz.com AS WELL as > @z100.com. I am the sys admin in charge of these domains, amd do not wish > to receive any more mailings!!!! > > > GET ME OFF THIS DAM LIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > BERNARD J. COURTNEY > Z100/WHTZ RADIO > MIS/ENGINEERING DEPT. > [EMAIL PROTECTED] > > >
Hi, > Here is the problem- I've got about 18 different alias's that all point to one >mailbox, and i have no clue which one was used to subscribe as that was about 3 years >ago..since we have consolodated > mail systems I also now have no access to send mail from any of those alias >addresses... Look at the header of this mail you receive from the list. You should see something like Return-Path: <[EMAIL PROTECTED]> ^^^^^^^^^^^^^^^^^^ where you can see the e-mail address the mailing list manager thinks it sends the mail to. The = stands for @. In this case it would be [EMAIL PROTECTED] claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED] http://www.claudio.ch
Huh. So your inability to look at the mail headers, determine which alias the mail was sent to, change your sent-from address in your MUA to the alias in question (you could even just telnet to port 25 and create the email in question manually!), and fire off an email to qmail-unsubscribe mean that a multitude of people should have to tolerate your abuse?----- Original Message -----From: [EMAIL PROTECTED]To: Hubbard, DavidSent: Saturday, January 27, 2001 11:57 AMSubject: RE: SOMEONE GET ME OFF THIS LIST
Here is the problem- I've got about 18 different alias's that all point to one mailbox, and i have no clue which one was used to subscribe as that was about 3 years ago..since we have consolodated mail systems I also now have no access to send mail from any of those alias addresses...
Bernie
@
Sent by: "Hubbard, David" <[EMAIL PROTECTED]>
01/27/2001 02:01 PM
To: [EMAIL PROTECTED]
cc:
bcc:
Subject: RE: SOMEONE GET ME OFF THIS LISTI know this can be very complicated but try sending an email to
[EMAIL PROTECTED] from the address you subscribed
with, and this is the qmail list, not a dam list. :-)
Dave
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 1:33 PM
To: [EMAIL PROTECTED]
Subject: SOMEONE GET ME OFF THIS LIST
I have tried multiple times to unsubscribe from this list- I have no clue
why it has not worked. I wish to remove any addresses @whtz.com AS WELL as
@z100.com. I am the sys admin in charge of these domains, amd do not wish
to receive any more mailings!!!!
GET ME OFF THIS DAM LIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BERNARD J. COURTNEY
Z100/WHTZ RADIO
MIS/ENGINEERING DEPT.
[EMAIL PROTECTED]
Hi, I've been reading about an exploit that was made available for vpopmail-3.4.10a/vpopmail-3.4.11[b-e]. Is that worked out or should I apply the 40 char limit patch to qmail-popup? I'm running vpopmail 4.9.8. + qmail 1.03 Thanks in advance Franco Galian
Hi, I have attached at this mail 3 patchs. Can you help me for rewrite this patch qmail 1.03 compatible ? How i can install it ? Thanks Nicolas DEFFAYET, NDSoftware http://www.ndsoftware.net - [EMAIL PROTECTED] France: Tel +33 671887502 - Fax N/A UK: Tel +44 8453348750 - Fax +44 8453348751 USA: Tel N/A - Fax N/AFrom: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: qqrbl Date: Wed, 27 Dec 2000 16:52:06 -0800 ----Next_Part(Wed_Dec_27_16:52:06_2000_747)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Russ, Find attached a quick script I hacked up to use with Bruce Guenter's QMAILQUEUE patch. I have it installed on my system as /var/qmail/libexec/qqrbl and run it via ':allow,QMAILQUEUE="/var/qmail/libexec/qqrbl"' in my tcpserver config file. Uses the Mail::RBL module (note that Mail::RBL thinks it requires a really recent version of Perl, but if you change the 'our $VERSION' variable to 'use vars qw($VERSION)' and get rid of the 'use warnings.pm', it runs just fine under 5.005_03. Real simple script, basically, it groks the IP's out of every Received: line and runs them through all three RBL's at mail-abuse.org (easy enough to edit the script to change that) and adds an 'X-RBL:' header for every match, making filtering down the line easier. I considered just using a simple bourne shell script with Bruce's qmail-qfilter and rblcheck, but this seems more elegant. :) Please post on qmail.org as you see fit. Thanks. j. ----Next_Part(Wed_Dec_27_16:52:06_2000_747)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=qqrbl #!/usr/bin/perl # # Id : qqrbl # Author : Jay Soffian <[EMAIL PROTECTED]> # Purpose: Runs IP's found in message Received: lines through rblcheck # and notes any positive hits by adding X-RBL: headers. # History: Dec 27, 2000 - Initial. use strict; use Mail::RBL; sub qqrbl { my $qmail_queue = "/var/qmail/bin/qmail-queue"; my %rbls; foreach my $rbl (@_) { $rbls{$rbl} = new Mail::RBL($rbl); } # We get our message contents on fd0 from qmail-smtpd or ofmipd. open(SMTPEIN, "<&=0") or fail(54, "dup(fd0) failed (#4.3.0) - $!"); # Create a pipe so we can wedge ourselves between qmail-smtpd/ofmipd and # qmail-queue. We pass fd1 (the message envelope) straight through since # we don't care about it for purposes of rblchecks. pipe (QQEIN, QQEOUT) or fail(51, "pipe() failed (#4.3.0) - $!"); my $qq_pid = fork; fail(51, "fork() failed (#4.3.0) - $!") unless defined $qq_pid; if ($qq_pid == 0) { # child (exec qmail-queue) # unset QMAILQUEUE so that we don't get executed again by accident, # causing an infinite loop. delete $ENV{QMAILQUEUE}; close QQEOUT; # don't need this half of the pipe # wedge between stdin and the pipe open (STDIN, "<&QQEIN") or fail(54, "dup(pipe) failed (#4.3.0) - $!"); exec $qmail_queue or fail(51, "exec($qmail_queue) failed (#4.3.0) - $!"); } else { # parent $SIG{'PIPE'} = 'IGNORE'; close QQEIN;# don't need this half of the pipe. my %ips; while(<SMTPEIN>) { if (1 .. /^$/) { map {$ips{$_} = 1} /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g if /^Received:/; if (/^$/) { foreach my $rbl (sort keys %rbls) { foreach my $ip (keys %ips) { print QQEOUT "X-RBL: $ip is listed by $rbl\n" if $rbls{$rbl}->check($ip); } } } } print QQEOUT $_; # pass message along to qmail-queue } # close everything properly close SMTPEIN or fail(54,"close(smtp in) failed (#4.3.0) - $!"); close QQEOUT or fail(53,"close(qq out) failed (#4.3.0) - $!"); # make sure qmail-queue exits okay waitpid ($qq_pid,0); my ($status) = ($? >> 8); fail($status, "qmail-queue failed ($status). (#4.3.0)") unless $status == 0; } } qqrbl(qw( relays.mail-abuse.org dialups.mail-abuse.org blackholes.mail-abuse.org ) ); exit 0; sub fail { my ($exitval, $msg) = @_; warn $msg,"\n"; exit($exitval); } ----Next_Part(Wed_Dec_27_16:52:06_2000_747)----
I just got this off /. and there was a link to how Qwest.net set up its mailservers. It's a basic presentation with photos, but its useful. What's really nice is their use of Qmail & explaination why.. http://www.users.qwest.net/~presentations/cmikk/ Steve.
[Chris: We're discussing your presentation on the Qmail list] On Sat, 27 Jan 2001, Steve Fulton wrote: > http://www.users.qwest.net/~presentations/cmikk/ I notice that Chris Mikkelson and the people at qwest.net use multiple qmail-sends on multiple queues, with a note that qmail-send is the big bottleneck. I wonder if they are using the big concurrency patch. Once the big concurrency patch is installed, it is trivial to get a concurrency of 500. The 500 number is based on Linux's limits--I would not be surprised if FreeBSD has far bigger limits. This means we can send out 500 messages at any given instant. Let us suppose that 99% of the messages can be delivered to the remote machine in one second, and 1% of the messages take 60 seconds (one minute) to deliver or time out. [1] With this simplified model, our imaginary high-traffic mail server can handle a continuous stream of the maximum concurrency of our qmail-send process multiplied by .625. Which means a concurrency of 500 can handle about 300 messages a second, which is well over a million messages a day. In fact, with a concurrency of 500, a heavily loaded mail server should handle over a million messages in an hour. - Sam [1] 60 seconds is how long qmail-remote will wait before giving up on a dead host.
Hi all, I was wondering if someone could tell me how to create a bounce message, or what would fool a remote mail server into thinking it was a bounce message? I occasionally get subscribed to spam ads from big companies that don't always honor their unsubscribe requests/web page submittals. I notice that these emails often have a return path specified that looks like some type of processor on their end that might remove my address if it receives a bounce while trying to contact me. So, I'd like to use that return path address and make the server think it bounced the email to me, but how do I do that? Thanks, Dave
"Hubbard, David" <[EMAIL PROTECTED]> writes: > I was wondering if someone could tell me how to > create a bounce message, or what would fool a remote > mail server into thinking it was a bounce message? You can use bouncesaying in your .qmail file if you know how to programmatically detect the kind of message you want to reply to. Otherwise, create a .qmail-bounce file to handle a you-bounce address, and put bouncesaying (or any command that exits 100) in that file. Then send a message to you-bounce. The envelope sender of this message should be the address that you want the bounce to go to. paul
Anyone having qq error messages when implementing qmailqueue patch?? Specificall 4.5.1/4.5.0?? I'm trying to filter e-mail using qmail-qfilter and get frequent errors. Searched the qmail archive and most there was some talk about softlimit but nothing definative... Anyone getting the qmailqueue/qmail-qfilter working in a moderately used environment? Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545
Can anyone point me to a resource on what variables I have access to inside of a dot-qmail file? I want to have users send email to some VERP-like address: [EMAIL PROTECTED] Inside .qmail-user-action-default, I want to run a program via a pipe that performs some action based upon information like the to, the from, and the VERP-like information in the email address. I am looking to create functionality similar to EZMLM moderation requests where the .qmail-listname-accept-default will catch messages addressed to: [EMAIL PROTECTED] How do I reference the value 9810192.28393.cookiename in my .qmail file? Can I? I want to know what variables I have access to inside of .qmail-user-accept-default and if/how I can pickup on the additional information in the email address as well as information like from, to, header information, etc. Thanks! Brian
On Sat, Jan 27, 2001 at 05:46:08PM -0800, Brian Ghidinelli wrote: > Can anyone point me to a resource on what variables I have access to > inside of a dot-qmail file? I want to have users send email to some > VERP-like address: > > [EMAIL PROTECTED] > > Inside .qmail-user-action-default, I want to run a program via a pipe that > performs some action based upon information like the to, the from, and the > VERP-like information in the email address. > > I am looking to create functionality similar to EZMLM moderation requests > where the .qmail-listname-accept-default will catch messages addressed to: > > [EMAIL PROTECTED] > > How do I reference the value 9810192.28393.cookiename in my .qmail file? > Can I? It would be in $DEFAULT (it's the part that matched -default in your .qmail file name). The qmail-command man page will tell you the whole story. Chris
* Brian Ghidinelli <[EMAIL PROTECTED]> [010127 20:47]: > Can anyone point me to a resource on what variables I have access to > inside of a dot-qmail file? I want to have users send email to some > VERP-like address: Take a look at the qmail big picture, available in a number of convenient formats from <http://www.nrg4u.com/>. Also, if you ever have any doubt, create a temporary .qmail file for a user that reads: env>/tmp/qmail.env (The mail will be dropped, so only use this with a temporary, throw-away account.) All of the available environment variables will be listed in /tmp/qmail.env. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- There is, however, a strange, musty smell in the air that reminds me of something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit. --- Larry Wall in Configure from the perl distribution
Thus said Peter Green on Sat, 27 Jan 2001 22:28:12 EST: > Also, if you ever have any doubt, create a temporary .qmail file for a user > that reads: > > env>/tmp/qmail.env Don't forget the pipe... :-) | env > /tmp/qmail.env Andy -- [-----------[system uptime]--------------------------------------------] 10:57pm up 87 days, 1:17, 5 users, load average: 1.14, 1.32, 1.33
"Jacques <Frip'> WERNERT" <[EMAIL PROTECTED]> writes: > I know that well so I put "5" but I can't take too much time to send my > mails ... Reducing queuelifetime will not help you deliver mail faster. If you really want to retry failed deliveries more often, send qmail-send SIGHUP every once in a while. paul
On Sat, Jan 27, 2001 at 09:30:35PM -0500, Paul Jarc wrote: > "Jacques <Frip'> WERNERT" <[EMAIL PROTECTED]> writes: > > I know that well so I put "5" but I can't take too much time to send my > > mails ... > > Reducing queuelifetime will not help you deliver mail faster. If you > really want to retry failed deliveries more often, send qmail-send > SIGHUP every once in a while. > > > paul I'm no wizard or anything, but isn't ALRM the signal you want for that? Doesn't HUP just reread locals and rcpthosts? GW
Use 822header from the mess822 package. There are other (very fast) progs in the package to aid filtering. Mate
Hi all... I think I have found "THE" email migration utility for win32 users needing to migrate to another email server. This is what our mid sized org will use to move all 300+ email accounts and address books to qmail from a pegasus/mercury server. http://www.comaxis.com/ua.htm For what it's worth. Dennis
Hello Peter On 25-Jan-01, you wrote: > On Thu, Jan 25, 2001 at 02:06:58PM -0500, Martin Randall wrote: > [snip] >> Whilst I'm here....I noticed that most mail servers connecting have >> cutomised greetings and endings during the 220, 250 and 221 responses. I >> searched the docs plus Dave Sills archives but couldn't find anything on >> this. > > man qmail-smtpd, look for smtpgreeting. > > Greetz, Peter. > Well there were twp partsto this, the main part the rblsmtpd and the trivial/curious part, which is this. Let me start with the rblsmtpd. Here is a rbl log on another mail server. ------------------------ Sat 2001-01-27 13:39:51: [1164:8057] EHLO mail02.osite.com.br Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker checking 200.189.209.131 using cache... Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker checking 200.189.209.131 using 131.209.189.200.dialups.mail-abuse.org... Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker A-record resolution of [131.209.189.200.dialups.mail-abuse.org] in progress (DNS Server: 216.136.29.250)... Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker 10 second wait for DNS response exceeded Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker checking 200.189.209.131 using 131.209.189.200.rbl.maps.vix.com... Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker A-record resolution of [131.209.189.200.rbl.maps.vix.com] in progress (DNS Server: 216.136.29.250)... Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker checking 200.189.209.131 using 131.209.189.200.relays.mail-abuse.org... Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker A-record resolution of [131.209.189.200.relays.mail-abuse.org] in progress (DNS Server: 216.136.29.250)... Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker D=131.209.189.200.relays.mail-abuse.org TTL=(5) A=[127.0.0.2] Sat 2001-01-27 13:40:02: [1164:8057] 550 mail from 200.189.209.131 refused by RSS, see http://www.mail-abuse.org/rss/ Sat 2001-01-27 13:40:03: [1164:8057] SMTP session abnormally terminated, 26 bytes transferred. Sat 2001-01-27 13:40:03: ---------- ---------------------------- As you can see, it says it is doing A-record resolutions with the relevent abuse locations. I did note in the earlier mail that rblsmtpd is now in the ucspi-tcp program and has a -a query. The only thing about this is why it says "anti-listed" instead of listed. On my second question which was about the 220, 221 etc. codes, Yes, I had already tried putting something in SMTPGREETING. What that gives me is (I've deleted most of the junk for brevity) :- Sat 2001-01-27 13:38:15: [2356:8055] 220 How's it hanging ? ESMTP Sat 2001-01-27 13:38:15: [2356:8055] EHLO chaossolutions.org Sat 2001-01-27 13:38:15: [2356:8055] 250-How's it hanging ? <SNIP> Sat 2001-01-27 13:38:15: [2356:8055] 221 How's it hanging ? Sat 2001-01-27 13:38:15: [2356:8055] SMTP session successful, 675 bytes transferred. As you can see, it gives the same text string for 220, 221 and 250 ie the smtpgreeting. Wheras, other pople customise the strings which is what I was asking about. Sat 2001-01-27 05:41:30: [2608:7809] 220 smtp2.home.se Novonyx SMTP ready $Revision: 2.74 $ Sat 2001-01-27 05:41:30: [2608:7809] EHLO chaossolutions.org Sat 2001-01-27 05:41:32: [2608:7809] 250-smtp2.home.se Pleased to meet you Sat 2001-01-27 05:41:44: [2608:7809] 221 smtp2.home.se So long, and thanks for all the fish Sat 2001-01-27 05:41:34: [2228:7803] 250 warrior-inbound - Plus.Net, The smarter way to Internet - Sat 2001-01-27 05:41:43: [2228:7803] 250 ok 980592233 qp 27053 Sat 2001-01-27 05:41:43: [2228:7803] QUIT Sat 2001-01-27 05:41:49: [2228:7803] 221 warrior-inbound - Plus.Net, The smarter way to Internet - Sat 2001-01-27 05:41:37: [2444:7858] 250-post.it.helsinki.fi Hello server.chaossolutions.org [216.136.109.158] (may be forged), pleased to meet you. Unless you are a SPAMmer Sat 2001-01-27 05:41:38: [2444:7858] 250 2.1.0 <[EMAIL PROTECTED]>... Sender looks kinda ok Sat 2001-01-27 05:41:50: [2444:7858] 250 2.0.0 f0RAhmx20818 Message accepted for delivery. Lucky you Sat 2001-01-27 05:41:50: [2444:7858] QUIT Sat 2001-01-27 05:41:51: [2444:7858] 221 2.0.0 post.it.helsinki.fi closing connection. Nice meeting you Anyway, this part I was just curious about. The main bit was/is the rblsmtpd. Please refer back to my original mail if you are confused. Regards...Martin -- Ah, Blackadder. Notice anything...unusual? Yes, sir. It's eleven thirty in the morning, and you're moving about. Is the bed on fire? == George and Edmund : Duel and Duality
On Sat, 27 Jan 2001, Peter van Dijk wrote: > The mail.hotmail.com that I just telnetted to on port 25 did not > except this shortened version. It was also completely unsimilar to > qmail-smtpd. Hummumph. Thanks for pointing that out. I think we have caught hotmail.com in the act of changing over from QMail to some other email system. mail.hotmail.com was running Qmail just yesterday, though all of the other machines were running whatever it is they are running now. I know that Hotmail, according to qmail.org, until recently, used Qmail for the outgoing mail. I will make some wild speculations as to why it is Hotmail switched over. My speculations: * This new mail system may have a lot of spam-protection built in. AOL, seems to be using the same email system. * Microsoft, for marketing reasons, obviously does not want it to be known that they use a Unix+Qmail system. - Sam (Who is both amused and mildly disturbed that walmart.com uses Apache but pretends to use IIS)
I am a newbie sysadmin who has just setup his very first e-mail server running RH 7.0 with OpenSSH, qmail and qmail-pop3d (utilizing maildir's). I been having problems with sending out e-mail (i.e. not at all) so my question would be: besides qmail.org and 'life with qmail', can anyone recommend any good sources on installing, maintaining and tweaking qmail. Thanks in advance... Joe Louthan [EMAIL PROTECTED]
At least I am on the right track. I searched Bookpool.com (cheaper than amazon and this Bookpool won't try to copyright html :) and this was the only book about qmail so like a fish drinking water, I bought the book a couple day ago. Joe Louthan [EMAIL PROTECTED] ----- Original Message ----- From: "Dennis" <[EMAIL PROTECTED]> To: "Choz Sun" <[EMAIL PROTECTED]> Sent: Sunday, January 28, 2001 1:33 AM Subject: RE: Newbie... couple of basic questions... > http://www.amazon.com/exec/obidos/ASIN/0672319454/o/qid=980667908/sr=8-1/ref > =aps_sr_b_1_1/102-6725022-5795349 > > > -----Original Message----- > > From: Choz Sun [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, 28 January 2001 6:05 PM > > To: qmail-list > > Subject: Newbie... couple of basic questions... > > > > > > I am a newbie sysadmin who has just setup his very first e-mail server > > running RH 7.0 with OpenSSH, qmail and qmail-pop3d (utilizing maildir's). > > > > I been having problems with sending out e-mail (i.e. not at all) so my > > question would be: besides qmail.org and 'life with qmail', can anyone > > recommend any good sources on installing, maintaining and tweaking qmail. > > > > Thanks in advance... > > > > > > Joe Louthan > > [EMAIL PROTECTED] > > > > > >
> I been having problems with sending out e-mail (i.e. not at all) OK, some things to check: Is /usr/sbin/sendmail and /usr/lib/sendmail a symlink to /var/qmail/bin/sendmail Are the qmail processes (which you start with '/var/qmail/rc &' in /etc/rc.d/rc.local) running. Run 'ps -ef | grep qmail' and see if Qmail is there. And, since you mentioned that you are a Newbie sysadmin using RH7, please, pretty please update (or get rid of) the various remote root exploits that RedHat 7 comes with. More information at: http://www.redhat.com/support/errata/rh7-errata-security.html A Linux box that can be remotely rooted is a headache to the entire internet community. - Sam
> I have add a 'vmailmgrquotas' file in /var/qmail/control/ > What have I to do to made qmail read this file ? > whitch daemon must be restarted ? qmail-send needs to be restarted. e.g. kill -HUP 186 or kill 186 ; /var/qmail/rc & - Sam > 186 ? S 0:00 qmail-send
root@[moj /root] # echo "`uname` `uname -r`" FreeBSD 4.2-RELEASE I have installed: qmail-1.03 qmail-contrib-0.1 (fast/dot-forward) checkpassword-0.90 ucspi-tcp-0.88 daemontools-0.70 ------------------------ My hostname is "moj.localhost" (its vmware machine). I am running local DNS Server and domain is resolveable: root@[moj /etc/namedb] # nslookup -q=mx moj.localhost Server: localhost Address: 127.0.0.1 moj.localhost preference = 10, mail exchanger = localhost localhost nameserver = localhost localhost internet address = 192.168.1.111 ------------------------ Computer has assigned IP 192.168.1.111: root@[moj /etc/namedb] # ifconfig lnc0 | grep inet inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 ------------------------ I'm running all qmail services via daemontools. In startup sequence: root@[moj /etc/namedb] # cat /etc/rc.local PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin csh -cf 'svscan /service &' /var/qmail/rc root@[SCREEN0.moj /var/qmail] # more rc #!/bin/sh # Using splogger to send the log through syslog. # Using dot-forward to support sendmail-style ~/.forward files. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|dot-forward .forward ./Maildir' splogger qmail& ------------------------ After boot are all services up and responding on their ports but! From syslog: Jan 28 01:36:07 moj qmail: 980645767.876530 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.080208 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.255287 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.270074 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.397515 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.640280 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.651857 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.773373 alert: cannot start: qmail-send is already running Jan 28 01:36:08 moj qmail: 980645768.944330 alert: cannot start: qmail-send is already running Jan 28 01:36:09 moj qmail: 980645769.131186 alert: cannot start: qmail-send is already running Jan 28 01:36:09 moj qmail: 980645769.147822 alert: cannot start: qmail-send is already running I must: svc -d /service/qmail/ :( I don't see qmail-send in processes... root@[moj /root] # pstree init-+-cron |-inetd-+-telnetd---tcsh---pstree | `-telnetd---tcsh |-named |-perl |-qmail-lspawn |-2*[qmail-rspawn] |-qmail-send-+-qmail-clean | |-qmail-lspawn | |-qmail-rspawn | `-splogger |-10*[qmail-start] |-rwhod |-sh---mysqld |-svscan-+-4*[supervise---multilog] | |-4*[supervise---tcpserver] | `-supervise---supervise +-syslogd Output is same when I do: svc -u /service/qmail or: svc -d /service/qmial ------------------------ Second problem is problem with local delivery. When I tried: root@[moj /root] # echo to: root | /var/qmail/bin/qmail-inject In syslog were: Jan 28 01:42:33 moj qmail: 980646153.091524 new msg 9725 Jan 28 01:42:33 moj qmail: 980646153.102897 info msg 9725: bytes 203 from <[EMAIL PROTECTED]> qp 4793 uid 0 Jan 28 01:42:33 moj qmail: 980646153.115406 starting delivery 1: msg 9725 to local [EMAIL PROTECTED] Jan 28 01:42:33 moj qmail: 980646153.121666 status: local 1/10 remote 0/20 Jan 28 01:42:33 moj qmail: 980646153.330201 delivery 1: success: did_1+0+1/ Jan 28 01:42:33 moj qmail: 980646153.338030 status: local 0/10 remote 0/20 Jan 28 01:42:33 moj qmail: 980646153.338217 end msg 9725 But via pop3d: root@[moj /root] # t 0 110 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. +OK <[EMAIL PROTECTED]> user root +OK pass x +OK stat +OK 0 0 Directory structure via ls: root@[moj /root] # ls -l Maildir total 3 drwx------ 2 root wheel 512 Jan 27 13:47 cur drwx------ 2 root wheel 512 Jan 27 13:47 new drwx------ 2 root wheel 512 Jan 27 13:47 tmp root@[moj /root] # more .qmail ./Maildir/ root@[moj /root] # ls -l Maildir/new Maildir/cur Maildir/tmp Maildir/cur: Maildir/new: Maildir/tmp: Hmm, where was that message delivered? :) ------------------------ Two questions: 1) How can I fix qmail-send problem? 2) What is wrong with root' Maildir? -- TPS more? http://tps.sk
On Sun, Jan 28, 2001 at 10:50:15AM +0100, Tomas TPS Ulej wrote: > root@[moj /root] # echo "`uname` `uname -r`" > FreeBSD 4.2-RELEASE > I'm running all qmail services via daemontools. In startup sequence: > > root@[moj /etc/namedb] # cat /etc/rc.local > PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin csh -cf 'svscan /service &' > /var/qmail/rc > remove the last line, daemontools will run /var/qmail/rc . > root@[SCREEN0.moj /var/qmail] # more rc > #!/bin/sh > > # Using splogger to send the log through syslog. > # Using dot-forward to support sendmail-style ~/.forward files. > # Using qmail-local to deliver messages to ~/Mailbox by default. > > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start '|dot-forward .forward > ./Maildir' splogger qmail& > remove the last character, rc must run foreground to be supervised. > I don't see qmail-send in processes... > > |-qmail-send-+-qmail-clean > | |-qmail-lspawn > | |-qmail-rspawn > | `-splogger > |-10*[qmail-start] ups. > root@[moj /root] # t 0 110 > Trying 0.0.0.0... > Connected to 0. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > user root > +OK > pass x > +OK > stat > +OK 0 0 qmail never delivers to root. You need to have ~alias/.qmail-root or root in /etc/aliases if fastforward is run in ~alias/.qmail-default . > Hmm, where was that message delivered? :) > See the logs. Probably in alias' Maildir. Gerrit. -- [EMAIL PROTECTED] innominate AG the linux architects tel: +49.30.308806-0 fax: -77 http://www.innominate.com
>> root@[moj /etc/namedb] # cat /etc/rc.local >> PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin csh -cf 'svscan /service &' >> /var/qmail/rc >> pic> remove the last line, daemontools will run /var/qmail/rc . Yes is allready removed. I paste old version of /etc/rc.local. Actual is: root@[moj /root] # cat /etc/rc.local /etc/webmin/start PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin csh -cf 'svscan /service &' #/var/qmail/rc >> root@[SCREEN0.moj /var/qmail] # more rc >> #!/bin/sh >> >> # Using splogger to send the log through syslog. >> # Using dot-forward to support sendmail-style ~/.forward files. >> # Using qmail-local to deliver messages to ~/Mailbox by default. >> >> exec env - PATH="/var/qmail/bin:$PATH" \ >> qmail-start '|dot-forward .forward >> ./Maildir' splogger qmail& Yes this caused that problem with "allready run"... after I removed "&" from the end of line.. all works fine >> I don't see qmail-send in processes... >> >> |-qmail-send-+-qmail-clean pic> ups. OK, I'm blind ;) pic> See the logs. Probably in alias' Maildir. Yes that was in ~alias/Maildir - but this was file, not directory ;( pic> qmail never delivers to root. pic> You need to have ~alias/.qmail-root or root in /etc/aliases if fastforward pic> is run in ~alias/.qmail-default . I have one... root@[moj /var/qmail/alias] # more .qmail-root /root/Maildir/ And now: Jan 28 02:24:46 moj qmail: 980648686.189767 starting delivery 1: msg 9725 to local [EMAIL PROTECTED] Jan 28 02:24:46 moj qmail: 980648686.190155 status: local 1/10 remote 0/20 Jan 28 02:24:50 moj qmail: 980648690.270254 delivery 1: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/ Jan 28 02:24:50 moj qmail: 980648690.271863 status: local 0/10 remote 0/20 pic> Gerrit. Thanx for fast response! ;) Cheers, -- TPS more? http://tps.sk