CNAME problem with qmail and djbdns

2001-02-23 Thread Marcus Korte

Hi,

I have setup a qmail server with the patched dns.c file (PACKETSZ increased
to 65536).
Also a local dnscache based on djbdns-1.05 is setup according to the FAQs.
Normal lookups are working fine, but qmail together with dnscache running
connecting to the localhost as server (127.0.0.1 in resolv.conf) I got the
following messages in the qmail/current log for any mail message. 

2001-02-22 17:19:07.687368500 status: local 0/10 remote 2/20
2001-02-22 17:19:07.690907500 delivery 3: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
2001-02-22 17:19:07.690914500 status: local 0/10 remote 1/20
2001-02-22 17:19:07.690996500 delivery 4: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
2001-02-22 17:19:07.691000500 status: local 0/10 remote 0/20

With the resolv.conf containing our nameservers there are no problems.

Has anybody experienced a similar problem?
Is my dnscache setup wrong?
Any ideas?

Regards,
Marcus

-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: warning: trouble opening remote/4/r

2001-02-23 Thread flint

Dear Charles Cazabon
 
Your problem could be ident and DNS lookup timeouts from tcpserver.
Investigate the possibility of turning off ident lookups, and either
disabling DNS lookups or fixing your DNS resolver/content server.

Charles

   Yes! It's really our DNS problem. Several days ago,we have changed DNS
server. Today i check the DNS server carefully, I found it can resolve the 
names in our domain,but it doen't use it's own data,it always say:"Non-authoritative 
answer: ..". I have configure the Named again. It's ok now.

But I have not fix the queue yet, because I don't know how to Shut
down the qmail-send. I know it is really a very stupid question. I have
seen many documents,some use "svc" command, there isn't "svc" command 
in our server, also I cann't find qmail-send.pid file in /var/run like 
some articles said. How could I do?

 I'm appreaciate for your warmheartedness and patience.


 flint




Re: warning: trouble opening remote/4/r

2001-02-23 Thread flint

Dear Charles Cazabon
 
Your problem could be ident and DNS lookup timeouts from tcpserver.
Investigate the possibility of turning off ident lookups, and either
disabling DNS lookups or fixing your DNS resolver/content server.

Charles

   Yes! It's really our DNS problem. Several days ago,we have changed DNS
server. Today i check the DNS server carefully, I found it can resolve the 
names in our domain,but it doen't use it's own data,it always say:"Non-authoritative 
answer: ..". I have configure the Named again. It's ok now.

But I have not fix the queue yet, because I don't know how to Shut
down the qmail-send. I know it is really a very stupid question. I have
seen many documents,some use "svc" command, there isn't "svc" command 
in our server, also I cann't find qmail-send.pid file in /var/run like 
some articles said. How could I do?

 I'm appreaciate for your warmheartedness and patience.


 flint




Mysterious error message

2001-02-23 Thread Tim Hassan


Hello, 

This might be a little off topic but it is pretty much about qmail. 

I have a very mysterious problem. I had setup a qmail server (and a local 
dnscache running on 127.0.0.1 for faster nslookups) for a customer of mine, 
and it has been working absolutely fine. He also had some weird crappy ms 
asp code, vbscript, and something to do with MS SQL and odbc connections. 
This code basically stores e-mail addresses on the MS SQL server, divided in 
tables by categories, and at a later time, you could use the asp web 
interface to send emails to email addresses listed under certain categories. 
He had it working against his sendmail or Imail box or something. His code 
just uses the basic RFC compliant commands like HELO, MAIL FROM, RCPT TO, 
data, etc. He liked the performance and reliability and thus wanted to do 
more migration.
Now he changed his "asp code" or "stuff" (I am not exactly sure what 
exactly) to relay the mail through this qmail server and not through the 
sendmail/Imail box as it used to. All the emails to be sent are sent to 
remote addresses and not local of course. I also made sure I allow relaying 
for that entire Class C Subnet like 1.2.3.:allow,RELAYCLIENT="" in 
/etc/tcp.smtp and compiled it with tcprules to tcp.smtp which the mentioned 
in the tcpserver -x command to start qmail. Now he tests his code, and he 
keeps getting the following error (on his nt box that is sending the emails 
to the qmail server to actually deliver them): 

550 5.7.1 [EMAIL PROTECTED]... Relaying denied. IP name lookup failed 
[some.ip.add.ress] 

At a first glance, I could swear on anything that this looks nothing to me 
like a qmail error.
1. I am not running tcpserver with -p and -P
2. The error message is not in a recognized message format like for example 
the unimplemented qmail error message: 

502 unimplemented (#5.5.1) 

First, the error code is mentioned *always* last!
Second, the error code is *always* prefixed with a hash mark "#"
Third, the error code is enclosed in paranthesis 

Now, I telnet to the qmail box (from the server that runs his code that 
connects to the qmail box to send emails) on port 25 and helo my.host.com, 
mail from:[EMAIL PROTECTED] rcpt to:[EMAIL PROTECTED] data, body, and 
"."  and qmail queues the message with no errors, I get the email at the 
other end. Hrmm 

Does this error message look familiar? I also connected to that qmail box 
from an ip that doesn't resolve and relayed mail through it fine (after 
putting the ip address in tcp.smtp and compiling it's .cdb)
So I really believe that is not a qmail error! What is it then?
I'd really appreciate any ideas 

(Please cc me a copy of your reply) 

Best Regards,
Tamer Hassan 



Virtual Domain Quota

2001-02-23 Thread Eko Yulianto

Hello,

I 've installed Qmail 1.03 on FreeBSD 4.2. I install Vpopmail for virtual
domain.
But, How to make user quota in virtual domain, because I try to use
vsetuserquota in Vpopmail and cannot blok the user space.
Can any one explain to me

Thanks



Regards,


eko


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Virtual Domain Quota

2001-02-23 Thread Frank Tegtmeyer

 But, How to make user quota in virtual domain, because I try to use
 vsetuserquota in Vpopmail and cannot blok the user space.

Please ask such questions at the vpopmail mailinglist.

Regards, Frank 



About qmail sendmail.

2001-02-23 Thread Someone



Hi all,

I want infomations about qmail compares with 
sendmail.
Can you help me?
Where www talk about them?
Such as efficiency, speedy, security, why?, 
...etc.

Thank you
someone...


qmail Digest 23 Feb 2001 11:00:01 -0000 Issue 1284

2001-02-23 Thread qmail-digest-help


qmail Digest 23 Feb 2001 11:00:01 - Issue 1284

Topics (messages 57766 through 57824):

about qmailadmin
57766 by: Someone

about quota for qmail
57767 by: Someone

Re: LWQ  OpenBSD
57768 by: Henning Brauer
57773 by: Dave Sill
57774 by: Henning Brauer
57780 by: Robin S. Socha
57781 by: Dave Sill
57784 by: Dave Sill
57788 by: Robin S. Socha
57789 by: Henning Brauer
57803 by: Dave Sill
57806 by: Dave Sill

Patching error with qmail-smtpd
57769 by: John P
57778 by: Charles Cazabon

SMTP-AUTH problems
57770 by: John P
57790 by: Kris Kelley
57792 by: John P
57794 by: Kris Kelley
57808 by: listy-dyskusyjne Krzysztof Dabrowski

Re: qmail-scanner wrapper
57771 by: Brett Randall
57772 by: John P
57796 by: Jason Haar

Re: Slow connection on send  Server connection closed
57775 by: Dave Sill

Re: warning: trouble opening remote/4/r
57776 by: Charles Cazabon
57819 by: flint
57820 by: flint

Re: mail queue problem.
5 by: Charles Cazabon
57816 by: Manvendra Bhangui

long delay in receiving from HOTMAIL, routing problem?
57779 by: Chrisanthy Chrisanthy
57782 by: Jonathan D. Poole

qmail-qfilter  ~  Help...
57783 by: jsunday.parview.com

Where to ask ezmlm-idx questions?
57785 by: nolan.celery.tssi.com
57787 by: Jonathan D. Poole

Re: qmail test scripts
57786 by: Dave Sill

autorespond
57791 by: Mark Lane

yay
57793 by: Carl

qmail-pop3d: tcpserver: unable to bind: address in use problem
57795 by: schoon.amgt.com
57798 by: Charles Cazabon
57799 by: schoon.amgt.com
57801 by: Greg White

Qmail-Scanner for each user
57797 by: Alan R.

thinko
57800 by: Charles Cazabon

newbie question on forwarding email
57802 by: Virginia Chism
57804 by: Charles Cazabon

forward and keep mail
57805 by: Javier Morquecho Morquecho
57807 by: Charles Cazabon

Newbies tcpserver question [slightly offtopic]
57809 by: John Peterson
57810 by: Kris Kelley

unsubsribe
57811 by: wheatly

LWQ  qmail-smtp-auth
57812 by: dennis

how can i change from inetd to xinetd in Redhat 7.0??
57813 by: jerry
57814 by: Peter Cavender

pam-checkpassword .diff ?
57815 by: dennis

qmailadmin compile question
57817 by: sberg.white.pangaealink.com

CNAME problem with qmail and djbdns
57818 by: Marcus Korte

Mysterious error message
57821 by: Tim Hassan

Virtual Domain Quota
57822 by: Eko Yulianto
57823 by: Frank Tegtmeyer

About qmail  sendmail.
57824 by: Someone

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to 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 all

If i use qmailadmin but not use vpopmail.
Can i do it ?
How?

Thank you
someone






Hi, all

If i not use vpopmail.
Can i set quota for user in /etc/passwd ?
How ?

Thank you
someone



On Wed, Feb 21, 2001 at 11:46:26AM -0800, Rick Updegrove wrote:
 Since I do not have a init.d directory in OpenBSD and it seems everything is
 started from rc.conf and rc.local in OpenBSD how am I to follow LWQ?

The lack of the complicated sysv-style init and its dependencies is a big
advantage for OpenBSD ;-))

Just enter

PATH=$PATH:/usr/local/bin
svscan /service 

in your /etc/rc.local

Greetings

Henning


-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany




Henning Brauer [EMAIL PROTECTED] wrote:

Just enter

PATH=$PATH:/usr/local/bin
svscan /service 

in your /etc/rc.local

Since we're talking about LWQ, that would have to be "svscan
/var/qmail/supervise ". But putting:

  /usr/local/sbin/qmail start

in rc.local is the correct approach.

-Dave




On Thu, Feb 22, 2001 at 09:24:04AM -0500, Dave Sill wrote:
 Henning Brauer [EMAIL PROTECTED] wrote:
 
 Just enter
 
 PATH=$PATH:/usr/local/bin
 svscan /service 
 
 in your /etc/rc.local
 
 Since we're talking about LWQ, that would have to be "svscan
 /var/qmail/supervise ". But putting:
 
   /usr/local/sbin/qmail start
 
 in rc.local is the correct approach.

Sorry Dave, but having such a beast like the sysv-init-script for qmail on
OpenBSD is definetly not the correct approach. Thats against any BSD
concept, especially the OpenBSD concept. Just (soft-)link you stuff from
/var/qmail/supervise to /service and use the lines as I typed them.

