Re: Quicky
On Wed, Jul 14, 1999 at 08:42:05AM +0200, Tony Wade wrote: hi all , i believe there is a way, that i can have a reply to: in a .qmail file . I have a few people mailing to an address [EMAIL PROTECTED], and i want the reply-to address to be [EMAIL PROTECTED] Anyone know what the command is to add to the .qmail file ? This has nothing to do with the .qmail files... It is used only when mail is delivered to you, but not when you send mail. This is a MUA issue : solution = configure your mail reader correctely... Probably you could also put "localhost.tm.za" in /var/qmail/control/plusdomain. HTH + Cheers from Switzerland, Olivier
Re: All this talk about maximum speed
Mylo wrote: Does anyone have an example Perl code that uses qmail-inject? $sendmail_command="/var/qmail/bin/qmail-inject"; open(SENDMAIL, "|$sendmail_command -f$mailfrom $rcptto"); print SENDMAIL $s; close(SENDMAIL); $s cointain the mail, with RFC headers if needed.
Disk Quota Qmail
Dear All, I have Redhat 5.2 with Qmail. I have enabled quota and it works fine, except for the fact that mail send to the user doesn't bounce back to the sender. The user also doesn't get the mail as Qmail just records " Temporary Deferral in Maildir Delivery" in its log. Can you please point to me on how can I use disk quota with qmail ? Another question is what is practically good ? use disk quota or force databytes ? Please guide. TIA Shashi
Re: Compile error with AIX 3.2.5
On Wed, Jul 14, 1999 at 12:58:27PM +1100, Brian Salter-Duke wrote: AIX 3.2.5 doesn't have fchdir(2). Try replacing if (fchdir(fdsourcedir) == -1) with if (chdir(".") == -1) Looks like my (broken) suggestion a few years back (mine was a 3.2.4 system). Please try the following patch and let me know whether it works for you. # diff -u install.c.orig install.c --- install.c.orig Wed Jul 14 11:02:55 1999 +++ install.c Wed Jul 14 11:08:15 1999 @@ -1,3 +1,5 @@ +#include sys/param.h + #include "substdio.h" #include "strerr.h" #include "error.h" @@ -10,6 +12,7 @@ #define FATAL "install: fatal: " int fdsourcedir = -1; +char sourcedir[MAXPATHLEN+1]; void h(home,uid,gid,mode) char *home; @@ -78,7 +81,7 @@ int fdin; int fdout; - if (fchdir(fdsourcedir) == -1) + if (chdir(sourcedir) == -1) strerr_die2sys(111,FATAL,"unable to switch back to source directory: "); fdin = open_read(file); @@ -157,6 +160,11 @@ fdsourcedir = open_read("."); if (fdsourcedir == -1) strerr_die2sys(111,FATAL,"unable to open current directory: "); + + getcwd(sourcedir,MAXPATHLEN); + if (sourcedir == (char *)0) +strerr_die2sys(111,FATAL,"unable to open current directory: "); + umask(077); hier(); Btw, the FreeBSD getcwd(3) manpage says: These routines have traditionally been used by programs to save the name of a working directory for the purpose of returning to it. A much faster and less error-prone method of accomplishing this is to open the current directory (`.') and use the fchdir(2) function to return. AIX 4.x does have fchdir(2). Cheers, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
Qmail suddenly closing connection
Here's my problem. I'm having a problem receiving mail from a specific site. They are running NTMail and we are running Qmail 1.03. Mail sent from this site is being returned to the senders after 4 days or whatever. Their log shows repeated entries saying waiting 10038 mailhost.howden.com and mail destined for our site is constantly being deferred. If I watch the connection from our MX, I can see the mail coming down and then the connection seems to be dropped suddenly. The even weirder thing is that some messages seem to be getting through OK. I'm wondering if it's a bare LF problem as occasionally the qmail bare lf error appears in their log file. I'm starting to panic as I'm not sure if this is happening from other sites as well. Can anyone please give me any pointers as this has only started happening after moving from sendmail and I don't really want to go back! Any pointers much appreciated. Simon Rae
qmail Digest 14 Jul 1999 10:00:01 -0000 Issue 697
qmail Digest 14 Jul 1999 10:00:01 - Issue 697 Topics (messages 27750 through 27814): AtDot package 27750 by: aw [EMAIL PROTECTED] Question 27751 by: Tony Wade [EMAIL PROTECTED] Automatic administration of a lots of aliases - looking for the best way 27752 by: "Olivier M." [EMAIL PROTECTED] 27760 by: [EMAIL PROTECTED] (John R. Levine) does pine use qmail-inject? 27753 by: Mate Wierdl [EMAIL PROTECTED] pine does NOT use qmail-inject (uses /usr/sbin/sendmail) 27754 by: Mate Wierdl [EMAIL PROTECTED] Problem running qmail-pop3d under tcpserver 27755 by: "Alvaro Escobar" [EMAIL PROTECTED] 27756 by: "Alex Miller" [EMAIL PROTECTED] 27794 by: "Alvaro Escobar" [EMAIL PROTECTED] 27795 by: "Alvaro Escobar" [EMAIL PROTECTED] 27798 by: Keith Burdis [EMAIL PROTECTED] Virus scanning with qmail+amavis (Take 2) 27757 by: Eric Dahnke [EMAIL PROTECTED] 27761 by: Troy Morrison [EMAIL PROTECTED] 27764 by: Bruno Wolff III [EMAIL PROTECTED] 27766 by: "Adam D . McKenna" [EMAIL PROTECTED] 27775 by: Bruno Wolff III [EMAIL PROTECTED] 27776 by: "Adam D . McKenna" [EMAIL PROTECTED] 27793 by: [EMAIL PROTECTED] 27796 by: "Adam D . McKenna" [EMAIL PROTECTED] qmail: local emails and mailing lists 27758 by: "Brian Moon" [EMAIL PROTECTED] qmail: no inbox with IMAP 27759 by: "Brian Moon" [EMAIL PROTECTED] 27802 by: Ludwig Pummer [EMAIL PROTECTED] 27805 by: Ludwig Pummer [EMAIL PROTECTED] Domain name case sensitivity 27762 by: Alex Goben [EMAIL PROTECTED] 27763 by: "Stephen C. Comoletti" [EMAIL PROTECTED] 27765 by: Ken Jones [EMAIL PROTECTED] Trying to achieve maximum speed! 27767 by: [EMAIL PROTECTED] 27768 by: Dirk Harms-Merbitz [EMAIL PROTECTED] 27769 by: [EMAIL PROTECTED] 27770 by: Mark Delany [EMAIL PROTECTED] 27771 by: Mark Delany [EMAIL PROTECTED] 27772 by: [EMAIL PROTECTED] 27773 by: Mark Delany [EMAIL PROTECTED] 27774 by: John Gonzalez/netMDC admin [EMAIL PROTECTED] 2 by: [EMAIL PROTECTED] 27779 by: John Gonzalez/netMDC admin [EMAIL PROTECTED] 27780 by: [EMAIL PROTECTED] 27781 by: [EMAIL PROTECTED] 27782 by: Russell Nelson [EMAIL PROTECTED] 27783 by: John Gonzalez/netMDC admin [EMAIL PROTECTED] 27784 by: Mark Delany [EMAIL PROTECTED] 27785 by: [EMAIL PROTECTED] 27786 by: [EMAIL PROTECTED] 27787 by: Russell Nelson [EMAIL PROTECTED] 27788 by: [EMAIL PROTECTED] 27812 by: Fabrice Scemama [EMAIL PROTECTED] All this talk about maximum speed 27778 by: Mylo [EMAIL PROTECTED] 27810 by: Sergio Strampelli [EMAIL PROTECTED] pop-3 problems 27789 by: Mark [EMAIL PROTECTED] periodic cleanup of email 27790 by: Diego Puertas [EMAIL PROTECTED] Blocking nonexistent local recipients 27791 by: Juan Carlos Castro y Castro [EMAIL PROTECTED] 27792 by: "Sam" [EMAIL PROTECTED] Don't wanna save messages into ~/Maildir/cur after checked. 27797 by: "Nguyen Dang Phuoc Dong" [EMAIL PROTECTED] 27803 by: "Steve Lawrence" [EMAIL PROTECTED] 27806 by: "Nguyen Dang Phuoc Dong" [EMAIL PROTECTED] Multiple domains with Qmail 27799 by: Sienna [EMAIL PROTECTED] 27801 by: Russell Nelson [EMAIL PROTECTED] Compile error with AIX 3.2.5 27800 by: Brian Salter-Duke [EMAIL PROTECTED] 27813 by: Jos Backus [EMAIL PROTECTED] Disk Quota Qmail 27804 by: Shashi Dahal [EMAIL PROTECTED] 27811 by: Shashi Dahal [EMAIL PROTECTED] Quicky 27807 by: Tony Wade [EMAIL PROTECTED] 27809 by: "Olivier M." [EMAIL PROTECTED] Qmail web page redesign... 27808 by: "Gremmen, Jeroen" [EMAIL PROTECTED] Qmail suddenly closing connection 27814 by: "Simon Rae" [EMAIL PROTECTED] Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- Is anybody using AtDot (to check mail via Web) package with qmail? Need some help Andrzej Erm ... is this mail getting through ... if so, I have the following Questions. Hi all , I am currently attempting a Sendmail --- Qmail moveover. We have 3 or 4 sendmail servers that i would like to replace with a single Qmail server. Questions 1. Would someone point me to the doccies on how to use a Database for all aliases and perhaps Mailing lists and Vhosts, i will be looking at using Ezmlm for the mailing lists, and Mysql for the Database. We currently use MajorDomo for the mailing lists, is there a way to easily move all the lists from that to
RE: qmail: no inbox with IMAP
This is the patch you want: http://www.davideous.com/imap-maildir/distrib/imap-4.5-qmail.patch It makes the UW imap server look for mbox mail in ~/Mailbox instead of $MAILSPOOL/$USER - David Harris Principal Engineer, DRH Internet Services -Original Message- From: Brian Moon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 13, 1999 11:51 AM To: qmail Subject:qmail: no inbox with IMAP I installed UW IMAP. I am using mailboxes. If I try to move anything into INBOX on my client, the server responds saying that the mailbox is not a UNIX mailbox. Mail is going to ~/Mailbox. However, either UW or the client (MS Outlook Express) or both do not recognize Mailbox as the INBOX. Is this something related qmail? Brian.
[.qmail-default] trying to start another program if vdeliver fails
I'm currently using vdeliver to ... deliver the mails. Now, I'd like to use also another program (findmail, output = email adress), that would try to deliver the mails _only_ if vdeliver doesn't find a defined user. I tried this : |/usr/local/bin/vdeliver |if T=`./.findmail.pl`; then forward $T; else echo "Sorry, no mailbox here by that |name (#5.1.1)."; exit 100; fi and this : |except /usr/local/bin/vdeliver |if T=`./.findmail.pl`; then forward $T; else echo "Sorry, no mailbox here by that |name (#5.1.1)."; exit 100; fi but it doesn't work correctely (it always forward 2 mails : one normal, and the other one error). Maybe that a .qmail guru could give me a hint ? I'm currently looking in the docs. Thanks, Olivier
Re: [.qmail-default] trying to start another program if vdeliver fails
Now, I'd like to use also another program (findmail, output = email adress), that would try to deliver the mails _only_ if vdeliver doesn't find a defined user. |/usr/local/bin/vdeliver |if T=`./.findmail.pl`; then forward $T; else echo "Sorry, no mailbox here by that name (#5.1.1)."; exit 100; fi ... but it doesn't work correctely (it always forward 2 mails : one normal, and the other one error). The answer's lurking in qmail-command. An exit code of 0 means go on to the next line in .qmail. An exit code of 100 means send a bounce message. An exit code of 111 means stop and retry this later. But an exit code of 99 means to stop processing the .qmail file. So what you want is this: | if /usr/local/bin/vdeliver; then exit 99; else exit 0; fi |if T="`./.findmail.pl`"; then forward "$T"; else bouncesaying "Sorry, no mailbox here by that name (#5.1.1)."; fi The except program doesn't do what you want, since it won't exit 99. But bouncesaying works for the final bounce. I'd also put in a few more " " to make your script more spoof-resistant against hostile addresses. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: Quicky
Wade, On Wed, 14 Jul 1999, you wrote: i believe there is a way, that i can have a reply to: in a .qmail file . I have a few people mailing to an address [EMAIL PROTECTED], and i want the reply-to address to be [EMAIL PROTECTED] Anyone know what the command is to add to the .qmail file ? If you set up "friends" as an ezmlm list, then check out item # 9.8 in the FAQ for ezmlm. (I found it in /usr/doc/ezmlm-idx-std-0.53.322 on my RedHat system. YMMV) The FAQ strongly recommends against doing that, then tells you the easy steps to implement it. / Ray + Ray Marshall [EMAIL PROTECTED]| Unconditional Forgiveness Love -- Chapel Hill NC or Sutton Mills NH | The corner stones of coexistence. Work: [EMAIL PROTECTED]
Re: Disk Quota Qmail
On Wed, 14 Jul 1999, Shashi Dahal wrote: I have Redhat 5.2 with Qmail. I have enabled quota and it works fine, except for the fact that mail send to the user doesn't bounce back to the sender. The user also doesn't get the mail as Qmail just records " Temporary Deferral in Maildir Delivery" in its log. Can you please point to me on how can I use disk quota with qmail ? Another question is what is practically good ? use disk quota or force databytes ? I use my patch to qmail-local (attached) which treats quota exceeded as a permanent error, bouncing the message back to the sender. Use of control/databytes is suggested as well. -- Jeff Hayward *** qmail-1.03/qmail-local.cMon Jun 15 05:53:16 1998 --- qmail-local.c Tue Sep 15 12:16:57 1998 *** *** 41,46 --- 41,49 void temp_qmail(fn) char *fn; { strerr_die5x(111,"Unable to open ",fn,": ",error_str(errno),". (#4.3.0)"); } + char *overquota = + "Recipient's mailbox is full, message returned to sender. (#5.2.2)"; + int flagdoit; int flag99; *** *** 131,137 /* if it was error_exist, almost certainly successful; i hate NFS */ tryunlinktmp(); _exit(0); ! fail: tryunlinktmp(); _exit(1); } /* end child process */ --- 134,145 /* if it was error_exist, almost certainly successful; i hate NFS */ tryunlinktmp(); _exit(0); ! fail: !if (errno == error_dquot) { ! tryunlinktmp(); _exit(5); !} else { ! tryunlinktmp(); _exit(1); !} } /* end child process */ *** *** 162,167 --- 170,176 case 2: strerr_die1x(111,"Unable to chdir to maildir. (#4.2.1)"); case 3: strerr_die1x(111,"Timeout on maildir delivery. (#4.3.0)"); case 4: strerr_die1x(111,"Unable to read message. (#4.3.0)"); +case 5: strerr_die1x(100,overquota); default: strerr_die1x(111,"Temporary error on maildir delivery. (#4.3.0)"); } } *** *** 221,227 return; writeerrs: ! strerr_warn5("Unable to write ",fn,": ",error_str(errno),". (#4.3.0)",0); if (flaglocked) seek_trunc(fd,pos); close(fd); _exit(111); --- 230,241 return; writeerrs: ! if (errno == error_dquot) { !if (flaglocked) seek_trunc(fd,pos); !close(fd); !strerr_die1x(100,overquota); ! } else !strerr_warn5("Unable to write ",fn,": ",error_str(errno),". (#4.3.0)",0); if (flaglocked) seek_trunc(fd,pos); close(fd); _exit(111); *** qmail-1.03/error.h Mon Jun 15 05:53:16 1998 --- error.h Tue Sep 15 11:52:14 1998 *** *** 16,21 --- 16,22 extern int error_pipe; extern int error_perm; extern int error_acces; + extern int error_dquot; extern char *error_str(); extern int error_temp(); *** qmail-1.03/error.c Mon Jun 15 05:53:16 1998 --- error.c Tue Sep 15 11:53:29 1998 *** *** 93,95 --- 93,102 #else -13; #endif + + int error_dquot = + #ifdef EDQUOT + EDQUOT; + #else + -14; + #endif
Re: Disk Quota Qmail
Shashi Dahal wrote: Dear All, I have Redhat 5.2 with Qmail. I have enabled quota and it works fine, except for the fact that mail send to the user doesn't bounce back to the sender. The user also doesn't get the mail as Qmail just records " Temporary Deferral in Maildir Delivery" in its log. Can you please point to me on how can I use disk quota with qmail ? In truth, it IS temporary. The user can always clean up his directory / purge previous messages, thus making delivery possible. It'll bouce back in 5 days if delivery remains impossible for the period. Maybe the give-up period could be shortened, just for this quota-exceeded case. Another question is what is practically good ? use disk quota or force databytes ? Duh. What is "force databytes"? Please guide. Meditate, light an incense and detach yourself from mundane values. There, you're guided. ;)
Re: [.qmail-default] trying to start another program if vdeliver fails
On Wed, Jul 14, 1999 at 10:10:08AM -0400, John R. Levine wrote: The answer's lurking in qmail-command. An exit code of 0 means go on to the next line in .qmail. An exit code of 100 means send a bounce message. An exit code of 111 means stop and retry this later. But an exit code of 99 means to stop processing the .qmail file. Thanks for pointing me the right man page! The problem is that there are too many of them, and with too few "real life" examples. The ones on the www.qmail.org page are ok, but some more would be nice. | if /usr/local/bin/vdeliver; then exit 99; else exit 0; fi |if T="`./.findmail.pl`"; then forward "$T"; else bouncesaying "Sorry, no mailbox here by that name (#5.1.1)."; fi The except program doesn't do what you want, since it won't exit 99. But bouncesaying works for the final bounce. I'd also put in a few more " " to make your script more spoof-resistant against hostile addresses. Err, where should the " " be added ? Didn't saw anything about that in man bouncesaying. Thanks a lot for your great support! Olivier
Re: Trying to achieve maximum speed!
Russell Nelson wrote: locked reading/writing those directories. Also, if you're injecting 100,000 messages all at once, make your conf-split bigger -- more like 231 than the default 23. Can one just recompile qmail with a bigger conf-split and install it with a existing queue or does one have to start over with an empty queue? \Maex -- SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses Research Development| mailto:[EMAIL PROTECTED] | you funny and you need Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0| a mouse to delete files D-80807 Muenchen | Fax: +49 (89) 32356-299 |
Re: Trying to achieve maximum speed!
Markus Stumpf writes: Russell Nelson wrote: locked reading/writing those directories. Also, if you're injecting 100,000 messages all at once, make your conf-split bigger -- more like 231 than the default 23. Can one just recompile qmail with a bigger conf-split and install it with a existing queue or does one have to start over with an empty queue? empty queue. Easiest way to do that is to install a second installation of qmail in /var/qmail2. Make a symlink: rm -rf /var/qmail2/control ln -s /var/qmail/control /var/qmail2/control Associate /var/qmail2/bin/qmail-smtpd with port 25, and /var/qmail2/bin/sendmail with /usr/lib/sendmail. In 7 days (aka control/queuelifetime), the old queue will be empty, and you can remove that installation of qmail. -- -russ nelson [EMAIL PROTECTED] http://crynwr.com/~nelson Crynwr supports Open Source(tm) Software| PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
Re: Trying to achieve maximum speed!
On Tue 1999-07-13 (16:50), Russell Nelson wrote: [EMAIL PROTECTED] writes: Wow. Looks like I do :-) Can you explain what it does? It modifies various programs to use hashed todo and intd directories. This allows you to inject mail faster than qmail-send can deal with it. Otherwise, you end up with really big directories with more than 1,000 files. Once that happens, the kernel spends more and more time locked reading/writing those directories. Also, if you're injecting 100,000 messages all at once, make your conf-split bigger -- more like 231 than the default 23. When does it make sense to apply the big-todo patch and increase the size of conf-split? Is there any ballpark threshhold where these changes become useful? Would it hurt performance in any way if I made these changes on a relatively low volume system? Thanks. -russ nelson [EMAIL PROTECTED] http://crynwr.com/~nelson - Keith -- Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa Email : [EMAIL PROTECTED] WWW : http://www.rucus.ru.ac.za/~keith/ IRC : Panthras JAPH "Any technology sufficiently advanced is indistinguishable from a perl script" Standard disclaimer. ---
Re: All this talk about maximum speed
In the case of sending 250,000+ emails, this seems farely ugly in how many processes it'll be forking. I guess qmail-inject is designed to be farely small, but our current process involes writing directly to disk qf and df files in sendmail. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] Sergio Strampelli wrote: Mylo wrote: Does anyone have an example Perl code that uses qmail-inject? $sendmail_command="/var/qmail/bin/qmail-inject"; open(SENDMAIL, "|$sendmail_command -f$mailfrom $rcptto"); print SENDMAIL $s; close(SENDMAIL); $s cointain the mail, with RFC headers if needed.
Re: All this talk about maximum speed
On Wed, Jul 14, 1999 at 12:53:03PM -0700, Mylo wrote: In the case of sending 250,000+ emails, this seems farely ugly in how many processes it'll be forking. I guess qmail-inject is designed to be farely small, but our current process involes writing directly to disk qf and df files in sendmail. So call qmail-queue directly. I thought they were the same thing. What's the difference? You probably didn't understand what I was trying to say. Inject say a thousand recipients in one qmail-queue (or inject, or sendmail, if you wish) call. Make sure you are not injecting them individually, if you can. That way, the queue system has less work managing them. The difference between sendmail-clone/qmail-inject/ qmail-queue is just the interface and the number of execs needed. qmail-queue is closest to the raw performance your IO subsystem is capable of. -- Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting +358 50 5486010 | software development, unix administration, training
Re: All this talk about maximum speed
unfortunately each message is customized for each recipient with their account information, so I can't clone the same message to multiple recipients. Which, as I understand it, would require one qmail-inject (or qmail-queue) per recipient. Which is 250,000+ processes coming outta my perl script. Although this machine is dedicated to this task, that still seems like a nasty thing to do. I'm just looking if there is any smooth way of stacking messages into a single pipe of qmail-inject or anything tricky like that to save the ammount of processes. Thanks for your help :) -- Tim Tommi Virtanen wrote: On Wed, Jul 14, 1999 at 12:53:03PM -0700, Mylo wrote: In the case of sending 250,000+ emails, this seems farely ugly in how many processes it'll be forking. I guess qmail-inject is designed to be farely small, but our current process involes writing directly to disk qf and df files in sendmail. So call qmail-queue directly. I thought they were the same thing. What's the difference? You probably didn't understand what I was trying to say. Inject say a thousand recipients in one qmail-queue (or inject, or sendmail, if you wish) call. Make sure you are not injecting them individually, if you can. That way, the queue system has less work managing them. The difference between sendmail-clone/qmail-inject/ qmail-queue is just the interface and the number of execs needed. qmail-queue is closest to the raw performance your IO subsystem is capable of. -- Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting +358 50 5486010 | software development, unix administration, training
Re: All this talk about maximum speed
On Wed, Jul 14, 1999 at 01:08:20PM -0700, Mylo wrote: unfortunately each message is customized for each recipient with their account information, so I can't clone the same message to multiple recipients. Which, as I understand it, would require one qmail-inject (or qmail-queue) per recipient. Which is 250,000+ processes coming outta my perl script. Although this machine is dedicated to this task, that still seems like a nasty thing to do. I'm just looking if there is any smooth way of stacking messages into a single pipe of qmail-inject or anything tricky like that to save the ammount of processes. Thanks for your help :) You can always open a pipe to qmail-smtpd, or qmail-qmtpd. They'll happily eat all the messages from a pipe, but you can't avoid the exec per queue injection. There just is no way. Are you sure the qmail-VERH patches won't solve your problem? They allow you to embed the recipient address in the message body without creating multiple queue messages. -- Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting +358 50 5486010 | software development, unix administration, training