qmail Digest 20 Mar 1999 11:00:00 -0000 Issue 585
Topics (messages 23133 through 23162):
Multiple Domains.
23133 by: Daniel V. Pedersen <[EMAIL PROTECTED]>
23135 by: Chris Johnson <[EMAIL PROTECTED]>
recordio
23134 by: Bill Luckett <[EMAIL PROTECTED]>
23136 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
sorry!!!
23137 by: Daniel V. Pedersen <[EMAIL PROTECTED]>
23138 by: James Smallacombe <[EMAIL PROTECTED]>
23140 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
imap
23139 by: "Chris Garrigues" <[EMAIL PROTECTED]>
Another test
23141 by: [EMAIL PROTECTED]
A test
23142 by: [EMAIL PROTECTED]
.qmail files - shell syntax?
23143 by: Robin Bowes <[EMAIL PROTECTED]>
23145 by: Scott Schwartz <[EMAIL PROTECTED]>
23148 by: Joel Eriksson <[EMAIL PROTECTED]>
23149 by: Joel Eriksson <[EMAIL PROTECTED]>
23151 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
23152 by: Scott Schwartz <[EMAIL PROTECTED]>
23153 by: Keith Burdis <[EMAIL PROTECTED]>
23154 by: Joel Eriksson <[EMAIL PROTECTED]>
cancel <[EMAIL PROTECTED]>
23144 by: Robin Bowes <[EMAIL PROTECTED]>
messages in queue
23146 by: Ricardo! <[EMAIL PROTECTED]>
23147 by: Markus Stumpf <[EMAIL PROTECTED]>
23150 by: Joel Eriksson <[EMAIL PROTECTED]>
Limit incoming mail size for a particular user?
23155 by: Dongping Deng <[EMAIL PROTECTED]>
Alias + Virtual Domains
23156 by: Daniel V. Pedersen <[EMAIL PROTECTED]>
23157 by: Chris Johnson <[EMAIL PROTECTED]>
cyclog
23158 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
New relay-only mailer: nullmailer
23159 by: Bruce Guenter <[EMAIL PROTECTED]>
23160 by: Bruce Guenter <[EMAIL PROTECTED]>
updated qmail-popbull
23161 by: Russell Nelson <[EMAIL PROTECTED]>
ezmlm and "delay notifies" (was: Re: mini-bounce)
23162 by: Tim Pierce <[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]
----------------------------------------------------------------------
hey,
I got a *nix box wich is (hopefully) going to be the mail server for a
shitload of hosts, and i don't know how to set qmail up for this :) -
meaning:
Machine's name is: bob.machine.com
i got a domain called: dudaa.com
The DNS's in place:
(MX) dudaa.com-> bob.machine.com
now, i need the mail for ie. [EMAIL PROTECTED] to go into
/domains/dudaa.com/mail/klaus/Mailbox
how is this done? :) - i can't find any help in the manual (or at least
i couldent see any)
Kind regards,
Daniel.
On Fri, Mar 19, 1999 at 03:02:05PM +0100, Daniel V . Pedersen wrote:
> hey,
>
> I got a *nix box wich is (hopefully) going to be the mail server for a
> shitload of hosts, and i don't know how to set qmail up for this :) -
> meaning:
>
> Machine's name is: bob.machine.com
>
> i got a domain called: dudaa.com
>
> The DNS's in place:
> (MX) dudaa.com-> bob.machine.com
>
> now, i need the mail for ie. [EMAIL PROTECTED] to go into
> /domains/dudaa.com/mail/klaus/Mailbox
>
> how is this done? :) - i can't find any help in the manual (or at least
> i couldent see any)
Try FAQ 3.2 and man qmail-users. You're also going to need a way to tell your
POP daemon to look for mail in the right place. Paul Gregg's single-user-ID
HOWTO might help (it'll require Maildir delivery):
http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt.
You might also want to investigate vmailmgr:
http://www.qcc.sk.ca/~bguenter/distrib/vmailmgr/
Chris
Can anybody tell me where I need to call recordio from in order to get
details on local to remote messages? I put it in qmail-smtpd.init but only
got incoming mail. I'm guessing now that it has to be called with
qmail-rspawm or qmail-remote but I can't figure out how to do it.
*************************************************************
Bill Luckett
Director of Information Systems
Phi Theta Kappa International Honor Society
Center for Excellence
Mississippi Education and Research Center
1625 Eastover Drive
Jackson, MS 39211
[EMAIL PROTECTED]
601.957.2241 ext 559
*************************************************************
- Bill Luckett <[EMAIL PROTECTED]>:
| Can anybody tell me where I need to call recordio from in order to
| get details on local to remote messages? I put it in
| qmail-smtpd.init but only got incoming mail. I'm guessing now that
| it has to be called with qmail-rspawm or qmail-remote but I can't
| figure out how to do it.
Can't be done. recordio works by getting between the network socket
and qmail-smtpd. Since qmail-remote opens its own network connection,
there is no way to put a program in between.
If you have a problem with outgoing connections to a specific site, it
would be best if you could get the receiving end to log the
transaction. Otherwise, you could try using tcpdump (or snoop on
solaris) to capture it. A solution of sorts, albeit a difficult one,
would be to patch qmail-remote to spawn off a recordio process to sit
between itself and the socket after it has opened the connection.
- Harald
but i can't find the man for setting up aliases :) - could someone throw
me an url ?
thanks,
daniel.
On Fri, 19 Mar 1999, Daniel V. Pedersen wrote:
> but i can't find the man for setting up aliases :) - could someone throw
> me an url ?
dot-qmail(5)
in a nutshell:
cd ~alias
echo "mailbox" > .qmail-aliasname
James Smallacombe Internet Access for The Delaware
[EMAIL PROTECTED] Valley in PA, NJ and DE
PlantageNet Internet Ltd. http://www.pil.net
=========================================================================
ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans
3 days of clues, news, and views from the industry's best and brightest.
Visit <http://www.ispf.com/> for information and registration.
=========================================================================
-----Original Message-----
From: Daniel V. Pedersen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, March 19, 1999 11:05 AM
Subject: sorry!!!
>but i can't find the man for setting up aliases :) - could someone throw
>me an url ?
man qmail-users
Which of the several qmail imap solutions is considered the best by those who
have looked at them all?
Chris
--
Chris Garrigues Deep Eddy Internet Consulting
+1 512 432 4046 609 Deep Eddy Avenue O-
http://www.DeepEddy.Com/~cwg/ Austin, TX 78703-4513
My email address is an experiment in SPAM elimination. For an
explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
Nobody ever got fired for buying Microsoft,
but they could get fired for relying on Microsoft.
PGP signature
Where'd it go?
Where'd it fo?
How is the shell used by .qmail files determined?
The reason I ask is that I was using { } brackets to group commands, eg:
| { echo "To: [EMAIL PROTECTED]"; cat - } | qmail-inject
[EMAIL PROTECTED] [EMAIL PROTECTED]
However, this didn't work; I got the following error:
1999-03-19 16:55:02.512345 starting delivery 419: msg 23447 to local
[EMAIL PROTECTED]
1999-03-19 16:55:02.512952 status: local 1/10 remote 0/20
1999-03-19 16:55:02.517682 delivery 419: deferral:
Syntax_error:_end_of_file_unexpected_(expecting_"}")/
1999-03-19 16:55:02.517882 status: local 0/10 remote 0/20
If I replace the { .. } with ( .. ) it works OK (I'm afraid a couple of
tests may have escaped to the list <sg>).
I believe this is valid syntax under bash, but doesn't seem to work
under sh or whatever qmail uses to run .qmail files. How is this shell
determined? Is it related to the user's default shell?
Thanks,
R.
--
Robin Bowes - System Development Manager - Room 405A
E.O.C., Overseas House, Quay St., Manchester, M3 3HN, UK.
Tel: +44 161 838 8321 Fax: +44 161 835 1657
Robin Bowes <[EMAIL PROTECTED]> writes:
| How is the shell used by .qmail files determined?
Hardcoded as /bin/sh.
% grep /bin/sh *.c
qmail-local.c: args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
qmail-local.c: strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),".
(#4.3.0)");
| The reason I ask is that I was using { } brackets to group commands, eg:
| | { echo "To: [EMAIL PROTECTED]"; cat - } | qmail-inject
You need a ";" before the "}".
On Fri, 19 Mar 1999, Robin Bowes wrote:
> How is the shell used by .qmail files determined?
Use the source, Luke. ;-)
--- extract from qmail-local.c - START
switch(child = fork())
{
case -1:
temp_fork();
case 0:
args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
sig_pipedefault();
execv(*args,args);
strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),". (#4.3.0)");
}
--- extract from qmail-local.c - END
Hardcoded, in other words. Not too difficult to change though.. :-)
> Thanks,
>
> R.
/ Joel Eriksson
On 19 Mar 1999, Scott Schwartz wrote:
> Robin Bowes <[EMAIL PROTECTED]> writes:
> | How is the shell used by .qmail files determined?
>
> Hardcoded as /bin/sh.
>
> % grep /bin/sh *.c
> qmail-local.c: args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
> qmail-local.c: strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),".
>(#4.3.0)");
>
> | The reason I ask is that I was using { } brackets to group commands, eg:
> | | { echo "To: [EMAIL PROTECTED]"; cat - } | qmail-inject
>
> You need a ";" before the "}".
Huh?
[root@hades ~]# /bin/sh -c '{ echo foo; echo bar }'
foo
bar
No trailing ; needed..?
/ Joel Eriksson
- Joel Eriksson <[EMAIL PROTECTED]>:
| > You need a ";" before the "}".
|
| Huh?
|
| [root@hades ~]# /bin/sh -c '{ echo foo; echo bar }'
| foo
| bar
|
| No trailing ; needed..?
Lesson one in portable computing: That something works in one
environment does not prove it works in another. The above fails on at
least one FreeBSD and one HP-UX machine in my neighbourhood. I'm not
inclined to try testing it on the dozen or so architectures available
to me...
- Harald
Joel Eriksson <[EMAIL PROTECTED]> writes:
| > You need a ";" before the "}".
|
| Huh?
Yes. That's how the Bourne shell works.
| [root@hades ~]# /bin/sh -c '{ echo foo; echo bar }'
| foo
| bar
|
| No trailing ; needed..?
That's a nonstandard feature of whatever shell you've got installed as
/bin/sh.
On Fri 1999-03-19 (17:04), Scott Schwartz wrote:
> Joel Eriksson <[EMAIL PROTECTED]> writes:
> | > You need a ";" before the "}".
> |
> | Huh?
>
> Yes. That's how the Bourne shell works.
>
> | [root@hades ~]# /bin/sh -c '{ echo foo; echo bar }'
> | foo
> | bar
> |
> | No trailing ; needed..?
>
> That's a nonstandard feature of whatever shell you've got installed as
> /bin/sh.
Most likely a Linux system where sh is really bash.
[keith@dagobah gaa]$ which sh
/bin/sh
[keith@dagobah gaa]$ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 Nov 27 20:35 /bin/sh -> bash
[keith@dagobah gaa]$
But even the bash appears to be non-standard though since bash on FreeBSD
doesn't like the syntax either.
Oh well. Better to stick to the standard.
-- Keith
--
Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa
Email : [EMAIL PROTECTED]
WWW : http://www.rucus.ru.ac.za/~keith/
IRC : Panthras JAPH
"Any technology sufficiently advanced is indistinguishable from a perl script"
Standard disclaimer.
---
On 19 Mar 1999, Scott Schwartz wrote:
> Joel Eriksson <[EMAIL PROTECTED]> writes:
> | [root@hades ~]# /bin/sh -c '{ echo foo; echo bar }'
> | foo
> | bar
> |
> | No trailing ; needed..?
>
> That's a nonstandard feature of whatever shell you've got installed as
> /bin/sh.
Doh!
[root@hades ~]# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Aug 13 1998 /bin/sh -> bash
Sorry 'bout that..
/ Joel Eriksson
This message was cancelled from within Mozilla.
Hi,
I'm running qmail on Redhat 5.2. I created the Maildir and
installed all the necessary programs.
I can send messages into the queue but they don't get dequeued.
currently the message when I run 'qmail-qstat' is
messages in queue: 6
messages in queue but not yet
preprocessed: 0
Any clues?
On Fri, Mar 19, 1999 at 02:19:14PM -0500, Ricardo! wrote:
> I'm running qmail on Redhat 5.2. I created the Maildir and installed all the
> necessary programs.
> I can send messages into the queue but they don't get dequeued.
>
> currently the message when I run 'qmail-qstat' is
>
> messages in queue: 6
> messages in queue but not yet preprocessed: 0
Take a look at the logfile (/var/log/messages? /var/log/maillog?)
The reason should be logged there.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | In a world without
Research & Development | mailto:[EMAIL PROTECTED] | walls and fences,
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | who needs
D-80807 Muenchen | Fax: +49 (89) 32356-299 | Windows and Gates?
On Fri, 19 Mar 1999, Ricardo! wrote:
> Hi,
>
> I'm running qmail on Redhat 5.2. I created the Maildir and installed all the
> necessary programs.
> I can send messages into the queue but they don't get dequeued.
>
> currently the message when I run 'qmail-qstat' is
>
> messages in queue: 6
> messages in queue but not yet preprocessed: 0
>
> Any clues?
Have you run "sh -cf '/var/qmail/rc &'"?
/ Joel Eriksson
I'd like to limit the incoming mail size for individual users. Any quick
way to do that?
dp
Hey,got the Virtuam domain thingy worked out now,
but whats the format of the file (and wich file) that controlsthe
aliases ?- sorry to ask but my man page's is broken .. sucks.
in short, how do i setup alias under virtual domains?
thanks,
daniel.
On Sat, Mar 20, 1999 at 12:11:01AM +0100, Daniel V . Pedersen wrote:
> Hey,got the Virtuam domain thingy worked out now,
>
> but whats the format of the file (and wich file) that controlsthe
> aliases ?- sorry to ask but my man page's is broken .. sucks.
What does "my man page's is broken" mean? If it means that you don't have them,
why don't you intall a new set? You need them now, and you'll probably need
them again some time.
If you can't access them because your manpath isn't set right, you can look at
them in /var/qmail/man/cat*.
> in short, how do i setup alias under virtual domains?
FAQ 3.2, man dot-qmail. Once you've digested those, you might want to download
Dan's fastforward package. But first learn to set up some addresses without it.
Chris
has anyone modified cyclog to make the file names it generates a little more
readable/workable? It would be nice if they were rotated in the same way that
syslog files were.. i.e. mail.log, mail.log.0, mail.log.1, etc..
Has anyone done this? I know very little C, so if someone could help me out
or at least point me in the right direction I'd appreciate it.
Thanks,
Adam
---
bash: syntax error near unexpected token `:)'
Adam D. McKenna
[EMAIL PROTECTED]
Greetings.
I would like to announce a new GPL'ed MTA that I've developed. It's a
sendmail/qmail/etc replacement for hosts which relay to a fixed set of
"smart" relays. It is designed to be simple to configure, secure, and
easily extendable. It currently supports SMTP and QMQP via protocol
modules.
It was built because:
- I thoroughly despise sendmail's problems and configuration
difficulties
- on a relay-only host, qmail is overkill and has extra complications
- qmail-qmqpc has no queue if the upstream refuses the mail even
temporarily
A mailing list has been set up to discuss this package. To subscribe,
send an email to:
[EMAIL PROTECTED]
--
Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED]
Phone: (306)249-0220 WWW: http://www.qcc.sk.ca/~bguenter/
On Fri, Mar 19, 1999 at 11:21:31PM -0600, Bruce Guenter wrote:
> I would like to announce a new GPL'ed MTA that I've developed.
I'd also like to say where you can find it (which I forgot to do
before):
http://www.qcc.sk.ca/~bguenter/distrib/nullmailer/
--
Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED]
Phone: (306)249-0220 WWW: http://www.qcc.sk.ca/~bguenter/
I've updated my qmail-popbull code. It includes a change to allow
multiple new bulletins to be added, and to fix the problem with using
the cur timestamp. Bruce Guenter ported it to 1.03, Brian Mullen
noticed the multiple bulletins bug, and the cur timestamp can't be
used, which was first noticed by DJB and fixed by Brett Rabe by using
a .timestamp file.
http://www.qmail.org/qmail-popbull-1.03.patch
It shares a lot of code with qmail, so it's a patch to qmail 1.03.
Only the Makefile gets changed by the patch.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
On Thu, Mar 18, 1999 at 08:35:27AM -0600, Fred Lindberg wrote:
> On Wed, 17 Mar 1999 20:55:55 -0500, Tim Pierce wrote:
>
> >On this list in particular, when you subscribe, the ezmlm confirmation
> >message doesn't include any of the magic cookies traditionally
> >associated with daemon messages (such as "Precedence: junk" or
> >"qmail-request").
>
> A confirmation request is not "junk" or "bulk". It is an ordinary
> personal message. List messages and digests are "bulk". You shouldn't
> vacation reply to "bulk".
Agreed. But you shouldn't vacation-reply to a subscribe confirmation
message, either, or it defeats the whole purpose. I believe that
anyone running a BSD vacation program could be forge-subscribed to
this list, since ezmlm is basically guaranteed to get a confirmation
from them.
Again, I'm not talking about mail on the list, I'm talking about the
subscribe confirmation message.
> In lieu of standards, MLMs have made up their own headers. Smart
> vacation programs keep up with that.
Sure, but smart MLMs use conventions that are obeyed by old software
as well as new software.
> Personally, I would use the To/Cc rule and send vacation messages only
> if my address is in one of those 2 headers.
That's a good rule! But ezmlm (at least, the ezmlm daemon running
[EMAIL PROTECTED]) foils it by putting your address in the To header
when it sends you a confirmation request. It meets all of the
traditional criteria for a personal message.
--
Regards,
Tim Pierce
RootsWeb Genealogical Data Cooperative
system obfuscator and hack-of-all-trades