For my taste lwq is a bit too linux-specific. Don't tell people to use
sysv-sytle init scripts on non-sysv-init-systems. Thats 

Re: djbcron

2001-02-23 Thread James R Grinter

"Chris Garrigues" [EMAIL PROTECTED] writes:
 A few years ago i had a gig teaching use of Tivoli Maestro, which is best 
 described to Unixheads as "cron on steroids".  It's a port of a mainframe 

Yes! Many of us will have encountered this functionality in similar
tools such as Autosys and Control-M - and it is functionality that
would be worth having.

 The neatest feature it has, however, is a very sophisticated dependency 
 relationship, so you can say things like:  
 
 Run job A on work days
 Run job B on holidays and weekends
 Run job C after either job A or job B has completed. (but don't run job C if 
   A or B did not run).

plus:
- including the ability to restart at any job once a problem has been fixed.
- conditional execution depending upon the result of a previous job.
- maximum number of simulataneous jobs on a system, or across systems.

(and the ability to have user interfaces sat atop, to indicate how far
a batch-run has got.)

James.



Re: LWQ OpenBSD

2001-02-23 Thread James R Grinter

"Robin S. Socha" [EMAIL PROTECTED] writes:
 man hier should be a lot older than OpenBSD or whatever. I mean, really.

Unix-88 said that this sort of non-vendor provided stuff should go in
/opt/{vendor}/, but SunOS 4.1.x chose not to do that and few others do
even now.  (SunOS 4's HIER(7) suggested /usr/local/ was for "locally
maintained software", and /var/ was "directory of files that tend to
grow or vary in size". The BSD4.4-derived OS's go further and suggest
that /var/ should be solely transient stuff)

Nowadays, I'm tending to build things self contained in
/opt/{product}/ and symlink appropriate things into /usr/local/*/.

For qmail on Solaris, I've been going for:
/opt/qmail/
alias/
bin/
boot/
control/
doc/
log - var/log/qmail
man/
queue - var/queue
sbin/
supervise/
users/
var - /var/qmail
/var/qmail/queue/
/var/log/qmail/
/usr/local/man/*/* - /opt/qmail/man/*/*   (to aid use of man)

(as I consider my qmail configurations and binaries non-transient!)

supervise/ is a tricky one though - some bits in there are
configuration and some bits are transient status info. How would
supervise cope if the .../{process}/supervise/ subdirectories were 
symlinks into /var/run/supervise/ ?

(control/ should arguably be in /etc/opt/qmail/..., as should alias/.)

Dan's right that it's a mess, for sure.

James.



Re: qmail-smtpd logging

2001-02-23 Thread James R Grinter

"Chris Davis" [EMAIL PROTECTED] writes:
 have it logged for remote-to-local x-fers, for say finding out the address
 of an open spam relay that keeps sending me junk, that is my end-goal.

qmail's approach is that you look in the message that you have. As
someone else has pointed out - it's in the Received: headers...

 Perhaps I'm going about this the wrong way, but in the past with sendmail I
 have always been able to get this information from my logs.

...which is great, except when you don't have the message because
you're trying to analyse it passing through your system.

Markus Stumpf has been working on some improved qmail-smtpd logging.

James.



Re: CNAME problem with qmail and djbdns

2001-02-23 Thread Dave Sill

Marcus Korte [EMAIL PROTECTED] wrote:

I have setup a qmail server with the patched dns.c file (PACKETSZ increased
to 65536).

You shouldn't do that if you're using dnscache.

Also a local dnscache based on djbdns-1.05 is setup according to the FAQs.
Normal lookups are working fine, but qmail together with dnscache running
connecting to the localhost as server (127.0.0.1 in resolv.conf) I got the
following messages in the qmail/current log for any mail message. 

2001-02-22 17:19:07.687368500 status: local 0/10 remote 2/20
2001-02-22 17:19:07.690907500 delivery 3: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/

For what domain? Were you able to look up that domain via dnscache on
the same system at the same time?

-Dave



Return address for autoresponder

2001-02-23 Thread Leander Berwers

Hello


I am writing an auto-responder in Perl. I have been looking for the ones
publicly available, but I was wondering to what address I have to
respond to, namely:

Do you need to look for Reply-To: first and if that header is
unavailable look for From:? Or has qmail a mechanism for itself to
determine it (I think their is nothing useful in $ENV[].


Regards
Leander



Re: warning: trouble opening remote/4/r

2001-02-23 Thread Charles Cazabon

flint [EMAIL PROTECTED] wrote:
  
 Your problem could be ident and DNS lookup timeouts from tcpserver.
 Investigate the possibility of turning off ident lookups, and either
 disabling DNS lookups or fixing your DNS resolver/content server.
 
Yes! It's really our DNS problem.
[...]
 But I have not fix the queue yet, because I don't know how to Shut down the
 qmail-send. I have seen many documents,some use "svc" command, there isn't
 "svc" command in our server, also I cann't find qmail-send.pid file in
 /var/run like some articles said.  How could I do?

I take it that you are not the one that installed qmail on this system.
There's a thousand ways to start/stop qmail.  

You don't have a svc command, so it's probably not running under svscan.
If it's installed with a SysV-like startup script, try
/etc/rc.d/init.d/qmail stop
or
/etc/init.d/qmail stop
or possibly (some Lwq installs):
/usr/local/bin/qmail stop

If none of those work, see if you have /var/qmail/bin/rc -- that tells you
how qmail starts, and perhaps then you'll know how to stop it.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Mysterious error message

2001-02-23 Thread Charles Cazabon

Tim Hassan [EMAIL PROTECTED] wrote:
 
 550 5.7.1 [EMAIL PROTECTED]... Relaying denied. IP name lookup failed 
 [some.ip.add.ress] 

Doesn't look like a qmail error message to me either.

 Now, I telnet to the qmail box (from the server that runs his code that 
 connects to the qmail box to send emails) on port 25 and helo my.host.com, 
 mail from:[EMAIL PROTECTED] rcpt to:[EMAIL PROTECTED] data, body, and 
 "."  and qmail queues the message with no errors, I get the email at the 
 other end. Hrmm 

But were you trying to send the message to the same address(es) his 
web stuff is using?

Is it possible that this bounce is actually coming froma machine one hop
past your qmail box?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: LWQ OpenBSD

2001-02-23 Thread Henning Brauer

On Thu, Feb 22, 2001 at 04:34:36PM -0500, Dave Sill wrote:
 Henning Brauer [EMAIL PROTECTED] wrote:
 
 On Thu, Feb 22, 2001 at 10:00:46AM -0500, Dave Sill wrote:
 
  Nonsense. The "qmail" script from LWQ is compatible with the System V
  init script mechanism, but it's also perfectly compatible with BSD and
  generally useful on all UNIX flavors as a qmail control
  interface. Maybe I should rename it qmailctl a la apachectl or
  ctlqmail a la ctlinnd...
 
 No. I'd go with Robin to say that init scripts shouldn't live in
 /usr/local/whatever,
 
 Where should they live? 

Nowhere. We have exactly two (2) init scripts, /etc/rc and /etc/rc.local

 Where does apachectl live?

/usr/sbin/apachectl, but thats irrelevant as apache is NOT started or
stopped or whatever by apachectl, apachectl in OpenBSD is just a helper
program for the sysadmin, not for the system.

 and your qmail script, perfect for linux and other
 sysv-init systems, is not adequate for *BSD.
 Does "qmail start" not work on *BSD? Of course it does. It may be more
 than you want, but that doesn't make it inadequate.

maybe inadequate wasn't the right word, bit it doesn't fit in BSd philosophy.

 It's totally against the "keep it simple"-approach.
 
 How is having a simple control interface like:
[...] 
 against "keep it simple"?
 What are the *BSD-approved equivalents for the above commands?

svc -d /service/qmail-* and co. In general you are looking up PIDs and send
them signals in BSD-world, not calling complex scripts. svscan/supervise
fits good in BSD world as these are simple approaches working very very fine.

  Granted, I should add a note about adding:
if [ -x /usr/local/sbin/qmail ]; then
  /usr/local/sbin/qmail start
fi
  to rc.local for BSD variants, 
 
 No, see above.
 
 I just don't get it.
 
 ... I believe that you don't have a linux
 bias, and in fact i'd guess most qmail-installations _are_ on linux. I'd
 just separate basic instructions from os specifica as we have done it in
 http://www.lifewithdjbdns.org/ and http://www.lifewithqmail.org/ldap/.
 
 My goal with LWQ--and it was obviously less than 100% successful--was
 to keep the installation instructions as portable as possible. I
 wanted to avoid having constant interruptions for OS-specific
 details.

It can't work. The OS concepts are to different.

 -Dave
 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Cannot receive mail from several servers

2001-02-23 Thread Saso Dundev

Hi,
I have qmail on RedHat5.1.
I can receive mail from almost every server in Internet ( 
for example www.yahoo.com),
but there are some servers I cant receive from. They make 
connection which timeouts. Here is the logged session:

LOG start-

Feb 22 23:49:53 gw smtpd: 982878593.400905 tcpserver: pid 
2826 from 194.221.211.145
Feb 22 23:50:19 gw smtpd: 982878619.435991 tcpserver: ok 
2826 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::59228
Feb 22 23:50:19 gw smtpd: 982878619.454757 2826  220 
ms.eurorisksystems.com ESMTP? 
Feb 22 23:50:22 gw smtpd: 982878622.354098 2826  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 22 23:50:22 gw smtpd: 982878622.358529 2826  250-
ms.eurorisksystems.com? 
Feb 22 23:50:22 gw smtpd: 982878622.361590 2826  250-
PIPELINING? 
Feb 22 23:50:22 gw smtpd: 982878622.364295 2826  250 
8BITMIME? 
Feb 22 23:50:23 gw smtpd: 982878623.783361 2826  MAIL 
From:[EMAIL PROTECTED]? 
Feb 22 23:50:23 gw smtpd: 982878623.787308 2826  250 ok? 
Feb 22 23:50:25 gw smtpd: 982878625.563224 2826  RCPT 
To:[EMAIL PROTECTED]? 
Feb 22 23:50:25 gw smtpd: 982878625.568568 2826  250 ok? 
Feb 22 23:50:27 gw smtpd: 982878627.139794 2826  DATA? 
Feb 22 23:50:27 gw smtpd: 982878627.153254 2826  354 go 
ahead? 
Feb 22 23:54:10 gw smtpd: 982878850.895510 2818  451 
timeout (#4.4.2)? 
Feb 22 23:54:10 gw smtpd: 982878850.898664 2818  [EOF]
Feb 22 23:54:10 gw smtpd: 982878850.909532 tcpserver: end 
2818 status 256
Feb 22 23:54:10 gw smtpd: 982878850.914715 tcpserver: 
status: 2/40
Feb 22 23:57:12 gw smtpd: 982879032.075360 tcpserver: 
status: 3/40
Feb 22 23:57:12 gw smtpd: 982879032.080109 tcpserver: pid 
2831 from 193.158.192.31
Feb 22 23:57:14 gw smtpd: 982879034.501498 tcpserver: ok 
2831 eurorisksystems.com:193.200.17.182:25 vwmail-
b.hypovereinsbank.de:193.158.192.31::55482
Feb 22 23:57:14 gw smtpd: 982879034.519838 2831  220 
ms.eurorisksystems.com ESMTP? 
Feb 22 23:57:15 gw smtpd: 982879035.885164 2831  EHLO 
vwmail-b.HypoVereinsbank.de? 
Feb 22 23:57:15 gw smtpd: 982879035.888215 2831  250-
ms.eurorisksystems.com? 
Feb 22 23:57:15 gw smtpd: 982879035.890929 2831  250-
PIPELINING? 
Feb 22 23:57:15 gw smtpd: 982879035.893633 2831  250 
8BITMIME? 
Feb 22 23:57:27 gw smtpd: 982879047.679537 2831  MAIL 
From:? 
Feb 22 23:57:27 gw smtpd: 982879047.683208 2831  250 ok? 
Feb 22 23:57:28 gw smtpd: 982879048.914208 2831  RCPT 
To:[EMAIL PROTECTED]? 
Feb 22 23:57:28 gw smtpd: 982879048.917883 2831  250 ok? 
Feb 22 23:57:30 gw smtpd: 982879050.464026 2831  DATA? 
Feb 22 23:57:30 gw smtpd: 982879050.475434 2831  354 go 
ahead? 
Feb 23 00:01:02 gw smtpd: 982879262.959661 tcpserver: 
status: 4/40
Feb 23 00:01:02 gw smtpd: 982879262.964829 tcpserver: pid 
2845 from 194.221.211.145
Feb 23 00:01:28 gw smtpd: 982879288.995972 tcpserver: ok 
2845 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::59740
Feb 23 00:01:29 gw smtpd: 982879289.015136 2845  220 
ms.eurorisksystems.com ESMTP? 
Feb 23 00:01:30 gw smtpd: 982879290.037731 2845  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 23 00:01:30 gw smtpd: 982879290.040721 2845  250-
ms.eurorisksystems.com? 
Feb 23 00:01:30 gw smtpd: 982879290.043457 2845  250-
PIPELINING? 
Feb 23 00:01:30 gw smtpd: 982879290.046194 2845  250 
8BITMIME? 
Feb 23 00:01:31 gw smtpd: 982879291.457610 2845  MAIL 
From:[EMAIL PROTECTED]? 
Feb 23 00:01:31 gw smtpd: 982879291.461524 2845  250 ok? 
Feb 23 00:01:33 gw smtpd: 982879293.127466 2845  RCPT 
To:[EMAIL PROTECTED]? 
Feb 23 00:01:33 gw smtpd: 982879293.131349 2845  250 ok? 
Feb 23 00:01:34 gw smtpd: 982879294.897281 2845  DATA? 
Feb 23 00:01:34 gw smtpd: 982879294.909681 2845  354 go 
ahead? 
Feb 23 00:02:25 gw smtpd: 982879345.847132 2823  451 
timeout (#4.4.2)? 
Feb 23 00:02:25 gw smtpd: 982879345.859363 2823  [EOF]
Feb 23 00:02:25 gw smtpd: 982879345.862978 tcpserver: end 
2823 status 256
Feb 23 00:02:25 gw smtpd: 982879345.865111 tcpserver: 
status: 3/40
Feb 23 00:08:26 gw smtpd: 982879706.896561 tcpserver: 
status: 4/40
Feb 23 00:08:26 gw smtpd: 982879706.900966 tcpserver: pid 
2848 from 194.221.211.145
Feb 23 00:08:53 gw smtpd: 982879733.705930 tcpserver: ok 
2848 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::60191
Feb 23 00:08:53 gw smtpd: 982879733.725160 2848  220 
ms.eurorisksystems.com ESMTP? 
Feb 23 00:08:57 gw smtpd: 982879737.562845 2848  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 23 00:08:57 gw smtpd: 982879737.566764 2848  250-
ms.eurorisksystems.com? 
Feb 23 00:08:57 gw smtpd: 982879737.569507 2848  250-
PIPELINING? 
Feb 23 00:08:57 gw smtpd: 982879737.572209 2848  250 
8BITMIME? 
Feb 23 00:08:59 gw smtpd: 982879739.230800 2848  MAIL 
From:[EMAIL PROTECTED]? 
Feb 23 00:08:59 gw smtpd: 982879739.233885 2848  250 ok? 
Feb 23 00:09:00 gw smtpd: 982879740.906551 2848  RCPT 
To:[EMAIL PROTECTED]? 
Feb 23 00:09:00 gw smtpd: 

qmail-conf-054 / multilog

2001-02-23 Thread Paul Farber

hello all

using qmail-1.03 daemontools .70 and ucspi-88 on several RH 6.2 based
servers.

It appears that all logging is being dumped to the first virtual console:

info msg 224981: bytes 32957 from #@[] qp 9474 uid 0
starting delivery 1692: msg 224981 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1692: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 224981
new msg 224981
info msg 224981: bytes 3235 from
[EMAIL PROTECTED] qp 9479 uid 0
starting delivery 1693: msg 224981 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1693: success: did_1+0+0/
status: local 0/10 remote 0/20
end msg 224981

even though I have log/run set up EXACTLY as in the supervise man page.
Is this a supervise/multilog bug?  anyone getting qmail to log deliveries
to multilog using log/run ?

Any advise would be helpful.


Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545




Re: LWQ OpenBSD

2001-02-23 Thread Dave Sill

I really should let this die, but I just can't...

Henning Brauer [EMAIL PROTECTED] wrote:

On Thu, Feb 22, 2001 at 04:34:36PM -0500, Dave Sill wrote:

 Where does apachectl live?

/usr/sbin/apachectl, but thats irrelevant as apache is NOT started or
stopped or whatever by apachectl, apachectl in OpenBSD is just a helper
program for the sysadmin, not for the system.

How do you start Apache if not "apachectl start"?

 How is having a simple control interface like:
[...] 
 against "keep it simple"?
 What are the *BSD-approved equivalents for the above commands?

svc -d /service/qmail-* and co. In general you are looking up PIDs and send
them signals in BSD-world, not calling complex scripts.

"Complex scripts"? You think think the LWQ qmail script is complex?
Give me a break! It's freakin' trivial.

Let's look at simplicity and complexity... Let's compare your way and
my way for some simple qmail administration tasks:

TaskBSD LWQ

start   PATH=$PATH:/usr/local/bin   qmail start
svscan /service 

stopsvc -d /service/qmail-* qmail stop
svc -d /service/qmail-*/log

