Re: qmail-smtpd logging

2001-02-22 Thread Charles Cazabon

Chris [EMAIL PROTECTED] wrote:
 Hi, I'm fairly new to q-mail so go easy on me. I've looked through all sorts
 of documentation and I haven't been able to find a way to do this yet. I
 can't get qmail to log the address of a remote mail server thats sends it
 mail to be delivered locally. example, spot.netnitco.net is running qmail.
 the user joe gets his mail at spot.netnitco.net. someone else (using
 mail.netnitco.net as his smtp server) sends a message to
 [EMAIL PROTECTED], qmail logs this happening of course and the mail is
 delivered to joe fine. But qmail does not log that the connection came from
 mail.netnitco.net, I would like it to do this for several reasons. I'm not
 sure exactly what information you'll all need from me to help me out, I'm
 using multilog + vpopmail + daemontools if that helps.

qmail-smtpd doesn't log it, but qmail records it in a Received: header, like
any other MTA does.  Is this not sufficient?  You could create a wrapper
around qmail-smtpd which logs this information to stdout if you like.

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-22 Thread Gavin McCord


On 21.02.2001 20:04 + Kris Kelley wrote:
 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?
 
 I may be way off base here, having never used OpenBSD, but couldn't you
 create the LWQ qmail start-up script as a file somewhere, then tell
 whichever rc.* script is appropriate to do a "/path/to/script/qmail
 start"?
 
 ---Kris Kelley
 

Using Slackware, I decided to simplify things and just put
the qmail start|stop|reload in /usr/local/sbin and then call
it from /etc/rc.d/rc.local.

Now, though I've set it up to be controlled by svscan/supervise,
so I don't need to bother with the rc.d scripts at all.

-- 
I'm Keyser Soze...No, I'm Keyser Soze. I'm Keyser Soze and so's my wife!
(Monty Python play The Usual Suspects.)



RE: qmail-qfilter problems

2001-02-22 Thread Andy Meuse

Thanks for the advice, here is the error Outlook Express gives me...

