Re: .qmail file does not work (this is right one ,first i made some mistake in it)
David, TRy putting the .qmail file into the ~vpopmail/domains/domainname/ directory instead. Hope this helps. Chuck Werbick, The Wirehouse David writes: Hello, everyone. 1st, sorry for my previous mail, I make a mistake in it. I'm using qmail+vpopmail+mysql I place a .qmail in ~vpopmail/domains/domainname/username/ directory (this is username's home directory) and write .qmail file like this [root@mail davidge]# cat .qmail |egrep -qw '(word1|word2|word3)' exit 99 || exit 0 /Maildir/ [root@mail davidge]# ls -al total 5 drwx-- 3 vpopmail vchkpw 1024 Jul 12 10:02 . drwx-- 46 vpopmail vchkpw 2048 Jul 5 23:43 .. -rw-r--r-- 1 vpopmail vchkpw 65 Jul 12 10:02 .qmail drwx-- 9 vpopmail vchkpw 1024 Jul 12 10:00 Maildir [root@mail davidge]# pwd /mail/domains/1stchina.com/davidge But it does not work! any letter with word1 or without it can be send to my email anyone have some advertises? or someone tell me where to found a whole document about .qmail file or another way to filter incoming email by user. Thanks a lot. Any suggestions to [EMAIL PROTECTED] are welcome. Sincerely yours, David 00-7-12 8:42:59
Re: cannot poll mails for users frm maildir
Mitul, Is your $USERID variable set to root? In order to POP it needs to be. Hope this helps. Regards, Charles Werbick The Wirehouse
Re: Running instructions in mail bodies
Wang-hua Li, It's possible to do this. However, I agree that this could pose a security risk(some old sendmail exploits relied on the mailer to execute commands). If someone found an exploit in this program OR one of the programs it executes, they could execute an arbitrary code as that user(i.e. sending a REALLY long message could overflow a buffer). If the commands are or need to be run as root, this could mean root access. If you must execute commands remotely, use SSH, or for a web interface, CGI under HTTPS(with authentication!). This provides password protection and encryption. This would also protect the data returned to the user. Hope this helps. Regards, Charles Werbick The Wirehouse [EMAIL PROTECTED] writes: Hi there, I undertand that this is not really a qmail question but am still wondering if someone here could give me some suggestioins. I was asked to do some research on "running instructions contained in a mail body", that is, users send their requests by mails and the server parse the messages and then run the instructions assigned by the requesters in the message body and perhpas if any output, send the result back by mail to the requesters. It works just like a mailing list but of course, the commannds I am talking about are not 'subscribe', 'unsubcribe'..., etc. I, personally, don't like this idea. Firstly I feel that there might be security problems though I can't exactly point them out now, and also, I think the same function could be done easier and perhaps more secure in the form of Web page (w/CGI running). I wonder if anyone out there really have done something like this ? or could someone give some reasons why this is not a good idea, so I could convince my boss ? Thanks in advance, --- Wang-hua Li
Re: Where to read about single uid/gid virtual domain delivery?
Julian, There's a howto at- http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.html You may also want to check out vpopmail at- http://www.inter7.com/vpopmail Hope this helps. Regards, Charles Werbick The Wirehouse Julian L. Cardarelli writes: Where do I read about single uid/gid virtual domain delivery/pop? J
Re: load balancing two qmail servers using nfs
Mike, You might make sure that the UID/GIDs map the same on both servers and the NFS machine. i.e.- If the qmaild user is user 500 on the first server, but is a different UID number on the second server or the NFS machine you might have problems. Also, what do your tcpserver init scripts look like for both servers? They should be identical. Regards, Charles Werbick The Wirehouse Mike Denka writes: Hmmm . . . that's a good thought. I really hadn't considered using rsync since NFS seems to be working fine at least in terms of handling large mail volumes. But rsync would have some distinct advantages. However, I don't think that is the source of my problems because I had access problems getting to the control files when first setting up the server and the error messages in /var/log/syslog are pretty clear (e.g., "Can't_read_control", or something to that affect). Thanks for the rsyinc tip. I will try it out. Meanwhile, any other thoughts on why the second server suddenly cannot make smtp connections to the outside world or chdir to Mailbox? Mike -Original Message- From: steve j. kondik [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 24, 2000 12:39 AM To: [EMAIL PROTECTED] Subject: Re: load balancing two qmail servers using nfs you might consider using rsync to sync your conffiles, instead of sharing them over nfs. this would eliminate alot of problems and latency i'd think. On 06/24/00 @ 12:11AM, Mike Denka wrote: I've got two qmail servers running inside a load balancer. They both access the same /var/mail/username/Maildir directories on an NFS server. They also share many of the same configuration files in /var/qmail/control on the NFS server. The files they share are local symbolic links to the shared volume on the NFS server. A few hours after bringing up the second qmail server, the first one, which had been running fine for two weeks, quit working. The errors I am getting in the syslog file on the failing server are "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir". Anyone have any success with this configuration or have any idea what could be causing the first server to loose its way? Running qmail and NFS on Solaris 2.7 (first server and NFS server) and 2.8 (second qmail server). The first server (the one failing) responds to connections on port 25 but can't send or deliver and is not spawning any qmail processes. The second server is now doing all the work. Thanks, Mike -- Steve J. Kondik [EMAIL PROTECTED] Stargate Industries, LLC - Network Operations Center
Re: help - very slow POP3 mail retrieval
Greg, I had a similar problem a few months back. Turns out that the permissions/ownership on my Maildirs were kludged. I suspect you may have a similar problem. Are you using user accounts or virtual domains? regards, Chuck Werbick The Wirehouse Internet Cafe Greg Jorgensen writes: I manage a server at a small business. The server is a P133 with 32 megs of RAM, running RedHat 6.1, Samba, and qmail 1.03. There are only five users connected to the server, all running Windows 98, and they are very light users. The entire office gets maybe 20 emails a day. For some reason email messages longer than just a few lines take a VERY long time to download, with numerous "server timeout" messages. This is not specifically a qmail problem (see my tests below), but I'm hoping someone will have some clues. The qmail-pop3d .run file (running from supervise) is: tcpserver -H -R -l server.local.net 0 110 \ qmail-popup server.local.net \ checkpassword qmail-pop3d Maildir 21 \ splogger pop3d (I've tried this with without splogger, tcpserver, and supervise.) Sending a message approx. 100K locally (never leaves the LAN) can take 5-10 minutes to retrieve. A message with several large attachments can take HOURS to download. These are all of the things I've tried, to no avail. As far as I can tell nothing has an effect. * Sending the message is fast, so SMTP service and overall network performance are OK. * Copying the same file to/from the server (onto a Samba share) is fast. * DNS checked and re-checked; all workstations see each other, and pings to/from the server are under 1ms. * Replaced qmail-qpop3d with gnu-pop3d. * Replaced entire qmail setup with postfix/gnu-pop3d. * Stopped all unnecessary services. Stopped Samba. * We're using MS Outlook Express. Downloaded Eudora 4.3 and tried it. Same problem. In fact telnetting to port 110 and retrieving the message is slow. * Authenticating to qmail-pop3d works OK, so there's no problem or reverse-DNS lookup problem. It's the actual message retrieval that takes a long time and/or times out. * NIC diagnostics are OK. Nothing unusual in the Linux boot messages or logs. * Replaced the NIC in the server. * Disconnected all workstations and the firewall (WebRamp 700s) from the switch (Bay Networks 10/100 8-port) so just the server and one workstation were connected. I have searched Deja and used Google to scour the web but I haven't found anyone else reporting this problem. I've tried everything I can think of. Please post suggestions here or send email. Thanks! Greg Jorgensen Programmer, pedant, raconteur Portland, Oregon USA gregj#pobox.com
RE: checkpassword and Openbsd 2.6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oops, That was totally bogus. Too many hours awake... you may try the -u and -g options set to root for pop3 instance of tcpserver. Regards Charles Werbick -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOROPvr4UXtxZ1qcBEQJnXgCgv/sMkosmBKr1qw/fViLrL3LAQo4AnRWU xvZYVAC2tNyyM55g06Alde76 =4bWT -END PGP SIGNATURE-
RE: checkpassword and Openbsd 2.6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, Are you by chance running the shadow password suite? Charles Werbick - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dale Miracle Sent: Friday, May 05, 2000 21:39 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: checkpassword and Openbsd 2.6 I just tried that and no go, same error. Thanks for the suggestion though... I wish my pop3d would get logged then I might be able to figure out why it isn't taking my password. Can you think of any other idea's? I tried the /var/qmail/bin/qmail-popup host /bin/checkpassword pwd but replaced the host with atlas.teoi.net and it workeddid that just to double verify it wasn't a hostname problem. Thanks, Dale -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOROZD74UXtxZ1qcBEQJmWgCg7l1mHxtiUcd9iHQ1Us5vVrtwi0QAoIKx YMw/WXid/MwGeWwMBS/Z/w9+ =Yp3j -END PGP SIGNATURE-
RE: Can you help me install Qmail?
Jeff, I had a similar problem, so I installed the source rpm(rpm -Uvh filename), and built the package from the SPECS directory(rpm -ba specfilename). I also had to add the qmail users/groups manually(prior to the build). After that, it built and installed fine. Hope this helps... Regards, Charles Werbick The Wirehouse -Original Message- From: Jeff Dilcher [mailto:[EMAIL PROTECTED]] Sent: Monday, April 17, 2000 19:50 To: [EMAIL PROTECTED] Subject: Can you help me install Qmail? I am installing Qmail from RPM on a Redhat 6.1 system. I am having a bit of trouble with the following instruction: According to the README.var-qmail: --- 4) Get the package qmail-1.03-102memphis.src.rpm from this directory. This package does not contain the qmail sources; it contains a tarball of the compiled qmail binaries and a spec file. Execute rpm --rebuild qmail-1.03-102memphis.src.rpm -- So I do it, and here is what I get: [root@cueva /root]# rpm --rebuild qmail-1.03-102memphis.src.rpm Installing qmail-1.03-102memphis.src.rpm Bad owner/group: /usr/src/redhat/SOURCES/var-qmail-1.03.tar.gz Here is ls -la of /usr/src/redhat/SOURCES/ [root@cueva /root]# ls -la /usr/src/redhat/SOURCES/ total 300 drwxr-xr-x 2 root 04096 Apr 16 19:38 . drwxr-xr-x 7 root 04096 Feb 27 03:13 .. -rw-r--r-- 1 root 0 293692 Aug 16 1999 var-qmail-1.03.tar.gz This is a RedHat 6.1 machine Can anyone get me past this hurdle? Help! Thanks!! Jeff Dilcher
RE: help on User who send SPAM
Giovanni, It depends whether or not the "spam" is actually coming from(or through) your server. If someone is actually relaying through your server, you can stop this through your /var/qmail/control/rcpthosts file(make sure the file exists, and contains only the domains you receive mail for.) and your /etc/tcp.smtp file(see man. pages) assuming you're running ucspi-tcp. For further filtering, you may check out rbl-smtpd. On the other hand, if the mail is not coming through your server and the headers have been forged(often the case), there's nothing you can really do. Someone is merely using your domain to cover their actions. Regards, Charles Werbick The Wirehouse I received a lot of bounce messages from man sites about a user who doesn't exits on my site. I suppose someone use an address with my domain to send mass-mailing and spam. There is a way to prevent this kind of problem? or the only way is to filter the incoming messages (bounce from other site)? thanks anyone can help me. Giovanni:)
RE: help on User who send SPAM
Uh, what about legitimate messages from those servers? aol is a pretty big one to block completely...(even if it is just bounces) Assuming the return address on the offending spam isn't valid one might try bouncing all mail addressed to non-valid users. then again I guess it's just a matter of how many bounces you're receiving ;-) Regards, Charles Werbick The Wirehouse -Original Message- From: Troy Frericks [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 16, 2000 06:10 To: [EMAIL PROTECTED] Subject: RE: help on User who send SPAM At 05:43 AM 4/16/00 , chuck wrote: [snip] On the other hand, if the mail is not coming through your server and the headers have been forged(often the case), there's nothing you can really do. Someone is merely using your domain to cover their actions. [snip] About a year ago, I had somebody forge headers that referred to my site and they went and spamed AOL. I was getting bounce messages as fast as AOL's 14 mail servers could send them. I had to make 14 entries into 'badmailfrom' to make them quit it. #@imo28.mx.aol.com #@relay27.mx.aol.com #@relay28.mx.aol.com #@relay31.mx.aol.com #@rly-ya01.mx.aol.com #@rly-za01.mx.aol.com #@rly-za02.mx.aol.com #@rly-za03.mx.aol.com #@rly-za04.mx.aol.com #@rly-za05.mx.aol.com #@rly-zb05.mx.aol.com #@rly-zc04.mx.aol.com #@rly-zd01.mx.aol.com #@rly-zd03.mx.aol.com Now a question. Is there a syntax that specifies ALL OF AOL, for example *.aol.com or .aol.com I vaguely remember trying both and neither worked. #
RE: Still problem with yahoo.com
Howdy, Here's a really cheesy way to flush the queue of Yahoo.com messages without flushing everything else: Set up a virtual domain mta206.mail.yahoo.com. Set postmaster as the only user and dump all the yahoo messages into that box and deal with it later (panic button solution). Or alternatively, try to bounce them back to the sender. To do this set up the virtual domain mail.yahoo.com with no locals. User will get the can't find host error (hopefully). The second option would allow users to try again later. You can inject a message to everyone when yahoo comes back up. I doubt Qmail will fail on you though. Better advice might be to have a beer and look at it later... Charles Werbick, Network Administrator The Wirehouse, Colorado Springs, CO p.s.- I've never tried this, so pretend you see some sort of disclaimer here. -Original Message- From: Ismal Hisham Darus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 05, 2000 00:45 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Still problem with yahoo.com Well it just "eaten up" my queues only :-) now occupied 16/23. A bit worried only :-). anyway thanks for your advise suggestion.. Date sent: Tue, 4 Apr 2000 23:20:24 -0700 From: [EMAIL PROTECTED] To: Bryan White [EMAIL PROTECTED] Copies to: Chris Johnson [EMAIL PROTECTED], Ismal Hisham Darus [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Re: Still problem with yahoo.com On Tue, Apr 04, 2000 at 10:47:59PM -0400, Bryan White wrote: On Wed, Apr 05, 2000 at 09:50:05AM +0800, Ismal Hisham Darus wrote: My site still have porbelm connecting with yahoo.com .. everytime i got the message : Connected_to_128.11.23.225_but_connection_died. I even send an email to aol.com and successfully sent the email. Does yahoo.com needs another patch ? please help .. Neither of yahoo.com's mail exchangers is answering right now. It's not your problem. Don't worry about it. Any idea how long till they will be back up? Is there someplace to find this information. I have been struggling with mails queues clogged with messages for yahoo.com all day. I am on the virge of rejecting new messages to the yahoo domain. In what way are you "struggling"? Sure there may be plenty of emails in your queue, but is it really hurting? Or do you just not like that idea of qmail-remote failing and seeing the corresponding log entry? Remote delivery is very cheap with qmail so you don't need to be too concerned unless the yahoo mail is consuming all of your concurrencyremote. If it's not, then you can sleep soundly as it's no big deal. Regards. Ismal Hisham Mohd Darus Asst. Manager, System Support John Hancock Life Insurance (Malaysia) Berhad
RE: Still problem with yahoo.com
Oops, Actually, that was goofy. All you would need to do is accept mail for yahoo.com, but it's still not necessary to do it. I dumped on Qmail while testing it, and it really is solid. Chuck Howdy, Here's a really cheesy way to flush the queue of Yahoo.com messages without flushing everything else: Set up a virtual domain mta206.mail.yahoo.com. Set postmaster as the only user and dump all the yahoo messages into that box and deal with it later (panic button solution). Or alternatively, try to bounce them back to the sender. To do this set up the virtual domain mail.yahoo.com with no locals. User will get the can't find host error (hopefully). The second option would allow users to try again later. You can inject a message to everyone when yahoo comes back up. I doubt Qmail will fail on you though. Better advice might be to have a beer and look at it later... Charles Werbick, Network Administrator The Wirehouse, Colorado Springs, CO p.s.- I've never tried this, so pretend you see some sort of disclaimer here.
RE: Virtualhost with Cname
Arisandy, If your using the virtual domain "host1.bogus.com", and the computer "host1.bogus.com" really exists, make sure it isn't in your "./control/locals" file or qmail may try to forward mail to this computer, which then forwards it back to the server for "bogus.com" creating a loop... Charles Werbick Network Administrator The Wirehouse 501 East Kiowa Street Colorado Springs, CO 80903 Email: [EMAIL PROTECTED] -Original Message- From: Arisandy Arief [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 05, 2000 05:56 To: Qmail List Cc: Vpopmail List Subject: Virtualhost with Cname I have host with www.domain.com ,one.domain.com, two.domain.com etc host one and two is a CNAME record from www.domain.com can I have @one.domain.com and @two.domain.com as separate virtualhost...from @www.domain.com I use Qmail-1.03+Vpopmail-3.4.11-released... If I add it using vadddomain there is bounce message something like: Remote host said: 554 too many hops, this message is looping (#5.4.6) thanks
Increasing deferral time
I provide secondary MX service for a site that may be down for more than 10 days. I would like to increase my deferral/spooling time to something longer than the default (I believe it's 7 days under qmail?). Can this be done without getting to deep under the qmail hood? -- Chuck Milam - [EMAIL PROTECTED] I.T. Division - Academic Computing University of Wisconsin Oshkosh
Re: pine and Maildirs
On Fri, 15 Oct 1999, Evan Moore wrote: Everything that I have read about pine and Maildirs syas that they don't get along; however, after configuring my pinrc file to look at the Maidir it reads it's mail with out complaint. How is this possible? I'm not even using the newest version of pine, I just installed pine 3.96 from Debian Slink. Perhaps the Debian folks included a maildir patch? -- Chuck Milam - [EMAIL PROTECTED] I.T. Division - Academic Computing University of Wisconsin Oshkosh
Batched qmail injection - how?
Sorry if I missed this in the archives ... I want to send a lot of personalized mail a little more efficiently to a group of users which aren't on a mailing list (monthly billing advice, actually). To send a single message, I can do "qmail-inject message", where message has both header and body. I would like to do the same thing for a batch, e.g. "qmail-inject batch", where batch is a sequence of messages delimitd by, say, '^\' (the ASCII "file separator" character). My current approach is to parse the batch file, write a temporary file, spawn a script which injects the file, truncate the file, and repeat. This works but is a little slow because closing the temporary file flushes to disk, because qmail-inject and the shell to interpret the script are repeatedly spawned, etc. If qmail-inject could simply loop over the batch, all this could be eliminated. I am tempted to add a loop for this but am unsure of any possible repercussions. I'd also entertain formatting the batch as per SMTP and giving it to qmail-queue if that is easier. Any comments?
Strange Bounce
This is one of the stranger bounces I've seen. Has anyone seen something similar? Remote host said: 500 Session already established. The domain name [sol.acs.uwosh.edu] passed in with HELO will be ignored. The current domain name of sending SMTP is [mlwkwi-ns1.usxc.net]. -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
Re: Pine, Qmail, and time zones
On Mon, 22 Feb 1999, Fred Lindberg wrote: It may be configuration problem. Look at where /etc/localtime links. /etc/localtime - ../usr/share/zoneinfo/US/Central I use UTC on the computer and pine puts .. + ( ). Mutt doesn't do the "( )" thing. Maybe changing MUAs would help? That may be an option for me, but not for my users. *Sigh* Here's something interesting: I have TWO date lines in my mail messages, it seems. (Maybe this is normal?): Date: Tue, 23 Feb 1999 07:51:14 -0600 Date: Tue, 23 Feb 1999 07:51:14 -0600 (EST) -- Where does this come from? Well, I'm off again in further search of the answer... -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
Re: Pine, Qmail, and time zones
On Fri, 19 Feb 1999, Harald Hanche-Olsen wrote: Nor is it generated by qmail. Date: header fields are only generated in two places within qmail: In qmail-inject, which always uses time zone -, and in predate. Both of them print only the numeric time zone. So this is a pine and/or a library problem, not a qmail one. Of course, the guys over on the Redhat list insisted that this was neither a Redhat Linux nor a Pine problem. Back to the grind... -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
Re: Qmail, Majordomo, and virtual domains
On Mon, 15 Feb 1999, John R. Levine wrote: If this sounds interesting, let me know and I'll pack up my scripts. There's a perl script to handle the bounces, and a shell script that creates the lists and makes the .qmail files. John: Any luck with this? I'm in a state of eager anticipation! BTW, my time zone should look OK now. -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
Re: Qmail, Majordomo, and virtual domains
On Wed, 10 Feb 1999, Russ Allbery wrote: Does Majordomo get the entire virtual domain? Unfortunatey, no. That's what makes it a little tougher. If not, there are a few ways to do it. One way is to put the individual users that Majordomo needs (LIST, LIST-owner, LIST-request, and LIST-approval) directly into control/virtualdomains and map them to the Majordomo user. Hmm...I hadn't thought about trying it that way. Thanks. I think I'll give that a shot with a test list. The other way is to piggyback on whatever you're currently using to control disposition of the mail to a given virtual domain. I'm using qmail with at least one virtual domain controled by a user, i.e.: all mail for domain xxx.domain.yyy is controlled by a non-root user using .qmail files in his home directory. Other domains will remain under administrative control, the "root.dude" will be responsible for them. What do you mean by "appear as"? If you mean that the Received lines have to match, you'll have a problem there, because qmail-remote doesn't have a way of binding to a specific IP address without patches. Not the "Recieved" lines, but messages originating from a Majordomo installation working at domain.xxx should appear to come from [EMAIL PROTECTED] and list postings through that Majordomo should come from [EMAIL PROTECTED], not domain.yyy. Most likely, I'm guessing this will involve pointing to different majordomo.cf files, and probably modifing a copy of majordomo-inject and majordomo-dispatch for each virtual domain. -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
Re: Qmail, Majordomo, and virtual domains
On Thu, 11 Feb 1999, Chuck Milam wrote: Does Majordomo get the entire virtual domain? Unfortunatey, no. That's what makes it a little tougher. I've convinced the users to take a compromise. Instead of trying to maintain [EMAIL PROTECTED] and [EMAIL PROTECTED], I'm just going to create [EMAIL PROTECTED] and [EMAIL PROTECTED] Problem solved...well, problem looks easier now, anyway. Now, on to the implementation. Thanks for sharing your insight, folks. -- Chuck Milam I.T. Division - Academic Computing [EMAIL PROTECTED] University of Wisconsin at Oshkosh
qmail 1.01 to 1.03 - why bother?
Hi, Is there any underlying technical reason for upgrading to 1.03 from 1.01? Ie. has anything in the core qmail functionality which makes it worthwhile to do so? I'm trying to decide whether its really worth porting patches etc., or simply waiting for qmail 2.0 to come out. The peripheral functionality of qmail-smtpd and qmail-remote don't seem to matter too much (I backported the databytes stuff for our immediate requirements), so is it really worth expending the time on it, especially being that there aren't any security considerations ... C.
Re: What should qmail-smtpd log
On 29 Dec 1998, Rask Ingemann Lambertsen wrote: I'm currently logging (because of URL:http://www.gbar.dtu.dk/~c948374/qmail/qmail-antispam4.diff) ... I generally log the SMTP command transactions, and any failure on their part (ie. what the remote end sees, I see too, except for successes), the recorded DATA receipt (which helps track down the transaction to subsequent deliveries), and the Message-ID (for Support's benefit for when people phone up about a message - they're much more likely to know their message's id than some obscure DATA response which hardly any submission agent (qmail-inject included) will tell you anyway!). I did also add some code to record the entire message transaction too with the appropriate flag set, which we used on occasion with some customers to try and find out which messages of theirs were being resent continuously, etc. This was before I became aware of Dan's recordio thingummy, but then I prefer something that can be turned on per connection origin (or indeed mailfrom/rcptto combination in our case). Yes, there are tools to plug in to perform this task, but at the end of the day qmail-smtpd will log what I want it to log in the way I want it when I patch it directly myself, rather than try to interpret output from another process (smtpd knows whether MAIL FROM: is the envelope or the message text, the external process would need to work it out!). IMHO! C.