restart svc -d /service/qmail-* qmail restart
svc -d /service/qmail-*/log
PATH=$PATH:/usr/local/bin
svscan /service 

rebuild cdb tcprules /etc/tcp.smtp.cdb \qmail cdb
  /etc/tcp.smtp.tmp  /etc/tcp.smtp

check queue qmail-qstat qmail queue
qmail-qread

hup fire up web browser qmail hup
go to http://cr.yp.to
find daemontools docs
look up svc
locate HUP option
svc -h /service/qmail-send

The last example is facetious, of course, but illustrative of the fact
that not everyone wants to memorize all of svc's options. And when you
need to act fast, do you really want to have to research what to do
first? What if cr.yp.to's down? What if your net link is down? Do you
really have a local copy of the daemontools docs? Is it current?

[Non-OS specific installation instructions] can't work. The OS
concepts are to different.

That's pretty sad, but it's a symptom of the gratuitous
incompatibilities that DJB rails against. And these are due to 20
different OS packagers each doing things their own way and demanding
that developers accomodate their whims.

The LWQ qmail script works the same on all platforms. Can't BSD be
just a little flexible and allow cross-platform compatibility?

-Dave



Re: qmail-conf-054 / multilog

2001-02-23 Thread Chris Johnson

On Fri, Feb 23, 2001 at 10:33:57AM -0500, Paul Farber wrote:
 It appears that all logging is being dumped to the first virtual console:
 
 info msg 224981: bytes 32957 from #@[] qp 9474 uid 0
 starting delivery 1692: msg 224981 to local [EMAIL PROTECTED]
 status: local 1/10 remote 0/20
 delivery 1692: success: did_1+0+0/
 status: local 0/10 remote 0/20
 end msg 224981
 new msg 224981
 info msg 224981: bytes 3235 from
 [EMAIL PROTECTED] qp 9479 uid 0
 starting delivery 1693: msg 224981 to local [EMAIL PROTECTED]
 status: local 1/10 remote 0/20
 delivery 1693: success: did_1+0+0/
 status: local 0/10 remote 0/20
 end msg 224981
 
 even though I have log/run set up EXACTLY as in the supervise man page.
 Is this a supervise/multilog bug?  anyone getting qmail to log deliveries
 to multilog using log/run ?

Did you set the sticky bit on your qmail service directory?

Chris

 PGP signature


Newbies Question [slightly offtopic]

2001-02-23 Thread John Peterson


Hi,

Im trying to get tcpserver to work with my simple
program written in C. However, Im getting unexpected
results. My programm on execution is supposed to print
a welcome message to stdout, then read text from stdin
, then writes into stdout again. The source code looks
something like this.
...
printf("Welcome! Enter your name\n");
scanf("%s",name);
printf("Hello %s",name);
...

I use tcpserver to execute that program when there is
a connection to localhost on port 123 , like so
tcpserver 127.0.0.1 123 programname

however when i try telneting to 127.0.0.1 123
I dont get any "Welcome message" from my program.
upon telneting the programm is waiting for me to input
something... When I enter somthing , only then do I
get
the  "Welcome..." then "Hello ".
--
bash-2.04$ telnet 127.0.0.1 555
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Bob
Welcome! Enter your name:
Hello Bob
--
It does the input first, and then all the output in
one shot!

Any ideas why that is happening or how to get it to
work???


Newbie.

___
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca



Re: qmail-conf-054 / multilog

2001-02-23 Thread Dave Sill

Paul Farber [EMAIL PROTECTED] wrote:

even though I have log/run set up EXACTLY as in the supervise man
page.

Including the sticky bit on the on the qmail-send directory?

Is this a supervise/multilog bug?  

No.

anyone getting qmail to log deliveries
to multilog using log/run ?

Of course.

Any advise would be helpful.

Provide more useful information than 'I set it up right and it doesn't
work'. For example, the output of:

  cd [supervise directory]
  ls -lR
  cat */run */log/run

-Dave



Cannot receive mail from some sites

2001-02-23 Thread Saso Dundev

Hi,

I am not shure if I posted this question correctly, I am 
repeting my self, sorry.

I am using qmail1.03 with tcpserver.
I can receive mail from almost all sites in the net ( for 
example yahoo.com), but there are few that cannot send mail 
to me ( for example the usa.net servers). They establish a 
connection but seize data transmition and qmail timeouts. 
Here is the session log:

Log start

