qmail Digest 10 Jan 2001 11:00:00 -0000 Issue 1240
Topics (messages 54929 through 54979):
QMTP over SMTP connection
54929 by: Tullio Andreatta
54935 by: Henning Brauer
54963 by: Peter van Dijk
Two questions (mail to everyone, webmail)
54930 by: Ould
54936 by: Henning Brauer
54944 by: mbailey.journey.net
54959 by: Grant
Dot in email adress
54931 by: Alan R.
54938 by: Johan Almqvist
54939 by: James Raftery
54943 by: Greg Owen
54945 by: James Raftery
54969 by: Russell Nelson
54972 by: Boz Crowther
54979 by: Ricardo Cerqueira
Re: patch qmail-ldap
54932 by: Henning Brauer
Re: Suggestion regarding qmtp patch to qmail-remote.c
54933 by: Henning Brauer
54937 by: Johan Almqvist
54941 by: Henning Brauer
Re: strange problems with qmail and vpopmail.
54934 by: Henning Brauer
problem in pop3d
54940 by: roshan
54949 by: Kris Kelley
Re: getting help with tcpserver
54942 by: Claudio Nieder
Re: footer patch??
54946 by: qmail.col7.metta.lk
54948 by: Johan Almqvist
Deny for DNS Mismatch
54947 by: Jamin A. Brown
Re: badmailpattern
54950 by: root
54960 by: Mark Delany
54966 by: Andrew Richards
Getting this list via QMTP
54951 by: Johan Almqvist
54964 by: Peter van Dijk
54967 by: Peter van Dijk
Messages Disappearing!
54952 by: I. Herman
Re: qmail - ms sql server
54953 by: Charles Boening
bounce html-mails
54954 by: Martin Kos
Re: Question about configuration of Qmail for relaying
54955 by: Erwin Hoffmann
badmailfrom with exceptions
54956 by: Hans Vansweevelt
Re: control/mailroutes (was: QMTP autoreply tester)
54957 by: Dave Sill
Big Load with AmaVis + Sophos
54958 by: Igor Loncarevic
Re: message numbers repeating?
54961 by: Peter van Dijk
54962 by: Johan Almqvist
54965 by: Peter van Dijk
Precedence: bulk ???
54968 by: Peter van Dijk
Re: FIX! (was: qmail-1.03-qmtpc-mailroutes.patch)
54970 by: Russell Nelson
Re: addition to qmail init script
54971 by: Russell Nelson
qmail news now on Slashdot
54973 by: Russell Nelson
why -o- why?
54974 by: Kurth Bemis
54975 by: David Dyer-Bennet
Problem with slow inbound connection
54976 by: Dian Pamilih
54977 by: Alex Pennace
54978 by: Dian Pamilih
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]
----------------------------------------------------------------------
I started writing a qmail version who use a new SMTP syntax to start a QMTP conversation over a SMTP protocol: S> 220 ready C> HELO mail.test S> 250 mail.test C> PROTO QMTP After this command, a standard smtp server returns a 5xx reply: sendmail:> 500 Command unrecognized: "PROTO QMTP" qmail:> 502 Unimplemented My qmail-smtpd start a patched qmail-qmtpd (responding "421 failure" if exec fail); qmail-qmtpd then reply S> 220 switching to QMTP and then start the new protocol. I identified the sources to patch: qmail-smtpd.c, qmail-qmtpd.c, and qmail-remote.c . The patch for qmail-smtpd.c is trivial: a new smtpcommands[] entry, a new procedure smtp_proto who check the argument and execute "bin/qmail-qmtpd" (and print 421 if exec fails). I then tried to patch qmail-qmtpd adding only an option to send the 220 reply, but qmail-qmtpd does not implement some useful features that must be present on a public mail exchanger (i.e. no relay control ...). May be it's a good idea, but the task is too big for me. Someone interested? -- Tullio Andreatta Logicom S.r.l. (Gruppo Finmatica) http://www.logicom.it/ Sede operativa: Via Vergnano, 2 - I-25100 Brescia ITALY
Am Donnerstag, 1. Januar 1970 00:59 schrieb Tullio Andreatta: > I started writing a qmail version who use a new SMTP syntax to start a > QMTP conversation over a SMTP protocol: > May be it's a good idea, but the task is too big for me. > Someone interested? It's no good idea to start a SMTP conversion and switch to QMTP later. MXPS (http://cr.yp.to/proto/mxps.txt) is the better solution. Russel Nelson has released a patch for qmail-remote to do that. -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
On Tue, Jan 09, 2001 at 12:15:16PM +0100, Tullio Andreatta wrote: [snip] > May be it's a good idea, but the task is too big for me. It's not a good idea. - by the time your method has started QMTP, all or most of the latency that QMTP tries to avoid has been introduced by the negotiation. - your method adds another roundtrip to SMTP conversations with hosts that don't suport QMTP (this can be solved by only reacting if the initial SMTP greeting contains the QMTP word, just like ESMTP) Anyway, MXPS is the way to go until somebody comes up with something *better*. Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
Hello, 1) suppose I want to create a group "admin" on my system and giving it qmail account (i.e. Maildir). I have severals persons in this group. I want that mail sent to group sadmin (e.g. [EMAIL PROTECTED]) go to all persones in this group, instead to sent for everyone among them separatly? More generaly, how I can sent message that everybody in my domaine receive? 2) I installed IMAP/Horde/IMP on my relay server and IMAP, from my web site I can sent messages, but can not imap/pop them. As IMAP do not supporte Maildir format, I'm testing maildir2mbox to change to Unix classical format, but this don't changing anything. What I can do to allow users getting their mail on my LAN server from web site? PS: I'm copying c-client, mail.h ... on the LAN server. telling firewall to allow IMAP/POP from Relay to Lan and vice-versa. Thanks __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
Am Dienstag, 9. Januar 2001 12:09 schrieb Ould: > As IMAP do not supporte Maildir format, IMAP itself is independent from where and how mail is stored. Just your imap server isn't Maildir capable. Use courier-imap, it is written for maildirs. -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
Recompile your IMAP server code setting it up for Maildirs. We are happily using IMP and QMAIL.. On Tue, 9 Jan 2001, [iso-8859-1] Ould wrote: > Hello, > > 1) suppose I want to create a group "admin" on my system > and giving it qmail account (i.e. Maildir). I have severals > persons in this group. I want that mail sent to group > sadmin (e.g. [EMAIL PROTECTED]) go to all persones in > this group, instead to sent for everyone among them > separatly? > More generaly, how I can sent message that everybody in my > domaine receive? > > 2) I installed IMAP/Horde/IMP on my relay server and IMAP, > from my web site I can sent messages, but can not imap/pop > them. > As IMAP do not supporte Maildir format, I'm testing > maildir2mbox to change to Unix classical format, but this > don't changing anything. > What I can do to allow users getting their mail on my LAN > server from web site? > > PS: I'm copying c-client, mail.h ... on the LAN server. > telling firewall to allow IMAP/POP from Relay to Lan and > vice-versa. > > Thanks > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos - Share your holiday photos online! > http://photos.yahoo.com/ >
Edit the /home/admin/.qmail file. Add all the addresses you want to be on the "list", the file will look something like this: ./Maildir/ &[EMAIL PROTECTED] &[EMAIL PROTECTED] EOF On Tue, 9 Jan 2001, [iso-8859-1] Ould wrote: > Hello, > > 1) suppose I want to create a group "admin" on my system > and giving it qmail account (i.e. Maildir). I have severals > persons in this group. I want that mail sent to group > sadmin (e.g. [EMAIL PROTECTED]) go to all persones in > this group, instead to sent for everyone among them > separatly? > More generaly, how I can sent message that everybody in my > domaine receive? > > 2) I installed IMAP/Horde/IMP on my relay server and IMAP, > from my web site I can sent messages, but can not imap/pop > them. > As IMAP do not supporte Maildir format, I'm testing > maildir2mbox to change to Unix classical format, but this > don't changing anything. > What I can do to allow users getting their mail on my LAN > server from web site? > > PS: I'm copying c-client, mail.h ... on the LAN server. > telling firewall to allow IMAP/POP from Relay to Lan and > vice-versa. > > Thanks > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos - Share your holiday photos online! > http://photos.yahoo.com/ >
Title:Hi, everybody, how are you?
I have a problem. I have installed qmail as my mail server. I use alias files in alias account
("/var/qmail/alias") to create some redirection adress that i need.
Today, i tried to create an account with the file ".qmail-ar.rubin", but when someone sends
email to this account, it returns with the below message. The ".qmail-ar.rubin" has the follow line:
[EMAIL PROTECTED]
which generates a redirection to my e-mail adress.
Someone knows why is these happening ? I can�t create email accounts with dots ?
Thanks,
Alan R.----
Email Message that was returned:
Hi. This is the qmail-send program at villas.lps.ufrj.br.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 3293 invoked from network); 9 Jan 2001 11:15:49 -0000
Received: from unknown (HELO ginsberg.uol.com.br) (200.231.206.26)
by 146.164.47.159 with SMTP; 9 Jan 2001 11:15:49 -0000
Received: from lpi2 ([146.164.47.186])
by ginsberg.uol.com.br (8.9.1/8.9.1) with SMTP id JAA08670
for <[EMAIL PROTECTED]>; Tue, 9 Jan 2001 09:15:21 -0200 (BRST)
From: "Alan R." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Teste
Date: Tue, 9 Jan 2001 09:15:02 -0200
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
Teste
On Tue, Jan 09, 2001 at 09:28:53AM -0200, Alan R. wrote: > I have a problem. I have installed qmail as my mail server. I use alias > files in alias account > ("/var/qmail/alias") to create some redirection adress that i need. > Today, i tried to create an account with the file ".qmail-ar.rubin", but > when someone sends > email to this account, it returns with the below message. The > ".qmail-ar.rubin" has the follow line: > [EMAIL PROTECTED] man 5 dot-qmail replace the dot (.) with a colon (:) in the name of the .qmail file, ie .qmail-ar:rubin -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
On Tue, Jan 09, 2001 at 09:28:53AM -0200, Alan R. wrote: > Today, i tried to create an account with the file ".qmail-ar.rubin", but > when someone sends > email to this account, it returns with the below message. The [snip] > Someone knows why is these happening ? I can´t create email accounts with > dots ? qmail replaces dots with colons before delivery. Rename the file as .qmail-ar:rubin and it should work as expected. (Is this in the man pages? I couldn't find it during a quick search) james -- James Raftery (JBR54) "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
> qmail replaces dots with colons before delivery. Rename the file as > .qmail-ar:rubin and it should work as expected. > (Is this in the man pages? I couldn't find it during a quick search) man dot-qmail: ] WARNING: For security, qmail-local replaces any dots in ] ext with colons before checking .qmail-ext -- gowen -- Greg Owen -- [EMAIL PROTECTED] SoftLock.com is now DigitalGoods!
On Tue, Jan 09, 2001 at 09:02:24AM -0500, Greg Owen wrote: > man dot-qmail: Aha! Thanks. (That's a funny place to put it. Why not in the qmail-local man page?) james -- James Raftery (JBR54) "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Alan R. writes: > Someone knows why is these happening ? I can´t create email accounts with > dots ? I wish there was a way for me to get people to run http://qmail.org/qmail-lint-0.55 before they ask questions. Or even better, I wish that qmail included a program called "run-this-program-before-asking-questions". Or worse than the two of those, but better than nothing, would be to change qmail-local so that it would also search for a .qmail-ar.rubin when not finding the .qmail-ar:rubin it was expecting, and then give up the delivery saying "I substitute a colon for a dot when opening a .qmail file." -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
I'd say you'd have better luck getting people to stop giving newbies snotty answers on mailing lists designed to help them. ----- Original Message ----- From: "Russell Nelson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 8:24 PM Subject: Re: Dot in email adress Alan R. writes: > Someone knows why is these happening ? I can´t create email accounts with > dots ? I wish there was a way for me to get people to run http://qmail.org/qmail-lint-0.55 before they ask questions. Or even better, I wish that qmail included a program called "run-this-program-before-asking-questions". Or worse than the two of those, but better than nothing, would be to change qmail-local so that it would also search for a .qmail-ar.rubin when not finding the .qmail-ar:rubin it was expecting, and then give up the delivery saying "I substitute a colon for a dot when opening a .qmail file." -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
On Tue, Jan 09, 2001 at 09:03:44PM -0800, Boz Crowther wrote: > I'd say you'd have better luck getting people to stop giving newbies snotty > answers on mailing lists designed to help them. Yeap. Those mailing lists suck. Fortunately, this is the _qmail discussion list_, not a list to help newbies, so we don't fall in that category. RC -- +------------------- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis Telecom - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459
Am Dienstag, 9. Januar 2001 15:51 schrieb one: > > Hi All > > I want to setup qmail for ldap. I patch src of qmail by command > > # patch -p1 < qmail-ldap-1.03-20001201.patch > But this command is alert error : > Hunk #1 failed at line 0. please use the qmail-ldap mailing list for qmail-ldap related stuff. You'll need a clean qmail-1.03 tree to succeed. tar xzf qmail-1.03.tar.gz cd qmail-1.03 lynx --source http://www.nrg4u.com/qmail/qmail-ldap-1.03-20010101.patch.gz \ | gunzip -c | patch -p1 (the lynx...patch stuff is one line) Also check "life with qmail-ldap", http://www.lifewithqmail.org/ldap/ Greetings Henning -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
Am Dienstag, 9. Januar 2001 11:36 schrieb Johan Almqvist: > Do we want smtp to say: > success: > smtp:192.203.178.8_accepted_message./Remote_host_said:_250_ok_978720863_qp_ >22711/ I'd not change the this, it makes smtp log entries incompatible with stock qmail. Even if it's more logical. -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
On Tue, Jan 09, 2001 at 01:13:07PM +0100, Henning Brauer wrote: > Am Dienstag, 9. Januar 2001 11:36 schrieb Johan Almqvist: > > Do we want smtp to say: > > success: > > smtp:192.203.178.8_accepted_message./Remote_host_said:_250_ok_978720863_qp_ > >22711/ > I'd not change the this, it makes smtp log entries incompatible with stock > qmail. Even if it's more logical. I definitely see your point. However, I've included it in the latest patch... I'd really like too see some feedback... About the logging: There should be a way to see what proto was used for delivery... but smtp is 'the default' in other parts of the patch, so it could here too. However, the log will be incompatible anyhow, because right now, an eventual analysis tool will just not see the qmtp deliveries at all. To fix that, my patch minus the protocol information must be used, and maybe (depending on the log analysis tool ;-) I'd even have to fake an SMTP status code for the qmtp transfers. Yuck! How do you want it? -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
Am Dienstag, 9. Januar 2001 13:13 schrieb Johan Almqvist: > However, the log will be incompatible anyhow, because right now, an > eventual analysis tool will just not see the qmtp deliveries at all. To > fix that, my patch minus the protocol information must be used, and maybe > (depending on the log analysis tool ;-) I'd even have to fake an SMTP > status code for the qmtp transfers. Yuck! No, don't fake smtp status codes. If you wan't a new feature (qmtp deliveries) you'll have to upgrade, if you wan't to anylyse them. you'll have to upgrade too. > How do you want it? > > -Johan ---------------------------------------- Content-Type: application/pgp-signature; charset="us-ascii"; name="Anhang: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
Am Dienstag, 9. Januar 2001 12:00 schrieb Jesús Arnáiz: > Hi everyone! > > I use qmail and vpopmail. Use the vpopmail mailing list. -- Henning Brauer | BS Web Services Hostmaster BSWS | Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg www.bsws.de | Germany
my computer crashes when prince tries to go through the secret door of the library.
> my computer crashes when prince tries to go through the secret door of the > library. Tell him to use a name that the computer can actually recognize. ---Kris Kelley
Hi, > I am having problems using tcpserver, I am trying to run sshd under it. That's whatI use: # more /service/sshd/run /service/sshd/log/run :::::::::::::: /service/sshd/run :::::::::::::: #!/bin/sh exec env - tcpserver -v -H -R -P -l0 0 22 /usr/sbin/sshd -f /etc/ssh/sshd_config -i 2>&1 :::::::::::::: /service/sshd/log/run :::::::::::::: #!/bin/sh exec /usr/bin/setuidgid qmaill /usr/bin/multilog t /var/log/sshd 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
On Tue, Jan 09, 2001 at 11:00:08AM +0100, Johan Almqvist wrote: > On Mon, Jan 08, 2001 at 03:34:17PM -0600, David L. Nicol wrote: > > if you don't mind jamming it on at end of MIME,you could open up qmail-remote > > and stick it within blast(), like this: > > char *Footer = "\r\nAlmqvist Industries makes no claims of\r\n" > > "the accurracy of any claims made by any of\r\n" > > "our employees.\r\n"; /* new */ > > That would stick it in all mail that goes off the system. That may or may > not be wanted. QMAILQUEUE patch would let you control that from tcprules. > (Use one queueing program for mail that needs the footer and the original > qmail-queue for the rest). One would also want to scan the file and see if it is in html format or txt format as the footer at the end of an html format would not make much sence. One would have to write a small program that will scan the file, identify what format the mail is in, then add the message that is appropriate for the format. I would much appriciate to know if anyone has done that Mettavihari Sri Lanka.
On Tue, Jan 09, 2001 at 07:48:17PM +0600, [EMAIL PROTECTED] wrote: > I would much appriciate to know if anyone has done that Quick and dirty and untested: #!/usr/bin/perl -n my $toolate = 0; my $type = 'unknown'; while (<>) { if (/^Content-Type:\s+text\/plain/ && $toolate = 0) { $type = 'text' } elsif (/^$/) { $toolate = 1; # may be multipart/alternative... }; print; } if ($type eq 'text') { print "\r\n-- \r\nFoo-Bar Enterprises denies all knowledge of this message\r\n"; }; exit(0); Run with qmail-qfilter, or as qmail-queue (but pipe to the real qmail-queue in that case...) -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
Hello, Sorry to bring this to the list, as I'm sure that instructions for this are posted *somewhere*, but I can seem to find them. We are running Qmail with tcpserver, and would like to duplicate the sendmail feature of denying connections from mail servers which do not have DNS setup correctly for them. We are not so concerned with how a server IDs itself, (HELO) just as long as forward and reverse DNS for their hostname/IP matches. The last requirement is that we want to deny these connections with an error message. Denying with tcpserver directly just causes the remote host to contact the next highest preference MX server. Can anyone point me in teh direction of some good documentation on this? My inclanation at this point is to run tcpserver with -p and have it call a program that will deny the connection if $TCPREMOTEHOST is not set. Thanks for your time. Jamin ----------------------------------------------------------------- Jamin A. Brown Systems Operations Department [EMAIL PROTECTED] * Great Works Internet * 207.286.8686 x142 RSA PGP Key: http://www.gwi.net/~jamin/pgp/jamin.asc
control/badmailpatterns (note spelling), is not part of the stock qmail build. This patch can be found ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch I use it... works great! But please use w/ care (extra CPU load w/ pattern matching) --Larry M. Smith mailto:[EMAIL PROTECTED] cat BOFH | sed s/Operator/Postmaster/g > BPFH Marc-Adrian Napoli wrote: > no, > > i dont mean the badmailfrom file, i use that successfully already. > > i want to block all mails with a particular pattern inside them. i see there > is a "badmailpattern" control file on the qmail webpage but no one can > verify if it works or not. (it doesnt work for me, ive already tried. i was > wondering if it worked for anyone else). > > Regards, > > Marc-Adrian Napoli > Network Admin > Connect Infobahn Australia > +61 2 9212 0387 > > > On Mon, 8 Jan 2001, [EMAIL PROTECTED] wrote: > > > > > has anyone used this file with success? > > > > > > and if not why is it still in the docs? > > > > Do you mean badmailfrom? Yes I have used it with success, very easy to > use. > > -- > > B r e t t R a n d a l l > > http://xbox.ipsware.com/ > > brett _ @ _ ipsware.com > >
On Tue, Jan 09, 2001 at 01:44:51PM -0600, root wrote: > control/badmailpatterns (note spelling), is not part of the stock qmail build. > This patch can be found ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch This patch is only for qmail-1.02. Numerous people have asked whether there is a 1.03 version. Nope. Anyone is of course welcome to take this code and make it work for 1.03. I don't plan to. > I use it... works great! But please use w/ care (extra CPU load w/ pattern > matching) The extra CPU probably comes from reading the control file, not the pattern matching. By default the control file is read in blocks of 64 bytes which can mean a lot of reads on a large badmailpatterns file. Just change the 64 in control.c to something like 2048 redo the installation and you'll most likely see a significant drop in CPU. Final note. I have no access to that server anymore so I have no idea how long that patch will remain there. Regards. > > --Larry M. Smith > mailto:[EMAIL PROTECTED] > cat BOFH | sed s/Operator/Postmaster/g > BPFH > > > Marc-Adrian Napoli wrote: > > > no, > > > > i dont mean the badmailfrom file, i use that successfully already. > > > > i want to block all mails with a particular pattern inside them. i see there > > is a "badmailpattern" control file on the qmail webpage but no one can > > verify if it works or not. (it doesnt work for me, ive already tried. i was > > wondering if it worked for anyone else). > > > > Regards, > > > > Marc-Adrian Napoli > > Network Admin > > Connect Infobahn Australia > > +61 2 9212 0387 > > > > > On Mon, 8 Jan 2001, [EMAIL PROTECTED] wrote: > > > > > > > has anyone used this file with success? > > > > > > > > and if not why is it still in the docs? > > > > > > Do you mean badmailfrom? Yes I have used it with success, very easy to > > use. > > > -- > > > B r e t t R a n d a l l > > > http://xbox.ipsware.com/ > > > brett _ @ _ ipsware.com > > > >
Hi, > > control/badmailpatterns (note spelling), is not part of the stock qmail build. > > This patch can be found ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch > > This patch is only for qmail-1.02. Numerous people have asked whether > there is a 1.03 version. Nope. Anyone is of course welcome to take > this code and make it work for 1.03. I don't plan to. Oh, didn't know it's for 1.02. Still, the "Spamcontrol" monster patch (includes this and other patches) seems to work fine for 1.03, if I remember rightly... so it looks like someone's already got it working on 1.03. Hmm, it's late, I shan't check if spamcontrol is listed on qmail.org. If not, it does get "Announced" on this list, i.e. check the archives. cheers, Andrew.
Hi! I'm very keen on getting this list via qmtp, as to not abuse the SMTP gateway I'm currently using. Unless we can get DJB to replace his qmail-remote, I can see one solution: someone "close" to the cr.yp.to machines puts up a sublist and uses the patched qmail-remote. Any offers? -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
On Tue, Jan 09, 2001 at 08:11:30PM +0100, Johan Almqvist wrote: > Hi! > > I'm very keen on getting this list via qmtp, as to not abuse the SMTP > gateway I'm currently using. > > Unless we can get DJB to replace his qmail-remote, I can see one solution: > someone "close" to the cr.yp.to machines puts up a sublist and uses the > patched qmail-remote. Doesn't even need to be close, just well-connected. I'd be happy to do that on my server (to which I will move my qmail.org mirror soon, too). If you could provide me in private mail with concise instructions for setting up a sublist (I'm no ezmlm guru) I'll have a look. Could take a few days tho. Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
On Wed, Jan 10, 2001 at 12:13:24AM +0100, Peter van Dijk wrote: [snip] > > Doesn't even need to be close, just well-connected. I'd be happy to do > that on my server (to which I will move my qmail.org mirror soon, too). Everything seems to be up and running now, *but* list.cr.yp.to refuses to reply to any lists.dataloss.nl address. dataloss.nl works fine, lists.dataloss.nl works fine for anything but list.cr.yp.to. I'm confused. Blaming DNS TTLs and friends, I will try again tomorrow. Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
OK...i managed to stop the messages getting kicked back (for now).Now when I send a message from anywhere other than my machine...it disappears into limbo. If i use qmail-inject to test a message, it shows up w/no problem. I cannot get the mail from outside my computer tho.I am using ./Maildir/ in defaultdelivery and all the proper domains are listed in locals, etc. I have set up according to LWQ, but can't get the qmail-newu to work (missing the assign file) or qmail-users to xfer the /etc/passwd. Neither of them are working. Qmail was working fine, then all of a sudden, *poof* no more working.Thanks.
Izzie
Also search freshmeat.net for ODBCSocketServer ... I've used it to access MSSQL from perl scripts ... it has C code samples too ... requires an XML parser but you could change the socket server to return data in a different manner. You could probably write an authentication module for qmail using this method to access the data. Charlie -----Original Message----- From: Jonor Lacuesta [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 12:12 AM To: [EMAIL PROTECTED] Subject: qmail - ms sql server Hello I'm a newbie to qmail and I'm looking for information on its use. Have already check the FAQ's but didn't find an answer there. Is it possible for qmail, qmail-popup, qmail-pop3d to use Microsoft SQL Server to aunthenticate its users? Thanks! ************************* Jonor Lacuesta Systems Administrator Philippinemail.com "Send free postal letters to the Philippines FREE" http://www.philippinemail.com
hi everybody ! what is the best way to bounce all HTML-formatted mails that i get and do you also have a good text/link with an explanation how to disable HTML in some specific mail-clients? should i do the thing with qmail-scanner ? greets Martin -- http://www.kos.li/ [EMAIL PROTECTED] +41-76-384-93-33 ICQ# 13556143 Say NO to HTML in mail and news Proudly running Debian GNU/Linux. See http://www.debian.org/
Hi, At 11:26 5.1.2001 +0100, Henning Brauer wrote: >Am Freitag, 5. Januar 2001 07:35 schrieb Kui: > >> > I am a fresh user of Qmail and I have some question when I configurate it. >> I >> hope you may help me to solve these problem. Thx. >> 1) I have setup a Qmail and the domain of the mail server is mail.abc.com >> (abc is not the true domain) > >It makes really no sense to hide your real domain when requesting help here. > >> and now I want the users of def.com can also use the smtp service of my >> Qmail server. I have started the tcpserver with the following rules: >> 192.168.0.:allow,RELAYCLIENT="" >> def.com:allow,RELAYCLIENT="" >> abc:allow,RELAYCLIENT="" >> :allow >> >> Nevertheless, the smtp server still doesn't work. I just want the user with >> the email address [EMAIL PROTECTED] can send email through my Qmail server. What >> other things I need to do or where can I seek for help? >> Thank you very much if you can help me!!! > This task can be accomplished using the SPAMCONTROL patch. http://www.fehcom.de cheers. eh. >Henning Brauer | BS Web Services >Hostmaster BSWS | Roedingsmarkt 14 >[EMAIL PROTECTED] | 20459 Hamburg >www.bsws.de | Germany > +-----------------------------------------------------------------------+ | 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 | +-----------------------------------------------------------------------+
Is it possible to deny all mail from a domain (by putting it in badmailfrom) except for some specific mailaddresses from that domain which should be allowed ? Hans -------------------------------------------------------------------------- Hans Vansweevelt Labo for Quantumchemistry [EMAIL PROTECTED] Celestijnenlaan 200F Tel. : (32) 16 327595 B-3001 Heverlee Fax. : (32) 16 327992 Belgium --------------------------------------------------------------------------
Greg Owen <[EMAIL PROTECTED]> wrote: > It also seems to me that one of the design traits of qmail is >simplicity of config files - I can't find the reference, but I thought >somewhere DJB said that having to parse complex config files is a cause of >problems. See: http://cr.yp.to/qmail/guarantee.html particularly, item #5. -Dave
Hello, Is there any other solution to speed up process of scanning on qmail 1.03 + AmaVis + Sophos, and to lower load avg on machine (it can get high as 12).. besices nice-ing sweep from Sophos? Regards, i
On Sun, Jan 07, 2001 at 09:12:18PM +0100, Johan Almqvist wrote: [snip] > > [johan@alpha johan]$ grep 'msg 26226$' /var/log/maillog | tail > Jan 7 20:30:39 alpha qmail: 978895839.019739 new msg 26226 > Jan 7 20:30:39 alpha qmail: 978895839.700460 end msg 26226 > Jan 7 20:34:37 alpha qmail: 978896077.553056 new msg 26226 > Jan 7 20:34:38 alpha qmail: 978896078.792728 end msg 26226 > Jan 7 21:03:11 alpha qmail: 978897791.864174 new msg 26226 > Jan 7 21:03:13 alpha qmail: 978897793.668139 end msg 26226 > Jan 7 21:03:17 alpha qmail: 978897797.017629 new msg 26226 > Jan 7 21:03:17 alpha qmail: 978897797.663223 end msg 26226 > Jan 7 21:03:47 alpha qmail: 978897827.825925 new msg 26226 > Jan 7 21:03:48 alpha qmail: 978897828.517892 end msg 26226 > > This kinda worries me. Also makes log analysis a pest. What's wrong? Log analysis is trivial. At 'new msg' create a table entry for the message. At 'end msg' remove it. Reuse is no problem then. Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
On Tue, Jan 09, 2001 at 11:49:38PM +0100, Peter van Dijk wrote: > Log analysis is trivial. At 'new msg' create a table entry for the > message. At 'end msg' remove it. Reuse is no problem then. That's less trivial that the foreach (grep) {grep} i used :-> -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
On Wed, Jan 10, 2001 at 12:00:35AM +0100, Johan Almqvist wrote: > On Tue, Jan 09, 2001 at 11:49:38PM +0100, Peter van Dijk wrote: > > Log analysis is trivial. At 'new msg' create a table entry for the > > message. At 'end msg' remove it. Reuse is no problem then. > > That's less trivial that the foreach (grep) {grep} i used :-> That's not analysis :P Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
Talking to danp on irc and reading some sources, it *looks like* ezmlm sends out messages with 'Precedence: bulk', but rejects these when it gets 'm. This breaks sublists. Is danp doing something wrong, am I or crack? What is the story here? Greetz, Peter -- dataloss networks '/ignore-ance is bliss' - me 'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me
Magnus Bodin writes: > A future qmail needs a qmail-lint shipped with it. Note: I did *not* pay Magnus to say that. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
Bill Parker writes: > I was wondering, would it be possible to add the following to > my init script for qmail so that I can process tcprules changes on > a easier basis: I exclusively install qmail using daemontools-0.70. My rules are in /service/smtpd/tcp, and the cdb is correspondingly in /service/smtpd/cdb. And I've got a /service/smtpd/Makefile that looks like this: cdb: tcp tcprules cdb cdb.$$$$ <tcp If you want a generic copy of the setup I use, I've got it in http://qmail.org/service.tar.gz . -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
The qmail news file (http://qmail.org/news.rdf) is now carried by Slashdot. Go to http://slashdot.org/users.pl?op=edithome presuming, of course, that you are already logged into slashdot. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com | Government is the Crynwr sells support for free software | PGPok | fictitious entity by which 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | everyone else's expense.
coming fro ma sendmail background i have a few questions about the method that qmail does things. 1) If a local user doesn't exist sendmail gives you a error when sending mail. IE - i send mail to [EMAIL PROTECTED], the local account or alias kurthb doesn't exist so before accepting the message for delivery sendmail says User Unknows or whatever it says. Why didn't DJB have qmail do something similar. plus doesn't the sendmail method cut down on the number of disk writes? If somebody has a clear answer I'd love to hear it. Maybe DJB cares to address it himself :-) ~kurth
Kurth Bemis <[EMAIL PROTECTED]> writes on 10 January 2001 at 01:50:14 -0500 > coming fro ma sendmail background i have a few questions about the method > that qmail does things. 1) If a local user doesn't exist sendmail gives > you a error when sending mail. IE - i send mail to > [EMAIL PROTECTED], the local account or alias kurthb doesn't exist so > before accepting the message for delivery sendmail says User Unknows or > whatever it says. Why didn't DJB have qmail do something similar. plus > doesn't the sendmail method cut down on the number of disk writes? If > somebody has a clear answer I'd love to hear it. Maybe DJB cares to > address it himself :-) This information isn't know to qmail-smtpd. As part of the security segmentation, qmail-smtpd doesn't understand or have file access to the files that control the final delivery (which are in the user's directory and owned by the user; while smtpd is running not as root but as a dedicated user that may not have any access to user directories). -- David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED] SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/ Photos: http://dd-b.lighthunters.net/
I have some problem that affect the primary relay server. The problem occurs when a certain domain (which is slow, I guess) using postfix sending mail to a user in my domain. The connection from the domain spawn lot's of qmail-smtpd and qmail-queue, but due to slow connection it takes long time for a message to be transfered. Suddenly the hanging process of qmail-queue produces lot's of zombie processes, and the only thing I can do is to restart the relay machine. Is there any known problem with postfix (eg. the CR+LF issue) or is there any configuration tricks I should use? FYI I'm using tcpserver for handling the qmail-smtpd concurency. TIA, =pampie
On Wed, Jan 10, 2001 at 03:07:30PM +0700, Dian Pamilih wrote: > > I have some problem that affect the primary relay server. The problem > occurs when a certain domain (which is slow, I guess) using postfix > sending mail to a user in my domain. The connection from the domain > spawn lot's of qmail-smtpd and qmail-queue, but due to slow connection > it takes long time for a message to be transfered. Ok. > Suddenly the hanging > process of qmail-queue produces lot's of zombie processes, and the only > thing I can do is to restart the relay machine. This is a problem. qmail-smtpd should wait on child qmail-queues, or those zombie qmail-queues should be cleaned up by init if qmail-smtpd exits. What operating system are you running? How are you running tcpserver/qmail-smtpd?
Alex Pennace wrote: > > > This is a problem. qmail-smtpd should wait on child qmail-queues, or > those zombie qmail-queues should be cleaned up by init if qmail-smtpd > exits. What operating system are you running? How are you running > tcpserver/qmail-smtpd? Ok, this is the gore detail: I'm running Sun Solaris 2.5, Sun hardware, and I'm running tcpserver with this (taken from the sysVinit style, I make it short): -- snip --- <cut> QMAILHOME=/var/qmail # ~qmail USERID=`/usr/xpg4/bin/id -u qmaild` # UID to run with GROUPID=`/usr/xpg4/bin/id -g qmaild` # GID to run with PROG=qmail-smtpd # what program? COMMAND=/var/qmail/bin/qmail-smtpd # command to start $PROG DIR=/var/lock/$PROG # directory for supervise LOGDIR=/var/log/$PROG # directory to log to LOGUSER=qmaill # user to own logs LOGSIZE="-s 5000000" # size of logfile CDB=/etc/tcp.smtp.cdb # rules file CONCURRENT=255 # number of concurrent connections # (40 is the default of tcpserver) PORT=smtp # port to watch VERBOSE=-v # use verbose option to tcpserver INITDIR=/etc/init.d # location of initscripts RBL1="/usr/local/bin/rblsmtpd -t 60 -r rbl.maps.vix.com" <cut> supervise $DIR \ tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT $RBL1 $COMMAND \ 2>&1| setuser $LOGUSER accustamp \ | setuser $LOGUSER cyclog $LOGSIZE $LOGDIR & <cut> -- snap --- TIA, =pampie
PGP signature