qmail Digest 27 Mar 1999 11:00:00 -0000 Issue 592
Topics (messages 23501 through 23551):
folders
23501 by: Alastair <[EMAIL PROTECTED]>
23518 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
relaying from hosts on my domain
23502 by: Greg <[EMAIL PROTECTED]>
23506 by: Logics <[EMAIL PROTECTED]>
23510 by: Greg <[EMAIL PROTECTED]>
23535 by: Kai MacTane <[EMAIL PROTECTED]>
23548 by: Greg <[EMAIL PROTECTED]>
Sendmail for NT
23503 by: Yiorgos Adamopoulos <[EMAIL PROTECTED]>
23505 by: Markus Stumpf <[EMAIL PROTECTED]>
23508 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
23523 by: [EMAIL PROTECTED]
qmail, perl, and header rewrites
23504 by: "Paul J. Schinder" <[EMAIL PROTECTED]>
AOL e-mail protocol (slightly off top)
23507 by: [EMAIL PROTECTED]
23509 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
23513 by: [EMAIL PROTECTED]
23524 by: "Sam" <[EMAIL PROTECTED]>
23534 by: Nick Moffitt <[EMAIL PROTECTED]>
23536 by: Lars Hecking <[EMAIL PROTECTED]>
23537 by: David Thorburn-Gundlach <[EMAIL PROTECTED]>
23551 by: Thomas Roessler <[EMAIL PROTECTED]>
MTA level rfc822 syntax checking?
23511 by: "Fred Lindberg" <[EMAIL PROTECTED]>
23525 by: "Sam" <[EMAIL PROTECTED]>
mess822: does this make sense?
23512 by: Vince Vielhaber <[EMAIL PROTECTED]>
23520 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
23532 by: Vince Vielhaber <[EMAIL PROTECTED]>
Running an alternate program from tcpserver
23514 by: Chris Johnson <[EMAIL PROTECTED]>
23522 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
23549 by: [EMAIL PROTECTED] ()
qmail and imap (was folders)
23515 by: Alastair <[EMAIL PROTECTED]>
23516 by: "Richard Shetron" <[EMAIL PROTECTED]>
cyclog problem on Solaris
23517 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
Setting POP3 delivery without using Unix system accounts.
23519 by: [EMAIL PROTECTED]
23527 by: Chris Johnson <[EMAIL PROTECTED]>
23529 by: Chris Johnson <[EMAIL PROTECTED]>
Easy question (I hope!) tcpwrappers? tcpclient?
23521 by: Eric Shafto <[EMAIL PROTECTED]>
Relay Hosting
23526 by: Verrall McEwen <[EMAIL PROTECTED]>
23528 by: Chris Johnson <[EMAIL PROTECTED]>
23530 by: "Sam" <[EMAIL PROTECTED]>
23531 by: Scott Schwartz <[EMAIL PROTECTED]>
What to do??
23533 by: Shashank Kansal <[EMAIL PROTECTED]>
Bounce notification handling
23538 by: Troy Morrison <[EMAIL PROTECTED]>
Qmail (#numbers) : What is it?
23539 by: "Scott D. Yelich" <[EMAIL PROTECTED]>
23540 by: Stefan Paletta <[EMAIL PROTECTED]>
23541 by: Mark Delany <[EMAIL PROTECTED]>
23542 by: "Scott D. Yelich" <[EMAIL PROTECTED]>
FW: GET ME OFF THIS DAMN LIST
23543 by: Keith Burdis <[EMAIL PROTECTED]>
23547 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
Utility to assist in crypting passwords for poppasswd file
23544 by: Paul Gregg <[EMAIL PROTECTED]>
23545 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
daemontools and sshd
23546 by: Keith Burdis <[EMAIL PROTECTED]>
pop3 "password rejected"
23550 by: Greg <[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]
----------------------------------------------------------------------
Hi,
As far as I can make out qmail can't handle folders.
Is this correct? Can anyone suggest a mailer that
can?
Alastair.
+ Alastair <[EMAIL PROTECTED]>:
| As far as I can make out qmail can't handle folders.
| Is this correct?
No.
Though I must hasten to add that I am not completely sure what you
mean by handling folders: I assumed you meant the ability to deliver
mail into different locations depending on various user selectable
criteria. Qmail does this without problems; it will deliver to mbox
or maildir format folders. To deliver into other kinds of folders,
you need to spesify a program in your .qmail file that knows how to
deal with them. No trouble at all, but you have to be more specific
if you need more specific help.
- Harald
Hi, I installed QMail 1.03 with RH5.2
but need to get it to foward(deliver mail from my dial-in
clients)
I followed the excellent instructions at
http://www.palomine.net/qmail/selectiverelay.html
but these appear to be for a different version? all I managed to
do was lock myself out on boot-up ;-(
could someone please point me in the direction of some docs
for the necessary modifications to /etc/rc.d/init.d/qmqil-smtpd
and /etc/tcprules.d/* for Redhat 5.2 ?
thanks.
--
Greg
ICQ# 17606315
Phone : +61 7 4125 1180
... and the box said "windows 95, or better", so I got Linux
_____________________________________________________________
***** Tagline 98 - V 1.1.29 Beta for MDaemon 2.7 *****
.. Husbands are like fires. They go out if unattended.
make sure u have the domain that you want to allow relay for in rcpthosts
and in the tcp.smtp file and it will work!
On Fri, 26 Mar 1999, Greg wrote:
> Hi, I installed QMail 1.03 with RH5.2
> but need to get it to foward(deliver mail from my dial-in
> clients)
> I followed the excellent instructions at
> http://www.palomine.net/qmail/selectiverelay.html
> but these appear to be for a different version? all I managed to
> do was lock myself out on boot-up ;-(
>
> could someone please point me in the direction of some docs
> for the necessary modifications to /etc/rc.d/init.d/qmqil-smtpd
> and /etc/tcprules.d/* for Redhat 5.2 ?
>
> thanks.
> --
> Greg
> ICQ# 17606315
> Phone : +61 7 4125 1180
>
> ... and the box said "windows 95, or better", so I got Linux
> _____________________________________________________________
>
> ***** Tagline 98 - V 1.1.29 Beta for MDaemon 2.7 *****
> .. Husbands are like fires. They go out if unattended.
>
>
I thought I had but the tcp.smtp file appears to be called
qmail-smtpd
and lives in /etc/tcprules.d/ along with qmail-smtpd.cbd, I think
i have
to edit qmail-smtpd and regenerate the *.cbd one? ,
I'm very tired now so I will try again tomorrow,
Oh none of the people that I'm relaying mail for have
"login-accounts" on
this box, if that makes any difference?
Thanks 4 your help.
Logics wrote:
>
> make sure u have the domain that you want to allow relay for in rcpthosts
> and in the tcp.smtp file and it will work!
>
> On Fri, 26 Mar 1999, Greg wrote:
>
> > Hi, I installed QMail 1.03 with RH5.2
> > but need to get it to foward(deliver mail from my dial-in
> > clients)
--
Greg
ICQ# 17606315
Phone : +61 7 4125 1180
... and the box said "windows 95, or better", so I got Linux
_____________________________________________________________
***** Tagline 98 - V 1.1.29 Beta for MDaemon 2.7 *****
.. Hypochondria is the only disease I haven't got.
Text written by Greg at 12:29 AM 3/27/99 -1000:
>I thought I had but the tcp.smtp file appears to be called
>qmail-smtpd
>and lives in /etc/tcprules.d/ along with qmail-smtpd.cbd, I think
>i have
>to edit qmail-smtpd and regenerate the *.cbd one? ,
Yeah, that should do you. Use tcpmakectl to regen the .cdb file.
>I'm very tired now so I will try again tomorrow,
>Oh none of the people that I'm relaying mail for have
>"login-accounts" on
>this box, if that makes any difference?
That shouldn't matter. As long as you put the IP addresses or ranges that
will be assigned to your dial-in clients when they dial in to your company
into the qmail-smtpd file (followed by ':allow,RELAYCLIENT=""'), then
people who dial in to you will be able to send mail to anywhere they like.
Wow, that was really ugly sentence structure. Let me try again:
You know the IP numbers that your dial-in customers get assigned? Put those
into the qmail-smtpd file, appending
:allow,RELAYCLIENT=""
to each rule line. This will allow anyone who has the specified IP address
to relay through that machine (once the .cdb file is recompiled).
Ugh, it's too early in the morning for me to write stuff like this. I'm
going for breakfast.
-----------------------------------------------------------------
Kai MacTane
System Administrator
Online Partners.com, Inc.
-----------------------------------------------------------------
>From the Jargon File: (v4.0.0, 25 Jul 1996)
can't happen
The traditional program comment for code executed under a condition
that should never be true, for example a file size computed as
negative ... Although "can't happen" events are genuinely infrequent
in production code, programmers wise enough to check for them habitu-
ally are often surprised at how frequently they are triggered during
development and how many headaches checking for them turns out to
head off.
Thanks guys, looks like my major problem was my dyslexia,
I might draw attention to new people installing QMail on RH that
:
tcp.smtp file may be called qmail-smtpd and live in
/etc/tcprules.d/
along with qmail-smtpd.cbd (generated file)
Greg wrote:
>
> Hi, I installed QMail 1.03 with RH5.2
> but need to get it to foward(deliver mail from my dial-in
> clients)
> I followed the excellent instructions at
> http://www.palomine.net/qmail/selectiverelay.html
> but these appear to be for a different version? all I managed to
> do was lock myself out on boot-up ;-(
> [....cut...]
--
Greg
ICQ# 17606315
Phone : +61 7 4125 1180
... and the box said "windows 95, or better", so I got Linux
_____________________________________________________________
On Fri, Mar 26, 1999 at 01:14:27AM -0000, [EMAIL PROTECTED] wrote:
> the person came out of Digital, perhaps an ex-VMS engineer, and I know
> I have his name somewhere in my archives of Internet memorabilia somewhere).
Dave Cutler
On Fri, Mar 26, 1999 at 03:07:02PM +0200, Yiorgos Adamopoulos wrote:
> On Fri, Mar 26, 1999 at 01:14:27AM -0000, [EMAIL PROTECTED] wrote:
> > the person came out of Digital, perhaps an ex-VMS engineer, and I know
> > I have his name somewhere in my archives of Internet memorabilia somewhere).
>
> Dave Cutler
And there is the rumour that, what was made in the movie "2001" also
happend with WinNT.
In "2001" the computer was namend "HAL". If you take the preceeding
characters of "IBM" you get "HAL".
If you take the preceeding characters of "WNT" you get "VMS".
But we're getting off topic ... ;-)
\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?
At 01:14 AM 3/26/99 +0000, [EMAIL PROTECTED] wrote:
>>Yes. Sendmail was written for NT 0.01 pre-beta in 1979. It was ported to
>>UNIX by Bill Gates in 1981.
>
>Okay, so it *was* intended to be a joke. It didn't work for me, because
>I have this notion (not sure how valid) that NT is supposed to be somebody's
>effort to create for Microsoft an OS along the lines of VAX/VMS (I think
>the person came out of Digital, perhaps an ex-VMS engineer, and I know
>I have his name somewhere in my archives of Internet memorabilia somewhere).
>
>So, when I see someone saying "it was written for NT a long time ago",
>I don't see it as obviously funny -- it might just be somebody
>misremembering VAX/VMS as Windows NT.
>
>(It's been explained to me, in private email, that Sendmail was written
>for BSD. I'd always assumed it was originally targeted for some
>variant of UNIX, but was *almost* gullible enough here to be convinced
>it was originally written for VAX/VMS. Which is, I suppose, kind of
>funny anyway.)
>
>>"Bill Gates? Isn't he the guy who invented the Internet, back in 1995?"
>
>No, that was our (US) Vice President, Algore.
Well it was funny, till you went and over-analyzed it.. Put down your linux
book for a few and RELAX.
=)
Regards,
Julian L.C. Brown
DNS Administrator
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net
>Well it was funny, till you went and over-analyzed it.. Put down your linux
>book for a few and RELAX.
You assume too much. I was actually reading books on the new OS I'm
learning about -- M'jovy.
tq vm, (burley)
P.S. It isn't over-analysis on the part of the "client" that is solely
responsible for this sort of humor failing: some humor simply doesn't
properly account for some kinds of (perhaps irrelevant, or erroneous)
excess knowledge on the part of the client, who simply can't help
referencing such knowledge in an attempt to analyze the semantic content
of the statement (analysis which, I believe, is crucial in the
determination of whether *anything* constitutes humor).
The server can mitigate this by providing clues that would more quickly
rule out that excess knowledge, especially if he has some idea of what
specific sorts of excess knowledge might interfere.
Perhaps instead of:
>Sendmail is not a Unix program. It is an NT program that someone
>ported to Unix twenty years ago.
It could have been written:
>Sendmail is not a Unix program. When Bill Gates wrote it for NT
>over twenty years ago, he didn't expect that software pirates
>would actually try to port it to Unix shortly thereafter.
Not necessarily funnier, or even *as* funny, overall, but the
use of *two* specific nouns -- Bill Gates *and* NT -- would have
been enough to keep my "NT is kinda descended from VAX/VMS"
neurons from triggering.
Then, we could have continued joking about how of *course* he expected
that, he *planned* on it, so the Unix community would be sucked into
spending all its time coping with Sendmail until it figured out it
needed its own, native, MTA, like qmail, and so on, instead of talking
about VAX/VMS.
(Now, *that* was over-analysis...gotcha! ;-)
On Fri, Mar 26, 1999 at 12:33:57AM -0000, Efg� wrote:
} Slightly unrelated (maybe), you should never use this
} while ($line = <STDIN>)
} but instead do
} while (defined($line = <STDIN>))
} because one day you'll be bitten by <STDIN> returning a single "0"
} and you'll be dead.
That's no longer a problem if you're using a modern perl. It's been
fixed in perl 5.005_xx so that the first means the second to perl. I
don't know for sure if it's going to be fixed in the upcoming
5.004_05.
}
} perl -w should warn you about this BTW.
The warning is gone, too. On my 5.005_03 machine:
linux% perl -w -e 'while ($line = <STDIN>) {print $line;}'
hello
hello
On my 5.004_04 machine:
cirsrss% perl -w -e 'while ($line = <STDIN>) {print $line;}'
Value of <HANDLE> construct can be "0"; test with defined() at -e line 65535.
}
}
} Florent
--
Paul Schinder
[EMAIL PROTECTED]
Anyone know what protocol AOL uses for e-mail or where I could find
out more information? I'd like to grab those users e-mail who have
AOL accounts and feed into my system.
TIA,
Jeff
>Anyone know what protocol AOL uses for e-mail or where I could find
>out more information? I'd like to grab those users e-mail who have
>AOL accounts and feed into my system.
Yes, I know where to find the information you are looking for. It is in
RFC-AOLISCRAP. You will find all sorts of useful information in that RFC,
you will be thanking me!
Friday's are always weird days for me, so I apologize for myself in advance.
Regards,
Julian L.C. Brown
DNS Administrator
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net
Anyone know what protocol AOL uses for e-mail or where I could find
out more information? I'd like to grab those users e-mail who have
AOL accounts and feed into my system.
TIA,
Jeff
[EMAIL PROTECTED] writes:
> Anyone know what protocol AOL uses for e-mail or where I could find
> out more information?
Yes - a proprietary one.
> I'd like to grab those users e-mail who have
> AOL accounts and feed into my system.
Try to bring about world peace first. You have a far better chance of
accomplishing that.
--
Sam
On Fri, Mar 26, 1999 at 09:07:25AM -0500, Julian L.C. Brown wrote:
>
> >Anyone know what protocol AOL uses for e-mail or where I could find
> >out more information? I'd like to grab those users e-mail who have
> >AOL accounts and feed into my system.
>
> Yes, I know where to find the information you are looking for. It
> is in RFC-AOLISCRAP. You will find all sorts of useful information
> in that RFC, you will be thanking me!
>
> Friday's are always weird days for me, so I apologize for myself in
> advance.
Perhaps you could blame the following header on "Friday"?
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.1
Every so often I go through my "trash" folder and find that
someone has posted to a mutt list using Eudora. Fortunately I have
mutt put the trash folder at the end of the inbox search path.
Life is much easier when you don't need to read mail from
Windows users.
AOL users end up in /dev/null. I don't even bother.
--
"The software is intended to be as unobtrusive, unintrusive and
unconstraining as possible. In software as elsewhere, good
engineering is whatever gets the job done without calling attention to
itself." -- Cynbe ru Taren, on Citadel (http://zork.net/cit/citadel.txt)
> Life is much easier when you don't need to read mail from
> Windows users.
>
> AOL users end up in /dev/null. I don't even bother.
Last time I checked this mailing list was discussing user questions
about the mutt email client. Not promoting luserish attitudes.
I presume the qmail list has a similar objective.
*plonk*
Hi, folks --
...and then Nick Moffitt said...
%
% Life is much easier when you don't need to read mail from
% Windows users.
%
% AOL users end up in /dev/null. I don't even bother.
%
Man, we're a tough bunch! And I thought that my post was bad, d00d...
:-D
--
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.poboxes.com/davidtg/
Note: If poboxes.com gives you fits, try sector13.org in its place. *sigh*
PGP signature
On 1999-03-26 10:58:53 -0800, Nick Moffitt wrote:
> Perhaps you could blame the following header on "Friday"?
> X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.1
[...]
> Life is much easier when you don't need to read mail from
> Windows users.
Could you please stop this pointless flammage?
--
http://home.pages.de/~roessler/
For a mailing list, I get errors like (the xxx are ascii chars replaced by me):
1 1.38 207.244.124.137 failed after I sent the message./Remote host said: 550
Syntax error in 'Cc' header: malformed address: "xxx Mack"
<[EMAIL PROTECTED]>/
1 1.53 212.208.194.252 failed after I sent the message./Remote host said: 550
Syntax error in 'Cc' header: malformed address: "xxx Mack"
<[EMAIL PROTECTED]>/
It seems that hosts (mainly running EXIM) are parsing messages and rejecting non
rfc822-compliant messages. Other message have been rejected because of
an incorrectly formatted From: header, others because they contain chars > 127 (e.g.
iso-8859-1 umlauts).
To me this seems brain-dead, but maybe that's a lack of understanding on my part. Are
there any redeeming features to this type of activity?
Enlightenment highly appreciated.
Fred Lindberg writes:
> For a mailing list, I get errors like (the xxx are ascii chars replaced by me):
>
> 1 1.38 207.244.124.137 failed after I sent the message./Remote host said:
>550 Syntax error in 'Cc' header: malformed address: "xxx Mack"
> <[EMAIL PROTECTED]>/
> 1 1.53 212.208.194.252 failed after I sent the message./Remote host said:
>550 Syntax error in 'Cc' header: malformed address: "xxx Mack"
> <[EMAIL PROTECTED]>/
>
> It seems that hosts (mainly running EXIM) are parsing messages and rejecting non
>rfc822-compliant messages. Other message have been rejected because of
> an incorrectly formatted From: header, others because they contain chars > 127 (e.g.
>iso-8859-1 umlauts).
>
> To me this seems brain-dead, but maybe that's a lack of understanding on my part.
>Are there any redeeming features to this type of activity?
Yes. Spam filtering. I think that this is an excellent idea, and I have
implemented it myself, although my RFC822 checking is probably not as
strict as this particular instance.
--
Sam
... and if so, why? What am I missing?
I have a .qmail-test containing this:
|/usr/local/bin/822header > header && cat > body && exit 99
./file
When I send mail to it I get the neader in the file called header as
one would expect, but in the file called body I get this:
include <std/disclaimers.h> TEAM-OS2
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
The actual message is a line feed, the word test, another line feed
and my sig (as below - without: "Vince."). What happened to the actual
body of the message?
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
==========================================================================
+ Vince Vielhaber <[EMAIL PROTECTED]>:
| ... and if so, why? What am I missing?
|
| I have a .qmail-test containing this:
| |/usr/local/bin/822header > header && cat > body && exit 99
| ./file
822header reads too far. It reads whole blocks of some specific
number of characters until it finds the end of the headers, printing
what it found.
If your example were to work, 822header would have to read the file
one byte at a time, so it could stop as soon as the header is
finished. I think it might be useful if the program would do this, at
least optionally.
- Harald
On Fri, 26 Mar 1999, Harald Hanche-Olsen wrote:
> + Vince Vielhaber <[EMAIL PROTECTED]>:
>
> | ... and if so, why? What am I missing?
> |
> | I have a .qmail-test containing this:
> | |/usr/local/bin/822header > header && cat > body && exit 99
> | ./file
>
> 822header reads too far. It reads whole blocks of some specific
> number of characters until it finds the end of the headers, printing
> what it found.
>
> If your example were to work, 822header would have to read the file
> one byte at a time, so it could stop as soon as the header is
> finished. I think it might be useful if the program would do this, at
> least optionally.
Yeah, that makes sense. Actually, tho, since it's only the body I
wanted I used 822header.c and modified it to be 822body.c. Works
like a charm :)
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
==========================================================================
Below is a very simple patch to tcpserver that lets it run the program
specified in the environment variable PROG rather than the one named on the
command line. I vaguely recall the idea of doing this coming up on the list
several months ago, but I can't find the thread now.
The idea is that you could run, for example, ofmipd for your internal clients
and qmail-smtpd for the rest of the world by specifying
PROG="/usr/local/bin/ofmipd" in the appropriate place in your tcprules file.
You might also run a shell script that pipes fixcr through qmail-smtpd for
hosts that are sending mail with bare linefeeds (which is what prompted me to
do it).
The patched tcpserver is somewhat deficient in that it runs PROG with the same
arguments as the program named on the command line, but for the purposes above
this doesn't matter.
Can anyone see anything terribly wrong with doing this?
Chris
--- tcpserver.c.orig Thu Nov 12 00:32:01 1998
+++ tcpserver.c Fri Mar 26 09:42:50 1999
@@ -263,6 +263,7 @@
int opt;
char *hostname;
char *portname;
+ char *x;
struct servent *se;
int j;
@@ -497,6 +498,7 @@
sig_childunblock();
sig_termdefault();
sig_pipedefault();
+ if (x = env_get("PROG")) *argv = x;
execvp(*argv,argv);
if (verbosity) strerr_warn4(DROP,"unable to run ",*argv,": ",&strerr_sys);
_exit(111);
+ Chris Johnson <[EMAIL PROTECTED]>:
| Below is a very simple patch to tcpserver that lets it run the
| program specified in the environment variable PROG rather than the
| one named on the command line. I vaguely recall the idea of doing
| this coming up on the list several months ago, but I can't find the
| thread now.
|
[...]
|
| Can anyone see anything terribly wrong with doing this?
Not really, but I assume it would be more DJB-esque to have tcpserver
run a tiny wrapper program which inspects the environment and then
runs the appropriate program. In the event that Dan doesn't want to
include this feature in tcpserver, this solution also saves you from
having to add it to every future version of tcpserver that you might
want to run.
- Harald
Harald Hanche-Olsen ([EMAIL PROTECTED]) wrote:
: + Chris Johnson <[EMAIL PROTECTED]>:
: | Below is a very simple patch to tcpserver that lets it run the
: | program specified in the environment variable PROG rather than the
: | one named on the command line. I vaguely recall the idea of doing
: | this coming up on the list several months ago, but I can't find the
: | thread now.
: |
: [...]
: |
: | Can anyone see anything terribly wrong with doing this?
: Not really, but I assume it would be more DJB-esque to have tcpserver
: run a tiny wrapper program which inspects the environment and then
: runs the appropriate program. In the event that Dan doesn't want to
: include this feature in tcpserver, this solution also saves you from
: having to add it to every future version of tcpserver that you might
: want to run.
: - Harald
I trust command lines more than the environment, so I'd go with
the tiny wrapper. With the environment its not always easy to tell
where the values are coming from or who is setting them, so I tend
not to use them for critical upstream things.
-harold
ok :-)
I got an IMAP server from wu. It has its own pop3 server (as well as
imapd)
but it requires mbox format. Has anyone looked at getting an imap
server that
wants mbox format to talk to qmail's Maildir format? I think Maildir is
just
about to die here as a good idea but a bit of a blind alley unless I can
solve
the folders v Maildir problem now.
I haven't tried cyrus smtp server yet ...
Thankee :-)
Alastair.
Instead of seting .qmail to ./Maildir/ set it to ./Mailbox and qmail
will store mail in mbox format in the users home directory.
> ok :-)
>
> I got an IMAP server from wu. It has its own pop3 server (as well as
> imapd)
> but it requires mbox format. Has anyone looked at getting an imap
> server that
> wants mbox format to talk to qmail's Maildir format? I think Maildir is
> just
> about to die here as a good idea but a bit of a blind alley unless I can
> solve
> the folders v Maildir problem now.
>
> I haven't tried cyrus smtp server yet ...
>
> Thankee :-)
>
> Alastair.
>
>
--
Richard Shetron [EMAIL PROTECTED] [EMAIL PROTECTED]
What is the Meaning of Life?
There is no meaning,
It's just a consequence of complex carbon based chemistry; don't worry about it
The Super 76, "Free Aspirin and Tender Sympathy", Las Vegas Strip.
+ Dongping Deng <[EMAIL PROTECTED]>:
| I installed daemontools and started to use cyclog, but such messages
| started to pop up every few seconds.
|
| cyclog: warning: unable to create @00000922434195, pausing: access
| denied
| cyclog: warning: unable to create @00000922434255, pausing: access
| denied
| cyclog: warning: unable to create @00000922434315, pausing: access
| denied
| ...
|
| I invoked cyclog (from Adam's howto) as
| setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
|
| Anyone has seen such things, and how to fix it?
chown qmaill /var/log/qmail/qmail-smtpd
- Harald
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: +bIOTLJFyxgUOaRuG0cElQ==
Hello all,
I have set up qmail here on a few of our servers (OSF1 and HP-UX),
Everything is working fine, all mail from any of our servers goes
to the mail server, local and remote deliveries work fine too.
The place I'm getting stuck though is trying to set up pop3 deliveries to our
corporate network users on NT stations. Of course, I don't want to set up and
maintain unix accounts for them on the unix mail server.
I retrieved a document by Paul Gregg at
http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt, that explains a
way of achieving this.
I have a pretty good idea of how to set up things, but I'm missing a few blocks
to understand the whole mechanism.
More precisely: Since I have only one domain to manage (we're not an ISP) and
our domain is already set, do I have to still set it in virtualdomains ?
What checkpasswd type program is the best to use? (I would like to have mail
users in a separate passwd file)
From P.Gregg's document:
[ Ok, so I've got that setup? Where's the password file?
In my default the password file is /var/qmail/users/poppasswd
Simply make file and add a line, e.g:
testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe
This means we've just added a POP3 user "testid" with a password of
"testpw" (crypted), with the real (system) id of "popuser" and their
(home) directory is "/var/qmail/popboxes/domain-com/joe" ]
How can I manually edit such a file and type in an encrypted password in it ?
Like if I create a user "Joe" and I want his password to be "testpwd" what
should I do? create a unix user with that password then look at the unix passwd
file for the encrypted version and copy it over the mail passwd file and then
delete the unix user? I'm not sure it's going to work (I didn't try it).
But there must be a better way, than to repeat that operation for 200 users.
Any hints or pointers would be appreciated.
Thanks to all
Christian Tremblay
On Fri, Mar 26, 1999 at 11:45:45AM -0500, [EMAIL PROTECTED] wrote:
> I have set up qmail here on a few of our servers (OSF1 and HP-UX),
> Everything is working fine, all mail from any of our servers goes
> to the mail server, local and remote deliveries work fine too.
>
> The place I'm getting stuck though is trying to set up pop3 deliveries to our
> corporate network users on NT stations. Of course, I don't want to set up and
> maintain unix accounts for them on the unix mail server.
>
> I retrieved a document by Paul Gregg at
> http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.txt, that explains a
> way of achieving this.
>
> I have a pretty good idea of how to set up things, but I'm missing a few blocks
> to understand the whole mechanism.
>
> More precisely: Since I have only one domain to manage (we're not an ISP) and
> our domain is already set, do I have to still set it in virtualdomains ?
No. Just make sure users/assign delivers everything to the right place, and
make sure your separate poppasswd file specifies the correct place to pick the
mail up. You don't need to have any virtual domains to make this work.
For a local domain, an entry like this is users/assign will handle delivery:
=joe:popuser:888:888:/var/qmail/popboxes/joe
and an entry like this will handle retrieval:
joe::DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/joe
This assumes that you've set things up just like in Paul's HOWTO. Just make
sure that you create a Maildir in /var/qmail/popboxes/joe for joe and make sure
it's owned by popuser.
> What checkpasswd type program is the best to use? (I would like to have mail
> users in a separate passwd file)
I don't know what's best to use, but I have a home-made one that uses a cdb
database for the separate password file, so it's speedy. It'll look in both
/etc/passwd and your separate password file for users, so you can use both
types of accounts. You can get it at
http://www.palomine.net/qmail/checkcdb.tar.gz. For other options, see the
checkpassword section of http://www.qmail.org.
> From P.Gregg's document:
>
>
> [ Ok, so I've got that setup? Where's the password file?
It's wherever you put it. If you set things up as per Paul's HOWTO, it's
/var/qmail/users/poppasswd.
> In my default the password file is /var/qmail/users/poppasswd
>
> Simply make file and add a line, e.g:
>
> testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe
>
> This means we've just added a POP3 user "testid" with a password of
>
> "testpw" (crypted), with the real (system) id of "popuser" and their
>
> (home) directory is "/var/qmail/popboxes/domain-com/joe" ]
>
>
> How can I manually edit such a file and type in an encrypted password in it ?
> Like if I create a user "Joe" and I want his password to be "testpwd" what
> should I do? create a unix user with that password then look at the unix
> passwd file for the encrypted version and copy it over the mail passwd file
> and then delete the unix user? I'm not sure it's going to work (I didn't try
> it). But there must be a better way, than to repeat that operation for 200
> users.
My checkcdb package has a perl script that lets you change (or set in the first
place) the passwords in users/poppasswd. Even if you don't use my
checkpassword, you could still use this to set the passwords.
Chris
On Fri, Mar 26, 1999 at 12:20:34PM -0500, Chris Johnson wrote:
[snip]
> For a local domain, an entry like this is users/assign will handle delivery:
>
> =joe:popuser:888:888:/var/qmail/popboxes/joe
Oops. That should be:
=joe:popuser:888:888:/var/qmail/popboxes/joe:::
I forgot the colons.
Chris
Eric Shafto wrote:
>
> The examples given in the documentation are a little sparse and I was
> hoping to find out the answer to this without going through the trial
> and error process.
>
> I want my server to work as an SMTP relay from machines within my
> network. There are two solutions given for turning on relaying based on
> the address of the client, one using tcpwrappers and one using
> tcpclient. Will tcpwrappers allow me to specify a range of addresses as
> it appears tcpclient will? Is one of these solutions generally easier,
> simpler, more effective, more efficient, or more generally useful?
Thanks to those who replied. The tcpserver solution turned out to be
trivial to implement, as has virtually everything else related to this
project. qmail, cyrus, ezmlm, tcpwrappers... When everything you
install just starts working with a minimum of fuss, you begin to wonder
if something weird is going on. I keep going back to it to see if there
isn't some messy configuration task I've missed. Maybe I'll go install
INN just to keep myself in shape :-)
I am interested in setting up a relay host on my system; however, I am
concerned about the risks of operating an open relay. There is no way for
me to determine every senders domain for "rcpthosts". Is there anyway I
can verify mail based on the sender?
Thanks,
Verrall McEwen
On Fri, Mar 26, 1999 at 12:12:12PM -0500, Verrall McEwen wrote:
> I am interested in setting up a relay host on my system; however, I am
> concerned about the risks of operating an open relay. There is no way for
> me to determine every senders domain for "rcpthosts". Is there anyway I
> can verify mail based on the sender?
With patches to qmail-smtpd you can, but it's not a good thing to do. Anyone
can forge a sender address, so anyone could use you for a relay if that's what
you check for.
You might want to read http://www.palomine.net/qmail/relaying.html and the
related http://www.palomine.net/qmail/selectiverelay.html for more than you
want to know about safe relaying with qmail.
Chris
Verrall McEwen writes:
> I am interested in setting up a relay host on my system; however, I am
> concerned about the risks of operating an open relay. There is no way for
> me to determine every senders domain for "rcpthosts". Is there anyway I
> can verify mail based on the sender?
Please read the manual page for qmail-smtpd, if you have not done so
already.
--
Sam
Verrall McEwen <[EMAIL PROTECTED]> writes:
| I am interested in setting up a relay host on my system; however, I am
| concerned about the risks of operating an open relay. There is no way for
| me to determine every senders domain for "rcpthosts".
rcpthosts is for *YOUR* domains. Not those of strangers. Maybe in 2.0
Dan will rename "rcpthosts" to "mydomains", to avoid this FAQ.
Hi All,
I think I missed out any previous postings about Happy99 trojan. I run an
ISP and am fedup of explaining clients how do they get rid of it and stop
infecting other people, despite the fact that we tell them on the first
place not to open any exe file unless they know what it is??
Is there a way for us to delete all the mails carrying this Happy99.exe as
an attachment??
Any help appreciated.
Thanks,
Shashank.
--
Shashank Kansal,
Sr.Vice President,
WorldLink Communications Pvt.Ltd.,
Kathmandu, Nepal.
Voice: 9771-523050
Fax : 9771-529403
Web : http://www.nepalonline.net
Hi,
I'm fairly new to qmail. I installed it (replacing sendmail) a few months
ago, but once I got it working, I just left it alone. :) (Which was nice,
while it lasted :) ).
I run a fairly low-volume mail server for basically myself, my family, and
some friends. It has a mailing list on it for my wife and some of her
friends.
My question is this: Is there any way to have qmail CC: the postmaster if
mail bounces (either incoming or outgoing)? I realize that this is not
very practical for large mail sites, but in my environment I'd prefer to
see what's happening so I can tell people (on the mailing list, for
example) what is wrong (their mail spool is full, and the messages are
being rejected with "Quota exceeded" errors).
With sendmail, I think there was an option to CC postmaster on errors,
does qmail have an equivelant way to do this?
(As an aside, I started trying to hack qmail-send to do this, but I've
since stopped. It probably wasn't the winning way to do it, and besides
it didn't work anyway :) ).
Thanks,
Troy
When I get an error and get something like (#4.2.1) or
(#5.7.1) ... what do those #s mean? I thought I knew,
but apparently I was mistaken. Please do RTFM or FAQ
me, but tell me which FM or FAQ to read? I can solve
the problems -- but I'd like to know what the (#s)
mean.
Thank you.
Scott
Scott D. Yelich wrote/schrieb/scribsit:
> When I get an error and get something like (#4.2.1) or
> (#5.7.1) ... what do those #s mean?
See http://pobox.com/~djb/proto/hcmssc.txt and the RFC metioned therein.
Stefan
From: BLURB3:* HCMSSC support---language-independent RFC 1893 error codes
to
ftp://koobera.math.uic.edu/www/proto/hcmssc.txt
via
ftp://koobera.math.uic.edu/www/proto.html
via
ftp://koobera.math.uic.edu/www/djb.html
via
www.qmail.org
Earlier versions of the qmail tarball had this protocol in a text file.
At 02:28 PM Friday 3/26/99, Scott D. Yelich wrote:
>
>
>When I get an error and get something like (#4.2.1) or
>(#5.7.1) ... what do those #s mean? I thought I knew,
>but apparently I was mistaken. Please do RTFM or FAQ
>me, but tell me which FM or FAQ to read? I can solve
>the problems -- but I'd like to know what the (#s)
>mean.
>
>Thank you.
>
>Scott
>
>
>
On Fri, 26 Mar 1999, Mark Delany wrote:
> From: BLURB3:* HCMSSC support---language-independent RFC 1893 error codes
> ftp://koobera.math.uic.edu/www/proto/hcmssc.txt
> ftp://koobera.math.uic.edu/www/proto.html
> ftp://koobera.math.uic.edu/www/djb.html
> www.qmail.org
> Earlier versions of the qmail tarball had this protocol in a text file.
AH! ok.
Here is a sample answer I was looking for:
Yes, RTFRFC @ http://sunsite.cnlab-switch.ch/ftp/doc/standard/rfc/18xx/1893
Scott
On Wed 1999-03-24 (10:33), Adam D. McKenna wrote:
> From: Julian L.C. Brown <[EMAIL PROTECTED]>
> :
> : >Noooooo!!!!!!! People who are ignorant enough to send mail to the
> : >whole list are usually too ignorant to actually *read* the messages to
> : >find out how to get off the list. It's just a waste of bandwidth and
> : >screen space.
> :
> : I don't mean to sound like a prick but what a silly argument. 1) A waste
> : of bandwidth? 2 additional lines is really not a waste of bandwidth. 2)
> : Screen space? 2 Lines (unless in 320x200) is not a lot of screen space -
> : either.
>
> it's not just 2 lines. It's 2 lines x # of subscribers x messages per day.
> Assuming a "line" is 40 characters, there are 1000 subscribers, and 50
> messages per day, that's 4 megabytes per day extra.
Dan has an interesting sarcastic doc about saving bandwidth :-)
See:
ftp://koobera.math.uic.edu/www/sarcasm/modest-proposal.txt
-- Keith
> --Adam
--
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.
---
From: Keith Burdis <[EMAIL PROTECTED]>
> On Wed 1999-03-24 (10:33), Adam D. McKenna wrote:
> > it's not just 2 lines. It's 2 lines x # of subscribers x messages per
day.
> > Assuming a "line" is 40 characters, there are 1000 subscribers, and 50
> > messages per day, that's 4 megabytes per day extra.
>
> Dan has an interesting sarcastic doc about saving bandwidth :-)
> See:
>
> ftp://koobera.math.uic.edu/www/sarcasm/modest-proposal.txt
I've read that before :)
I wasn't suggesting 4 megs/day was excessive.. But it's not negligible..
--Adam
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] wrote:
> How can I manually edit such a file and type in an encrypted password in it ?
This has been a common question asked of me. In response I've written a
small utility to assist you in crypting the passwords for use in the
poppasswd file.
http://www.tibus.net/pgregg/projects/
and click on the mkpasswd.pl link (it is in the same block as the HOWTO).
d/l the file and save it as, say, mkpasswd in a directory that is in your
PATH. Make sure it is executable, chmod a+rx mkpasswd. Then to use it do:
mkpasswd [plainpass] [seed]
If you leave out [seed] then it is randomly generated (the seed is the first
two letters of the crypted passwd). If you simply type mkpasswd on it's own
it'll ask you to type in the password and again to confirm and optionally
you can then put in the seed - this is more like what you would be used to
if changing your password.
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 |
>d/l the file and save it as, say, mkpasswd in a directory that is in your
>PATH. Make sure it is executable, chmod a+rx mkpasswd. Then to use it do:
>
>mkpasswd [plainpass] [seed]
>
>If you leave out [seed] then it is randomly generated (the seed is the first
>two letters of the crypted passwd). If you simply type mkpasswd on it's own
>it'll ask you to type in the password and again to confirm and optionally
>you can then put in the seed - this is more like what you would be used to
>if changing your password.
Actually along the qmail way I wrote a utility that does
qmail/proftpd/passwd style adds/deletes and passwording.. passwording a
user is along the lines of "userconf -q -u joe -p password"
-q meaning qmail -u user and -p password.. that's it, it will modify the
password for the guy.. I wrote it in about 15 mins so there is little
documentation obviously, but there is a -h --help .. if anyone wants this
utility, as always my code is free so let me know.
Regards,
Julian L.C. Brown
DNS Administrator
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net
On Thu 1999-03-25 (14:45), [EMAIL PROTECTED] wrote:
> Hi there,
> I know it's a little bit off the topic of this list. Please accept my
> apology here. I just try to find out anybody out there has ever tried this
> combination before.
>
> Here is the script to start the daemon:
> #! /bin/sh
> ROG=sshd
> LKDIR=/var/lock/sshd
>
> mkdirs() {
> [ -d $LKDIR ] || ( mkdir -p $LKDIR );
> }
>
> start () {
> mkdirs
> echo -n "Starting $PROG..."
> supervise $LKDIR /usr/local/sbin/$PROG &
> echo "done"
> }
>
> But the supervise somehow thinks the sshd is dead and keeps starting
> it, giving out the following messages continuously:
>
> Starting sshd...FATAL: Creating listener failed: port 22 probably
> already in use!
> ....
>
> The sshd program is downloaded and compiled from
> http://www.ssh.fi/sshprotocols2/index.html
I remember hacking at Mate Wierdl's tcpserver-initscripts package to make it
use ssh instead of rsh, and IIRC I had to use sshd -i rather than just sshd.
This prevents it from forking and putting itself in the background.
- Keith
> Thanks a lot in advanced.
> --George Hong
--
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.
---
Hi, well I've got smtp relay working fine, but when I give a user
a log in account on this box, to enable them to grab their mail,
with a windoze client their password gets rejected, (although I
can telnet in with it). ?
please point me at some docs, as I don't recall seeing anything
relating to this?
thanks
--
Greg
ICQ# 17606315
Phone : +61 7 4125 1180
... and the box said "windows 95, or better", so I got Linux
_____________________________________________________________