Feb 22 23:49:53 gw smtpd: 982878593.400905 tcpserver: pid 
2826 from 194.221.211.145
Feb 22 23:50:19 gw smtpd: 982878619.435991 tcpserver: ok 
2826 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::59228
Feb 22 23:50:19 gw smtpd: 982878619.454757 2826  220 
ms.eurorisksystems.com ESMTP? 
Feb 22 23:50:22 gw smtpd: 982878622.354098 2826  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 22 23:50:22 gw smtpd: 982878622.358529 2826  250-
ms.eurorisksystems.com? 
Feb 22 23:50:22 gw smtpd: 982878622.361590 2826  250-
PIPELINING? 
Feb 22 23:50:22 gw smtpd: 982878622.364295 2826  250 
8BITMIME? 
Feb 22 23:50:23 gw smtpd: 982878623.783361 2826  MAIL 
From:[EMAIL PROTECTED]? 
Feb 22 23:50:23 gw smtpd: 982878623.787308 2826  250 ok? 
Feb 22 23:50:25 gw smtpd: 982878625.563224 2826  RCPT 
To:[EMAIL PROTECTED]? 
Feb 22 23:50:25 gw smtpd: 982878625.568568 2826  250 ok? 
Feb 22 23:50:27 gw smtpd: 982878627.139794 2826  DATA? 
Feb 22 23:50:27 gw smtpd: 982878627.153254 2826  354 go 
ahead? 
Feb 22 23:54:10 gw smtpd: 982878850.895510 2818  451 
timeout (#4.4.2)? 
Feb 22 23:54:10 gw smtpd: 982878850.898664 2818  [EOF]
Feb 22 23:54:10 gw smtpd: 982878850.909532 tcpserver: end 
2818 status 256
Feb 22 23:54:10 gw smtpd: 982878850.914715 tcpserver: 
status: 2/40
Feb 22 23:57:12 gw smtpd: 982879032.075360 tcpserver: 
status: 3/40
Feb 22 23:57:12 gw smtpd: 982879032.080109 tcpserver: pid 
2831 from 193.158.192.31
Feb 22 23:57:14 gw smtpd: 982879034.501498 tcpserver: ok 
2831 eurorisksystems.com:193.200.17.182:25 vwmail-
b.hypovereinsbank.de:193.158.192.31::55482
Feb 22 23:57:14 gw smtpd: 982879034.519838 2831  220 
ms.eurorisksystems.com ESMTP? 
Feb 22 23:57:15 gw smtpd: 982879035.885164 2831  EHLO 
vwmail-b.HypoVereinsbank.de? 
Feb 22 23:57:15 gw smtpd: 982879035.888215 2831  250-
ms.eurorisksystems.com? 
Feb 22 23:57:15 gw smtpd: 982879035.890929 2831  250-
PIPELINING? 
Feb 22 23:57:15 gw smtpd: 982879035.893633 2831  250 
8BITMIME? 
Feb 22 23:57:27 gw smtpd: 982879047.679537 2831  MAIL 
From:? 
Feb 22 23:57:27 gw smtpd: 982879047.683208 2831  250 ok? 
Feb 22 23:57:28 gw smtpd: 982879048.914208 2831  RCPT 
To:[EMAIL PROTECTED]? 
Feb 22 23:57:28 gw smtpd: 982879048.917883 2831  250 ok? 
Feb 22 23:57:30 gw smtpd: 982879050.464026 2831  DATA? 
Feb 22 23:57:30 gw smtpd: 982879050.475434 2831  354 go 
ahead? 
Feb 23 00:01:02 gw smtpd: 982879262.959661 tcpserver: 
status: 4/40
Feb 23 00:01:02 gw smtpd: 982879262.964829 tcpserver: pid 
2845 from 194.221.211.145
Feb 23 00:01:28 gw smtpd: 982879288.995972 tcpserver: ok 
2845 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::59740
Feb 23 00:01:29 gw smtpd: 982879289.015136 2845  220 
ms.eurorisksystems.com ESMTP? 
Feb 23 00:01:30 gw smtpd: 982879290.037731 2845  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 23 00:01:30 gw smtpd: 982879290.040721 2845  250-
ms.eurorisksystems.com? 
Feb 23 00:01:30 gw smtpd: 982879290.043457 2845  250-
PIPELINING? 
Feb 23 00:01:30 gw smtpd: 982879290.046194 2845  250 
8BITMIME? 
Feb 23 00:01:31 gw smtpd: 982879291.457610 2845  MAIL 
From:[EMAIL PROTECTED]? 
Feb 23 00:01:31 gw smtpd: 982879291.461524 2845  250 ok? 
Feb 23 00:01:33 gw smtpd: 982879293.127466 2845  RCPT 
To:[EMAIL PROTECTED]? 
Feb 23 00:01:33 gw smtpd: 982879293.131349 2845  250 ok? 
Feb 23 00:01:34 gw smtpd: 982879294.897281 2845  DATA? 
Feb 23 00:01:34 gw smtpd: 982879294.909681 2845  354 go 
ahead? 
Feb 23 00:02:25 gw smtpd: 982879345.847132 2823  451 
timeout (#4.4.2)? 
Feb 23 00:02:25 gw smtpd: 982879345.859363 2823  [EOF]
Feb 23 00:02:25 gw smtpd: 982879345.862978 tcpserver: end 
2823 status 256
Feb 23 00:02:25 gw smtpd: 982879345.865111 tcpserver: 
status: 3/40
Feb 23 00:08:26 gw smtpd: 982879706.896561 tcpserver: 
status: 4/40
Feb 23 00:08:26 gw smtpd: 982879706.900966 tcpserver: pid 
2848 from 194.221.211.145
Feb 23 00:08:53 gw smtpd: 982879733.705930 tcpserver: ok 
2848 eurorisksystems.com:193.200.17.182:25 
vwmail4.hypovereinsbank.de:194.221.211.145::60191
Feb 23 00:08:53 gw smtpd: 982879733.725160 2848  220 
ms.eurorisksystems.com ESMTP? 
Feb 23 00:08:57 gw smtpd: 982879737.562845 2848  EHLO 
vwmail.HypoVereinsbank.DE? 
Feb 23 00:08:57 gw smtpd: 982879737.566764 2848  250-
ms.eurorisksystems.com? 
Feb 23 00:08:57 gw smtpd: 982879737.569507 2848  250-
PIPELINING? 
Feb 23 00:08:57 gw smtpd: 982879737.572209 2848  250 
8BITMIME? 
Feb 23 00:08:59 gw smtpd: 982879739.230800 2848  MAIL 
From:[EMAIL PROTECTED]? 
Feb 23 

Re: qmail-scanner wrapper

2001-02-23 Thread Davi

On Thursday 22 February 2001 11:20, Brett Randall wrote:
 On Thu, 22 Feb 2001, [EMAIL PROTECTED] wrote:
  ns1:/usr/src/qmail-scanner-0.95# ./qmail-scanner-queue.pl -g
  Script is not setuid/setgid in suidperl
  ns1:/usr/src/qmail-scanner-0.95#
 
  Trying the test script gives:
 
  ns1:/usr/src/qmail-scanner-0.95/contrib# ./test_installation.sh -doit
  setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl for this
  test...
 
  Sending eicar test virus - should be caught by perlscanner module...
  Script is not setuid/setgid in suidperl
  qmail-inject: fatal: qq temporary problem (#4.3.0)
  done!

 What is this qq error? I can't use qmail-scanner and I REALLY need
 to, but every message that I receive gets lost to this error. Any
 body know why/how to fix?
It might be that suidperl and qmail-scanner...pl are not suid (4755) or that 
you're not giving enough memory so qmail can start perl. Take a look at your 
softlimit. It must be about 4 times the value specified in LWQ

[]s
Davi



How not to queue local deliveries

2001-02-23 Thread Manvendra Bhangui



I have installed qmail 1.03. My problem is local 
deliveries are very slow. 
Also on my mail servers most the mails are meant 
for local domains. 
Is there any way that I can make qmail-queue 
directly dispatch the mail 
to the user's 
maildir without queueing.

my .qmail-default contains the following 
line
| /var/vpopmail/bin/vdelivermail '' 
bounce-no-mailbox
Any help on this will help me a lot

Regards 
Manny


Re: how can i change from inetd to xinetd in Redhat 7.0??

2001-02-23 Thread Pawel Garbowski

Hello,

* jerry [EMAIL PROTECTED] [010223 05:09] wrote:
 I install with Redhat 7.0, but qmail FAQ only has something in inetd.conf, and 
Redhat 7.0 change the file to xinetd.conf, I don't know how to install with it.
 
 jerry
 

Example rules for xinetd.conf:

service smtp
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= qmaild
   server  = /var/qmail/bin/tcp-env
   server_args = /var/qmail/bin/qmail-smtpd
   instances   = 30
}

service pop-3
{
log_type= SYSLOG daemon
log_on_success  = PID HOST EXIT DURATION
log_on_failure  = HOST ATTEMPT RECORD
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /usr/sbin/popa3d
instances   = 30
}


service pop3s
{
log_type= SYSLOG daemon
log_on_success  = PID HOST EXIT DURATION
log_on_failure  = HOST ATTEMPT RECORD
socket_type = stream
protocol= tcp
wait= no
user= stunnel
server  = /usr/sbin/stunnel
server_args = -r 127.0.0.1:110
instances   = 30
}

greets,

-- 
pawel garbowski
[EMAIL PROTECTED]




binm2

2001-02-23 Thread Kashan Sadiq

Dear All,

I have installed qmail succefully on RH 7.0. it successfully rceievs messages
and save it in ~user/Mbox. I wan to change it to /var/spool/mail. For this
pupose I used binm2 file as rc. But still it does'nt work and don't send mail
to /var/spool/mail as well as in Mbox. 

Now anybody can help me to configure it in a way that it can send mail to
/var/spool/mail.

Kashan


Get free email and a permanent address at http://www.netaddress.com/?N=1



microsoft RTFM?

2001-02-23 Thread Kurth Bemis

finally!

http://www.microsoft.com[EMAIL PROTECTED]/pub/mskb/Q209354.asp

~kurth




Re: How not to queue local deliveries

2001-02-23 Thread Peter van Dijk

On Fri, Feb 23, 2001 at 09:20:32PM +0530, Manvendra Bhangui wrote:
 I have installed qmail 1.03. My problem is local deliveries are very slow. 
 Also on my mail servers most the mails are meant for local domains. 
 Is there any way that I can make qmail-queue directly dispatch the mail 
 to the user's maildir without queueing.

No. qmail-queue doesn't have the needed privileges.

Such a system would also have no good way of dealing with deferrals
and partially-failed deliveries (multiple .qmail lines).

Greetz, Peter.



Re: Newbies Question [slightly offtopic]

2001-02-23 Thread Charles Cazabon

John Peterson [EMAIL PROTECTED] wrote:
 
 Im trying to get tcpserver to work with my simple program written in C.
[...]
 It does the input first, and then all the output in one shot!
 
 Any ideas why that is happening or how to get it to work???

You posted this same question yesterday.  Someone replied to your question,
giving you the answer.  You appear to have not read it.  Go back and read
the response you got -- look at the list archives if you have to.

If you don't like the answer you received for some reason, tell us why --
don't just repost your question.  That just annoys people, and gets you
nowhere.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Cannot receive mail from some sites

2001-02-23 Thread Charles Cazabon

Saso Dundev [EMAIL PROTECTED] wrote:
 
 I can receive mail from almost all sites in the net ( for example yahoo.com),
 but there are few that cannot send mail to me ( for example the usa.net
 servers). They establish a connection but seize data transmition and qmail
 timeouts. 

This could be an issue with SMTP line endings -- the particular remote sites
which are having problems sending to you may be violating the spec by
not sending \r\n, particularly at the end of the DATA phase.

Use recordio with qmail-smtpd to record an example of the faulty session.
If the resulting log doesn't mean anything to you, post it here.
See djb's site and www.qmail.org for info on how to set up and use recordio.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Fw: qmail-qfilter ~ Help...

2001-02-23 Thread Jesse Sunday


I received NO responses...   please help me...


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 10:25 AM
Subject: qmail-qfilter ~ Help...


:
:
:
: Okay, I've tried to install qmail-filter and thought
: I did everything correctly...   but it's not filtering out
: anything...
:
: Here's what I did...
:
: edited Makefile (added -DQMAIL_QUEUE=\"/var/qmail/bin/qmail-queue-old\" )
: so that I didn't have to install QMAILQUEUE patch
:
: make (looked like it worked ok)
:
: mv qmail-queue qmail-queue-old
:
: created qmail-queue with the following:
:
: #!/bin/sh
:  exec /path/to/qmai:-qfilter /var/qmail/bin/qmail-inject -n
:
: chmod +x qmail-queue
:
: restarted qmail and qmail-smtpd
:
: Sent test message to myself with .VBS attachment (went through ok)
:
: Ran (in the 'samples' directory) ./deny-filetypes
:
: Sent another message...   Still went through...
:
:
: What I am doing wrong???   Please help, thanks!!!
:
: Jesse
:
:




Re: LWQ OpenBSD

2001-02-23 Thread Henning Brauer

On Fri, Feb 23, 2001 at 10:33:09AM -0500, Dave Sill wrote:
 I really should let this die, but I just can't...
 
 Henning Brauer [EMAIL PROTECTED] wrote:
 
 On Thu, Feb 22, 2001 at 04:34:36PM -0500, Dave Sill wrote:
 
  Where does apachectl live?
 
 /usr/sbin/apachectl, but thats irrelevant as apache is NOT started or
 stopped or whatever by apachectl, apachectl in OpenBSD is just a helper
 program for the sysadmin, not for the system.
 
 How do you start Apache if not "apachectl start"?

/usr/sbin/httpd

  How is having a simple control interface like:
 [...] 
  against "keep it simple"?
  What are the *BSD-approved equivalents for the above commands?
 
 svc -d /service/qmail-* and co. In general you are looking up PIDs and send
 them signals in BSD-world, not calling complex scripts.
 
 "Complex scripts"? You think think the LWQ qmail script is complex?
 Give me a break! It's freakin' trivial.

The script itself is everything but trivial. 
One Example why it is bad: you are storing svscans PID (via $!) in
/var/run/svscan.pid und use this PID for killing svscan later. What if the
admin has killed and started svscan in other ways before "qmail stop"? Given
your favorite server prog has this PID when you issue "qmail stop"? You are
killing the wrong program. Starting svscan at boottime and never stop it is
the much cleaner way and fits well in BSD philosophy. And, btw, works as
well on Linux.

 Let's look at simplicity and complexity... Let's compare your way and
 my way for some simple qmail administration tasks:
 
 TaskBSD LWQ
 
 start   PATH=$PATH:/usr/local/bin   qmail start
 svscan /service 

covered by /etc/rc.local, never done by hand. 

 stopsvc -d /service/qmail-* qmail stop
 svc -d /service/qmail-*/log
 
 restart svc -d /service/qmail-* qmail restart
 svc -d /service/qmail-*/log
 PATH=$PATH:/usr/local/bin
 svscan /service 

no.
  svc -t /service/qmail-*
multilog needs no restart usually.
your example is worng, you'd have two svscans running if you do so.

 rebuild cdb tcprules /etc/tcp.smtp.cdb \qmail cdb
   /etc/tcp.smtp.tmp  /etc/tcp.smtp

right.

 check queue qmail-qstat qmail queue
 qmail-qread
 
 hup fire up web browser qmail hup
 go to http://cr.yp.to
 find daemontools docs
 look up svc
 locate HUP option
 svc -h /service/qmail-send

no. I'm familiar with svc as everbody running anything under svscan should
be, so it is simply

svc -h /service/qmail-send

And you forgot "reschedule queue",
 svc -a /service/qmail-send   qmail alrm (?)

[..]

 Do you
 really have a local copy of the daemontools docs? Is it current?

of course. But i wish Dan would include manpages...

 [Non-OS specific installation instructions] can't work. The OS
 concepts are to different.
 
 That's pretty sad, but it's a symptom of the gratuitous
 incompatibilities that DJB rails against. And these are due to 20
 different OS packagers each doing things their own way and demanding
 that developers accomodate their whims.

Yes, thats true.

 The LWQ qmail script works the same on all platforms. Can't BSD be
 just a little flexible and allow cross-platform compatibility?

svscan is the way to cross-platform compatibility.

 -Dave
 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: qmail-conf-054 / multilog

2001-02-23 Thread Paul Farber

I have

drwxr-xr-x   4 root root 4096 Feb 21 01:40 service

and under that

drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd

Since the manual (man chmod) or the qmail-conf program docs didn't allude
to it... what is the 'sticky bit'?

 

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Fri, 23 Feb 2001, Chris Johnson wrote:

 On Fri, Feb 23, 2001 at 10:33:57AM -0500, Paul Farber wrote:
  It appears that all logging is being dumped to the first virtual console:
  
  info msg 224981: bytes 32957 from #@[] qp 9474 uid 0
  starting delivery 1692: msg 224981 to local [EMAIL PROTECTED]
  status: local 1/10 remote 0/20
  delivery 1692: success: did_1+0+0/
  status: local 0/10 remote 0/20
  end msg 224981
  new msg 224981
  info msg 224981: bytes 3235 from
  [EMAIL PROTECTED] qp 9479 uid 0
  starting delivery 1693: msg 224981 to local [EMAIL PROTECTED]
  status: local 1/10 remote 0/20
  delivery 1693: success: did_1+0+0/
  status: local 0/10 remote 0/20
  end msg 224981
  
  even though I have log/run set up EXACTLY as in the supervise man page.
  Is this a supervise/multilog bug?  anyone getting qmail to log deliveries
  to multilog using log/run ?
 
 Did you set the sticky bit on your qmail service directory?
 
 Chris
 




Re: qmail-conf-054 / multilog

2001-02-23 Thread Chris Johnson

On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
 drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
 
 and under that
 
 drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
 drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
 drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
 drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
 
 Since the manual (man chmod) or the qmail-conf program docs didn't allude
 to it... what is the 'sticky bit'?

chmod +t the directory. (Are you sure man chmod doesn't refer to this?)

From http://cr.yp.to/daemontools/svscan.html:

"If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
one for sub, one for sub/log, with a pipe between them. svscan needs two free
descriptors for each pipe."

Chris

 PGP signature


Re: qmail-conf-054 / multilog

2001-02-23 Thread Mark Delany

On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
 I have
 
 drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
 
 and under that
 
 drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
 drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
 drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
 drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
 
 Since the manual (man chmod) or the qmail-conf program docs didn't allude
 to it... what is the 'sticky bit'?

Hmm. Solaris manpage talks about it as does FreeBSD - you must be on
Linux, right? In octal it is 1000 or symbolically, +t. Thus:

chmod +t /service/qmail


Regards.


 
  
 
 Paul Farber
 Farber Technology
 [EMAIL PROTECTED]
 Ph  570-628-5303
 Fax 570-628-5545
 
 On Fri, 23 Feb 2001, Chris Johnson wrote:
 
  On Fri, Feb 23, 2001 at 10:33:57AM -0500, Paul Farber wrote:
   It appears that all logging is being dumped to the first virtual console:
   
   info msg 224981: bytes 32957 from #@[] qp 9474 uid 0
   starting delivery 1692: msg 224981 to local [EMAIL PROTECTED]
   status: local 1/10 remote 0/20
   delivery 1692: success: did_1+0+0/
   status: local 0/10 remote 0/20
   end msg 224981
   new msg 224981
   info msg 224981: bytes 3235 from
   [EMAIL PROTECTED] qp 9479 uid 0
   starting delivery 1693: msg 224981 to local [EMAIL PROTECTED]
   status: local 1/10 remote 0/20
   delivery 1693: success: did_1+0+0/
   status: local 0/10 remote 0/20
   end msg 224981
   
   even though I have log/run set up EXACTLY as in the supervise man page.
   Is this a supervise/multilog bug?  anyone getting qmail to log deliveries
   to multilog using log/run ?
  
  Did you set the sticky bit on your qmail service directory?
  
  Chris
  
 



limit size of outbound mail?

2001-02-23 Thread Bill Parker

Hi all,

I know that databyte n will limit the size of outbound mail
from qmail-smtpd to n bytes, but which file does it go into in
/var/qmail/control?

On a unrelated note, I use cyclog to rotate my log files, can I
add a -size parameter to increase the size of the log file, before
it is closed, and a new one is opened?

-Bill




Re: Mail hub for relay and outgoing only - no local

2001-02-23 Thread Dion_Vansevenant


David,

Thanks for the tip about the locals file. That seems to have done the trick
for stopping the local deliveries.

I have another problem now during testing.

I have configured the new qmail server (qmail.our_lan.com) to respond as
though it is our existing mail server (externalmail.com) by making
defaultdomain, me, and rcpthosts contain "externalmail.com". The rcpthosts
also contains "our_lan.com" so that it will accept mail from the internal
servers for relaying.

In order to test that the fastforward aliases I have set-up actually work,
I am telnetting into the qmail server on port 25 and manually creating a
message as described in the TEST.receive file. I can not just send mail
from an external account as the real mail server would grab the message.

For testing purposes only, I want to tell qmail *not* to query the DNS. I
want it to accept that the local machine is externalmail.com, instead of
resolving to the real externalmail.com.

I have read in the tcpserver man page that it is apparently possible to
tell qmail to ignore the DNS and use the parameters provided, but this does
not seem to be working for me. My /var/qmail/supervise/qmail-smtpd/run file
looks like this:

#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l externalmail.com \
-x /etc/tcp.smtp.cdb \
-u "$QMAILDUID" -g "$NOFILESGID" \
 0 smtp /var/qmail/bin/qmail-smtpd 21

Mail is still getting sent to the existing mail server at externalmail.com.

I have tried adding "externalmail.com:[192.168.2.52]" (which is the IP of
the qmail server) to smtproutes, but this just causes a loop.

I have created ~alias/.qmail-default containing "|
/var/qmail/bin/fastforward -d /etc/aliases.cdb" but qmail never seems to
get to that point.

I have even changed ~control/defaultdelivery to "|
/var/qmail/bin/fastforward -d /etc/aliases.cdb" in the hopes that it would
help, but it hasn't.

I'm sure that I am missing something, but I can not figure out what. I'm
sure it will be a "DOH!" when someone points it out to me.

Assistance would be appreciated as I am *this* close to finishing, but am
stuck on this one detail.

TIA

Dion Vansevenant
Internetwork Administrator
MRO.com



   

Dave Sill  

[EMAIL PROTECTED]To: [EMAIL PROTECTED]   

.ornl.gov   cc:   

 Subject: Re: Mail hub for relay and 
outgoing only - no local  
2001/02/20 

15:45  

   

   





[EMAIL PROTECTED] wrote:

1) How do I prevent qmail from trying to deliver locally on the qmail
server?

Leave control/locals empty.

2) How can I correctly set-up the group redirects in a way that will
eliminate (if not reduce) duplication due to an error sending to one
address in the group?

List the members in the appropriate ~alias/.qmail-* file.

3) What would be a good way of redirecting local names to the appropriate
email address for the local messages from our Sun servers (ie: bobs -
[EMAIL PROTECTED]): individual /var/qmail/alias files, or some other
method?

.qmail files in ~alias.

-Dave







Re: limit size of outbound mail?

2001-02-23 Thread Charles Cazabon

Bill Parker [EMAIL PROTECTED] wrote:
 
 I know that databyte n will limit the size of outbound mail
 from qmail-smtpd to n bytes, but which file does it go into in
 /var/qmail/control?

Doesn't it only restrict the size of received (incoming) mail?  The
file you're looking for is /var/qmail/control/databytes, and it should
contain only the integer number.

 On a unrelated note, I use cyclog to rotate my log files, can I
 add a -size parameter to increase the size of the log file, before
 it is closed, and a new one is opened?

Can't comment on cyclog; it's been too long since I used it.  With multilog,
it would just be adding "ssize" to the commandline.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: limit size of outbound mail?

2001-02-23 Thread Peter van Dijk

On Fri, Feb 23, 2001 at 09:47:41AM -0800, Bill Parker wrote:
 Hi all,
 
   I know that databyte n will limit the size of outbound mail
 from qmail-smtpd to n bytes, but which file does it go into in
 /var/qmail/control?

Just put the number of bytes in /var/qmail/control/databytes. The
keyword 'databyte' is not used anywhere.

Greetz, Peter.



OK, another question...

2001-02-23 Thread Jesse Sunday



No one helped me with my original problems, but I think that's because they
thought I was a moron...

BUT I still have faith...   Here's what happens now when I send a message to
myself (attached with one of the banned extensions)

failure:
192.168.2.26_failed_after_I_sent_the_message./Remote_host_said:_554_mail_ser
ver_permanently_rejected_message_(#5.3.0)/

Here's what I have as my 'qmail-queue' in /var/qmail/bin

#!/bin/sh
exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/deny-filetypes

If there's no 'banned' attachment, it goes through okay...

and I receive a bounce saying

192.168.2.26 failed after I sent the message.
Remote host said: 554 mail server permanently rejected message (#5.3.0)

How do I get qmail-filter to add something about having a banned
extension...  ???

Again, I am using the qmail-qfilter program without using QMAILQUEUE ...


Thanks!!!




cyclog line?

2001-02-23 Thread Bill Parker

Hi All,

I'm looking to make my log files /var/qmail/log hold more
info before starting a new file with cyclog:

I have modified my startup script line to look like this
for cyclog:

/usr/local/bin/cyclog -s256000 /var/log/qmail (start and
end stuff left off to save space)

Now according to the man page for cyclog:

cyclog [ -ssize ] [ -nnum ] [ -mmargin ] dir

where:

-ssize (Default: 104000. Minimum: 512.)  Maximum file size.
After  writing  this  many bytes to one file, cyclog will
start a new file.

Is there a space needed between the -s or not?  I know I
have to stop and start qmail for this to take effect as
well (right?)

-Bill




Re: cyclog line?

2001-02-23 Thread Charles Cazabon

Bill Parker [EMAIL PROTECTED] wrote:
 
 Now according to the man page for cyclog:
 
 cyclog [ -ssize ] [ -nnum ] [ -mmargin ] dir
[...] 
 Is there a space needed between the -s or not?

No.  You don't believe TFM?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: cyclog line?

2001-02-23 Thread Mark Delany

On Fri, Feb 23, 2001 at 01:02:57PM -0600, Charles Cazabon wrote:
 Bill Parker [EMAIL PROTECTED] wrote:
  
  Now according to the man page for cyclog:
  
  cyclog [ -ssize ] [ -nnum ] [ -mmargin ] dir
 [...] 
  Is there a space needed between the -s or not?
 
 No.  You don't believe TFM?

And... What happens when you try it both ways? Such an experiment
won't create world hunger - give it a try and report and discrepancies
with the documentation back to the list.

Sometimes a simple experiment is going to give you a more reliable
learning experience than just asking a list.


Regards.



Re: qmail-conf-054 / multilog

2001-02-23 Thread Paul Farber

DOH

The manpage I have referneces .70 but nothing about a sticky bit oh
well, live and learn.. and learn and learn and learn!

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Fri, 23 Feb 2001, Chris Johnson wrote:

 On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
  
  and under that
  
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
  drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
  drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
  drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
  
  Since the manual (man chmod) or the qmail-conf program docs didn't allude
  to it... what is the 'sticky bit'?
 
 chmod +t the directory. (Are you sure man chmod doesn't refer to this?)
 
 From http://cr.yp.to/daemontools/svscan.html:
 
 "If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
 one for sub, one for sub/log, with a pipe between them. svscan needs two free
 descriptors for each pipe."
 
 Chris
 




Re: qmail-conf-054 / multilog

2001-02-23 Thread Paul Farber

Tried that...


but it will not fire off a copy of multilog:

 3181 ?S  0:00 supervise qmail-smtpd
 3182 ?S  0:00 /usr/local/bin/tcpserver -qDHR 
-ladmin.f-tech.net -xt 

here is some file info:

drwxr-sr-t   5 root root 4096 Feb 21 01:35 qmail-smtpd

./run=

#!/bin/sh
exec 21 \
envdir ./env \
sh -c '
case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac
exec \
/usr/local/bin/envuidgid qmaild \
softlimit ${DATALIMIT+"-d$DATALIMIT"} \
/usr/local/bin/tcpserver \
-qD"$H$R" \
${LOCALNAME+"-l$LOCALNAME"} \
${BACKLOG+"-b$BACKLOG"} \
${CONCURRENCY+"-c$CONCURRENCY"} \
-xtcp.cdb \
-- "${IP-0}" "${PORT-25}" \
/var/qmail/bin/qmail-smtpd
'

./run/log=

[root@admin log]# cat run
#!/bin/sh
exec \
setuidgid qmaill \
multilog t ./main

./mail is empty... and there is no multilog process running

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Fri, 23 Feb 2001, Chris Johnson wrote:

 On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
  
  and under that
  
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
  drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
  drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
  drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
  
  Since the manual (man chmod) or the qmail-conf program docs didn't allude
  to it... what is the 'sticky bit'?
 
 chmod +t the directory. (Are you sure man chmod doesn't refer to this?)
 
 From http://cr.yp.to/daemontools/svscan.html:
 
 "If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
 one for sub, one for sub/log, with a pipe between them. svscan needs two free
 descriptors for each pipe."
 
 Chris
 




Re: qmail-conf-054 / multilog

2001-02-23 Thread Mark Delany

Assuminmg you're running this all via svscan, the problem is that
svscan only notices the +t flag when it first sees the directory in
/service.

You need to remove the service and re-add it. I believe the
daemontools page at cr.yp.to has the sequence needed to do this.


Regards.


On Fri, Feb 23, 2001 at 03:05:23PM -0500, Paul Farber wrote:
 Tried that...
 
 
 but it will not fire off a copy of multilog:
 
  3181 ?S  0:00 supervise qmail-smtpd
  3182 ?S  0:00 /usr/local/bin/tcpserver -qDHR 
 -ladmin.f-tech.net -xt 
 
 here is some file info:
 
 drwxr-sr-t   5 root root 4096 Feb 21 01:35 qmail-smtpd
 
 ./run=
 
 #!/bin/sh
 exec 21 \
 envdir ./env \
 sh -c '
 case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
 case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac
 exec \
 /usr/local/bin/envuidgid qmaild \
 softlimit ${DATALIMIT+"-d$DATALIMIT"} \
 /usr/local/bin/tcpserver \
 -qD"$H$R" \
 ${LOCALNAME+"-l$LOCALNAME"} \
 ${BACKLOG+"-b$BACKLOG"} \
 ${CONCURRENCY+"-c$CONCURRENCY"} \
 -xtcp.cdb \
 -- "${IP-0}" "${PORT-25}" \
 /var/qmail/bin/qmail-smtpd
 '
 
 ./run/log=
 
 [root@admin log]# cat run
 #!/bin/sh
 exec \
 setuidgid qmaill \
 multilog t ./main
 
 ./mail is empty... and there is no multilog process running
 
 Paul Farber
 Farber Technology
 [EMAIL PROTECTED]
 Ph  570-628-5303
 Fax 570-628-5545
 
 On Fri, 23 Feb 2001, Chris Johnson wrote:
 
  On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
   drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
   
   and under that
   
   drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
   drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
   drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
   drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
   
   Since the manual (man chmod) or the qmail-conf program docs didn't allude
   to it... what is the 'sticky bit'?
  
  chmod +t the directory. (Are you sure man chmod doesn't refer to this?)
  
  From http://cr.yp.to/daemontools/svscan.html:
  
  "If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
  one for sub, one for sub/log, with a pipe between them. svscan needs two free
  descriptors for each pipe."
  
  Chris
  
 



OT: AMaVis Help.

2001-02-23 Thread schoon

Thanks for reading this OT message. I've subed to the Amavis list, but
hours later, I've had no confirmation!

qmail is working just fine. Installed AMaVis per INSTALL 
README.qmail. After making the symlinks to /usr/sbin/scanmails, I get
the following error message in syslog:

Feb 23 11:33:59 mail qmail: 982928039.242542 delivery 1: success:
DSorry,_I_couldn't_find_any_host_named_--._(#5.1.2)/
Feb 23 11:35:41 mail qmail: 982928141.394389 delivery 2: success:
DSorry,_I_couldn't_find_any_host_named_--._(#5.1.2)/
I have checked the rights to scanmails, and the symlinks and that
hasn't fixed the problem. This error msg happens via qmail-inject and
telnetting into 25. Removing the symlinks and rename the qmail-*-real
files back to qmail-* brings the system back online. Any thoughts??

TIA

.mark


-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/E/IT/O d- s+ a C$ L$ P+++$ L++ E--- W-- N+ o K- w-- !O
M- !V PS+ PE+ Y+ PGP t+ !5 X R- tv b+++ DI+ D- G e++ h--- r+++ z
--END GEEK CODE BLOCK--


1.79x10^12 furlongs per fortnight -- it's not just a good idea, it's the
law!!

use Disclaimer;
my $opinion_only;




Inter7 introduces new software: vQregister

2001-02-23 Thread vol

vQregister is new web-based signup CGI that
more than replaces the old vQsignup program
we released early last year.  If you're running
vQsignup now, or you're considering allowing
users to signup for free accounts, it's worth
taking a look at.

We will be adding a new feature very soon
which will be used to collect demographic,
or any other information administrators might
want during the signup process.  This information
might include their cleartext password, a
challenge password (for retrieving the cleartext
password over the phone), and other demographic
information such as zip codes, cities, etc.
We intend to make this fully configurable, so
that whatever information you wish to collect,
is easy to setup.

Head over to http://www.inter7.com/vqregister to
take a look at it.

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html



Re: Inter7 introduces new software: vQregister

2001-02-23 Thread Dan Phoenix



Quite honestly this is a custom form that most of us code ourselves in php
to insert the info we need from users. What you really need to do is allow
us to pick our own fields...and integrate whatever html we want into it.



Regards,

Dan


On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:

 Date: Fri, 23 Feb 2001 09:52:06 -0600
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Inter7 introduces new software: vQregister
 
 vQregister is new web-based signup CGI that
 more than replaces the old vQsignup program
 we released early last year.  If you're running
 vQsignup now, or you're considering allowing
 users to signup for free accounts, it's worth
 taking a look at.
 
 We will be adding a new feature very soon
 which will be used to collect demographic,
 or any other information administrators might
 want during the signup process.  This information
 might include their cleartext password, a
 challenge password (for retrieving the cleartext
 password over the phone), and other demographic
 information such as zip codes, cities, etc.
 We intend to make this fully configurable, so
 that whatever information you wish to collect,
 is easy to setup.
 
 Head over to http://www.inter7.com/vqregister to
 take a look at it.
 
 -- 
 [EMAIL PROTECTED]
 Inter7 Internet Technologies, Inc.
 www.inter7.com - 847-492-0470
 New prices!  http://www.inter7.com/prices.html
 




Re: Inter7 introduces new software: vQregister

2001-02-23 Thread vol

Maybe what I said wasn't as clear as it could
have been.  Exactly what you requested below,
is the feature we will be adding.

PHP is inefficient BTW. :)

Dan Phoenix wrote:
 
 Quite honestly this is a custom form that most of us code ourselves in php
 to insert the info we need from users. What you really need to do is allow
 us to pick our own fields...and integrate whatever html we want into it.
 
 Regards,
 
 Dan
 
 On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
 
  Date: Fri, 23 Feb 2001 09:52:06 -0600
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: Inter7 introduces new software: vQregister
 
  vQregister is new web-based signup CGI that
  more than replaces the old vQsignup program
  we released early last year.  If you're running
  vQsignup now, or you're considering allowing
  users to signup for free accounts, it's worth
  taking a look at.
 
  We will be adding a new feature very soon
  which will be used to collect demographic,
  or any other information administrators might
  want during the signup process.  This information
  might include their cleartext password, a
  challenge password (for retrieving the cleartext
  password over the phone), and other demographic
  information such as zip codes, cities, etc.
  We intend to make this fully configurable, so
  that whatever information you wish to collect,
  is easy to setup.
 
  Head over to http://www.inter7.com/vqregister to
  take a look at it.
 
  --
  [EMAIL PROTECTED]
  Inter7 Internet Technologies, Inc.
  www.inter7.com - 847-492-0470
  New prices!  http://www.inter7.com/prices.html
 

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html



Re: Inter7 introduces new software: vQregister

2001-02-23 Thread Mark Delany

On Fri, Feb 23, 2001 at 11:30:53AM -0600, [EMAIL PROTECTED] wrote:
 Maybe what I said wasn't as clear as it could
 have been.  Exactly what you requested below,
 is the feature we will be adding.
 
 PHP is inefficient BTW. :)

Totally OT, but one user registration per second adds up to 86,400 new
users per day.

Can a small web server running PHP handle one registration per second?
Answer: yes.  Does hotmail.com do more than 86K registrations per day?
Answer: no.

Conclusion: One small webserver running PHP can handle all the
registrations for arguable the largest webmail service on the planet.

Efficiency is not always the most relevant selection criteria.


Regards.

 
 Dan Phoenix wrote:
  
  Quite honestly this is a custom form that most of us code ourselves in php
  to insert the info we need from users. What you really need to do is allow
  us to pick our own fields...and integrate whatever html we want into it.
  
  Regards,
  
  Dan
  
  On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
  
   Date: Fri, 23 Feb 2001 09:52:06 -0600
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
   Subject: Inter7 introduces new software: vQregister
  
   vQregister is new web-based signup CGI that
   more than replaces the old vQsignup program
   we released early last year.  If you're running
   vQsignup now, or you're considering allowing
   users to signup for free accounts, it's worth
   taking a look at.
  
   We will be adding a new feature very soon
   which will be used to collect demographic,
   or any other information administrators might
   want during the signup process.  This information
   might include their cleartext password, a
   challenge password (for retrieving the cleartext
   password over the phone), and other demographic
   information such as zip codes, cities, etc.
   We intend to make this fully configurable, so
   that whatever information you wish to collect,
   is easy to setup.
  
   Head over to http://www.inter7.com/vqregister to
   take a look at it.
  
   --
   [EMAIL PROTECTED]
   Inter7 Internet Technologies, Inc.
   www.inter7.com - 847-492-0470
   New prices!  http://www.inter7.com/prices.html
  
 
 -- 
 [EMAIL PROTECTED]
 Inter7 Internet Technologies, Inc.
 www.inter7.com - 847-492-0470
 New prices!  http://www.inter7.com/prices.html



Re: Inter7 introduces new software: vQregister

2001-02-23 Thread Dan Phoenix


inefficent?
alot of speed and very easy to code.
Take me 10 lines of c code for one line in php.
+ it is built in apache as a module so it runs faster.

Of course c is faster and for any kind of real software it should be used.
But for a websitephp is generally the choice.


On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:

 Date: Fri, 23 Feb 2001 11:30:53 -0600
 From: [EMAIL PROTECTED]
 To: Dan Phoenix [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: Inter7 introduces new software: vQregister
 
 Maybe what I said wasn't as clear as it could
 have been.  Exactly what you requested below,
 is the feature we will be adding.
 
 PHP is inefficient BTW. :)
 
 Dan Phoenix wrote:
  
  Quite honestly this is a custom form that most of us code ourselves in php
  to insert the info we need from users. What you really need to do is allow
  us to pick our own fields...and integrate whatever html we want into it.
  
  Regards,
  
  Dan
  
  On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
  
   Date: Fri, 23 Feb 2001 09:52:06 -0600
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
   Subject: Inter7 introduces new software: vQregister
  
   vQregister is new web-based signup CGI that
   more than replaces the old vQsignup program
   we released early last year.  If you're running
   vQsignup now, or you're considering allowing
   users to signup for free accounts, it's worth
   taking a look at.
  
   We will be adding a new feature very soon
   which will be used to collect demographic,
   or any other information administrators might
   want during the signup process.  This information
   might include their cleartext password, a
   challenge password (for retrieving the cleartext
   password over the phone), and other demographic
   information such as zip codes, cities, etc.
   We intend to make this fully configurable, so
   that whatever information you wish to collect,
   is easy to setup.
  
   Head over to http://www.inter7.com/vqregister to
   take a look at it.
  
   --
   [EMAIL PROTECTED]
   Inter7 Internet Technologies, Inc.
   www.inter7.com - 847-492-0470
   New prices!  http://www.inter7.com/prices.html
  
 
 -- 
 [EMAIL PROTECTED]
 Inter7 Internet Technologies, Inc.
 www.inter7.com - 847-492-0470
 New prices!  http://www.inter7.com/prices.html
 




Re: qmail-conf-054 / multilog

2001-02-23 Thread Paul Farber

Is there a specific kernel setting I need for supervise to log
correctly??? I am on kernel 2.4.1 it's working fine on a RH 6.2
machine with 2.2.17 (using djbdns).

The sticky bit seemed to have no effect.. and nothing is being logged
error-wise.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Fri, 23 Feb 2001, Chris Johnson wrote:

 On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
  
  and under that
  
  drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
  drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
  drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
  drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
  
  Since the manual (man chmod) or the qmail-conf program docs didn't allude
  to it... what is the 'sticky bit'?
 
 chmod +t the directory. (Are you sure man chmod doesn't refer to this?)
 
 From http://cr.yp.to/daemontools/svscan.html:
 
 "If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
 one for sub, one for sub/log, with a pipe between them. svscan needs two free
 descriptors for each pipe."
 
 Chris
 




Re: qmail-conf-054 / multilog

2001-02-23 Thread Mark Delany

For debugging purposes you might want to run svscan manually so the
errors go to the screen/window you're on.


On Fri, Feb 23, 2001 at 06:25:11PM -0500, Paul Farber wrote:
 Is there a specific kernel setting I need for supervise to log

Not unless it's some wierd Unix. svscan writes errors to stderr. You
don't need kernel settings to control where that goes.

 correctly??? I am on kernel 2.4.1 it's working fine on a RH 6.2
 machine with 2.2.17 (using djbdns).
 
 The sticky bit seemed to have no effect..

Did you restart svscan?

 and nothing is being logged error-wise.

Did you check the system console?


Regards.

 
 Paul Farber
 Farber Technology
 [EMAIL PROTECTED]
 Ph  570-628-5303
 Fax 570-628-5545
 
 On Fri, 23 Feb 2001, Chris Johnson wrote:
 
  On Fri, Feb 23, 2001 at 12:13:37PM -0500, Paul Farber wrote:
   drwxr-xr-x   4 root root 4096 Feb 21 01:40 service
   
   and under that
   
   drwxr-xr-x   4 root root 4096 Feb 21 01:40 .
   drwxr-xr-x  13 root qmail4096 Feb 20 23:20 ..
   drwxr-sr-x   5 root root 4096 Feb 21 01:11 qmail
   drwxr-sr-x   5 root root 4096 Feb 21 01:35 qmail-smtpd
   
   Since the manual (man chmod) or the qmail-conf program docs didn't allude
   to it... what is the 'sticky bit'?
  
  chmod +t the directory. (Are you sure man chmod doesn't refer to this?)
  
  From http://cr.yp.to/daemontools/svscan.html:
  
  "If a subdirectory sub is sticky, svscan starts a pair of supervise processes,
  one for sub, one for sub/log, with a pipe between them. svscan needs two free
  descriptors for each pipe."
  
  Chris
  
 



Re: Inter7 introduces new software: vQregister

2001-02-23 Thread Rod... Whitworth

On Fri, 23 Feb 2001 11:57:03 -0600, [EMAIL PROTECTED] wrote:

Not
and lots of other stuff requoting in full his promotion which, if it had 
anything to do with qmail, was only of peripheral interest to a few.

If I was ever likely to be interested in such a product this would cause me to 
look elsewhere.

Get off my bandwidth. It costs ME not you!






Re: Inter7 introduces new software: vQregister

2001-02-23 Thread John Gonzalez/netMDC admin

Inter7 writes alot of qmail software that is very ontopic for much of this
list. I for one dont have a problem with them posting announcements

If your opinion differs from his, thats fine. If you dont like his
attitude, thats fine.

But please dont suggest that his post is off topic and wasting your
bandwidth.

Your whining is wasting mine. Lesson - delete it, or get off the list if
you dont appreciate the discussion.

On Sat, 24 Feb 2001, Rod... Whitworth wrote:

| On Fri, 23 Feb 2001 11:57:03 -0600, [EMAIL PROTECTED] wrote:
| 
| Not
| and lots of other stuff requoting in full his promotion which, if it had 
| anything to do with qmail, was only of peripheral interest to a few.
| 
| If I was ever likely to be interested in such a product this would cause me to 
| look elsewhere.
| 
| Get off my bandwidth. It costs ME not you!

-- 
John Gonzalez / [EMAIL PROTECTED] / [EMAIL PROTECTED]
Tularosa Communications, Inc. (505) 439-0200 voice / (505) 443-1228 fax
http://www.tularosa.net / ASN 11711 / JG6416
[--[ sys info ]---]
  5:00pm  up 169 days, 23:29,  2 users,  load average: 0.09, 0.16, 0.21




Re: Inter7 introduces new software: vQregister

2001-02-23 Thread vol

Not everyone has a single box devoted to Apache with
PHP modules.  In fact, many people run a large amount
of time consuming processes.  Efficiency is always a
factor, when it can be taken into account.  Web
based products should always be concerned with efficiency.

Mark Delany wrote:
 
 On Fri, Feb 23, 2001 at 11:30:53AM -0600, [EMAIL PROTECTED] wrote:
  Maybe what I said wasn't as clear as it could
  have been.  Exactly what you requested below,
  is the feature we will be adding.
 
  PHP is inefficient BTW. :)
 
 Totally OT, but one user registration per second adds up to 86,400 new
 users per day.
 
 Can a small web server running PHP handle one registration per second?
 Answer: yes.  Does hotmail.com do more than 86K registrations per day?
 Answer: no.
 
 Conclusion: One small webserver running PHP can handle all the
 registrations for arguable the largest webmail service on the planet.
 
 Efficiency is not always the most relevant selection criteria.
 
 Regards.
 
 
  Dan Phoenix wrote:
  
   Quite honestly this is a custom form that most of us code ourselves in php
   to insert the info we need from users. What you really need to do is allow
   us to pick our own fields...and integrate whatever html we want into it.
  
   Regards,
  
   Dan
  
   On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
  
Date: Fri, 23 Feb 2001 09:52:06 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Inter7 introduces new software: vQregister
   
vQregister is new web-based signup CGI that
more than replaces the old vQsignup program
we released early last year.  If you're running
vQsignup now, or you're considering allowing
users to signup for free accounts, it's worth
taking a look at.
   
We will be adding a new feature very soon
which will be used to collect demographic,
or any other information administrators might
want during the signup process.  This information
might include their cleartext password, a
challenge password (for retrieving the cleartext
password over the phone), and other demographic
information such as zip codes, cities, etc.
We intend to make this fully configurable, so
that whatever information you wish to collect,
is easy to setup.
   
Head over to http://www.inter7.com/vqregister to
take a look at it.
   
--
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html
   
 
  --
  [EMAIL PROTECTED]
  Inter7 Internet Technologies, Inc.
  www.inter7.com - 847-492-0470
  New prices!  http://www.inter7.com/prices.html

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html



Re: Inter7 introduces new software: vQregister

2001-02-23 Thread vol

Apparently some companies devote more time than
others to their releases.

Dan Phoenix wrote:
 
 inefficent?
 alot of speed and very easy to code.
 Take me 10 lines of c code for one line in php.
 + it is built in apache as a module so it runs faster.
 
 Of course c is faster and for any kind of real software it should be used.
 But for a websitephp is generally the choice.
 
 On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
 
  Date: Fri, 23 Feb 2001 11:30:53 -0600
  From: [EMAIL PROTECTED]
  To: Dan Phoenix [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: Re: Inter7 introduces new software: vQregister
 
  Maybe what I said wasn't as clear as it could
  have been.  Exactly what you requested below,
  is the feature we will be adding.
 
  PHP is inefficient BTW. :)
 
  Dan Phoenix wrote:
  
   Quite honestly this is a custom form that most of us code ourselves in php
   to insert the info we need from users. What you really need to do is allow
   us to pick our own fields...and integrate whatever html we want into it.
  
   Regards,
  
   Dan
  
   On Fri, 23 Feb 2001 [EMAIL PROTECTED] wrote:
  
Date: Fri, 23 Feb 2001 09:52:06 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Inter7 introduces new software: vQregister
   
vQregister is new web-based signup CGI that
more than replaces the old vQsignup program
we released early last year.  If you're running
vQsignup now, or you're considering allowing
users to signup for free accounts, it's worth
taking a look at.
   
We will be adding a new feature very soon
which will be used to collect demographic,
or any other information administrators might
want during the signup process.  This information
might include their cleartext password, a
challenge password (for retrieving the cleartext
password over the phone), and other demographic
information such as zip codes, cities, etc.
We intend to make this fully configurable, so
that whatever information you wish to collect,
is easy to setup.
   
Head over to http://www.inter7.com/vqregister to
take a look at it.
   
--
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html
   
 
  --
  [EMAIL PROTECTED]
  Inter7 Internet Technologies, Inc.
  www.inter7.com - 847-492-0470
  New prices!  http://www.inter7.com/prices.html
 

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html



DNS Patch Unavailable

2001-02-23 Thread John Evans

For several days, I have attempted to download the patch that is
at http://www.ckdhr.com/ckd/qmail-103.patch but the server www.ckdhr.com
has not been responding at all.

Is this patch available from any other locations or mirror sites?

-- 
John Evans





Missing To:/From: Fields in Virtual Domain Setup.

2001-02-23 Thread schoon

Good evening!

It looks like I'm on the last stretch of setting qmail up as a smart
host. I do have one - hopefully last - problem. Here's what works:

Standard qmail installation that works with SMTP and POP3.
qmail-inject test work fine using TEST.deliver .

Telnet localhost/IPADDR 25 and manually entering commands works and the
message is delivered into Maildir just fine. I have pullmail running on
NT machine to POP3 out of domain acct and shove it into Exchange. That
works as well... My problem is, when mail arrives for
[EMAIL PROTECTED], it is accepted, but the message itself no longer
contains any To: or From: fields. When pullmail pops the mail from qmail
server, Exchange  bounces it all because there is no To: field! What
have I obviously missed?? I've used the LWQ and set up the qmail server
using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
supposed to resupply the To: / From: fields using variables in the
.qmail-default file?? Any help would be greatly appreciated!

TIA
.mark
1.79x10^12 furlongs per fortnight -- it's not just a good idea, it's the
law!!

use Disclaimer;
my $opinion_only;




Re: DNS Patch Unavailable

2001-02-23 Thread Adam McKenna

On Fri, Feb 23, 2001 at 07:46:06PM -0500, John Evans wrote:
   For several days, I have attempted to download the patch that is
 at http://www.ckdhr.com/ckd/qmail-103.patch but the server www.ckdhr.com
 has not been responding at all.
 
   Is this patch available from any other locations or mirror sites?

I have a copy of it at http://flounder.net/qmail/qmail-dns-patch

--Adam

-- 
Adam McKenna [EMAIL PROTECTED] | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA|  connected to a bunch of other wires."
 38B0 05D0 8BF7 2C6D 110A|  Joe Rogan, _NewsRadio_
  9:02pm  up 5 days, 48 min,  7 users,  load average: 0.01, 0.04, 0.04



Re: DNS Patch Unavailable

2001-02-23 Thread Jeremy Suo-Anttila

all you need to do to fix the dns problem is change a setting in your dns.c
source for qmail change the word "PACKETZ" to "65536"

this is according to running Qmail by sams publishing.

i have hacked this code a few times with 0 problems on 5 of my servers

thanks

Jps




 For several days, I have attempted to download the patch that is
 at http://www.ckdhr.com/ckd/qmail-103.patch but the server www.ckdhr.com
 has not been responding at all.

 Is this patch available from any other locations or mirror sites?

 --
 John Evans







Re: Missing To:/From: Fields in Virtual Domain Setup.

2001-02-23 Thread Andy Bradford

On Fri, 23 Feb 2001 16:57:59 PST,  wrote:

 have I obviously missed?? I've used the LWQ and set up the qmail server
 using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
 supposed to resupply the To: / From: fields using variables in the
 .qmail-default file?? Any help would be greatly appreciated!

No, qmail will not modify those headers by default.  Exchange pullmail 
must be removing them or they are not included with the email when it 
was injected into the queue.  Try looking at the mail in the Maildir to 
see if they are present before they get pop'd.  In addition, how are 
the messages being put into the queue?  Are you doing it from a script? 
 Are you sending it from a MUA?  And no, you shouldn't have to resupply 
them in a .qmail-default... :-)

Andy




Alternate directory for .qmail files

2001-02-23 Thread Ben Schumacher

Hello-

I was wondering if anybody had a patch to make qmail-local look in an
alternate directory for .qmail files before going to $HOME.  I know I saw
somewhere that somebody had done something like this, but I've been unable
to find it again.

If all else fails, I will just go ahead and hack away at qmail-local
myself, but I was hoping somebody out there could make my job easier.

Thank you,

Ben




Re: Alternate directory for .qmail files

2001-02-23 Thread Alex Pennace

On Fri, Feb 23, 2001 at 07:01:48PM -0700, Ben Schumacher wrote:
 I was wondering if anybody had a patch to make qmail-local look in an
 alternate directory for .qmail files before going to $HOME.  I know I saw
 somewhere that somebody had done something like this, but I've been unable
 to find it again.

You can use the qmail-users mechanism to reach the same goal.



Re: Alternate directory for .qmail files

2001-02-23 Thread Ben Schumacher

On Fri, 23 Feb 2001, Alex Pennace wrote:
 On Fri, Feb 23, 2001 at 07:01:48PM -0700, Ben Schumacher wrote:
  I was wondering if anybody had a patch to make qmail-local look in an
  alternate directory for .qmail files before going to $HOME.  I know I saw
  somewhere that somebody had done something like this, but I've been unable
  to find it again.
 
 You can use the qmail-users mechanism to reach the same goal.

I saw something about doing that on the qmail.org page, however, this is
really not the ideal solution for what I'm trying to do.  My goal is to
make a web based management system for this, and I'd prefer to keep most
everything out of the users home directory, for the sake of security and
simplicity.

Basically, I want to setup another directory that will have a subdirectory
for each user on the system, with .qmail files that are written by the
administrative interface, and the virtual POP boxes for these
users.  Similar to what vpopmail does, but in a way that doesn't negate
the ability to have mail delivered to good old '/var/mail/$USER' boxes for
those who would rather use a shell.

Thanks,

Ben