qmail Digest 15 Jul 1999 10:00:00 -0000 Issue 698
Topics (messages 27815 through 27850):
Controlling log information generated by qmail.
27815 by: [EMAIL PROTECTED]
Disk Quota & Qmail
27816 by: Tomasz Papszun <[EMAIL PROTECTED]>
27824 by: Jeff Hayward <[EMAIL PROTECTED]>
27825 by: Juan Carlos Castro y Castro <[EMAIL PROTECTED]>
Require valid sender domain
27817 by: "Nguyen Dang Phuoc Dong" <[EMAIL PROTECTED]>
installed Summer's qmail.rpm, imap,.. and am lost without mail..
27818 by: [EMAIL PROTECTED]
Virus scanning with qmail+amavis (Take 2)
27819 by: Eric Dahnke <[EMAIL PROTECTED]>
27833 by: Lou Sortman <[EMAIL PROTECTED]>
qmail: no inbox with IMAP
27820 by: "David Harris" <[EMAIL PROTECTED]>
[.qmail-default] trying to start another program if vdeliver fails
27821 by: "Olivier M." <[EMAIL PROTECTED]>
27822 by: [EMAIL PROTECTED] (John R. Levine)
27827 by: "Olivier M." <[EMAIL PROTECTED]>
Quicky
27823 by: Ray Marshall <[EMAIL PROTECTED]>
qmail-pop3d and Maildir
27826 by: Andy Kowalski <[EMAIL PROTECTED]>
Trying to achieve maximum speed!
27828 by: Markus Stumpf <[EMAIL PROTECTED]>
27830 by: Russell Nelson <[EMAIL PROTECTED]>
27831 by: <[EMAIL PROTECTED]>
27832 by: Keith Burdis <[EMAIL PROTECTED]>
27843 by: Russell Nelson <[EMAIL PROTECTED]>
root delivery revisited
27829 by: Tim Barnes <[EMAIL PROTECTED]>
All this talk about maximum speed
27834 by: Mylo <[EMAIL PROTECTED]>
27836 by: Tommi Virtanen <[EMAIL PROTECTED]>
27837 by: Mylo <[EMAIL PROTECTED]>
27838 by: Tommi Virtanen <[EMAIL PROTECTED]>
27839 by: Mylo <[EMAIL PROTECTED]>
27840 by: Tommi Virtanen <[EMAIL PROTECTED]>
mbox2smtp?
27835 by: "Adam D . McKenna" <[EMAIL PROTECTED]>
27841 by: "Aaron L. Meehan" <[EMAIL PROTECTED]>
27850 by: Anand Buddhdev <[EMAIL PROTECTED]>
getting mail from my ISP with qmail
27842 by: Aleksander Rozman - Andy <[EMAIL PROTECTED]>
27847 by: Sim <[EMAIL PROTECTED]>
need helps in virtualdomains
27844 by: Ho Soo Aun <[EMAIL PROTECTED]>
Don't wanna save messages into ~/Maildir/cur after checked.
27845 by: "Nguyen Dang Phuoc Dong" <[EMAIL PROTECTED]>
Qmail checkpasswd only half working
27846 by: "Peter Janett" <[EMAIL PROTECTED]>
27848 by: Chris Johnson <[EMAIL PROTECTED]>
qmail and hypermail
27849 by: Brian Salter-Duke <[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]
----------------------------------------------------------------------
The man pages do not seem to indicate a way to control the level of
log information generated by qmail, and its destination.
Could I please have some help in this matter.
Thanks,
Chitta
On Wed, 14 Jul 1999 at 10:29:18 +0500, 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 ?
Have a look at 12th screen of contents of mirror of http://www.qmail.org/
:-) - there is mention about Paul Gregg's script named mailquotacheck.
It works for me. It can be retrieved from
http://www.tibus.net/pgregg/projects/qmail/mailquotacheck/
> Another question is what is practically good ? use disk quota or force
> databytes ?
databytes is easier but of course is not effective when a user receives
some not-so-big messages and doesn't bother himself with reading his mail.
--
Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only
[EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros.
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.c Mon 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
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. ;)
Hallo,
Has anyone out there know how to tell Qmail to check the sender domain
before accept delivery?
Thanks,
Dong
I installed on Redhat5.2 (with php and modperl):
David Summer's qmail-1.03-9.src.rpm
TCP-server ucspi-tcp-0.84.tar.gz
imap-4.6.BETA
and a control script to start|stop|status|restart from
http://www.sfu.ca/~yzhang/linux/qmail/sample-qmail (fixed a minor typo)
status says: running on +-30 pids
tcpserver 25 answers ESMTP (no qmail, sendmail here)
according to netstat qmail-smtpd is listening on port 25
removed sendmail
but it aint doing Anything
no processes (ps) visible
cant find a pidfile,..
I went through some manuals
but I dont know where to look further...
thx, f_3
Troy Morrison escribió:
>
> > Does this amavis catch macro viruses, is it updateable?
>
> Amavis integrates with other packages that actually do the scanning.
> Amavis's job is more to unpack the mail and decode attachements, then call
> the virus scanner(s) on the unpacked mail.
>
> I think amavis supports three virus scanners (H+BEDV AntiVir, McAfee, and
> two versions of DrSolomon), and so long as those catch macro viruses/are
> updateable, then amavis is also.
And what do the AntiVir, McAfee, DrSolomon scanning packages cost?
> Troy
cheers - eric
The home page says that version 1.0 was released 1999/04/23.
"Adam D . McKenna" wrote:
> On Tue, Jul 13, 1999 at 04:13:13PM -0500, Bruno Wolff III wrote:
>
> > Take a look at http://www.eros-os.org/faq/basics.html .
>
> The concept sounds nice. However the expected release date was the middle of
> last year, and the author hasn't even modified some of the pages on that site
> since last april. So when can we really expect to see something like this?
>
> --Adam
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.
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
> 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
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
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]
Hi,
I started using qmail to manage a pop server (virtual users). When the
users download their mail with the option to leave it on the server, their
mail gets moved over to the cur directory. Later, if they download their
mail at a later time or from a different client, they do not get the messages
stored in the cur directory. This is filling up the disk on the server. Is there
a way to get qmail-pop3d to either stop moving the files over to the cur
directory or to make qmail-pop3d read the cur directory?
The pop clients are Netscape 4.5 and 4.6.
Thanks,
Andy
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 |
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!
Ok, I've done all this, and it is most definitely faster, but I'm still
getting fairly low numbers on concurrent remotes. Adveraging around 4 - 5
out of 75.
I guess I need to understand why this becomes limited and why it doesn't
try to fill its limit.
We just started the process about 5 minutes ago and the queue is up to
4500 messages already and growing. It's going to hit about 100,000 before
it's done, then it will take a very long time to empty out that queue.
When I got in this morning, there were over 200,000 messages in the queue,
and this is why I decided to wipe it out and start over.
-jeremy
> 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!
>
http://www.xxedgexx.com | [EMAIL PROTECTED]
---------------------------------------------
Y2K. We're all gonna die.
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.
---
Keith Burdis writes:
> 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?
conf-split needs to be bigger if you have more than 23K distinct
messages (not addresses) in the queue. big-todo is needed if you're
injecting messages faster than qmail-send can process them.
> Is there any ballpark threshhold where these changes become useful?
My rule of thumb is that every directory should have <1000 files in it.
> Would it hurt performance in any way if I made these changes on a relatively
> low volume system?
Slightly, but not in any large manner.
--
-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!
I have looked at the FAQ and some responses to how to get
around the perform_deliveries_as_root error, but they seem
to address using a .qmail-root file, which as I understand
it delivers root mail as another user. The error I am
getting is when another machine sends mail to a non-root
user on the machine I am getting the error. Does this sound
familiar to anyone?
Thanks,
Tim Barnes
==========
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.
>
>
On Wed, Jul 14, 1999 at 11:31:26AM -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.
--
Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting
+358 50 5486010 | software development, unix administration, training
I thought they were the same thing. What's the difference?
-- Tim
Tommi Virtanen wrote:
> On Wed, Jul 14, 1999 at 11:31:26AM -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.
> --
> Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting
> +358 50 5486010 | software development, unix administration, training
>
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
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
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
Is there a script available to take a mbox and forward all of the messages to
another email account?
I looked on www.qmail.org but nothing jumped out at me.
TIA
--Adam
Quoting Adam D . McKenna ([EMAIL PROTECTED]):
> Is there a script available to take a mbox and forward all of the messages to
> another email account?
>
> I looked on www.qmail.org but nothing jumped out at me.
I've always used formail to split up mbox-type files. Check its man
page and look at the use of the "-s" switch.
Aaron
On Wed, Jul 14, 1999 at 02:57:34PM -0400, Adam D . McKenna wrote:
I find it easiest to open the mbox in pine/mutt and simply bounce the
mail to the other account.
> Is there a script available to take a mbox and forward all of the messages to
> another email account?
>
> I looked on www.qmail.org but nothing jumped out at me.
--
See complete headers for more info
Hi !
I am kind of new to qmail. I use it for about year now, but so far I just
had to manage my local mails and mail to my domain. Now I would like to add
mail to existing mail, from other ISPs.
For example I have email [EMAIL PROTECTED] on my machine (I use
atechnet.dhs.org), and I also have email [EMAIL PROTECTED] at my cable
ISP. I would like that qmail would check my pop3 account on kksonline.com
and download it to atechnet.dhs.org. Some other users requested same thing,
so that they don't need to check multiple emails, and also that mail
doesn't accumulate on servers that have limits set very low and after it's
filled messages bounce and some list automatically unsubscribe. So can this
be done directly with qmail or must I use other utilities.
Please help me.
Andy
P.S. I started looking for solution just now, because I am going on
vacation, far away from computers, and if I let my mail accumulate at ISPs
site it will get overfilled within few days, and I will be away for almost
two weeks.
**************************************************************************
* Aleksander Rozman - Andy * Member of: E2:EA, E2F, SAABer, Trekkie, *
* [EMAIL PROTECTED] * X-Phile, Heller's angel, True's screamer, *
* [EMAIL PROTECTED] * True's Trooper, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender *
* ICQ-UIC: 4911125 *********************************************
* PGP key available * http://www.atechnet.ml.org/~andy/ *
**************************************************************************
On Wed, 14 Jul 1999, Aleksander Rozman - Andy wrote:
>
>For example I have email [EMAIL PROTECTED] on my machine (I use
>atechnet.dhs.org), and I also have email [EMAIL PROTECTED] at my cable
>ISP. I would like that qmail would check my pop3 account on kksonline.com
>and download it to atechnet.dhs.org. Some other users requested same thing,
>so that they don't need to check multiple emails, and also that mail
>doesn't accumulate on servers that have limits set very low and after it's
>filled messages bounce and some list automatically unsubscribe. So can this
>be done directly with qmail or must I use other utilities.
>
>Please help me.
You'll need fetchmail to download the mails and pass them to qmail fo rlocal
delivery. However, this is a very difficult thing to get set up - I did have
it working once, but now its broken and all incoming mail is not recognised and
passed to postmaster
good luck
Simon
I had spent a whole afternoon trying to get it work. Read and reread
documents and list archive still don't help.
I have a qmail server -- abang.com.sg
I want to set up virtualdomains for -- adek.com.sg
in control/virtualdomains
adek.com.sg:alamak
in control/rcpthosts
abang.com.sg
adek.com.sg
in ~alamak/.qmail-chateh
&[EMAIL PROTECTED]
Now when i send mail to [EMAIL PROTECTED] Mail is not delivered and I
have these messages in log file:
Jul 15 11:13:25 kids qmail: 932008405.872734 starting delivery 568: msg
329891 to local [EMAIL PROTECTED]
Jul 15 11:13:25 kids qmail: 932008405.872966 status: local 1/10 remote
0/20
Jul 15 11:13:25 kids qmail: 932008405.891146 delivery 568: deferral:
Unable_to_find_alias_user!/
What had i done wrong? Did i missed out something?
Thank you
Soo Aun
MediaManager Pte Ltd
Hi,
I've found that my problem is a bug of qmail-imap 4.1. I'd upgraded to
qmail-imap-4.5 and the problem is stopped. Thanks anyway+ACE-
Dong
-----Original Message-----
From: Nguyen Dang Phuoc Dong +ADw-dongnd+AEA-tlnet.com.vn+AD4-
To: Qmail List +ADw-qmail+AEA-list.cr.yp.to+AD4-
Date: Wednesday, July 14, 1999 9:19 AM
Subject: Don't wanna save messages into +AH4-/Maildir/cur after checked.
+AD4-Hello all,
+AD4-
+AD4-I'm using qmail-imap for accessing Maildir. After checked, the messages is
+AD4-moved from +AH4-/Maildir/new/ to +AH4-/Maildir/cur/. I don't wana saved checked
+AD4-messages. How to tell qmail-imap server to purge messages after checked.
+AD4-
+AD4-Thank you inadvance,
+AD4-
+AD4-Dong
+AD4-
+AD4-
I have Qmail working, sort of. I am using an alternate checkpassword, which may be
the problem. It is the checkpassword that lets
you create all pop accounts under one system user.
Here's the symptom. Mail bounces, with the "Sorry, no mailbox here by that name.
(#5.1.1)". When sent to one of the pop only users.
The strange thing is, that when I log in to check email via POP3, the authorization
works, for the same users (pop only users) that
bounce, as stated above.
If I send mail to a system user, it doesn't bounce, but I can't seem to find it. I am
using /Maildir format.
Is the setup that receives email for each user, and the setup that authenticates users
different?
Any help appreciated,
Peter Janett
New Media One Web Services
~Professional results with a personal touch~
http://www.newmediaone.com
[EMAIL PROTECTED]
On Wed, Jul 14, 1999 at 10:58:22PM -0600, Peter Janett wrote:
> I have Qmail working, sort of. I am using an alternate checkpassword, which
> may be the problem. It is the checkpassword that lets you create all pop
> accounts under one system user.
>
> Here's the symptom. Mail bounces, with the "Sorry, no mailbox here by that
> name. (#5.1.1)". When sent to one of the pop only users.
>
> The strange thing is, that when I log in to check email via POP3, the
> authorization works, for the same users (pop only users) that bounce, as
> stated above.
>
> If I send mail to a system user, it doesn't bounce, but I can't seem to find
> it. I am using /Maildir format.
>
> Is the setup that receives email for each user, and the setup that
> authenticates users different?
Delivery and retrieval are completely separate and unrelated processes, and
checkpassword, no matter what version you're using, never plays any part in
mail delivery.
To get your mail delivered where you want it to be delivered, you'll need some
entries in users/assign. See Paul Gregg's tutorial at
http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt for details.
Chris
I have just moved to qmail from sendmail. Previously I had this:-
# Put SCH101 group messages to web page via hypermail
sch101: b_duke, "| /usr/local/bin/hypermail -i -u -c /home/web/.hmrc.sch101"
in /etc/aliases. It copied the mail to me - b_duke - and feed the mail
to hypermail using the .hmrc.sch101 configuration file. This worked fine.
I translated this to:-
# Put SCH101 group messages to web page via hypermail
b_duke
| /usr/local/bin/hypermail -i -u -c /home/web/.hmrc.sch101
in /var/qmail/alias/.qmail-sch101. I tried a message to sch101 and
it gets defered. ps shows hypermail is running but it just carries
on running and does nothing.
Can anyone suggest what is wrong here.
Cheers, Brian.
--
Associate Professor Brian Salter-Duke (Brian Duke)
Chemistry, Faculty of Science, IT and Education, Northern Territory University,
Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847
[EMAIL PROTECTED] http://www.smps.ntu.edu.au/chemistry/compchem.html