qmail Digest 5 Jun 1999 10:00:00 -0000 Issue 662
Topics (messages 26282 through 26355):
DNS and MX record question
26282 by: Chris Johnson <[EMAIL PROTECTED]>
26289 by: Anthony Mutiso <[EMAIL PROTECTED]>
26291 by: Anthony Mutiso <[EMAIL PROTECTED]>
CR/LF problem
26283 by: "Lanik, Laurenz (21)" <[EMAIL PROTECTED]>
pop server crashing nightly
26284 by: "" <[EMAIL PROTECTED]>
26285 by: Anand Buddhdev <[EMAIL PROTECTED]>
Compile??
26286 by: Kris Keele <[EMAIL PROTECTED]>
26287 by: Lars Balker Rasmussen <[EMAIL PROTECTED]>
26288 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
Changing from
26290 by: [EMAIL PROTECTED]
Getting Maildir + IMAP working
26292 by: Dave Teske <[EMAIL PROTECTED]>
26294 by: Todd at NM Technet <[EMAIL PROTECTED]>
26295 by: David A Galbraith CIRT <[EMAIL PROTECTED]>
26326 by: David A Galbraith CIRT <[EMAIL PROTECTED]>
26327 by: Todd at NM Technet <[EMAIL PROTECTED]>
checkpasswd
26293 by: Stephane Morand <[EMAIL PROTECTED]>
checkpassword from the command line
26296 by: Don Rose <[EMAIL PROTECTED]>
receiving mail from the Internet
26297 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26298 by: Dave Sill <[EMAIL PROTECTED]>
26304 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26331 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26353 by: Dave Sill <[EMAIL PROTECTED]>
additional info re: Internet email
26299 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26300 by: Dave Sill <[EMAIL PROTECTED]>
26303 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26306 by: "Tim Hunter" <[EMAIL PROTECTED]>
26307 by: [EMAIL PROTECTED] (Robert Schader)
26308 by: Vince Vielhaber <[EMAIL PROTECTED]>
26309 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26328 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26330 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26333 by: "Tim Hunter" <[EMAIL PROTECTED]>
26334 by: [EMAIL PROTECTED], [EMAIL PROTECTED],
[mailto:[EMAIL PROTECTED]]@ordertek.com
26335 by: Vince Vielhaber <[EMAIL PROTECTED]>
26336 by: "James P. Kannengieser" <[EMAIL PROTECTED]>
26355 by: Dave Sill <[EMAIL PROTECTED]>
selective forwarding of mail
26301 by: "Mark Rizzo" <[EMAIL PROTECTED]>
26329 by: "Mark Rizzo" <[EMAIL PROTECTED]>
Mass Mailign with Qmail vs. Sendmail
26302 by: Mylo <[EMAIL PROTECTED]>
26305 by: [EMAIL PROTECTED]
26311 by: [EMAIL PROTECTED]
26313 by: Mylo <[EMAIL PROTECTED]>
26314 by: Mylo <[EMAIL PROTECTED]>
26315 by: [EMAIL PROTECTED]
26316 by: Mylo <[EMAIL PROTECTED]>
26319 by: Mylo <[EMAIL PROTECTED]>
26320 by: Mylo <[EMAIL PROTECTED]>
26321 by: [EMAIL PROTECTED]
26322 by: [EMAIL PROTECTED]
26323 by: Russell Nelson <[EMAIL PROTECTED]>
26324 by: Mylo <[EMAIL PROTECTED]>
26332 by: [EMAIL PROTECTED]
26338 by: Mylo <[EMAIL PROTECTED]>
26340 by: [EMAIL PROTECTED]
26344 by: Mylo <[EMAIL PROTECTED]>
26349 by: [EMAIL PROTECTED]
26352 by: Mylo <[EMAIL PROTECTED]>
mkpasswd.pl and checkpasswd
26310 by: Paul Gregg <[EMAIL PROTECTED]>
rcpthosts
26312 by: [EMAIL PROTECTED] (Robert Schader)
26317 by: Justin Bell <[EMAIL PROTECTED]>
26318 by: Scott Schwartz <[EMAIL PROTECTED]>
26325 by: [EMAIL PROTECTED] (Robert Schader)
26342 by: [EMAIL PROTECTED] (Robert Schader)
Qmail, IMAP, and Maildir
26337 by: [EMAIL PROTECTED]
Q: Is it possible to bind 2 diffrent qmail instances on 2 diffrent network interfaces
26339 by: "D. J. Bernstein" <[EMAIL PROTECTED]>
rcpthosts questions
26341 by: Chris Johnson <[EMAIL PROTECTED]>
Mail server load testing
26343 by: "Fred Lindberg" <[EMAIL PROTECTED]>
26350 by: Anand Buddhdev <[EMAIL PROTECTED]>
questions questions questions
26345 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
Life with qmail
26346 by: Dave Sill <[EMAIL PROTECTED]>
How to start the Virus-Scanner
26347 by: [EMAIL PROTECTED]
ezmlm-manage acceping multiple domains in inhost
26348 by: Frederik Lindberg <[EMAIL PROTECTED]>
Encrypted secure POP3 and VPNs
26351 by: Chris Johnson <[EMAIL PROTECTED]>
Reviewers/proofreaders wanted
26354 by: Dave Sill <[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]
----------------------------------------------------------------------
On Fri, Jun 04, 1999 at 12:40:38AM -0600, Anthony Mutiso wrote:
> This question has come up before on this list but I have not been able
> to find a clear answer in the archives.
>
> I tried to mail a friend at domain that only had an MX record.
>
> i.e.
>
> #nslookup -query=A site1.com
> Server: localhost
> Address: 127.0.0.1
>
> *** localhost can't find site1.com: Non-existent host/domain
>
> # nslookup -query=mx site1.com
> Server: localhost
> Address: 127.0.0.1
>
> Non-authoritative answer:
> site1.com preference = 15, mail exchanger = mailin1.site2.com
> site1.com preference = 15, mail exchanger = mailin2.site2.com
bash$ dig site1.com
; <<>> DiG 2.2 <<>> site1.com
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; Ques: 1, Ans: 1, Auth: 3, Addit: 3
;; QUESTIONS:
;; site1.com, type = A, class = IN
;; ANSWERS:
site1.com. 3600 A 209.31.75.157
;; AUTHORITY RECORDS:
site1.com. 3600 NS orange.pangaealink.com.
site1.com. 3600 NS silver.pangaealink.com.
site1.com. 3600 NS black.pangaealink.com.
;; ADDITIONAL RECORDS:
orange.pangaealink.com. 3600 A 209.31.75.3
silver.pangaealink.com. 3600 A 209.31.75.4
black.pangaealink.com. 3600 A 209.31.75.10
Let me guess: site1.com isn't really the domain in question. You've chosen to
hide the real domain name for some reason.
If you want someone to try to debug what might be a DNS problem, don't provide
fake DNS information.
Chris
>>>>> "CJ" == Chris Johnson <[EMAIL PROTECTED]> writes:
CJ> bash$ dig site1.com
[...clipped]
CJ> Let me guess: site1.com isn't really the domain in
CJ> question. You've chosen to hide the real domain name for some
CJ> reason.
Yes! I should have added that I changed the host names since I thought
the actual names did not make much difference, rather it was the
content/results that I was wondering about.
Trying to protect the innocent... or guilty.... never the less if it
will help enlighten me: the site in question is kfoc.com!
CJ> If you want someone to try to debug what might be a DNS problem,
CJ> don't provide fake DNS information.
So does this offer more in-site the delivery failure?
simba# dig kfoc
; <<>> DiG 8.1 <<>> kfoc
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; kfoc, type = A, class = IN
;; AUTHORITY SECTION:
. 1D IN SOA A.ROOT-SERVERS.NET.
hostmaster.INTERNIC.NET. (
1999060300 ; serial
30M ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
;; Total query time: 82 msec
;; FROM: simba to SERVER: default -- 127.0.0.1
;; WHEN: Fri Jun 4 09:29:33 1999
;; MSG SIZE sent: 22 rcvd: 95
Anthony
>>>>> "PN" == Petr Novotny <[EMAIL PROTECTED]> writes:
>> So when I mail [EMAIL PROTECTED] I get the class delivery failure:
>>
>> ....: failure:
>> Sorry,_I_couldn't_find_any_host_named_site1.com>._(#5.1.2)/
PN> Notice the extra > - that's what causes the fault.
Eeeeekkkkk! Did some checking and found that the user name I was using
was being expanded by my mail aliases to include a one single
quote. You know those names like O'Mally. Well.... it would seem that
if I do (this is not the guys real name)
To: Pete O'Mally <[EMAIL PROTECTED]>
or
To: "Pete O'Mally" <[EMAIL PROTECTED]>
it would fail, but if I take the ' out or just use real address
all works as expected.....
Now the question is.... why?
Anthony
My provider has a "self-written" mailserver who can not connect to
qmail.
While looking at the log files we saw that qmail always sends this
annoying "451 See http://pobox.com/~djb/docs/smtplf.html." message.
Since we cannot change the other mailserver, - is there any chance to
get qmail ignore this problem ?
Laurenz Lanik
IntelliNet EDV Dienstleistungsges.m.b.H.
A-1060, Mariahilferstraße 103
Tel.: 595 2388/21, Mobil: 0664/432 5571, Fax: 595 2390
E-Mail: [EMAIL PROTECTED]
WWW: www.IntelliNet.at/intellinet
Hello,
Ever night since I sent up my qmail pop server it has crashed sometime
during the night. There is no/very little traffic on the machine and
the machine did not reboot during the nights. The startup scripts in
rc work fine. I'm running linux redhat 5.2. Has anyone experienced
anything like this?
Because I cannot get logging working with pop, I have no information
from the server itself. BTW, if tcpserver/qmail can log to syslog,
why can't tcpserver/pop3d? Because of the lack of logging and its
instability on my machine I'm thinking of using qpopper instead. Is
qpopper a good alternative?
Thanks,
Mark
On Fri, Jun 04, 1999 at 08:37:33AM -0400, [EMAIL PROTECTED] wrote:
> Ever night since I sent up my qmail pop server it has crashed sometime
> during the night. There is no/very little traffic on the machine and
> the machine did not reboot during the nights. The startup scripts in
> rc work fine. I'm running linux redhat 5.2. Has anyone experienced
> anything like this?
>
> Because I cannot get logging working with pop, I have no information
> from the server itself. BTW, if tcpserver/qmail can log to syslog,
> why can't tcpserver/pop3d? Because of the lack of logging and its
Sure it can. Just pipe the stderr of tcpserver to "logger", which is a
program available on many unix system to do logging at a chosen facility
and tag, something like:
tcpserver -v -..... qmail-pop3d Maildir 2>&1 | logger -t mail.info
> instability on my machine I'm thinking of using qpopper instead. Is
> qpopper a good alternative?
qpopper is too slow, in my opinion, because it makes a copy of the mailbox
before it serves mail, and also it needs to start from inetd. Consider
cucipop instead: very fast, small and has some nifty little features.
--
System Administrator
See complete headers for address, homepage and phone numbers
How do I compile qmail with gcc instead of cc? Is there any
documentation on this?
Kris
On Fri, Jun 04, 1999 at 08:28:57AM -0500, Kris Keele wrote:
> How do I compile qmail with gcc instead of cc?
Check conf-cc.
> Is there any documentation on this?
Surprisingly, nothing I could find easily (grep conf-cc [A-Z]*), but
you might want to read conf-* anyway.
--
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
[EMAIL PROTECTED]
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 4 Jun 1999, Kris Keele wrote:
> How do I compile qmail with gcc instead of cc? Is there any
> documentation on this?
vi auto-ccld.sh
:%s/cc/gcc/g
(Nevermind the warning.)
That should do it.
- -Jay
( ______
)) .--- "There's always time for a good cup of coffee" ---. >===<--.
C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) | = |-'
`--' `- Superman had Kryptonite, I have NT. Life is real. -' `-----'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBN1fqAc2OVDpaKXD9AQFRPQP+PZnvVriFBr4jp4IDZT6eIyPfz0u+jzlU
BFUSXFvG/y34Ll3K7OLUnJXGuoeqY4Yqb/qc3niQRz9d4hqxuiwVD+RnRy8JKibU
rXLK9GYzwd0p/xronH3wG/3QXiruAL5Bh2N16OH3WJl/cwqUg7yV4VPasncSz5oZ
hDpVS5YqEJg=
=I7is
-----END PGP SIGNATURE-----
<<< multipart/signed; boundary=oLBj+sq0vYjzfsbl; micalg=pgp-md5;protocol="application/pgp-signature": Unrecognized >>>
Has anyone got this fully working? Here's my story. Qmail 1.03, the patched
WU IMAP server running both POP and IMAP daemons. POP's working fine and
for the most part so is IMAP. IMAP works great if the users mail box is in
Mailbox format. However if the user is setup for Maildir delivery I seem to
lose the ability to copy from the "Inbox" to another message folder. The
directory structure is
/home/user/
/Maildir
/cur & tmp & new
/Mail
/Folder1 (well it's actually a file like Mailbox)
I've tried a couple of windows clients (eudora, outlook express) and they
work fine except when trying to copy from "Inbox" to "Folder1". They fail
with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking
the clients were at fault I tested it manually via telneting into the imap
server and i get the same error(s). I've tried both the IMAP COPY and UID
COPY commands. The really strange thing is that I can copy between the
Mail/Folders with no problems.
BTW Pegasus actually works with this but they do an APPEND and then a
DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command
like the other 2 so the deleted mail stays in the folders.
I'd really like to get this resolved so I can move all my users into
Maildir format but until this is resolved I can't.
Any ideas what's going on
Thanks
--Dave Teske
dave, all,
i asked a very similar set of questions recently on this list.
the result: the maildir driver for the UW imap server is very
rudimentary. it works extremely well for inboxes, but not well for any
other folders. i have patched it a bit to handle creating new maildirs
correclty and copying between the inbox and other folders, but it doesn't
handle other folders very elegantly yet.
other people have had much better luck with cyrus for imap. until mark
crispin actually ingtegrates maildir support, this sort of thing is likely
to be a problem.
todd underwood
[EMAIL PROTECTED]
On Fri, 4 Jun 1999, Dave Teske wrote:
> Date: Fri, 04 Jun 1999 12:12:12 -0400
> From: Dave Teske <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Getting Maildir + IMAP working
>
> Has anyone got this fully working? Here's my story. Qmail 1.03, the patched
> WU IMAP server running both POP and IMAP daemons. POP's working fine and
> for the most part so is IMAP. IMAP works great if the users mail box is in
> Mailbox format. However if the user is setup for Maildir delivery I seem to
> lose the ability to copy from the "Inbox" to another message folder. The
> directory structure is
>
> /home/user/
> /Maildir
> /cur & tmp & new
> /Mail
> /Folder1 (well it's actually a file like Mailbox)
>
>
> I've tried a couple of windows clients (eudora, outlook express) and they
> work fine except when trying to copy from "Inbox" to "Folder1". They fail
> with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking
> the clients were at fault I tested it manually via telneting into the imap
> server and i get the same error(s). I've tried both the IMAP COPY and UID
> COPY commands. The really strange thing is that I can copy between the
> Mail/Folders with no problems.
>
> BTW Pegasus actually works with this but they do an APPEND and then a
> DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command
> like the other 2 so the deleted mail stays in the folders.
>
> I'd really like to get this resolved so I can move all my users into
> Maildir format but until this is resolved I can't.
>
> Any ideas what's going on
>
> Thanks
> --Dave Teske
>
>
Part of the problem is that when the driver was written they left out a
MAJOR piece of code to handle copying mailmessages between DIFFERENT
mailbox formats :)... to add that in take a look at any of the other
mailbox routines in their MAILBOXTYPE_copy routine and see that they
call mailproxycopy first and then do some extra things... (It has been
a long time since I fixed this... so I don't know if you need to change
any other code but the maildir_copy)... this is what my maildir_copy
looks like now... Notice that if we get an EINVAL mailbox we try
to use mailproxycopy instead.
laters,
-d.
long maildir_copy (MAILSTREAM *stream,char *sequence,char *mailbox,long
options)
{
STRING st;
MESSAGECACHE *elt;
struct stat sbuf;
int fd;
long i;
char *s,tmp[MAILTMPLEN];
mailproxycopy_t pc =
(mailproxycopy_t) mail_parameters (stream,GET_MAILPROXYCOPY,NIL);
/* make sure valid mailbox */
if (!maildir_isvalid (mailbox,NIL)) switch (errno) {
case ENOENT: /* no such file? */
mm_notify (stream,"[TRYCREATE] Must create mailbox before copy",NIL);
return NIL;
case EINVAL:
if (pc) return (*pc) (stream,sequence,mailbox,options);
sprintf (LOCAL->buf,"Invalid Maildir-format mailbox name:
%.80s",mailbox);
mm_log (LOCAL->buf,ERROR);
return NIL;
default:
if (pc) return (*pc) (stream,sequence,mailbox,options);
sprintf (LOCAL->buf,"Not a Maildir-format mailbox: %.80s",mailbox);
mm_log (LOCAL->buf,ERROR);
return NIL;
}
...
...
...
On 4 Jun 1999, Todd at NM Technet wrote:
> dave, all,
>
> i asked a very similar set of questions recently on this list.
>
> the result: the maildir driver for the UW imap server is very
> rudimentary. it works extremely well for inboxes, but not well for any
> other folders. i have patched it a bit to handle creating new maildirs
> correclty and copying between the inbox and other folders, but it doesn't
> handle other folders very elegantly yet.
>
> other people have had much better luck with cyrus for imap. until mark
> crispin actually ingtegrates maildir support, this sort of thing is likely
> to be a problem.
>
> todd underwood
> [EMAIL PROTECTED]
>
> On Fri, 4 Jun 1999, Dave Teske wrote:
>
> > Date: Fri, 04 Jun 1999 12:12:12 -0400
> > From: Dave Teske <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Getting Maildir + IMAP working
> >
> > Has anyone got this fully working? Here's my story. Qmail 1.03, the patched
> > WU IMAP server running both POP and IMAP daemons. POP's working fine and
> > for the most part so is IMAP. IMAP works great if the users mail box is in
> > Mailbox format. However if the user is setup for Maildir delivery I seem to
> > lose the ability to copy from the "Inbox" to another message folder. The
> > directory structure is
> >
> > /home/user/
> > /Maildir
> > /cur & tmp & new
> > /Mail
> > /Folder1 (well it's actually a file like Mailbox)
> >
> >
> > I've tried a couple of windows clients (eudora, outlook express) and they
> > work fine except when trying to copy from "Inbox" to "Folder1". They fail
> > with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking
> > the clients were at fault I tested it manually via telneting into the imap
> > server and i get the same error(s). I've tried both the IMAP COPY and UID
> > COPY commands. The really strange thing is that I can copy between the
> > Mail/Folders with no problems.
> >
> > BTW Pegasus actually works with this but they do an APPEND and then a
> > DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command
> > like the other 2 so the deleted mail stays in the folders.
> >
> > I'd really like to get this resolved so I can move all my users into
> > Maildir format but until this is resolved I can't.
> >
> > Any ideas what's going on
> >
> > Thanks
> > --Dave Teske
> >
> >
>
>
+-----------------------------------------------------------------------+
| David Galbraith dgalb@ University Of New Mexico |
| Systems Analyst unm.edu (505)-277-8499 |
+-----------------------------------------------------------------------+
Part of the problem is that when the driver was written they left out a
MAJOR piece of code to handle copying mailmessages between DIFFERENT
mailbox formats :)... to add that in take a look at any of the other
mailbox routines in their MAILBOXTYPE_copy routine and see that they
call mailproxycopy first and then do some extra things... (It has been
a long time since I fixed this... so I don't know if you need to change
any other code but the maildir_copy)... this is what my maildir_copy
looks like now... Notice that if we get an EINVAL mailbox we try
to use mailproxycopy instead.
laters,
-d.
long maildir_copy (MAILSTREAM *stream,char *sequence,char *mailbox,long
options)
{
STRING st;
MESSAGECACHE *elt;
struct stat sbuf;
int fd;
long i;
char *s,tmp[MAILTMPLEN];
mailproxycopy_t pc =
(mailproxycopy_t) mail_parameters (stream,GET_MAILPROXYCOPY,NIL);
/* make sure valid mailbox */
if (!maildir_isvalid (mailbox,NIL)) switch (errno) {
case ENOENT: /* no such file? */
mm_notify (stream,"[TRYCREATE] Must create mailbox before copy",NIL);
return NIL;
case EINVAL:
if (pc) return (*pc) (stream,sequence,mailbox,options);
sprintf (LOCAL->buf,"Invalid Maildir-format mailbox name:
%.80s",mailbox);
mm_log (LOCAL->buf,ERROR);
return NIL;
default:
if (pc) return (*pc) (stream,sequence,mailbox,options);
sprintf (LOCAL->buf,"Not a Maildir-format mailbox: %.80s",mailbox);
mm_log (LOCAL->buf,ERROR);
return NIL;
}
...
...
...
On 4 Jun 1999, Todd at NM Technet wrote:
> dave, all,
>
> i asked a very similar set of questions recently on this list.
>
> the result: the maildir driver for the UW imap server is very
> rudimentary. it works extremely well for inboxes, but not well for any
> other folders. i have patched it a bit to handle creating new maildirs
> correclty and copying between the inbox and other folders, but it doesn't
> handle other folders very elegantly yet.
>
> other people have had much better luck with cyrus for imap. until mark
> crispin actually ingtegrates maildir support, this sort of thing is likely
> to be a problem.
>
> todd underwood
> [EMAIL PROTECTED]
>
> On Fri, 4 Jun 1999, Dave Teske wrote:
>
> > Date: Fri, 04 Jun 1999 12:12:12 -0400
> > From: Dave Teske <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Getting Maildir + IMAP working
> >
> > Has anyone got this fully working? Here's my story. Qmail 1.03, the patched
> > WU IMAP server running both POP and IMAP daemons. POP's working fine and
> > for the most part so is IMAP. IMAP works great if the users mail box is in
> > Mailbox format. However if the user is setup for Maildir delivery I seem to
> > lose the ability to copy from the "Inbox" to another message folder. The
> > directory structure is
> >
> > /home/user/
> > /Maildir
> > /cur & tmp & new
> > /Mail
> > /Folder1 (well it's actually a file like Mailbox)
> >
> >
> > I've tried a couple of windows clients (eudora, outlook express) and they
> > work fine except when trying to copy from "Inbox" to "Folder1". They fail
> > with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking
> > the clients were at fault I tested it manually via telneting into the imap
> > server and i get the same error(s). I've tried both the IMAP COPY and UID
> > COPY commands. The really strange thing is that I can copy between the
> > Mail/Folders with no problems.
> >
> > BTW Pegasus actually works with this but they do an APPEND and then a
> > DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command
> > like the other 2 so the deleted mail stays in the folders.
> >
> > I'd really like to get this resolved so I can move all my users into
> > Maildir format but until this is resolved I can't.
> >
> > Any ideas what's going on
> >
> > Thanks
> > --Dave Teske
> >
> >
>
>
+-----------------------------------------------------------------------+
| David Galbraith dgalb@ University Of New Mexico |
| Systems Analyst unm.edu (505)-277-8499 |
+-----------------------------------------------------------------------+
dave, all,
i asked a very similar set of questions recently on this list.
the result: the maildir driver for the UW imap server is very
rudimentary. it works extremely well for inboxes, but not well for any
other folders. i have patched it a bit to handle creating new maildirs
correclty and copying between the inbox and other folders, but it doesn't
handle other folders very elegantly yet.
other people have had much better luck with cyrus for imap. until mark
crispin actually ingtegrates maildir support, this sort of thing is likely
to be a problem.
todd underwood
[EMAIL PROTECTED]
On Fri, 4 Jun 1999, Dave Teske wrote:
> Date: Fri, 04 Jun 1999 12:12:12 -0400
> From: Dave Teske <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Getting Maildir + IMAP working
>
> Has anyone got this fully working? Here's my story. Qmail 1.03, the patched
> WU IMAP server running both POP and IMAP daemons. POP's working fine and
> for the most part so is IMAP. IMAP works great if the users mail box is in
> Mailbox format. However if the user is setup for Maildir delivery I seem to
> lose the ability to copy from the "Inbox" to another message folder. The
> directory structure is
>
> /home/user/
> /Maildir
> /cur & tmp & new
> /Mail
> /Folder1 (well it's actually a file like Mailbox)
>
>
> I've tried a couple of windows clients (eudora, outlook express) and they
> work fine except when trying to copy from "Inbox" to "Folder1". They fail
> with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking
> the clients were at fault I tested it manually via telneting into the imap
> server and i get the same error(s). I've tried both the IMAP COPY and UID
> COPY commands. The really strange thing is that I can copy between the
> Mail/Folders with no problems.
>
> BTW Pegasus actually works with this but they do an APPEND and then a
> DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command
> like the other 2 so the deleted mail stays in the folders.
>
> I'd really like to get this resolved so I can move all my users into
> Maildir format but until this is resolved I can't.
>
> Any ideas what's going on
>
> Thanks
> --Dave Teske
>
>
I'm using the checkpoppasswd supplied on Qmail.org:
/* Alternative checkpassword for QPopup by Jedi/Sector One <[EMAIL PROTECTED]> */
/* Format of the configuration file is :
* pop_login:crypted_password:real_login:path */
In the file
/var/qmail/users/poppasswd there is a line like:
testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe
So, here the passwd is crypted. My question is How to setup the crypted
passwd? What seed to use?
The Jedi's checkpoppasswd script uses the crypt() function, with the
parametter: crypt(passwd,stored)
-passwd is the passwd the the program take from the network
-stored is the crypted passwd in the poppasswd file.
So, I don't know what passwd to set in the poppasswd file.
I'm sure someone has a good idea about that :-))
Thanks!
Stephane
I know this has been posted in the past, but I can't figure it out for the
life of me. Here's what I'm trying to do:
Take a username and password from user entry (CGI script).
Check it against the master password database.
I have tried the command-line solution given on the qmail.org homepage,
but I can't make it work. Here's been my try so far :
I have printed the string "user\000password\000Y123456\000" into a file
using a perl script, so it turns the \000 into the null character
checkpassword is looking for (I believe. I then pass the file to
checkpassword like so :
/bin/checkpassword /bin/id 3<test.file
Just like it says on the page. This results in nothing happening, hence I
take it the password is not being accepted even though it is correct. I
am running on FreeBSD 3.1, and checkpassword works with the qmail install
I have, so I know my version works. But I need to be able to use it from
the command line, or at least something other than qmail-popup. It is the
most secure way of checking a password by a non-root application I can
think of, and that is allowed by my boss. can someone help me out please?
Thanks.
Hello,
I just installed qmail 1.03 on Solaris 2.6 to create a mailhub on my lan.
My firewall is set up to pass smtp connections to this mailhub on port 25.
Although qmail delivers messages perfectly well for local user accounts
from other local user accounts, it does not deliver messages sent to users
from the Internet. This system needs to handle messages that are addressed
to a domain name different from the system's domain name. DNS is
configured with an MX record for this second domain name. I've been
sending test messages to this mailhub from an account on the Internet and
have been watching /var/log/syslog for messages. Here is the most recent
message that has appeared in /var/log/syslog:
Jun 4 13:25:27 nssec qmail: 928517127.714850 status: local 0/10 remote
0/20
I installed ucspi-tcp and edited inetd.conf according to the FAQ. I have
also entered both domain names that this system should handle mail for in
/var/qmail/control/rcpthosts. Can anyone make any suggestions that might
help me resolve problems with receiving mail from the Internet? Any
assistance will be greatly appreciated.
Cheers,
Jim
"James P. Kannengieser" <[EMAIL PROTECTED]> wrote:
>
>I installed ucspi-tcp and edited inetd.conf according to the FAQ. I have
>also entered both domain names that this system should handle mail for in
>/var/qmail/control/rcpthosts. Can anyone make any suggestions that might
>help me resolve problems with receiving mail from the Internet? Any
>assistance will be greatly appreciated.
Sure. Make sure that all the domain names for the system are also in
"locals".
See:
http://Web.InfoAve.Net/~dsill/lwq.html#locals
-Dave
Thanks. Did that. My problem still persists, but that would have been
necessary anyway. Also, thanks for the link.
Jim
On Fri, 4 Jun 1999, Dave Sill wrote:
> Sure. Make sure that all the domain names for the system are also in
> "locals".
>
> See:
>
> http://Web.InfoAve.Net/~dsill/lwq.html#locals
>
> -Dave
>
Thanks. Did that. My problem still persists, but that would have been
necessary anyway. Also, thanks for the link.
Jim
On Fri, 4 Jun 1999, Dave Sill wrote:
> Sure. Make sure that all the domain names for the system are also in
> "locals".
>
> See:
>
> http://Web.InfoAve.Net/~dsill/lwq.html#locals
>
> -Dave
>
"James P. Kannengieser" <[EMAIL PROTECTED]> wrote:
>
>I installed ucspi-tcp and edited inetd.conf according to the FAQ. I have
>also entered both domain names that this system should handle mail for in
>/var/qmail/control/rcpthosts. Can anyone make any suggestions that might
>help me resolve problems with receiving mail from the Internet? Any
>assistance will be greatly appreciated.
Sure. Make sure that all the domain names for the system are also in
"locals".
See:
http://Web.InfoAve.Net/~dsill/lwq.html#locals
-Dave
Hello again. Since I sent my last message, I've been monitoring
/var/log/syslog on my mailhub and noticed several new messages that
pertain to this problem. Since most are repetitions, here's a good sample:
Jun 4 14:45:45 nssec qmail: 928521945.769700 starting delivery 13: msg
309 to r
emote [EMAIL PROTECTED]
Jun 4 14:45:45 nssec qmail: 928521945.770882 status: local 0/10 remote
1/20
Jun 4 14:45:45 nssec qmail: 928521945.812184 delivery 13: deferral:
Sorry,_I_wa
sn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jun 4 14:45:45 nssec qmail: 928521945.813339 status: local 0/10 remote
0/20
Even though I have edited inetd.conf for smtp under ucspi-tcp, I just
noticed that I can't find any reference to port 25 when I do a netstat
-an.
Once again, any assistance will be appreciated.
Thanks,
Jim
"James P. Kannengieser" <[EMAIL PROTECTED]> wrote:
>
>Even though I have edited inetd.conf for smtp under ucspi-tcp, I just
>noticed that I can't find any reference to port 25 when I do a netstat
>-an.
Are you using inetd or tcpserver? What does inetd.conf say? What
happens if you telnet to port 25?
-Dave
Here is what is in inetd.conf:
tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/spollger smtpd 3 &
I entered this according to the docs. As for telnetting to port 25,
nothing happens when I do that. Very strange.
Thanks,
Jim
On Fri, 4 Jun 1999, Dave Sill wrote:
> Are you using inetd or tcpserver? What does inetd.conf say? What
> happens if you telnet to port 25?
>
> -Dave
>
do you have it set in /etc/services as well?
> -----Original Message-----
> From: James P. Kannengieser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: additional info re: Internet email
>
>
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
>
> Thanks,
> Jim
>
>
> On Fri, 4 Jun 1999, Dave Sill wrote:
>
> > Are you using inetd or tcpserver? What does inetd.conf say? What
> > happens if you telnet to port 25?
> >
> > -Dave
> >
>
Just joining in on this thread.
Have you checked the spelling for splogger in your inetd.conf file?
If you get nothing when telnetting to port 25 on the same machine,
then something is not starting up right. If you are remote, is there
a firewall in=between that blocks port 25?
Did you send inetd a SIGHUP signal?
Did you install the sendmail wrapper?
**********************************************__
Bob Schader _.-{__}-._
CAD Systems Administrator .:-'`____`'-:.
Product Design International, Inc. /_.-"`_ _`"-._\
4880 36th St. S.E., Suite 100 /` / .\/. \ `\
Grand Rapids, MI 49512 | \__/\__/ |
Phone: 616-667-2600 .-\ /-.
Fax: 616-667-2692 / '._-.__--__.-_.' \
Email: [EMAIL PROTECTED] \'. `""""""""`'` __\
**********************************(__)| ' \___)
`_________'________ \
`--------------------`
-----Original Message-----
From: Tim Hunter [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 04, 1999 4:24 PM
To: Qmail
Subject: RE: additional info re: Internet email
do you have it set in /etc/services as well?
> -----Original Message-----
> From: James P. Kannengieser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: additional info re: Internet email
>
>
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
>
> Thanks,
> Jim
>
>
> On Fri, 4 Jun 1999, Dave Sill wrote:
>
> > Are you using inetd or tcpserver? What does inetd.conf say? What
> > happens if you telnet to port 25?
> >
> > -Dave
> >
>
On 04-Jun-99 James P. Kannengieser wrote:
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
You have *this* in inetd.conf? No wonder it doesn't work. That belongs
on the command line executed by root if you're trying to start it without
restarting the machine. If you're rebooting you need to put that in your
startup script.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Yes, I have smtp set in /etc/servies. Here is the line:
smtp 25/tcp mail
Thanks.
On Fri, 4 Jun 1999, Tim Hunter wrote:
> do you have it set in /etc/services as well?
>
Hello again. Since I sent my last message, I've been monitoring
/var/log/syslog on my mailhub and noticed several new messages that
pertain to this problem. Since most are repetitions, here's a good sample:
Jun 4 14:45:45 nssec qmail: 928521945.769700 starting delivery 13: msg
309 to r
emote [EMAIL PROTECTED]
Jun 4 14:45:45 nssec qmail: 928521945.770882 status: local 0/10 remote
1/20
Jun 4 14:45:45 nssec qmail: 928521945.812184 delivery 13: deferral:
Sorry,_I_wa
sn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jun 4 14:45:45 nssec qmail: 928521945.813339 status: local 0/10 remote
0/20
Even though I have edited inetd.conf for smtp under ucspi-tcp, I just
noticed that I can't find any reference to port 25 when I do a netstat
-an.
Once again, any assistance will be appreciated.
Thanks,
Jim
Here is what is in inetd.conf:
tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/spollger smtpd 3 &
I entered this according to the docs. As for telnetting to port 25,
nothing happens when I do that. Very strange.
Thanks,
Jim
On Fri, 4 Jun 1999, Dave Sill wrote:
> Are you using inetd or tcpserver? What does inetd.conf say? What
> happens if you telnet to port 25?
>
> -Dave
>
do you have it set in /etc/services as well?
> -----Original Message-----
> From: James P. Kannengieser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: additional info re: Internet email
>
>
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
>
> Thanks,
> Jim
>
>
> On Fri, 4 Jun 1999, Dave Sill wrote:
>
> > Are you using inetd or tcpserver? What does inetd.conf say? What
> > happens if you telnet to port 25?
> >
> > -Dave
> >
>
do you have it set in /etc/services as well?
> -----Original Message-----
> From: James P. Kannengieser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: additional info re: Internet email
>
>
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
>
> Thanks,
> Jim
>
>
> On Fri, 4 Jun 1999, Dave Sill wrote:
>
> > Are you using inetd or tcpserver? What does inetd.conf say? What
> > happens if you telnet to port 25?
> >
> > -Dave
> >
>
Just joining in on this thread.
Have you checked the spelling for splogger in your inetd.conf file?
If you get nothing when telnetting to port 25 on the same machine,
then something is not starting up right. If you are remote, is there
a firewall in=between that blocks port 25?
Did you send inetd a SIGHUP signal?
Did you install the sendmail wrapper?
**********************************************__
Bob Schader _.-{__}-._
CAD Systems Administrator .:-'`____`'-:.
Product Design International, Inc. /_.-"`_ _`"-._\
4880 36th St. S.E., Suite 100 /` / .\/. \ `\
Grand Rapids, MI 49512 | \__/\__/ |
Phone: 616-667-2600 .-\ /-.
Fax: 616-667-2692 / '._-.__--__.-_.' \
Email: [EMAIL PROTECTED] \'. `""""""""`'` __\
**********************************(__)| ' \___)
`_________'________ \
`--------------------`
-----Original Message-----
From: Tim Hunter [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 04, 1999 4:24 PM
To: Qmail
Subject: RE: additional info re: Internet email
do you have it set in /etc/services as well?
> -----Original Message-----
> From: James P. Kannengieser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: additional info re: Internet email
>
>
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
>
> Thanks,
> Jim
>
>
> On Fri, 4 Jun 1999, Dave Sill wrote:
>
> > Are you using inetd or tcpserver? What does inetd.conf say? What
> > happens if you telnet to port 25?
> >
> > -Dave
> >
>
On 04-Jun-99 James P. Kannengieser wrote:
> Here is what is in inetd.conf:
>
> tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 |
> /var/qmail/bin/spollger smtpd 3 &
>
> I entered this according to the docs. As for telnetting to port 25,
> nothing happens when I do that. Very strange.
You have *this* in inetd.conf? No wonder it doesn't work. That belongs
on the command line executed by root if you're trying to start it without
restarting the machine. If you're rebooting you need to put that in your
startup script.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Yes, I have smtp set in /etc/servies. Here is the line:
smtp 25/tcp mail
Thanks.
On Fri, 4 Jun 1999, Tim Hunter wrote:
> do you have it set in /etc/services as well?
>
"James P. Kannengieser" <[EMAIL PROTECTED]> wrote:
>
>Even though I have edited inetd.conf for smtp under ucspi-tcp, I just
>noticed that I can't find any reference to port 25 when I do a netstat
>-an.
Are you using inetd or tcpserver? What does inetd.conf say? What
happens if you telnet to port 25?
-Dave
Hello,
I am new to Qmail and I have searched the archives and have not
found my answer.
Does Q-mail have any feature to control the forwarding of my e-mail
based on the sender's domain or complete from address? It looks
as though this can be done with outside tools but I am not sure if
Qmail has this function directly. If Qmail does not provide this
option to users could someone please give me some simple
scripts/ideas on how to handle this need.
Ex: mail sent to [EMAIL PROTECTED] which comes from
listserve.foo.com will be forwarded to [EMAIL PROTECTED], other
mail delivered to normal mailbox.
Thanks In Advance,
Mark Rizzo
Hello,
I am new to Qmail and I have searched the archives and have not
found my answer.
Does Q-mail have any feature to control the forwarding of my e-mail
based on the sender's domain or complete from address? It looks
as though this can be done with outside tools but I am not sure if
Qmail has this function directly. If Qmail does not provide this
option to users could someone please give me some simple
scripts/ideas on how to handle this need.
Ex: mail sent to [EMAIL PROTECTED] which comes from
listserve.foo.com will be forwarded to [EMAIL PROTECTED], other
mail delivered to normal mailbox.
Thanks In Advance,
Mark Rizzo
Not sure if this went through the first time, I got a help msg back
so here goes again:
Hello all,
I am investigating using qmail to send a mass mailing to our 2M user base.
Currently we have been using sendmail. First, let me describe our current
setup. We have 26 different sendmail's running as deamons on 26 different
mqueue's. We then have a program that pulls user information out of our
database and creates the qfAA and dfAA files into these queue's. It dumps
10,000 messages in each queue, then moves onto the next queue, leaving
sendmail to distribute the messages from the queue. This is however,
insanely slow. From what I've seen/read/and heard Qmail will be able to
accomplish our 2M mailing a lot faster than sendmail, however I believe that
a large part of our bottleneck is that we create queue files and expect
sendmail to recognize it. Okay, now to the question: What would be the
best way of doing this with Qmail? Running multiple deamons on multiple
queue's? or can Qmail do this all automatically. I am very unfamiliar with
the Qmail configuration so any assistance would be greatly appreciated.
Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
Thank you.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
I send out a monthly newsletter to a user base of 2.5 million
using qmail. The marketing department stages the emails to be
sent with 500,000 a day to track how it effects the web site.
I use a pentium box with 128M ram, a raid disk with one
qmail queue and OpenBSD. Delivery rates on that one machine run between
750,000 to 1.2 million per day, max.
concurrent remote delivery is 255
CPU usage varies between 20 and 70%
(it's not dedicated to just qmail)
I wrote a simple program to read a file of To: addresses
and a file with the body. It calls qmail-queue directly,
and monitors the queue size to self throttle itself.
One to: address one qmail-queue invocation.
A more efficent method would be similar to how ezmlm works..
Batch up groups of email addresses with one invocation of
qmail-queue. I think that would result in less disk I/O and
higher delivery rates.
Hope that gives you some real world info
Ken Jones
Inter7
http://www.inter7.com/qmail/
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> Not sure if this went through the first time, I got a help msg back
> so here goes again:
>
> Hello all,
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail? Running multiple deamons on multiple
> queue's? or can Qmail do this all automatically. I am very unfamiliar with
> the Qmail configuration so any assistance would be greatly appreciated.
> Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> Thank you.
>
> -- Tim "Mylo" Madams
> -- [EMAIL PROTECTED]
>
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail?
You've left out a critically important piece of information which would
answer that question. Are the messages you're sending out identical in
content? Or are they unique to each user?
1) If they're identical
You have a standard neo-mailing list configuration. You could take
advantage of add-on tools such as ezmlm to do VERP and bounce management.
You can write your own tools to do that. The best thing to do is to
use qmail's built-in queue-injection tools: qmail-inject and qmail-queue
2) If they're user dependant
You can adapt your direct queue-writing tool to qmail's queue structure,
but be very careful to make sure that the qmail instance which uses
that queue is -not- running while you do so.
> Running multiple deamons on multiple queue's?
You can do that if your queue writer takes a significant amount of time
to write out to the queue.
--
John White johnjohn
at
triceratops.com
PGP Public Key: http://www.triceratops.com/john/public-key.pgp
How do you actually insert the files into the queue? I ran a few tests
using qmail-inject for each individual mail but I don't know how well
that will utilize "same domain" queue'ing.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I send out a monthly newsletter to a user base of 2.5 million
> using qmail. The marketing department stages the emails to be
> sent with 500,000 a day to track how it effects the web site.
>
> I use a pentium box with 128M ram, a raid disk with one
> qmail queue and OpenBSD. Delivery rates on that one machine run between
> 750,000 to 1.2 million per day, max.
>
> concurrent remote delivery is 255
> CPU usage varies between 20 and 70%
> (it's not dedicated to just qmail)
>
> I wrote a simple program to read a file of To: addresses
> and a file with the body. It calls qmail-queue directly,
> and monitors the queue size to self throttle itself.
> One to: address one qmail-queue invocation.
>
> A more efficent method would be similar to how ezmlm works..
> Batch up groups of email addresses with one invocation of
> qmail-queue. I think that would result in less disk I/O and
> higher delivery rates.
>
> Hope that gives you some real world info
>
> Ken Jones
> Inter7
> http://www.inter7.com/qmail/
>
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > Not sure if this went through the first time, I got a help msg back
> > so here goes again:
> >
> > Hello all,
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail? Running multiple deamons on multiple
> > queue's? or can Qmail do this all automatically. I am very unfamiliar with
> > the Qmail configuration so any assistance would be greatly appreciated.
> > Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> > Thank you.
> >
> > -- Tim "Mylo" Madams
> > -- [EMAIL PROTECTED]
> >
>
Each message contains magical unique information for the specific user.
The way it's done right now (in sendmail) I wrote a perl script that writes
the queue files. This uses file locking and since sendmail is caring about
locked files it won't try to send them while they're still being written.
You don't suggest using qmail-inject to insert the files into the queue's?
It may be a little slower since it has to fork a new process for each mail
but I figured that would solve any flock'ing issues.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail?
>
> You've left out a critically important piece of information which would
> answer that question. Are the messages you're sending out identical in
> content? Or are they unique to each user?
>
> 1) If they're identical
> You have a standard neo-mailing list configuration. You could take
> advantage of add-on tools such as ezmlm to do VERP and bounce management.
> You can write your own tools to do that. The best thing to do is to
> use qmail's built-in queue-injection tools: qmail-inject and qmail-queue
>
> 2) If they're user dependant
> You can adapt your direct queue-writing tool to qmail's queue structure,
> but be very careful to make sure that the qmail instance which uses
> that queue is -not- running while you do so.
>
> > Running multiple deamons on multiple queue's?
>
> You can do that if your queue writer takes a significant amount of time
> to write out to the queue.
>
> --
> John White johnjohn
> at
> triceratops.com
> PGP Public Key: http://www.triceratops.com/john/public-key.pgp
>
We something similar for a client a while ago. They are now mailing their
newsletters out at a rate of 150,000/hour with two machines. The trick is
to use qmail-remote directly and only queue stuff that doesn't get out the
first try.
Dirk
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> Not sure if this went through the first time, I got a help msg back
> so here goes again:
>
> Hello all,
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail? Running multiple deamons on multiple
> queue's? or can Qmail do this all automatically. I am very unfamiliar with
> the Qmail configuration so any assistance would be greatly appreciated.
> Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> Thank you.
>
> -- Tim "Mylo" Madams
> -- [EMAIL PROTECTED]
>
By "same domain" queue'ing I was refering to queue'ing messages targeted
at the same remote domain (See also: aol.com) into the same queue as to
allow Qmail (in our current case sendmail) to force messages to one mail
host through the same process to improve performance.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 02:19:36PM -0700, Mylo wrote:
> > How do you actually insert the files into the queue? I ran a few tests
> > using qmail-inject for each individual mail but I don't know how well
> > that will utilize "same domain" queue'ing.
> >
>
> I attached the program.
>
> "same domain" queue'ing. I'm not sure what you mean by that.
> Do you mean each outgoing email has the same From address?
>
> Qmail doesn't care about the from address. You can put anything
> you want in there and send it all thru the same qmail queue.
>
>
> Ken
[Attachment, skipping...]
That's sounding happy, but how do you limit the number of qmail-remote's that are
gonna get spawned. Aren't you running the risk of thousands, or should I say
millions of them starting at once.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
once
[EMAIL PROTECTED] wrote:
> We something similar for a client a while ago. They are now mailing their
> newsletters out at a rate of 150,000/hour with two machines. The trick is
> to use qmail-remote directly and only queue stuff that doesn't get out the
> first try.
>
> Dirk
>
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > Not sure if this went through the first time, I got a help msg back
> > so here goes again:
> >
> > Hello all,
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail? Running multiple deamons on multiple
> > queue's? or can Qmail do this all automatically. I am very unfamiliar with
> > the Qmail configuration so any assistance would be greatly appreciated.
> > Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> > Thank you.
> >
> > -- Tim "Mylo" Madams
> > -- [EMAIL PROTECTED]
> >
>
[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 02:39:16PM -0700, Mylo wrote:
> > Each message contains magical unique information for the specific user.
> >
> > The way it's done right now (in sendmail) I wrote a perl script that writes
> > the queue files. This uses file locking and since sendmail is caring about
> > locked files it won't try to send them while they're still being written.
> >
> > You don't suggest using qmail-inject to insert the files into the queue's?
> > It may be a little slower since it has to fork a new process for each mail
> > but I figured that would solve any flock'ing issues.
>
> You can try using qmail-inject, but I'd be concerned about disk i/o.
> qmail-inject has the potential to inject messages into the queue
> faster than they can be pre-processed. If you get to that point,
> things will get very slow for quite a while.
>
> It would make sense to have a separate instance of qmail used just
> for this list. Before you send out a mailing, shut down the qmail-send
> process for the list. Run your queue writing process. Then re-start
> qmail. But again, it's critical to not have qmail running when you
> muck around with the queue.
In fact, this whole machine is dedicated to mass mailing... But we obviously
can't dump 2M+ files into the queue's before we start qmail-send. We need
some way of piping them in at just about the same rate they can go out. It's
okay to be a little faster as they will just sit in the queue until there's
time to send 'em out.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
You count or measure system load... that's part of the scripts that you need to
create to feed into the qmail-remotes.
Dirk
On Fri, Jun 04, 1999 at 03:17:33PM -0700, Mylo wrote:
> That's sounding happy, but how do you limit the number of qmail-remote's that are
> gonna get spawned. Aren't you running the risk of thousands, or should I say
> millions of them starting at once.
>
> -- Tim "Mylo" Madams
> -- [EMAIL PROTECTED]
>
> once
> [EMAIL PROTECTED] wrote:
> > We something similar for a client a while ago. They are now mailing their
> > newsletters out at a rate of 150,000/hour with two machines. The trick is
> > to use qmail-remote directly and only queue stuff that doesn't get out the
> > first try.
> >
> > Dirk
> >
> > On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > > Not sure if this went through the first time, I got a help msg back
> > > so here goes again:
> > >
> > > Hello all,
> > > I am investigating using qmail to send a mass mailing to our 2M user base.
> > > Currently we have been using sendmail. First, let me describe our current
> > > setup. We have 26 different sendmail's running as deamons on 26 different
> > > mqueue's. We then have a program that pulls user information out of our
> > > database and creates the qfAA and dfAA files into these queue's. It dumps
> > > 10,000 messages in each queue, then moves onto the next queue, leaving
> > > sendmail to distribute the messages from the queue. This is however,
> > > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > > a large part of our bottleneck is that we create queue files and expect
> > > sendmail to recognize it. Okay, now to the question: What would be the
> > > best way of doing this with Qmail? Running multiple deamons on multiple
> > > queue's? or can Qmail do this all automatically. I am very unfamiliar with
> > > the Qmail configuration so any assistance would be greatly appreciated.
> > > Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> > > Thank you.
> > >
> > > -- Tim "Mylo" Madams
> > > -- [EMAIL PROTECTED]
> > >
> >
>
On Fri, Jun 04, 1999 at 03:20:36PM -0700, Mylo wrote:
> In fact, this whole machine is dedicated to mass mailing... But we obviously
> can't dump 2M+ files into the queue's before we start qmail-send.
This isn't obvious to me. Why not?
> We need
> some way of piping them in at just about the same rate they can go out. It's
> okay to be a little faster as they will just sit in the queue until there's
> time to send 'em out.
Actually, no it isn't. This will bottleneck qmail-send, since you're
talking about queueing each recipient separately.
qmail can send out preprocessed messages in the queue very very quickly.
qmail can add messages to the queue very very quickly.
slice from internals:
qmail-queue --- qmail-send --- qmail-rspawn
I guess some explanation about the qmail queue is necessary. qmail-queue
writes the files necessary to get the message into the "queued" state.
qmail-send decides whether the deliveries will be local/remote, and
puts the message in a state called "preprocessed." qmail-rspawn and
qmail-lspawn are triggered to work on messages which are preprocessed.
qmail-send is a single process. qmail-queue can have multiple
instanciations, and has the potential queueing more messages than
qmail-send can immediately preprocess.
What I'm not expressing very well is that using qmail-inject (a frontend
for qmail-queue) on 2M+ unique messages and recipients, you can potentially
send messages to be queued faster than qmail can preprocess the messages
and create the queue entries. When qmail gets into this state, it's
performance will degrade massively. I guess the question becomes:
how fast will you spawn qmail-queue processes? Fast enough to outpace
qmail-send's preprocessing? You'll probably want to get the messages
into the queue as fast as possible, right? Or does your mailout process
hang around for hours and hours? Is it structured to maintain state
of it's processing in the case of a failure?
--
John White johnjohn
at
triceratops.com
PGP Public Key: http://www.triceratops.com/john/public-key.pgp
Mylo writes:
> In fact, this whole machine is dedicated to mass mailing... But we obviously
> can't dump 2M+ files into the queue's before we start qmail-send.
Obviously you can, as long as you increase queue_split, and apply my
big-todo patch, found on www.qmail.org.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | child.
Oh really, so each message will be a seperate process. Doesn't sendmail
do some magic in this case? I know that it at least is better about
caching DNS records internally if many messages are destined to the
same domain.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> Why do you want to do same domain queuing?
> There is nothing in qmail that makes optimizations for it,
> nor is there any reason to optimize for it.
>
> Ken
>
> On Fri, Jun 04, 1999 at 02:19:36PM -0700, Mylo wrote:
> > How do you actually insert the files into the queue? I ran a few tests
> > using qmail-inject for each individual mail but I don't know how well
> > that will utilize "same domain" queue'ing.
> >
> > -- Tim "Mylo" Madams
> > -- [EMAIL PROTECTED]
> >
> > [EMAIL PROTECTED] wrote:
> > >
> > > I send out a monthly newsletter to a user base of 2.5 million
> > > using qmail. The marketing department stages the emails to be
> > > sent with 500,000 a day to track how it effects the web site.
> > >
> > > I use a pentium box with 128M ram, a raid disk with one
> > > qmail queue and OpenBSD. Delivery rates on that one machine run between
> > > 750,000 to 1.2 million per day, max.
> > >
> > > concurrent remote delivery is 255
> > > CPU usage varies between 20 and 70%
> > > (it's not dedicated to just qmail)
> > >
> > > I wrote a simple program to read a file of To: addresses
> > > and a file with the body. It calls qmail-queue directly,
> > > and monitors the queue size to self throttle itself.
> > > One to: address one qmail-queue invocation.
> > >
> > > A more efficent method would be similar to how ezmlm works..
> > > Batch up groups of email addresses with one invocation of
> > > qmail-queue. I think that would result in less disk I/O and
> > > higher delivery rates.
> > >
> > > Hope that gives you some real world info
> > >
> > > Ken Jones
> > > Inter7
> > > http://www.inter7.com/qmail/
> > >
> > > On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > > > Not sure if this went through the first time, I got a help msg back
> > > > so here goes again:
> > > >
> > > > Hello all,
> > > > I am investigating using qmail to send a mass mailing to our 2M user base.
> > > > Currently we have been using sendmail. First, let me describe our current
> > > > setup. We have 26 different sendmail's running as deamons on 26 different
> > > > mqueue's. We then have a program that pulls user information out of our
> > > > database and creates the qfAA and dfAA files into these queue's. It dumps
> > > > 10,000 messages in each queue, then moves onto the next queue, leaving
> > > > sendmail to distribute the messages from the queue. This is however,
> > > > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > > > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > > > a large part of our bottleneck is that we create queue files and expect
> > > > sendmail to recognize it. Okay, now to the question: What would be the
> > > > best way of doing this with Qmail? Running multiple deamons on multiple
> > > > queue's? or can Qmail do this all automatically. I am very unfamiliar with
> > > > the Qmail configuration so any assistance would be greatly appreciated.
> > > > Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> > > > Thank you.
I send out a monthly newsletter to a user base of 2.5 million
using qmail. The marketing department stages the emails to be
sent with 500,000 a day to track how it effects the web site.
I use a pentium box with 128M ram, a raid disk with one
qmail queue and OpenBSD. Delivery rates on that one machine run between
750,000 to 1.2 million per day, max.
concurrent remote delivery is 255
CPU usage varies between 20 and 70%
(it's not dedicated to just qmail)
I wrote a simple program to read a file of To: addresses
and a file with the body. It calls qmail-queue directly,
and monitors the queue size to self throttle itself.
One to: address one qmail-queue invocation.
A more efficent method would be similar to how ezmlm works..
Batch up groups of email addresses with one invocation of
qmail-queue. I think that would result in less disk I/O and
higher delivery rates.
Hope that gives you some real world info
Ken Jones
Inter7
http://www.inter7.com/qmail/
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> Not sure if this went through the first time, I got a help msg back
> so here goes again:
>
> Hello all,
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail? Running multiple deamons on multiple
> queue's? or can Qmail do this all automatically. I am very unfamiliar with
> the Qmail configuration so any assistance would be greatly appreciated.
> Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> Thank you.
>
> -- Tim "Mylo" Madams
> -- [EMAIL PROTECTED]
>
Not sure if this went through the first time, I got a help msg back
so here goes again:
Hello all,
I am investigating using qmail to send a mass mailing to our 2M user base.
Currently we have been using sendmail. First, let me describe our current
setup. We have 26 different sendmail's running as deamons on 26 different
mqueue's. We then have a program that pulls user information out of our
database and creates the qfAA and dfAA files into these queue's. It dumps
10,000 messages in each queue, then moves onto the next queue, leaving
sendmail to distribute the messages from the queue. This is however,
insanely slow. From what I've seen/read/and heard Qmail will be able to
accomplish our 2M mailing a lot faster than sendmail, however I believe that
a large part of our bottleneck is that we create queue files and expect
sendmail to recognize it. Okay, now to the question: What would be the
best way of doing this with Qmail? Running multiple deamons on multiple
queue's? or can Qmail do this all automatically. I am very unfamiliar with
the Qmail configuration so any assistance would be greatly appreciated.
Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
Thank you.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail?
You've left out a critically important piece of information which would
answer that question. Are the messages you're sending out identical in
content? Or are they unique to each user?
1) If they're identical
You have a standard neo-mailing list configuration. You could take
advantage of add-on tools such as ezmlm to do VERP and bounce management.
You can write your own tools to do that. The best thing to do is to
use qmail's built-in queue-injection tools: qmail-inject and qmail-queue
2) If they're user dependant
You can adapt your direct queue-writing tool to qmail's queue structure,
but be very careful to make sure that the qmail instance which uses
that queue is -not- running while you do so.
> Running multiple deamons on multiple queue's?
You can do that if your queue writer takes a significant amount of time
to write out to the queue.
--
John White johnjohn
at
triceratops.com
PGP Public Key: http://www.triceratops.com/john/public-key.pgp
How do you actually insert the files into the queue? I ran a few tests
using qmail-inject for each individual mail but I don't know how well
that will utilize "same domain" queue'ing.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I send out a monthly newsletter to a user base of 2.5 million
> using qmail. The marketing department stages the emails to be
> sent with 500,000 a day to track how it effects the web site.
>
> I use a pentium box with 128M ram, a raid disk with one
> qmail queue and OpenBSD. Delivery rates on that one machine run between
> 750,000 to 1.2 million per day, max.
>
> concurrent remote delivery is 255
> CPU usage varies between 20 and 70%
> (it's not dedicated to just qmail)
>
> I wrote a simple program to read a file of To: addresses
> and a file with the body. It calls qmail-queue directly,
> and monitors the queue size to self throttle itself.
> One to: address one qmail-queue invocation.
>
> A more efficent method would be similar to how ezmlm works..
> Batch up groups of email addresses with one invocation of
> qmail-queue. I think that would result in less disk I/O and
> higher delivery rates.
>
> Hope that gives you some real world info
>
> Ken Jones
> Inter7
> http://www.inter7.com/qmail/
>
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > Not sure if this went through the first time, I got a help msg back
> > so here goes again:
> >
> > Hello all,
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail? Running multiple deamons on multiple
> > queue's? or can Qmail do this all automatically. I am very unfamiliar with
> > the Qmail configuration so any assistance would be greatly appreciated.
> > Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> > Thank you.
> >
> > -- Tim "Mylo" Madams
> > -- [EMAIL PROTECTED]
> >
>
We something similar for a client a while ago. They are now mailing their
newsletters out at a rate of 150,000/hour with two machines. The trick is
to use qmail-remote directly and only queue stuff that doesn't get out the
first try.
Dirk
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> Not sure if this went through the first time, I got a help msg back
> so here goes again:
>
> Hello all,
> I am investigating using qmail to send a mass mailing to our 2M user base.
> Currently we have been using sendmail. First, let me describe our current
> setup. We have 26 different sendmail's running as deamons on 26 different
> mqueue's. We then have a program that pulls user information out of our
> database and creates the qfAA and dfAA files into these queue's. It dumps
> 10,000 messages in each queue, then moves onto the next queue, leaving
> sendmail to distribute the messages from the queue. This is however,
> insanely slow. From what I've seen/read/and heard Qmail will be able to
> accomplish our 2M mailing a lot faster than sendmail, however I believe that
> a large part of our bottleneck is that we create queue files and expect
> sendmail to recognize it. Okay, now to the question: What would be the
> best way of doing this with Qmail? Running multiple deamons on multiple
> queue's? or can Qmail do this all automatically. I am very unfamiliar with
> the Qmail configuration so any assistance would be greatly appreciated.
> Please reply directly to <A HREF="maito:[EMAIL PROTECTED]"> [EMAIL PROTECTED] </A>.
> Thank you.
>
> -- Tim "Mylo" Madams
> -- [EMAIL PROTECTED]
>
Each message contains magical unique information for the specific user.
The way it's done right now (in sendmail) I wrote a perl script that writes
the queue files. This uses file locking and since sendmail is caring about
locked files it won't try to send them while they're still being written.
You don't suggest using qmail-inject to insert the files into the queue's?
It may be a little slower since it has to fork a new process for each mail
but I figured that would solve any flock'ing issues.
-- Tim "Mylo" Madams
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote:
> > I am investigating using qmail to send a mass mailing to our 2M user base.
> > Currently we have been using sendmail. First, let me describe our current
> > setup. We have 26 different sendmail's running as deamons on 26 different
> > mqueue's. We then have a program that pulls user information out of our
> > database and creates the qfAA and dfAA files into these queue's. It dumps
> > 10,000 messages in each queue, then moves onto the next queue, leaving
> > sendmail to distribute the messages from the queue. This is however,
> > insanely slow. From what I've seen/read/and heard Qmail will be able to
> > accomplish our 2M mailing a lot faster than sendmail, however I believe that
> > a large part of our bottleneck is that we create queue files and expect
> > sendmail to recognize it. Okay, now to the question: What would be the
> > best way of doing this with Qmail?
>
> You've left out a critically important piece of information which would
> answer that question. Are the messages you're sending out identical in
> content? Or are they unique to each user?
>
> 1) If they're identical
> You have a standard neo-mailing list configuration. You could take
> advantage of add-on tools such as ezmlm to do VERP and bounce management.
> You can write your own tools to do that. The best thing to do is to
> use qmail's built-in queue-injection tools: qmail-inject and qmail-queue
>
> 2) If they're user dependant
> You can adapt your direct queue-writing tool to qmail's queue structure,
> but be very careful to make sure that the qmail instance which uses
> that queue is -not- running while you do so.
>
> > Running multiple deamons on multiple queue's?
>
> You can do that if your queue writer takes a significant amount of time
> to write out to the queue.
>
> --
> John White johnjohn
> at
> triceratops.com
> PGP Public Key: http://www.triceratops.com/john/public-key.pgp
>
In article <[EMAIL PROTECTED]> you wrote:
> Could anyone help me?
> I'm using the checkpoppasswd supplied on Qmail.org:
> /* Alternative checkpassword for QPopup by Jedi/Sector One <[EMAIL PROTECTED]> */
> /* Format of the configuration file is :
> * pop_login:crypted_password:real_login:path */
> In the file
> /var/qmail/users/poppasswd there is a line like:
> testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe
> So, here the passwd is crypted. My question is How to setup the crypted
> passwd? What seed to use?
> The Jedi's checkpoppasswd script uses the crypt() function, with the
> parametter: crypt(passwd,stored)
> -passwd is the passwd the the program take from the network
> -stored is the crypted passwd in the poppasswd file.
> So, I don't know what passwd to set in the poppasswd file.
> I'm sure someone has a good idea about that :-))
It is irrelivant what seed you use to crypt your passwords with. The
checkpasswd program will read in thecrypted password from the poppasswd file
and use the first two chars as the seed.
If you question is how to generate crypted passwords (for creation of
poppasswd entries) then have a look at my mkpasswd.pl util at:
http://www.tibus.net/pgregg/projects/
Paul.
--
Email pgregg at tibus.net | CLUB24 | Email pgregg at nyx.net |
Technical Director | INTERNET | System Administrator |
The Internet Business Ltd | Free Access | Nyx Public Access Internet |
http://www.tibus.net | www.club24.co.uk | http://www.nyx.net |
Hello all,
I am new to qmail and am working on migrating to it from a system
called Post.Office from www.software.com. I have had a little experience
with sendmail, but not much. Anyway, I have looked at the FAQ and tried
searching the mailing list and have not found an answer to my question.
Here it is:
It seems to me that the rcpthosts functionality is reversed from what it
should be. I thought that maybe the functionality I wanted was to be found
in the locals file, but that seems to control what machines qmail will
accept mail for and hold locally. Following what appears to be the noted
practice of duplicating this in the rcpthosts file, I assumed this would
allow any of the machines in rcpthosts to relay through qmail anywhere they
wanted. But it seems the behavior of this file is to only allow me to
send mail to ONLY the hosts in rcpthosts, so I am stuck in my own little
domain.
You would think that the rcpthosts file could serve a better purpose by
allowing the machines listed in it to send anywhere, instead of any machine
out on the internet to only send files to the machines in rcpthosts, which
in the case of the same information being in locals, serves no purpose
that I can see.
I do have the info from the FAQ on selectively allowing certain hosts
to set RELAYHOST and am going to try implementing that, otherwise I am
going to add the user/password auth patch for qmail-smtpd from nimh.org
since I ultimately need that for offsite POP access.
Any thoughts or recommendations welcome,
**********************************************__
Bob Schader _.-{__}-._
CAD Systems Administrator .:-'`____`'-:.
Product Design International, Inc. /_.-"`_ _`"-._\
4880 36th St. S.E., Suite 100 /` / .\/. \ `\
Grand Rapids, MI 49512 | \__/\__/ |
Phone: 616-667-2600 .-\ /-.
Fax: 616-667-2692 / '._-.__--__.-_.' \
Email: [EMAIL PROTECTED] \'. `""""""""`'` __\
**********************************(__)| ' \___)
`_________'________ \
`--------------------`
On Fri, Jun 04, 1999 at 05:07:08PM -0400, Robert Schader wrote:
# You would think that the rcpthosts file could serve a better purpose by
# allowing the machines listed in it to send anywhere, instead of any machine
# out on the internet to only send files to the machines in rcpthosts, which
# in the case of the same information being in locals, serves no purpose
# that I can see.
#
the rcpthosts and locals files are not duplicate information.
If you want to run virtualhosts they must be in the rcpthosts, virtualdomains
files and NOT in locals.
# I do have the info from the FAQ on selectively allowing certain hosts
# to set RELAYHOST and am going to try implementing that, otherwise I am
# going to add the user/password auth patch for qmail-smtpd from nimh.org
# since I ultimately need that for offsite POP access.
the RELAYCLIENT client method is the best way to have local machines use your
host as the SMTP relay.
--
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell NIC:JB3084| Time and rules are changing. |
|Pearson | Attention span is quickening. |
|Developer | Welcome to the Information Age. |
\-------- http://www.superlibrary.com/people/justin/ ----------/
[EMAIL PROTECTED] (Robert Schader) writes:
| It seems to me that the rcpthosts functionality is reversed from what it
| should be. I thought that maybe the functionality I wanted was to be found
| in the locals file, but that seems to control what machines qmail will
| accept mail for and hold locally. Following what appears to be the noted
| practice of duplicating this in the rcpthosts file, I assumed this would
| allow any of the machines in rcpthosts to relay through qmail anywhere they
| wanted. But it seems the behavior of this file is to only allow me to
| send mail to ONLY the hosts in rcpthosts, so I am stuck in my own little
| domain.
Welcome to the FAQ.
The name "rcpthosts" only makes sense if you think of things in terms
of low level (RFC821) protocol traffic, instead of high level MTA
configuration. It means, ``accept message only if these domain names
appear in the smtp "rcpt to" command, whatever that is.''
In other words, it's real function is to define what we mean by ``don't
let smtp input simultaneously be smtp output.''
| You would think that the rcpthosts file could serve a better purpose by
| allowing the machines listed in it to send anywhere,
Some other file has that job.
| instead of any machine
| out on the internet to only send files to the machines in rcpthosts, which
| in the case of the same information being in locals, serves no purpose
| that I can see.
The reason for the two files is that they will be different if you
decide to relay mail for some non-local third party, or if you have
some virtual domains. Sometimes people want to do that.
But you have a point. 99% of the time rcpthosts is purely redundant,
and qmail should just use the contents of locals and virtualdomains
instead. Unfortunately, a nonexistent rcpthosts file turns on
pro-spam-mode, instead of sensible-default-mode.
apis wrote:
>
> o Have you looked at Postfix?
>
> http://www.postfix.org
>
> o Very nifty and easy to install as it is more *sendmail*
>
> replaceable without worrying much about changes in mail system as
>
> Qmail requires.
>
> Apis
> NNNN
Well, yes, I did look at Postfix and opted for qmail based on
other user's opinions. Qmail's control files are pretty nice
once you get used to them. Also, I have already have qmail
completely ready to go except for this one issue, which I
have managed to find the following solution to:
I did find a patch that let's me easily do what I wanted to
accomplish. It was by Chris Johnson, and controls relaying based
on the envelope sender's address, found at:
http://www.palomine.net/qmail/relaymailfrom.html
Granted, it is not the most secure option, but I tried a few
of the other similar user contribs, and they either failed to
work for me, or they just seemed too complicated. They were:
1. Mrs. Brisby's user/passwd auth for qmail-smtpd. Could not get
this to work at all. Followed her pages directions perfectly, as
far as they went.
2. David Harris's "smtp-poplock". This one just seemed to complicated
for me at the moment. It expects qpopup entries to be logged
somehow but failed to mention in any way I could find how to turn
on this logging and I could find no mention in the qmail docs of
how to log POP authentications. A quick check also revealed that
no logging was occuring for POPd as a default. No mention is made
in his docs to either splogger and I am not running yet with
tcpwrappers (or tcpserver) or the daemontools package.
I did download some of the others, such as open-smtp, but have
not had a chance yet to check them out.
Bob Schader
Hello all,
I am new to qmail and am working on migrating to it from a system
called Post.Office from www.software.com. I have had a little experience
with sendmail, but not much. Anyway, I have looked at the FAQ and tried
searching the mailing list and have not found an answer to my question.
Here it is:
It seems to me that the rcpthosts functionality is reversed from what it
should be. I thought that maybe the functionality I wanted was to be found
in the locals file, but that seems to control what machines qmail will
accept mail for and hold locally. Following what appears to be the noted
practice of duplicating this in the rcpthosts file, I assumed this would
allow any of the machines in rcpthosts to relay through qmail anywhere they
wanted. But it seems the behavior of this file is to only allow me to
send mail to ONLY the hosts in rcpthosts, so I am stuck in my own little
domain.
You would think that the rcpthosts file could serve a better purpose by
allowing the machines listed in it to send anywhere, instead of any machine
out on the internet to only send files to the machines in rcpthosts, which
in the case of the same information being in locals, serves no purpose
that I can see.
I do have the info from the FAQ on selectively allowing certain hosts
to set RELAYHOST and am going to try implementing that, otherwise I am
going to add the user/password auth patch for qmail-smtpd from nimh.org
since I ultimately need that for offsite POP access.
Any thoughts or recommendations welcome,
**********************************************__
Bob Schader _.-{__}-._
CAD Systems Administrator .:-'`____`'-:.
Product Design International, Inc. /_.-"`_ _`"-._\
4880 36th St. S.E., Suite 100 /` / .\/. \ `\
Grand Rapids, MI 49512 | \__/\__/ |
Phone: 616-667-2600 .-\ /-.
Fax: 616-667-2692 / '._-.__--__.-_.' \
Email: [EMAIL PROTECTED] \'. `""""""""`'` __\
**********************************(__)| ' \___)
`_________'________ \
`--------------------`
Using
RH 6.0, latest Qmail, the Qmail-Imap RPM from qmail.org, and
a
Maildir setup.
I've
seen several questions about folder management not working
in
the
list, but no resolutions. My clients create folders that appear
in
their
home directories. These folders are not valid maildir
folders
and
can not be used.
Does
this set up just not work yet?
Should
I use:
Cyrus
Imap with Maildir?
Dump
Maildir and use Mailbox?
> Connected to 199.246.67.190 but my name was rejected./Remote host said: 501
> HELO requires a valid host name as operand: 'web1.cheetahmail.com' rejected
> from www.cheetahmail.com remote address [206.132.30.31]: Host name does not
> match remote address.
That server is violating RFC 1123, section 5.2.5. You can easily work
around the problem by putting www.cheetahmail.com into control/helohost.
(I'm considering changing the default HELO in qmail-remote in qmail 2.0
to use the bracketed IP address of the client.)
---Dan
On Tue, Apr 06, 1999 at 10:25:59AM -0500, Sean Brown wrote:
> I apologize in advance for the newbie question.
>
> I've got qmail up and running, and all's well so far. However, I'm a
> bit confused about the rcpthosts file. From the FAQ:
>
> <snip>
> How do I allow selected clients to send outgoing messages through my
> SMTP server? qmail-smtpd is giving the error ``sorry, that domain isn't
> in my list of allowed rcpthosts (#5.7.1)'' for messages to any domain
> not
> listed in /var/qmail/control/rcpthosts.
>
> Answer: This answer assumes that you are running qmail-smtpd under
> tcpserver.
>
> Create /etc/tcp.smtp containing
>
> 1.2.3.6:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
>
> to authorize relaying from clients with IP addresses 1.2.3.6 and 127.*.
> </snip>
>
> The question and and error message seem to me to be two different
> problems. The error message seems to say, "I can't send a message to
> that recipient." The question seems to be , "How can I limit who uses
> my mailserver?"
>
> Aren't these two separate issues? And how do you resolve them? If I
> want (ONLY) my users to be able to send mail wherever they want, how can
> I do that? Do I have to list every possible domain suffix in my
> rcpthosts file, then limit which users can use my smtp server using the
> method from the FAQ above? That doesn't make much sense to me.
I've written a couple of things about relaying with qmail that you may want to
read. They're http://www.palomine.net/qmail/relaying.html, which covers a bunch
of relaying issues, and http://www.palomine.net/qmail/selectiverelay.html,
which covers setting up selective relaying.
Chris
On Thu, 1 Apr 1999 01:26:19 -0500, Dave Teske wrote:
>Does anyone know of any apps that can do load testing on mail servers. I've
>seen a bunch that do web server load testing but none for mail servers. I've
>got our server on a tiny (486 w/P90 upgrade chip & 24mb ram)box and I'd like
>to see how much load it'll handle before I go scrounging for a replacement.
qmail is an excellent tool for this. Just set up another computer with
qmail and a concurrencyremote as high or higher than the max number of
connections you can accept on the test machine. Set up an ezmlm list on
the test machine. Subscribe a lot of users test-123@testhost, over a
range of "123". Set up a user "test" on testhost. Create
~test/.qmail-default with a single "#" in it.
Send a message to the list on the other computer. It will send as many
messages as there are subscribers to the test machine. It does less
disk work that the test machine since it sends the same message to all
subscribers. The test machine receives the messages, queues them, then
delivers them discovering that the "#" which means that the delivery
succeeds without writing anywhere.
Thus, you test the [local] network, qmail-smtpd, queue and queuing,
that you have memory for the set number of incoming connections, etc.
For outbound mail, you can reverse the function of the two boxes.
Do yourself a favor and set it up with tcpserver and daemontools
(cyclog) directly. Otherwise, syslog may become limiting and you are
slow on incoming connections and have less control over the number.
Also, carefully read tcpserver docs on -H -l, etc.
What isn't tested: outside net, named (run a caching one locally).
Still, it tells you a lot, especially to what to limit the nuber of
incoming connections (tcpserver -c) and outgoing
(concurrencyremote/local) so that you don't run out of memory at
maximum load.
-Sincerely, Fred
(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
On Thu, Apr 01, 1999 at 01:26:19AM -0500, Dave Teske wrote:
The Postfix distribution includes such tools. Go to:
http://www.postfix.org
> Does anyone know of any apps that can do load testing on mail servers. I've
> seen a bunch that do web server load testing but none for mail servers. I've
> got our server on a tiny (486 w/P90 upgrade chip & 24mb ram)box and I'd like
> to see how much load it'll handle before I go scrounging for a replacement.
--
System Administrator
See complete headers for address, homepage and phone numbers
Dear Group,
I had a customer call me up concerned about eliminating spam. How would I
exclude emails containing AOL.COM or the word SEX from being delivered
altogether?
Regards,
Julian L.C. Brown
Internet Technology Consultant
Interware Systems Inc.
mailto:[EMAIL PROTECTED]
http://www.interwaresystems.com
Hi. This is the qmail-send program at crynwr.com.
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, your message mentioned the phrase "AOL.COM" or the word "SEX".
#This message cannot be delivered because we use the following filter
#in our default delivery instructions:
|bouncesaying "`cat .qmail`" egrep -i 'aol\.com|sex'
./Mailbox
--- Below this line is a copy of the message.
Received: (qmail 4101 invoked by uid 501); 30 Mar 1999 19:24:09 -0000
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
From: "Julian L.C. Brown" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: questions questions questions
Date: Tue, 30 Mar 1999 14:05:09 -0500
Dear Group,
I had a customer call me up concerned about eliminating spam. How would I
exclude emails containing AOL.COM or the word SEX from being delivered
altogether?
Regards,
Julian L.C. Brown
Internet Technology Consultant
Interware Systems Inc.
mailto:[EMAIL PROTECTED]
http://www.interwaresystems.com
I've written a manual for qmail called "Life with qmail". It's not
100% finished, but there's enough there that it's useful. The idea was
to put together a one-stop guide for qmail that binds all of the
available documentation and web pages into one place. It doesn't
duplicate everything in the man pages and other documents: it
describes them on a high level and points to them via links and
references.
I don't see "Life with qmail" as competing with the upcoming book. The
book will contain a lot more information, but will be on paper, and
won't be free. "Life with qmail" will be smaller, but free (GPL) and
electronic (hypertext, searchable). Text, Postscript, PDF, and POD
versions will be made available once it's complete.
Comments, criticism, suggestions, and contributions are welcome.
http://Web.InfoAve.Net/~dsill/lwq.html
-Dave
I am trying to run the amavis package together with qmail.
If i put
|/usr/sbin/scanmails $SENDER $RECIPIENT
/var/here/lays/the/Maildir/
into one .qmail-file everything works fine.
But i would like qmail to scan every mail so i tried starting qmail like
this:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start |/usr/sbin/scanmails $SENDER $RECIPIENT ./Mailbox splogger
qmail
that works for scanning the mails but of course there is no logging
anymore.
can anyone tell me how i have to change that line to still log?
BTW: I have adopted Sascha Ottolski's changes to Amavis 0.2.0pre2
to the new pre4 version. my version is available on request.
--
mfg sven lankes
megabit informationstechnik
http://www.megabit.net
Jay Soffian writes:
>
> I have a list that was recently moved to a new hostname and I'd like
> ezmlm-manage to be able to accept messages at either address. That is,
> I'd like to be able to put multiple domains into inhost, but
> ezmlm-manage doesn't support this. So I can either patch ezmlm-manage
> or rewrite the incoming messages using new-inject from the mess822
> package.
>
> Does this sound correct, or am I missing another option? Does anyone
> have any suggestions / pitfalls about doing this? My idea is to use
> virtualdomains to deliver to an alternate address that runs new-inject
> to rewrite the To address and then deliver to the canonical list
> address.
You could install ezmlm-idx-0.322 (www.ezmlm.org) and not worry about it
any more. By default (as spam counter-measure), ezmlm+idx requires the list
name in To/Cc, so for moving lists you need to disable this (ezmlm-reject
-T in DIR/editor).
You could also forward messages: ~/.qmail -> newlist@newhost,
~/.qmail-default -> newlist-$DEFAULT@newhost.
-Sincerely, Fred
Frederik Lindberg, Inf. Dis, WashU, St. Louis, MO
On Wed, Apr 21, 1999 at 11:57:41AM -0400, [EMAIL PROTECTED] wrote:
>
> Recently, I found two utilities to be of enormous value while
> looking into setting up a secure encrypted POP3 server and an
> encrypted irc server/client.
>
> The following two utilites can be applied to secure many
> different applications including VPNs, SMTP as well POP3
>
> The following two sites offer source for these two powerful
> utilities and can enhance qmail
>
> http://mike.daewoo.com.pl/computer/stunnel
>
> and
>
> http://www.openssl.org
Don't forget sslwrap: http://www.rickk.com/sslwrap
Chris
I've got enough of my qmail guide complete that it's worth reviewing:
http://Web.InfoAve.Net/~dsill/lwq.html
It's still less than half done, though, so don't bother telling me
that section X.Y is empty. :-)
Let me if like it, hate it, or don't care either way. If you think it
needs reorganizing or is doesn't cover a topic well enough, or at all,
I'd like to hear that, too. Of course, factual errors and typo
corrections are welcome, too.
I'll be putting a new version up every night, if I've made changes
during the day.
-Dave