An unknown error has occurred. Subject '', Account: 'porno.server.com',
Server: 'porno.server.com', Protocol: SMTP, Server Response: '451 qq
temporary problem (#4.3.0)', Port: 25, Secure(SSL): No, Server Error: 451,
Error Number: 0x800CCC6A

...and from looking through the archives I found that I might need to set my
softlimit value higher. I did so and that worked. Hoorah! Say goodbye to
.VBS attachments on my network.

Thanks again,
Andy

 -Original Message-
 From: Alex Kramarov [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 21, 2001 12:02 PM
 To: [EMAIL PROTECTED]; Qmail List (E-mail)
 Subject: Re: qmail-qfilter problems


 Andy Meuse wrote

  I've installed the qmail-qfilter and cannot get it to work.
 After I add
 the
  "QMAILQUEUE" lines to my tcp.smtp and rebuild it, I send an
 email and get
 an
  email back immediately saying, "No transport provider was
 available for
  delivery to this recipient" message.

 1. I suspect this error message comes from outlook - don't use it to
 troubleshoot smtp e-mail, you will never get a decent error message.

 2. try sending a message manually (telnet host 25), or
 through (at least)
 outlook express and see what error do you recieve.







Re: qmail-smtpd logging

2001-02-22 Thread Charles Cazabon

Chris Davis [EMAIL PROTECTED] wrote:
 
 Actually sendmail does record this as "relay=host.domain [1.2.3.4]" in it's
 log file.

I'm not familiar with sendmail.  Does it record this log line only for messages
with a non-local envelope recipient?  That would make it tricky to emulate
with a wrapper around qmail-smtpd.

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: Slow connection on send Server connection closed

2001-02-22 Thread Campos Mario

Sorry I forgot to include a link to a very good article that talks about
split DNS implementations. Here it is.
http://www.linuxgazette.com/issue45/tag/11.html

-Original Message-
From: Kris Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:58 PM
To: QMail Mailing List
Subject: Re: Slow connection on send  Server connection closed


JK wrote:
 1. From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds...

 2. Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

How was qmail installed by the consultant?  Do you know if it's using inetd
or tcpserver (or something more exotic) to listen to the SMTP port?

My guess is your server is trying to do ident queries (port 113) which are
disappearing into never-never land.  tcpserver has an option to disable
this, not sure about inetd.

---Kris Kelley





Re: qmail-smtpd logging

2001-02-22 Thread Chris Davis

  Actually sendmail does record this as "relay=host.domain [1.2.3.4]" in
it's
  log file.

 I'm not familiar with sendmail.  Does it record this log line only for
messages
 with a non-local envelope recipient?  That would make it tricky to emulate
 with a wrapper around qmail-smtpd.

As far as I know this is put on every type of transfer,
remote-to-remote,remote-to-local, and local-to-remote. I only really need to
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.
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.

Thanks,
 --Chris




LWQ OpenBSD

2001-02-22 Thread Rick Updegrove

Hello,

I have been running qmail on Linux (RedHat and Mandrake) for a few months
now and I am growing interested in switching to OpenBSD for many obvious
reasons.

I did try a "ports" install of qmail and watched what was happening, and
saved the ports version of what was needed for the user ids since OpenBSD is
not mentioned at all in INSTALL.ids (I also asked on this list and got
helpful advice - thanks guys)

Ok on to my lamer newbie question:

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?

Has anyone recently switched to OpenBSD that was used to LWQ + Linux before
and if so, do you have any helpful hints, reading material or advice at all?

Thanks in advance.

Rick Up






Re: how to hide the alias-user_name

2001-02-22 Thread Chris Johnson

On Wed, Feb 21, 2001 at 09:56:22AM +0800, keng heng wrote:
 hi, I'm using djb fast-forward to do the virtual domain emailling system, but
 I noticed that in he mail header, I'll get the 
 
 Delivered-To: alias-user_name@virtual1.com, then finally Delivered-To:
 user_name@real_host_domain.com
 
 is it anyway to hide the Delivered-To: alias-user_name@virtual1.com ?

No, and you shouldn't do that anyway. The Delivered-To headers prevent nasty
mail loops.

Chris



Re: LWQ OpenBSD

2001-02-22 Thread Kris Kelley

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?

I may be way off base here, having never used OpenBSD, but couldn't you
create the LWQ qmail start-up script as a file somewhere, then tell
whichever rc.* script is appropriate to do a "/path/to/script/qmail start"?

---Kris Kelley




mail queue problem.

2001-02-22 Thread Haig Earl

hi,

my qmail-qstat shows me over 4000 mails and its
increasing. why arent the mails being delivered ??

urgent !

TIA,
- sg.

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/



qmail-smtpd logging

2001-02-22 Thread Chris

Hi, I'm fairly new to q-mail so go easy on me. I've looked through all sorts
of documentation and I haven't been able to find a way to do this yet. I
can't get qmail to log the address of a remote mail server thats sends it
mail to be delivered locally. example, spot.netnitco.net is running qmail.
the user joe gets his mail at spot.netnitco.net. someone else (using
mail.netnitco.net as his smtp server) sends a message to
[EMAIL PROTECTED], qmail logs this happening of course and the mail is
delivered to joe fine. But qmail does not log that the connection came from
mail.netnitco.net, I would like it to do this for several reasons. I'm not
sure exactly what information you'll all need from me to help me out, I'm
using multilog + vpopmail + daemontools if that helps.


Thanks in advance,
 --Chris




qmail Digest 22 Feb 2001 11:00:01 -0000 Issue 1283

2001-02-22 Thread qmail-digest-help


qmail Digest 22 Feb 2001 11:00:01 - Issue 1283

Topics (messages 57676 through 57765):

Re: Need Arguments for qmail
57676 by: Mike Jackson
57677 by: Carl
57678 by: Mike Jackson
57682 by: Carl
57704 by: Russell Nelson
57725 by: Martin Akesson
57728 by: Chris Garrigues
57735 by: Dave Sill

Resend (No Reply) !!
57679 by: Mark Lo
57681 by: Henning Brauer
57688 by: Mark Lo
57690 by: Henning Brauer
57691 by: Johan Almqvist

Re: Mail delivery problems.
57680 by: Prashant Desai

Re: (OT) DJB-itization
57683 by: [gill]
57685 by: Carl
57687 by: Joost van Baal
57694 by: Martin Randall

Qmail Tests
57684 by: Sumith

Re: 1 host with several hostnames
57686 by: Claus Färber

Re: Suppressing Bounce Messages
57689 by: Claus Färber

Re: warning: trouble opening remote/4/r
57692 by: Charles Cazabon
57752 by: flint

Re: email to fax machine
57693 by: Charles Cazabon

Remote CC
57695 by: Nilo Menezes
57696 by: Johan Almqvist

Is there another procedure to enable Selective SMTP relaying whic h is not 
SMTP-after-POP?
57697 by: Charrua
57701 by: Enrique Vadillo
57702 by: Charles Cazabon
57714 by: Charrua
57723 by: Kris Kelley

Re: queue keeping messages
57698 by: Karen
57700 by: Charles Cazabon

New Patch for Latest UW IMAP server
57699 by: Herbie
57703 by: Tim Hunter
57705 by: Mike Jackson

Re: djbcron
57706 by: Russell Nelson
57709 by: Chris Garrigues

Courier Problems was UW IMAP Patch
57707 by: Herbie

Re: badrcptto
57708 by: Alex Kramarov
57711 by: James R Grinter

qmail-qfilter problems
57710 by: Andy Meuse
57712 by: Alex Kramarov
57719 by: Andy Meuse

remove autoresponder and mailing list from qmailadmin
57713 by: Yee Siew Chin
57717 by: Jeremy Anttila

Remote
57715 by: Nilo Menezes
57716 by: Charles Cazabon

Re: Local Deliveries Slow
57718 by: lists-mail-isp-qmail.pgregg.com
57720 by: Manvendra Bhangui
57721 by: Charles Cazabon
57741 by: Manvendra Bhangui

LWQ  OpenBSD
57722 by: Rick Updegrove
57726 by: Kris Kelley
57743 by: Robin S. Socha
57744 by: Aaron Malone
57746 by: Gavin McCord

Re: how to hide the alias-user_name
57724 by: Chris Johnson

Qmail and MX Record change
57727 by: Matt Simonsen

qmail-smtpd logging
57729 by: Chris
57730 by: Charles Cazabon
57737 by: Chris Davis
57738 by: Charles Cazabon
57740 by: Chris Davis

How can I change the remote delivery program ?
57731 by: Nilo Menezes
57733 by: Chris Johnson
57734 by: Charles Cazabon
57742 by: Nilo Menezes
57745 by: Kourosh Ghassemieh

qmail-scanner wrapper
57732 by: Chris Hellberg
57736 by: Olivier M.
57739 by: Chris Hellberg
57757 by: Chris Hellberg

Slow connection on send  Server connection closed
57747 by: JK
57748 by: Chris Johnson
57749 by: Kris Kelley
57750 by: Campos Mario
57751 by: Campos Mario
57758 by: JK
57759 by: JK
57760 by: JK
57762 by: JK

our qmail is very slow!
57753 by: flint

rcpthosts file - newbe question
57754 by: Daniel Jones
57761 by: Peter Cavender

Fictitious domain and SMTP relay
57755 by: Anurag Jalan

rblsmtpd log
57756 by: Agi Subagio

Migration of Mailboxes and Accounts from Ms Exchange
57763 by: Tonka Sesarino

qmail test scripts
57764 by: Sumith

mail queue problem.
57765 by: Haig Earl

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]


--



"Robin S. Socha" wrote:
 
 * Mike Jackson [EMAIL PROTECTED] [010221 03:19]:
 
  cat /var/log/qmail/current | tai64nlocal | less
 
 http://www.ling.helsinki.fi/~reriksso/unix/award.html


This is off-topic for this list, but since you mentioned it: This is not
useless usage of cat. There has to be three processes to pipe the log
file through tai64nlocal without it flying by like an F14. If somebody
knows how to do this with only two processes, then enlighten me.

if you give:

less /var/log/qmail/current | tai64nlocal

it flies by ...

Regards,
Mike




On Wed, Feb 21, 2001 at 01:32:17PM +0200, Mike Jackson wrote:
 "Robin S. Socha" wrote:
  
  * Mike Jackson [EMAIL PROTECTED] [010221 03:19]:
  
   cat /var/log/qmail/current | tai64nlocal | less
  
  

about qmailadmin

2001-02-22 Thread Someone



Hi all

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

Thank you
someone



about quota for qmail

2001-02-22 Thread Someone



Hi, all

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

Thank you
someone


Re: LWQ OpenBSD

2001-02-22 Thread Henning Brauer

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



Re: Local Deliveries Slow

2001-02-22 Thread Manvendra Bhangui

I hate to post unecessarily. But this is to thank everyone especially
Charles Cazabon and Dave Sill. The Big To Do patch worked and my
mails are zipping through (I run a very high volume mail server). I have
successfully migrated my users from Isocor (critical path's messaging soln)
to
qmail.
This is the second instance where my life got saved because of this great
list.

Regards Manny
- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 1:12 AM
Subject: Re: Local Deliveries Slow


 Manvendra Bhangui [EMAIL PROTECTED] wrote:
  I have already run the make check, etc and checked the permissions as
per
  the LWQ.

 Excellent.  Looks like you've done (most of) your homework.

  1. When the incoming rate increases, qmail-send is unable to cope up.
  The todo increases at an alarming rate. After this the number of
local
  deliveries
  suddenly stop (around 1 per sec).
  2. After shutting down port 25 (to stop incoming mails) and giving some
  time for the unprocessed mails to become zero, the local mail
  delivery again become fast (I could get a concurrency of about 160)

  This is the current stats I have on my mailserver.
 
  isocor:/var/qmail/bin./qmail-qstat
  messages in queue: 67966
  messages in queue but not yet preprocessed: 42007
 [...]
  Has anyone observed this and have come up with any solution to this.

 Yes.  Russ Nelson noticed this, and created the big-todo patch.  It helps,
 but does not eliminate the problem in all cases.  Basically the problem is
 that qmail send will only process local and remote deliveries when there
 is nothing left in todo.

 Try applying the big-todo patch; it should help significantly.

 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.
 ---


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




Patching error with qmail-smtpd

2001-02-22 Thread John P

I have already patched Qmail to run Qmail-Scanner; I tried to apply
Krzysztof Dabrowski's SMTP-AUTH patch, but when I ran make setup I got the
following warning:

qmail-smtpd.c:787: warning: return type of `main' is not `int'
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
socket.lib`

It seems to be running OK otherwise.

Will this cause me any problems?

Cheers
John




remove autoresponder and mailing list from qmailadmin

2001-02-22 Thread Yee Siew Chin

how can i remove the autoresponder and mailing list
from the qmailadmin? i am using the latest version of
qmailadmin?

and, how can i login using username instead of
[EMAIL PROTECTED] in sqwebmail?

rgds,
yee

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/



Re: email to fax machine

2001-02-22 Thread Charles Cazabon

Ami Shamril [EMAIL PROTECTED] wrote:
 
 We just bought one fax machine (Brothers MFC8600).
 By default users just can send fax by send email to this fax machine.

OT:  what a security nightmare.

 Email address for the fax machine is [EMAIL PROTECTED]
 But the format to fax is to send email to fax@mycompany(fax#1234567) (This
 format worked with MS Exchange server)

Try putting a space between the address and the parentheses:
fax@domain (fax#5551212)

If that doesn't work, perhaps try using an address like this:
"fax#5551212" fax@domain

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.
---



SMTP-AUTH problems

2001-02-22 Thread John P

Hi All,

I have patched qmail-smtpd with Krzysztof Dabrowski's SMTP-AUTH patch and
have changed the line in /var/qmail/supervise/qmail-smtpd/run to end "..
/var/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true 21" and have been
trying to send e-mail from an IP address that is not permitted in the
tcp.cdb for relaying purposes.

I am using Outlook Express 5 to send the e-mail with the "My outgoing mail
server requires authentication" and "Use same settings as incoming e-mail"
(eg. /etc/shadow passwords) but still the password is not being accepted.
(Outlook just keeps asking for the password). Sent SMTP mail from allowed IP
address ranges sends fine.


Here's an extract from /var/log/qmail/smtpd/current: (typed as PuTTY won't
let me copy it!)

tcpserver: status 1/40
tcpserver: pid 17876 from 212.1.156.167
tcpserver: ok 17876 pluto.office.internal:10.0.0.12:25
ppp-1-167.cvx6.telinco.net:212.1.156.167::1186
tcpserver: end 17876 status 256
tcpserver: status 0/40

I did have a problem with patching qmail-smtpd (I got a warning about a
return type, see earlier e-mail on list) but I'm not sure if that's the
problem.
/etc/shadow is owned by user/group root.

What else could be causing this problem?

Thanks in advance
John





Re: qmail-scanner wrapper

2001-02-22 Thread Brett Randall

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?
-- 
"Your mouse has moved. Windows NT must be restarted for the change to
take effect. Reboot now ? [OK]"



Re: qmail-scanner wrapper

2001-02-22 Thread John P


- Original Message -
From: Brett Randall [EMAIL PROTECTED]
To: Chris Hellberg [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 1:20 PM
Subject: Re: qmail-scanner wrapper


  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?

I'm hopeful I did the right thing, but I chmod'ed both /usr/bin/suidperl and
qmail-scanner-queue.pl to 4755, and made them both owned by root. That fixed
the problem.

Cheers
John





Re: LWQ OpenBSD

2001-02-22 Thread Henning Brauer

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 confusing.

 -Dave
 

Greetings

Henning

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



Re: Slow connection on send Server connection closed

2001-02-22 Thread Dave Sill

"JK" [EMAIL PROTECTED] wrote:

I have a Linux 6.2 box with qmail, bind8 and apache on it.  It was installed
by a Linux consultant

Ugh. BIND might not be your problem at the moment, but it will be
sooner or later. How could your consultant have been clueful enough to
install qmail but not djbdns?

-Dave



Re: warning: trouble opening remote/4/r

2001-02-22 Thread Charles Cazabon

flint [EMAIL PROTECTED] wrote:
 
 You can either use queue-fix to replace/fix the (non-existent?) queue, or
 restore from your backups and THEN use queue-fix to fix the queue.
 
   I have fix the queue using queue-fix. It unlinked some file under
   /var/qmail/queue/remote, but now I still can see the Warning messages in
   the maillog? Is there something wrong?

Did you run queue-fix while qmail was running?  That would be bad.  Stop
qmail, run queuefix, then re-start qmail.

 I have noticed for days,now it becomes more and more unbearable. That is,it
 is very slowly when we receive mails through POP3. The strange thing is that
 when you have received the mails then receive mails again immediately, it is
 very quickly.

This was not a good reason to remove the queue.  qmail-pop3d doesn't look for
mail in the queue anyways; it looks in the user's mailstore (~/Maildir/
typically).

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
-- 
---
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-22 Thread Dave Sill

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



Re: mail queue problem.

2001-02-22 Thread Charles Cazabon

Haig Earl [EMAIL PROTECTED] wrote:
 
 my qmail-qstat shows me over 4000 mails and its
 increasing. why arent the mails being delivered ??

You're either injecting a lot of new mail at the same time, or there are
remote hosts not responding.  The second reason is quite normal.  Your
qmail logs will tell you _exactly_ why those messages are not being
delivered.

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: Patching error with qmail-smtpd

2001-02-22 Thread Charles Cazabon

John P [EMAIL PROTECTED] wrote:
 I have already patched Qmail to run Qmail-Scanner; I tried to apply
 Krzysztof Dabrowski's SMTP-AUTH patch, but when I ran make setup I got the
 following warning:
 
 qmail-smtpd.c:787: warning: return type of `main' is not `int'

 It seems to be running OK otherwise.  Will this cause me any problems?

No.  It's a bogus warning from the compiler, because it isn't smart enough
to determine that the offending code (an implicit void return) will never
be executed.

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.
---



long delay in receiving from HOTMAIL, routing problem?

2001-02-22 Thread Chrisanthy Chrisanthy

Greetings everybody!

I've installed qmail-1.03 and vpopmail which was just up last week.
I tried to send and receive email from several servers, such as
Yahoo!, Excite, and some other servers. Some works fine, the messages
could be received just in a short period.

BUT, it takes a few hours, even a few days, when I tried to receive
email from my Hotmail acct. Also from some mail servers.  I have no idea why this
happened, could this because of the routing problem or something is
wrong with my mail server?

can anyone help?
Thanks!

-- 
Best regards,
 Chrisanthy





Re: LWQ OpenBSD

2001-02-22 Thread Robin S. Socha

* Henning Brauer [EMAIL PROTECTED] [010222 09:36]:
 On Thu, Feb 22, 2001 at 09:24:04AM -0500, Dave Sill wrote:

  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.

Also, putting init scripts in /usr/local does not make any sense at all
(unless you happen to own an Lintendo) - cf. DJB's explation of why he
chose /var.

 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 confusing.

I find it quite interesting that although DJB himself uses OpenBSD, none
of the 3rd party docs deal with it (adding users and groups is certainly
different from even FreeBSD). Mind you, this is not a critique of LWQ:
great piece of documentation. Rather, it's a suggestion for a possible
enhancement. Add to that a section about SysV under SuSE Linux as
described by Erwin Hoffmann.



Re: LWQ OpenBSD

2001-02-22 Thread Dave Sill

Henning Brauer [EMAIL PROTECTED] wrote:

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.

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...

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 confusing.

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, but I have no Linux bias. I've been
managing both BSD and Sys V machines for more than 12 years.

-Dave



Re: long delay in receiving from HOTMAIL, routing problem?

2001-02-22 Thread Jonathan D. Poole

I've expierenced the same with hotmail in the last few days.  Perhaps an 
overlooked MX config at slothmail has been introduced to both of us.

At 09:57 PM 2/22/2001 +0700, Chrisanthy Chrisanthy wrote:
Greetings everybody!

I've installed qmail-1.03 and vpopmail which was just up last week.
I tried to send and receive email from several servers, such as
Yahoo!, Excite, and some other servers. Some works fine, the messages
could be received just in a short period.

BUT, it takes a few hours, even a few days, when I tried to receive
email from my Hotmail acct. Also from some mail servers.  I have no idea 
why this
happened, could this because of the routing problem or something is
wrong with my mail server?

can anyone help?
Thanks!

--
Best regards,
  Chrisanthy




qmail-qfilter ~ Help...

2001-02-22 Thread jsunday




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-22 Thread Dave Sill

"Robin S. Socha" [EMAIL PROTECTED] wrote:

Also, putting init scripts in /usr/local does not make any sense at all

I've been putting stuff in /usr/local for at least a decade. I'm not
going to stop just because some upstart free OS's want to impose their
idea of the One True Filesystem Hierarchy on me.

(unless you happen to own an Lintendo)

Cute, but I'd rather support fellow UNIX-like OS users than degrade
them. Save the namecalling for Wintendo lusers. :-)

- cf. DJB's explation of why he chose /var.

Which is where?

-Dave



Where to ask ezmlm-idx questions?

2001-02-22 Thread nolan

Is this the place to ask ezmlm-idx questions or is there another discussion
list for it?  (I don't see one mentioned on ezmlm.org.)
--
Mike Nolan



Re: qmail test scripts

2001-02-22 Thread Dave Sill

"Sumith" [EMAIL PROTECTED] wrote:

perl qmail-qsanity-0_52

did not display anything does that mean..that my Qmail Queue system
is set right. or what does it really mean. 

What does the qmail-qsanity documentation say?

perl qmail-lint-0_55
Warning: users/assign checking not implemented.

What does that warning mean...

It means that qmail-lint doesn't check users/assign files.

Is it really bad?

No.

what can i do to make this error disppear.

Just ignore it, it's not an error.

-Dave




Re: Where to ask ezmlm-idx questions?

2001-02-22 Thread Jonathan D. Poole

See http://www.ezmlm.org/
All kinds of information there.


At 09:55 AM 2/22/2001 -0600, [EMAIL PROTECTED] wrote:
Is this the place to ask ezmlm-idx questions or is there another discussion
list for it?  (I don't see one mentioned on ezmlm.org.)
--
Mike Nolan




Re: LWQ OpenBSD

2001-02-22 Thread Robin S. Socha

* Dave Sill [EMAIL PROTECTED] [010222 10:41]:
 "Robin S. Socha" [EMAIL PROTECTED] wrote:
 
 Also, putting init scripts in /usr/local does not make any sense at all
 I've been putting stuff in /usr/local for at least a decade. I'm not
 going to stop just because some upstart free OS's want to impose their
 idea of the One True Filesystem Hierarchy on me.

man hier should be a lot older than OpenBSD or whatever. I mean, really.
And system components (I consider an MTA a system component, don't you?)
don't belong under /something/local but /something - cf. NFS.

 (unless you happen to own an Lintendo)
 Cute, but I'd rather support fellow UNIX-like OS users than degrade
 them. Save the namecalling for Wintendo lusers. :-)

I was in fact referring to desktop boxes (usually running Linux, not
some flavour of BSD).

 -cf. DJB's explation of why he chose /var.
 
 Which is where?

http://cr.yp.to/compatibility.html
http://cr.yp.to/qmail/faq/install.html#whyvar

I'm shocked ;-)



Re: LWQ OpenBSD

2001-02-22 Thread Henning Brauer

On Thu, Feb 22, 2001 at 10:00:46AM -0500, Dave Sill wrote:
 Henning Brauer [EMAIL PROTECTED] wrote: 
 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.
 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, and your qmail script, perfect for linux and other
sysv-init systems, is not adequate for *BSD. It's totally against the "keep
it simple"-approach.

 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 confusing. 
 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.

 but I have no Linux bias. 

Thats not what I wanted to tell you. 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/.

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



Re: SMTP-AUTH problems

2001-02-22 Thread Kris Kelley

John P. wrote:
 I have patched qmail-smtpd with Krzysztof Dabrowski's SMTP-AUTH patch and
 have changed the line in /var/qmail/supervise/qmail-smtpd/run to end "..
 /var/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true 21" and have
been
 trying to send e-mail from an IP address that is not permitted in the
 tcp.cdb for relaying purposes.

Dabrowski's version of the authenticated SMTP patch supports two
authentication schemes, simple passwords and CRAM-MD5 challenges and
responses.  Therefore, qmail-smtpd modified with the patch will require two
"checkpassword" type arguments, one to handle simple passwords, the other to
handle CRAM-MD5.

Dabrowski also wrote his own replacement for checkpassword, cmd5checkpw,
specifically to handle the CRAM-MD5 scheme.  However, the latest version of
cmd5checkpw also handles simple passwords, so it can be used for both
purposes.  My qmail-smtpd start-up script looks like this:

... /var/qmail/bin/qmail-smtpd \
/bin/cmd5checkpw /bin/true /bin/cmd5checkpw /bin/true ...

Note that if you do use cmd5checkpw, you will have to create a new password
file that stores passwords unencrypted; the default is /etc/poppasswd.  The
source package for cmd5checkpw provides an example to help you set up this
new password file.  Details and downloads at:

http://members.elysium.pl/brush/cmd5checkpw/

---Kris Kelley




autorespond

2001-02-22 Thread Mark Lane

I have question about autoreponder. It is responding to an email by replying 
with the message as it should but with the email that it received as well
with full headers. Is there a way to turn this off?


-- 
Mark Lane, T.T.
CTO
myKapital Inc.
(403)547-9939
(403)537-9934



Re: SMTP-AUTH problems

2001-02-22 Thread John P

 Therefore, qmail-smtpd modified with the patch will require two
 "checkpassword" type arguments, one to handle simple passwords, the other
to
 handle CRAM-MD5.

 Dabrowski also wrote his own replacement for checkpassword, cmd5checkpw,
 specifically to handle the CRAM-MD5 scheme.  However, the latest version
of
 cmd5checkpw also handles simple passwords, so it can be used for both
 purposes.  My qmail-smtpd start-up script looks like this:

 ... /var/qmail/bin/qmail-smtpd \
 /bin/cmd5checkpw /bin/true /bin/cmd5checkpw /bin/true ...

 Note that if you do use cmd5checkpw, you will have to create a new
password
 file that stores passwords unencrypted; the default is /etc/poppasswd.
The
 source package for cmd5checkpw provides an example to help you set up this
 new password file.  Details and downloads at:

Kris,

I wanted to avoid using the cmd5checkpw program as I didn't want to have two
sets of password files to update. Also I'm using Outlook Express so that
means plaintext passwords only (?) - so I only put one argument on the
qmail-smtpd line. I was going to install the predecessor, that only has
plaintext auth - but that was a qmail-smtpd.c program only, and I wanted to
keep my patch for Qmail-Scanner - or can I install the new qmail-smtpd.c
program and then install the qmail-scanner patch ?

Or is there another way to force the program to check the POP3 passwords?

Cheers
John





Re: SMTP-AUTH problems

2001-02-22 Thread Kris Kelley

John P. wrote:
 I wanted to avoid using the cmd5checkpw program as I didn't want to have
two
 sets of password files to update. Also I'm using Outlook Express so that
 means plaintext passwords only (?) - so I only put one argument on the
 qmail-smtpd line.

Regardless of your set-up, the patched version of qmail-smtpd will need two
checkpassword arguments.  Since you won't be using CRAM-MD5 at all, you can
probably forego installing cmd5checkpw and simply give a dummy argument for
the second checkpassword requirement.  So your script might look like this:

... /var/qmail/bin/qmail-smtpd \
/bin/checkpassword /bin/true dummy /bin/true ...

I would recommend that "dummy" be replaced with a program that always
returns failure, in case some smart-alec in your domain tries to use a
CRAM-MD5 enabled client.

 I was going to install the predecessor, that only has
 plaintext auth - but that was a qmail-smtpd.c program only, and I wanted
to
 keep my patch for Qmail-Scanner - or can I install the new qmail-smtpd.c
 program and then install the qmail-scanner patch ?

I am not using qmail-scanner, so I'm afraid I have no experience with it.
At any rate, using the original version of "Mrs. Brisby"'s qmail-smtpd is
not recommended, due to a bug that would allow anybody to relay if the
checkpassword program crashed.  The latest version of Dabrowski's patch
fixes that bug.

---Kris Kelley




yay

2001-02-22 Thread Carl

I completed a full changeover from sendmail to qmail today! :)

Thanks djb for all your stuff and to anyone that contributed to qmail.

--Carl--
http://slackerbsd.org

 PGP signature


qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread schoon

Thanks for reading!

Subject tells all. I installed qmail-pop3d using LWQ, and it's working
just fine. I've searched the archives hi and lo and have checked
inetd.conf, commented out pop3 and HUPed it. Nmap reports nothing on
port 110. Tcpserver is reporting the above error message and I can't
figure out why. Here's my run file:

#!/bin/shexec /usr/local/bin/softlimit -m 200
\/usr/local/bin/tcpserver -v -R xxx.xxx.xxx.xxx pop3
/var/qmail/bin/qmail-popup \mail.computer.domain /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir 21 \| /var/qmail/bin/splogger pop3d
21 

Hopefully I've just made some silly mistake. If you need additional
information, please let me know. For now I just commented out the
splogger command so I don't fill the logfile.

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;




Re: qmail-scanner wrapper

2001-02-22 Thread Jason Haar

On Thu, Feb 22, 2001 at 02:16:50PM -, John P wrote:
 I'm hopeful I did the right thing, but I chmod'ed both /usr/bin/suidperl and
 qmail-scanner-queue.pl to 4755, and made them both owned by root. That fixed
 the problem.

Agh! Absolutely not!!!

Do NOT run qmail-scanner-queue.pl as setuid root!! BAD BAD BAD

No known security holes that I know of - but there is ABSOLUTELY NOT REASON
to run is setuid root. It's supposed to be setuid qmailq - make it so and
I'll sleep better at night ;-)

Also, this is all off-topic. You should all be subscribed to the
Qmail-Scanner mailing-list and be having this discussion there :-)

http://lists.sourceforge.net/mailman/listinfo/qmail-scanner-general

-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417



Qmail-Scanner for each user

2001-02-22 Thread Alan R.

Hi, people...

Someone knows if there is a way to enable qmail-scanner to act for just some
users ? I use .qmail file for redirection and i want that qmail-scanner
takes out all attachment of some users...

Thanks,
Alan R.




Re: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Subject tells all.

Don't rely on it -- please repeat the problem in the body of the message in
future.

 I installed qmail-pop3d using LWQ, and it's working just fine. I've searched
 the archives hi and lo and have checked inetd.conf, commented out pop3 and
 HUPed it. Nmap reports nothing on port 110.

Possibly its another instance of tcpserver reporting the error, like the
one starting qmail itself?

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: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread schoon

Charles,

Thanks for the reply. Well, tcpserver is called in the run file for
qmail-smtpd and qmail-pop3d. When I make changes to the qmail-pop3d run
file, the errors do change in syslog - like commenting out the line for
splogger.

OK - I just figured it out!! Seems my rc.qmail script doesn't
stop/restart qmail-pop3d properly. There were two copies of qmail-pop3d
running. As soon as I killed the old, incorrect pop3d, the errors went
away.

| Subject tells all.

|Don't rely on it -- please repeat the problem in the body of the message in
|future.

Sorry, I've been only doing this on the net for about 15 years! I'll
reinclude this information in the bodies of future emails.

Thanks again for the tip!

.mark


--
From:  Charles Cazabon[SMTP:[EMAIL PROTECTED]]
Sent:  Thursday, February 22, 2001 12:00 PM
To:[EMAIL PROTECTED]
Subject:   Re: qmail-pop3d: tcpserver: unable to bind: address in use problem

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Subject tells all.

Don't rely on it -- please repeat the problem in the body of the message in
future.

 I installed qmail-pop3d using LWQ, and it's working just fine. I've
searched
 the archives hi and lo and have checked inetd.conf, commented out pop3 and
 HUPed it. Nmap reports nothing on port 110.

Possibly its another instance of tcpserver reporting the error, like the
one starting qmail itself?

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.
---




thinko

2001-02-22 Thread Charles Cazabon

Of course, I meant "qmail-smtpd", not "qmail itself".  Thinko on my part.

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: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread Greg White

On Thu, Feb 22, 2001 at 12:28:24PM -0800, [EMAIL PROTECTED] wrote:
 Charles,
 
   Thanks for the reply. Well, tcpserver is called in the run file for
 qmail-smtpd and qmail-pop3d. When I make changes to the qmail-pop3d run
 file, the errors do change in syslog - like commenting out the line for
 splogger.
 
   OK - I just figured it out!! Seems my rc.qmail script doesn't
 stop/restart qmail-pop3d properly. There were two copies of qmail-pop3d
 running. As soon as I killed the old, incorrect pop3d, the errors went
 away.
 

Make sure that you're 'exec'ing tcpserver in the run file. Dave Sill,
this might want updating in 'Life with qmail' -- this seems to burn a
lot of people

Bad:

tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 \
/var/qmail/bin/splogger pop3d


Good:

exec tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 \
/var/qmail/bin/splogger pop3d

and then maybe instructions for supervising it properly? If it sounds
like I'm volunteering to write the new docs, I am more than willing... 


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



newbie question on forwarding email

2001-02-22 Thread Virginia Chism

My server is a UNIX box with BSDI 4.0, Apache, Qmail, and Frontpage.  My
BSDI and QMail were set up by someone else (no longer with us) and I am
pretty much a newbie in this arena

A Frontpage client wants to publish a form to be received on my server
addressed to [EMAIL PROTECTED] and relayed (forwarded/redirected) to her
personal email address which is not on my server.  The first hurdle was to
add  SMTPHost mymailserver.address.com in the frontpage.cnf AND her
domainname.cnf file .

Now I have been told that I need to add herdomain.org to the QMail list of
allowable 'local' domains.

Reading on, in LWQ 3.5 it seems I may need to set her up in /var/qmail/alias
as well?  If so, I would set her up as 'info'?  And how do I set it up to
redirect to her personal [EMAIL PROTECTED]?

Do I also need to do adduser 'info' in the BSDI side of the server?

Can anyone point me in the right direction?  And, is there anything else I
need to configure so this will work?

Thanks in advance for your help.




Re: LWQ OpenBSD

2001-02-22 Thread Dave Sill

"Robin S. Socha" [EMAIL PROTECTED] wrote:

* Dave Sill [EMAIL PROTECTED] [010222 10:41]:
 "Robin S. Socha" [EMAIL PROTECTED] wrote:
 
 Also, putting init scripts in /usr/local does not make any sense at all
 I've been putting stuff in /usr/local for at least a decade. I'm not
 going to stop just because some upstart free OS's want to impose their
 idea of the One True Filesystem Hierarchy on me.

man hier should be a lot older than OpenBSD or whatever.

Hmm... My OpenBSD 2.8 "man hier" says:

  [/usr/]   local/Local executables, libraries, etc.

And system components (I consider an MTA a system component, don't you?)
don't belong under /something/local but /something - cf. NFS.

Yes, an MTA is a "system component".

Back in the olden days, we didn't install replacements for vendor-
supplied components in directories under the control of vendor. This
isolation was done for two reasons: (1) it prevented vendor upgrades
from blowing away our replacement components, and (2) it made it easy
to identify the replacement components.

Sure, when Sun was shipping their variant of Sendmail 5.65 and I was
installing 8.6.10, I *could* have just plopped it into
/usr/lib/sendmail and /etc/sendmail.cf...but it wouldn't have terribly
bright.

I still think it's good to isolate components added by the admin--even
though it's not always as necessary as it used to be.

 Which is where?

http://cr.yp.to/compatibility.html
http://cr.yp.to/qmail/faq/install.html#whyvar

I'm shocked ;-)

Don't be. I've read all that before, I just couldn't remember where it
lived.

-Dave



Re: newbie question on forwarding email

2001-02-22 Thread Charles Cazabon

Virginia Chism [EMAIL PROTECTED] wrote:
 
 A Frontpage client wants to publish a form to be received on my server
 addressed to [EMAIL PROTECTED] and relayed (forwarded/redirected) to her
 personal email address which is not on my server.
[...]
 Now I have been told that I need to add herdomain.org to the QMail list of
 allowable 'local' domains.  Reading on, in LWQ 3.5 it seems I may need to set
 her up in /var/qmail/alias as well?  If so, I would set her up as 'info'?
 And how do I set it up to redirect to her personal [EMAIL PROTECTED]?

Easier:  make herdomain.org virtual, and forward mail out of an appropriate
.qmail file directly:

echo "herdomain.org:alias-herdomain" /var/qmail/control/virtualdomains
echo "forwardaddress" ~alias/.qmail-herdomain-info

Remember to remove the old entry from "locals", and to restart qmail or
HUP qmail-send.  No system user accounts are necessary in this setup.

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.
---



forward and keep mail....

2001-02-22 Thread Javier Morquecho Morquecho


I created a forward to each account. Unfortunately with this configuration
Qmail to forward the mail without to keep a copy of those mails. I have
found that an alias (equal name to pop account) can be created pointing to
the pop accounts and then they still get their mail. Is there a simpler way
to fix this?.

Tnanks




Re: LWQ OpenBSD

2001-02-22 Thread Dave Sill

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? Where does apachectl live?

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.

It's totally against the "keep it simple"-approach.

How is having a simple control interface like:

  qmail start
  qmail stop
  qmail queue
  qmail doqueue
  qmail pause
  qmail cont
  qmail stat
  qmail reload
  qmail restart
  qmail cdb

against "keep it simple"?

What are the *BSD-approved equivalents for the above commands?

 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.

-Dave



Re: forward and keep mail....

2001-02-22 Thread Charles Cazabon

Javier Morquecho Morquecho [EMAIL PROTECTED] wrote:
 
 I created a forward to each account. Unfortunately with this configuration
 Qmail to forward the mail without to keep a copy of those mails.

`man dot-qmail` -- remember you're allowed more than one delivery instruction
in a .qmail file.

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: SMTP-AUTH problems

2001-02-22 Thread listy-dyskusyjne Krzysztof Dabrowski


I did have a problem with patching qmail-smtpd (I got a warning about a
return type, see earlier e-mail on list) but I'm not sure if that's the
problem.
/etc/shadow is owned by user/group root.

the roots of your (and 90% of other people's problems) are 2

a) either your qmail-smtpd is not able to call checkpassowrd (check perms)
b) your checkpassword is unable to authenticate you because of access rights.

QUICK TEST:

chmod a+rxs /bin/checkpassword

If it works now, then it's one of the 2 problems, think about it and find a 
good solution for your OS.

Kris




Re: Newbies tcpserver question [slightly offtopic]

2001-02-22 Thread Kris Kelley

John Peterson

 Im trying to get tcpserver to work with my simple
 program written in C. However, Im getting unexpected
 results...
 ...
 printf("Welcome! Enter your name\n");
 scanf("%s",name);
 printf("Hello %s",name);
 ...
 --
 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!

Try flushing the output after the welcome message.  Worked for me.

---Kris





unsubsribe

2001-02-22 Thread wheatly





LWQ qmail-smtp-auth

2001-02-22 Thread dennis

Hi all...

Does anyone use qmail-smtp-auth ?
http://members.elysium.pl/brush/qmail-smtpd-auth/
Just wondering if it's safe to start the smtpd as requested by INSTALL in
qmail-smtp-auth.
LWQ starts smtpd differently, I don't want to upset the LWQ installation.
Can anyone offer any suggestions ?

Dennis




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

2001-02-22 Thread jerry




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

below is the content of xinetd.conf
## Simple configuration file for xinetd## 
Some defaults, and include /etc/xinetd.d/

defaults{instances 
= 60 
log_type 
= SYSLOG authpriv 
log_on_success= HOST 
PID log_on_failure= 
HOST RECORD}

includedir /etc/xinetd.d




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

2001-02-22 Thread Peter Cavender

You should read life with qmail, and use tcpserver rather than inetd or
xinetd.

--Pete

On Fri, 23 Feb 2001, jerry 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
 
 below is the content of xinetd.conf
 #
 # Simple configuration file for xinetd
 #
 # Some defaults, and include /etc/xinetd.d/
 
 defaults
 {
  instances   = 60
 log_type= SYSLOG authpriv
 log_on_success  = HOST PID
 log_on_failure  = HOST RECORD
 }
 
 includedir /etc/xinetd.d
 
  
 




pam-checkpassword .diff ?

2001-02-22 Thread dennis

Hi...

I'm trying to achieve a authentication system by which all pop3 and IMAP
accounts are authenticated via our PDC(NT4). The IMAP authentication works
well using pam_smb but given that qmail-pop3d needs to use checkpass I need
to patch it to support PAM.

Which brings me to my question... does anyone use pam-checkpassword ?
http://www.glasswings.com.au/qmail/pam-checkpassword-0.81-diffs

As I'm a relative newbie when it comes to matters regarding patching and
.diff's, I need to know what I have to do with the .diff file.

I have tried to contact "Kelley L" at "[EMAIL PROTECTED]" with no success
(bounced email)

Can anyone offer any advice?



Cheers
Dennis




Re: mail queue problem.

2001-02-22 Thread Manvendra Bhangui

I had the same problem and was grappling with it for few days.
I have done th following to ease the situation.
1. Apply the big concurrency patch
2. I applied concurrenty value of 500 in th files conncurrencylocal
and concurrencyremote
3. Applied the BIG Todo patch (this patch has more or less solved my
problem
4. change the file split-conf to 151 from default 23
5. Dowloaded qmHandle package to show me the remote and local files
in the queue
6. Stoped the tcpserver listening on port 25
7. Allowed the queue to drop to zero
8. did make setup check in the qmail package to recompile the package
9. Started qmail
(Also if you are using queue-fix package don't forget to apply queue-fix
todo patch also)

Whenever the number deliver of remote mails become high, I see the deliver
of local mails
also suffering. So once in a while I make the concurrency value in
concurrencyremote to
zero and restart qmail to deliver only the local mails

I do not know what your setup is. Mine is on Solaris 2.6 on E3500 with very
High I/O
bottleneck. But on the same box critical path's mplex was doing local
delivery much
better than qmail. I am still working on how to improve the local deliver
speeds. Will share the results when I am successful

Hope some of these may help.

- Original Message -
From: Haig Earl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 3:23 PM
Subject: mail queue problem.


 hi,

 my qmail-qstat shows me over 4000 mails and its
 increasing. why arent the mails being delivered ??

 urgent !

 TIA,
 - sg.

 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/


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




qmailadmin compile question

2001-02-22 Thread sberg

Having trouble setting up qmailadmin on a redhat 7 machine.

So far I've got qmail, vpopmail, autoresponder, ezmlm all installed and
working.

When I go to compile I get lots of "undefined reference" warnings and the
compile craps out with a couple of errors.  I've attached a copy of the
compile output hoping that someone will be able to get me going in the
right direction to get this thing running.

I'm working on this with a friend so if you have a good idea for us could
you CC: [EMAIL PROTECTED]


[root@server9 qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/usr/src/qmailadmin-0.42'
make[2]: Entering directory `/usr/src/qmailadmin-0.42'
gcc -I.   -g -O2 -c qmailadmin.c
gcc -I.   -g -O2 -c alias.c
gcc -I.   -g -O2 -c autorespond.c
gcc -I.   -g -O2 -c forward.c
gcc -I.   -g -O2 -c mailinglist.c
gcc -I.   -g -O2 -c sysadmin.c
gcc -I.   -g -O2 -c user.c
In file included from user.c:32:
vpopmail_config.h:138:17: warning: "PACKAGE" redefined
config.h:97:1: warning: this is the location of the previous definition
vpopmail_config.h:141:17: warning: "VERSION" redefined
config.h:100:1: warning: this is the location of the previous definition
gcc -I.   -g -O2 -c util.c
gcc -I.   -g -O2 -c auth.c
gcc -I.   -g -O2 -c template.c
gcc -I.   -g -O2 -c command.c
gcc -I.   -g -O2 -c show.c
gcc -I.   -g -O2 -c cgi.c
gcc -I.   -g -O2 -c limits.c
gcc -I.   -g -O2 -c dotqmail.c
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o mailinglist.o 
sysadmin.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o  
-lnsl -lm -lcrypt 
autorespond.o: In function `main':
/usr/src/qmailadmin-0.42/autorespond.c:250: multiple definition of `main'
qmailadmin.o:/usr/src/qmailadmin-0.42/qmailadmin.c:84: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 1820 to 1474 in autorespond.o
qmailadmin.o: In function `main':
/usr/src/qmailadmin-0.42/qmailadmin.c:122: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/qmailadmin.c:125: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:164: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:194: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:210: undefined reference to `vauth_user'
/usr/src/qmailadmin-0.42/qmailadmin.c:229: undefined reference to `vget_assign'
alias.o: In function `show_redirect_lines':
/usr/src/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/usr/src/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
alias.o: In function `adddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
alias.o: In function `delredirectnow':
/usr/src/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
mailinglist.o: In function `delmailinglistnow':
/usr/src/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/usr/src/qmailadmin-0.42/mailinglist.c:287: undefined reference to `vdelfiles'
mailinglist.o: In function `showlistusers':
/usr/src/qmailadmin-0.42/mailinglist.c:439: undefined reference to `lowerit'
mailinglist.o: In function `showlistmod':
/usr/src/qmailadmin-0.42/mailinglist.c:484: undefined reference to `lowerit'
mailinglist.o: In function `addlistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:539: undefined reference to `lowerit'
mailinglist.o: In function `addlistmodnow':
/usr/src/qmailadmin-0.42/mailinglist.c:573: undefined reference to `lowerit'
mailinglist.o: In function `dellistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:676: undefined reference to `lowerit'
mailinglist.o:/usr/src/qmailadmin-0.42/mailinglist.c:706: more undefined references to 
`lowerit' follow
user.o: In function `show_user_lines':
/usr/src/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:125: