Re: How to Unsubscribe from qmail mailing lists

2001-08-14 Thread FRANCO FERNANDES


Hi!,

I had subscribed to receive qmail mailing lists messages by sending an
empty message to
[EMAIL PROTECTED] from my subscribed address i.e
[EMAIL PROTECTED], now i want to unsubscribe from it as i have subscribed
with my other address.
I tried sending an empty message from the same address to
[EMAIL PROTECTED], but it gave me an error message which is
as below,can you help me with this  it is urgent.

Thanks  Regards
Franco.F

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: The address

   [EMAIL PROTECTED]

is not on this mailing list.


See http://pobox.com/~djb/qmail.html for more information about qmail.

Please read http://pobox.com/~djb/qmail/faq.html before sending your
question to the qmail mailing list.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   [EMAIL PROTECTED]:
   Receive future messages sent to the mailing list.

   [EMAIL PROTECTED]:
   Stop receiving messages.

   [EMAIL PROTECTED]:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [EMAIL PROTECTED] as your subscription address, send mail
to [EMAIL PROTECTED].
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 17465 invoked from network); 7 Aug 2001 11:00:43 -
Received: from unknown (HELO support-34) (203.197.56.227)
  by muncher.math.uic.edu with SMTP; 7 Aug 2001 11:00:43 -
Received: from 192.68.1.200 by support-34 ([192.68.1.34] running VPOP3)
with ESMTP for
[EMAIL PROTECTED]
; Tue, 7 Aug 2001 16:25:07 +0530
To:
[EMAIL PROTECTED]
X-Mailer: Lotus Notes Release 5.0.4  June 8, 2000
Message-ID: OF517084B3.6DE39A4F-ONE5256AA1.003761F8@LocalDomain
From: FRANCO FERNANDES [EMAIL PROTECTED]
Date: Tue, 7 Aug 2001 15:35:03 +0530








Mail Filtering or rewriting

2001-08-14 Thread Md. Sifat Ullah Patwary

Hi all!

Recently we are facing a problem of mail bombing from
some MS Win9x customer. Its due to a email worm. It
sends a virus file attached with. extensions are
*.pif, *.lnk etc.

I was looking for any patch which will help me to scan
this attached files and do the needful. Is there any?

Secondly, some clients are sending a mail with 1000 cc
or bcc to my local users. Is there any tools to stop
this junk mails?

Thanks in advance.

Sifat

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: qmail + Courrier-IMAP vs just Courrier-IMAP server (newbie)

2001-08-14 Thread Balazs Nagy

#include imho.h

On Tue, Aug 14 2001, Jean-Christian Imbeault [EMAIL PROTECTED] wrote:

 My original plan was to install qmail - VMailMgr - Courrier-IMAP. But after 
 a little reading I find out that Courrier-IMAP has it own email server 
 implementation. So it seems that qmail is not needed?

Yeah, it seams so.

 Am I right? If so what are the advantages/disadvantages to either using 
 qmail with the Courrier-IMAP engine or just using Courrier as the mail and 
 IMAP server?

No, you're wrong.  There're some nifty features like userauth and tlsauth in
courier, but just look into the source  code.  I don't say that's a mess but
there're some design flaws in that what are missing from qmail.
---jul



connection_limit_reached

2001-08-14 Thread Edward

I have a client who has an Exchange server setup at his premises.
Mail getting to his server comes up with this error at times.

in /var/qmail/control/ smtproutes  i have  domainname:[64.110.110.166]
in /var/qmail/control/rcpthosts i have domainname

delivery 56991: deferral:
Connected_to_64.110.110.166_but_greeting_failed./Remote_host_said:_421_uga1n
t01.domainname_connection_limit_reached/


what could be the cause of this error in the logs..


Edward




vmailmgr and svc problem (newbie)

2001-08-14 Thread Jean-Christian Imbeault

I have installed VMailMgr on my system but I can't quite figure out how to 
get the daemon up and running using svc. I'm on an OpenBSD2.9 system and all 
the instruction I have found are for Linux and it's rc.d files and svc-start 
options.

Can anyone tell me how to set up vmailmgr with svs so that it is started 
automatically and properly using tcpeserver?

Thanks!

Jc

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Mail Filtering or rewriting

2001-08-14 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 01:00:24AM -0700, Md. Sifat Ullah Patwary wrote:
 Recently we are facing a problem of mail bombing from
 some MS Win9x customer. Its due to a email worm. It
 sends a virus file attached with. extensions are
 *.pif, *.lnk etc.
 
 I was looking for any patch which will help me to scan
 this attached files and do the needful. Is there any?

yes, of course, use qmail-scanner. It has userdefinable attechment 
filters, and can operate an commercial virus scanner for mime 
attachments. you have to apply the qmailqueue patch, and define a 
QMAILQUEUE variable in your smtp startup script. 
qmail-scanner is very nice, i use it myself to protect those windooze 
computers in my network.

 Secondly, some clients are sending a mail with 1000 cc
 or bcc to my local users. Is there any tools to stop
 this junk mails?

yes, of course. Most probably the tarpitting patch from qmail.org will 
help you in this issue

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: connection_limit_reached

2001-08-14 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 12:46:09PM +0300, Edward wrote:
 what could be the cause of this error in the logs..

read it again and again. 
connection limit reaches
probably you have to much qmail-remotes which connect to the server. You 
have to lower your concurrencyremote limit


-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: connection_limit_reached

2001-08-14 Thread Henning Brauer

On Tue, Aug 14, 2001 at 12:46:09PM +0300, Edward wrote: 
 delivery 56991: deferral:
 Connected_to_64.110.110.166_but_greeting_failed./Remote_host_said:_421_uga1n
 t01.domainname_connection_limit_reached/

What exactly in Remote host said did you not understand?

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: connection_limit_reached

2001-08-14 Thread Thomas Knop

* Edward [EMAIL PROTECTED] [14.08.01 11:46]:
 I have a client who has an Exchange server setup at his premises.
 Mail getting to his server comes up with this error at times.
 
 in /var/qmail/control/ smtproutes  i have  domainname:[64.110.110.166]
 in /var/qmail/control/rcpthosts i have domainname
 
 delivery 56991: deferral:
 Connected_to_64.110.110.166_but_greeting_failed./Remote_host_said:_421_uga1n
 t01.domainname_connection_limit_reached/
I think your client has a problem. The exchange server seems to be busy and rejects
new smtp connections. Don't ask me how to setup connection limits on an exchange
server.

Thomas



Logrotating with multilog

2001-08-14 Thread Martin Hasenbein

Hi,

I'm using qmail with the daemontools and my logs are generated by
multilog. I'm running qmail for example like this:

#!/bin/sh

exec env - PATH=/var/qmail/bin:$PATH \
qmail-start ./Maildir/ multilog t s100 n100 /usr/local/server/qmail/main

Is it possible to make multilog rotate logfiles, lets say every night at 0??

/martin


---


   Martin Hasenbein  Phone (Fax): (+49) 89 1216376-1 (3)
 \|/   Weiglstr.9mailto:[EMAIL PROTECTED]
 @ @   D-80636 München   http://martin.hasenbein.com
-oOO-(_)-OOo

On the 8th day, god created Unix ;-)



Re: Unsubscribe from qmail mailing lists

2001-08-14 Thread FRANCO FERNANDES

Hi!,

I had subscribed to receive qmail mailing lists messages by sending an
empty message to
[EMAIL PROTECTED] from my subscribed address i.e
[EMAIL PROTECTED], now i want to unsubscribe from it as i have subscribed
with my other address.
I tried sending an empty message from the same address to
[EMAIL PROTECTED], but it gave me an error message which is
as below,can you help me with this  it is urgent.

Thanks  Regards
Franco.F

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: The address

   [EMAIL PROTECTED]

is not on this mailing list.


See http://pobox.com/~djb/qmail.html for more information about qmail.

Please read http://pobox.com/~djb/qmail/faq.html before sending your
question to the qmail mailing list.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   [EMAIL PROTECTED]:
   Receive future messages sent to the mailing list.

   [EMAIL PROTECTED]:
   Stop receiving messages.

   [EMAIL PROTECTED]:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [EMAIL PROTECTED] as your subscription address, send mail
to [EMAIL PROTECTED].
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 17465 invoked from network); 7 Aug 2001 11:00:43 -
Received: from unknown (HELO support-34) (203.197.56.227)
  by muncher.math.uic.edu with SMTP; 7 Aug 2001 11:00:43 -
Received: from 192.68.1.200 by support-34 ([192.68.1.34] running VPOP3)
with ESMTP for
[EMAIL PROTECTED]
; Tue, 7 Aug 2001 16:25:07 +0530
To:
[EMAIL PROTECTED]
X-Mailer: Lotus Notes Release 5.0.4  June 8, 2000
Message-ID: OF517084B3.6DE39A4F-ONE5256AA1.003761F8@LocalDomain
From: FRANCO FERNANDES [EMAIL PROTECTED]
Date: Tue, 7 Aug 2001 15:35:03 +0530










Problems.

2001-08-14 Thread Daniel Abad

Hi all!

I moved vpopmail directory and /var/qmail too to a new machine... and I
can´t start qmail-send.

See maillog:

Aug 14 08:35:23 Server qmail: 997788923.470628 alert: cannot start: unable
to open mutex


What´s is mutex??? I can´t understand.

The tcpserver services started with no problems.
Help me please!

Tks. 
Dan

-Mensagem original-
De: FRANCO FERNANDES [mailto:[EMAIL PROTECTED]]
Enviada em: Terça-feira, 14 de Agosto de 2001 06:56
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Assunto: Re: Unsubscribe from qmail mailing lists


Hi!,

I had subscribed to receive qmail mailing lists messages by sending an
empty message to
[EMAIL PROTECTED] from my subscribed address i.e
[EMAIL PROTECTED], now i want to unsubscribe from it as i have subscribed
with my other address.
I tried sending an empty message from the same address to
[EMAIL PROTECTED], but it gave me an error message which is
as below,can you help me with this  it is urgent.

Thanks  Regards
Franco.F

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: The address

   [EMAIL PROTECTED]

is not on this mailing list.


See http://pobox.com/~djb/qmail.html for more information about qmail.

Please read http://pobox.com/~djb/qmail/faq.html before sending your
question to the qmail mailing list.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   [EMAIL PROTECTED]:
   Receive future messages sent to the mailing list.

   [EMAIL PROTECTED]:
   Stop receiving messages.

   [EMAIL PROTECTED]:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [EMAIL PROTECTED] as your subscription address, send mail
to [EMAIL PROTECTED].
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 17465 invoked from network); 7 Aug 2001 11:00:43 -
Received: from unknown (HELO support-34) (203.197.56.227)
  by muncher.math.uic.edu with SMTP; 7 Aug 2001 11:00:43 -
Received: from 192.68.1.200 by support-34 ([192.68.1.34] running VPOP3)
with ESMTP for
[EMAIL PROTECTED]
; Tue, 7 Aug 2001 16:25:07 +0530
To:
[EMAIL PROTECTED]
X-Mailer: Lotus Notes Release 5.0.4  June 8, 2000
Message-ID: OF517084B3.6DE39A4F-ONE5256AA1.003761F8@LocalDomain
From: FRANCO FERNANDES [EMAIL PROTECTED]
Date: Tue, 7 Aug 2001 15:35:03 +0530









Re: Logrotating with multilog

2001-08-14 Thread Henning Brauer

On Tue, Aug 14, 2001 at 12:42:19PM +0200, Martin Hasenbein wrote:
 Is it possible to make multilog rotate logfiles, lets say every night at 0??

multilog rotates by size, not time.

http://cr.yp.to/daemontools/multilog.html

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Security Check generated by AXENT Netrecom 3.0 points security flaw in qmail-smtpd

2001-08-14 Thread Agnaldo M. Monteiro

Hi all,

I have qmail 1.03, with tcpserver, vpopmail and qmailscanner and when I test my 
network for vulnerabilities using
AXENT Netrecom 3.0 the following security results is displayed about my qmail server 
host:

SMTP allows remote command execution via recipient filter.
Risk: 86
Description: Attackers can execute arbitrary shell commands by addressing e-mail to a 
filter.

Note: If your SMTP software does not support filters, this is not a vulnerability. 
if you are not sure if your SMTP
 software supports filters, contact your vendor. This vulnerability aplies 
primarily to UNIX systems.
Solution: Upgrade or replace your SMTP server, or verify that it does not support 
filter.

Questions: Anybody know anything about this? Where can I get additional information 
about this? This Results checks is True or false? 

(Sorry by my poor english)

Best regards,


Agnaldo Mariano Monteiro




svc won't shutdown supervised pop3d...

2001-08-14 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello,
I've added supervising of qmail-pop3d and POP3S support via stunnel
and qmail-pop3d to what is a pretty standard LWQ+vpopmail based
setup.

I added the following files to the LWQ setup:

/var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
/usr/local/bin/tcpserver -u `id -u vpopmail` -g `id -g vpopmail` -v
- -R 0 110 /var/qmail/bin/qmail-popup \
`hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

/var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/pop3d


/var/qmail/supervise/qmail-spop3d/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/spop3d

/var/qmail/supervise/qmail-spop3d/run
#!/bin/sh
/usr/local/bin/tcpserver -R -H -D -c 50 \\
- -v -u `id -u vpopmail` -g `id -g vpopmail` 0 pop3s
/usr/local/sbin/stunnel -T -p /etc/stunnel.pem -l \
/var/qmail/bin/qmail-popup -- qmail-popup `hostname`
/bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir 21


which get started by the following qmailctl extract (which is, AFAIK,
qmailctl-0.68 or something, as for some reason, I can't get to 0.70
to
work but OTOH, I don't mind it as I don't want to pollute / with a
services directory anyway:

 start)
echo -n Starting qmail: svscan
cd /var/qmail/supervise
exec env - PATH=\$PATH svscan 
echo \$!  /var/run/svscan.pid
echo .
;;
  stop)
echo -n Stopping qmail: svscan
kill `cat /var/run/svscan.pid`
echo -n  qmail
svc -dx /var/qmail/supervise/*
echo -n  logging
svc -dx /var/qmail/supervise/*/log
echo .

Now starting the (s)pop3d isn't a problem at all and logging is being
done as it should, but qmailctl stop will only shutdown qmail-send
and
qmail-smtpd but not the tcpservers for (S)POP3 and if one decides
to do qmailctl start then, supervise will eat up all system resources
trying to start new tcpservers which obviously fails cause there
are still the old ones around.

What am I doing wrong?

BTW: In case anyone is interested, I got a Perl script that sets all
this stuff up automatically on FreeBSD systems (basically it should
work
on others too, but it won't install the users as this is done by
the FreeBSD qmail port already), so if you like to have it, drop me a
note (but better wait til this last problem is fixed;-).



Best regards,
 Gabriel


-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO3kF1sZa2WpymlDxAQH10wf/WjF+erPNWAWoA4GGAR1blyFohv4tZVZu
yKKKX/2c9xWaRLin0gqDoKw30pjeK6dZGzkQfJ1ZawSeI3qLQxGSyT2KFbsf/Uco
Ae1y3A4hqLcqSYLZ2MXvCjZDXaNvHh7h89g2R2QIgZhK14AFnO+WXw0KTZatywLR
FEVlbm/RSzwgRzEh1IabodcqfvdcGWNvsvbsPewwNzouBATlqsspKqeheNr2cT9A
LPCPGJ16InKlB2gxmC/jAer6EAjrn2rDwdQo3QSJ+NU4fczvBYsGTZJuVieYd2Lf
r+zkkwDOymbHdRVB7XlP/ngLHIWYuNItlsp9ibXJx6twkDRbM+BT2w==
=n5JO
-END PGP SIGNATURE-




Re: Security Check generated by AXENT Netrecom 3.0 points security flaw in qmail-smtpd

2001-08-14 Thread Henning Brauer

On Tue, Aug 14, 2001 at 08:59:47AM -0300, Agnaldo M. Monteiro wrote:
 SMTP allows remote command execution via recipient filter.

As you didn't show us the SMTP transaction we can only guess what's meaned.
My guess is for RCPT TO: |/path/to/anything or something likely. This is
no risk in qmail. A false positive once more.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: Security Check generated by AXENT Netrecom 3.0 points security flaw in qmail-smtpd

2001-08-14 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Agnaldo,

Tuesday, August 14, 2001, 1:59:47 PM, you wrote:
 Questions: Anybody know anything about this? Where can I get
 additional information about this? This Results checks is True or
 false?

Someone should PLEASE correct me if I'm wrong but my experience with
Nessus checking our qmail servers has been pretty similar because
qmail
won't complain about broken To headers but simply ignore them so
there
isn't anything that this exploit could do to your server.




Best regards,
 Gabriel


-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO3kGaMZa2WpymlDxAQH2mAf6A0Ad2fsvVOlmDqu4USAclToe9Yk94Ifh
baCKpu0T2WMdIWiTslpOupMh4fNLbwTBYSqtyd7c7b48CLOuh6UUR1vDcfQS0tqN
bWeS11IfZeqNldmIaFd6dJdwbMU9ZAGfZPx5bNyb9SyhDPGi9OY4MTH65j9M24kw
6+gZqpLK8TQ743kl6et+f7ddKRY0SrmMwE35zLzc3RaKJ10grIH0iPedaK1wWIQz
dUuZbbPL2bDERezWbSIK/XFixAL0TUlow29EOrOfFziicnj4Dh+VGHrPRr8WDpG+
sLuZvTdkpuL/WGKSEFGEHGcjAbFNsFZUZoGzuwxQAi66abuLWaaoig==
=soou
-END PGP SIGNATURE-




Re: qmail + Courrier-IMAP vs just Courrier-IMAP server (newbie)

2001-08-14 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Jean-Christian,

Tuesday, August 14, 2001, 5:13:34 AM, you wrote:
 My original plan was to install qmail - VMailMgr - Courrier-IMAP.
 But after a little reading I find out that Courrier-IMAP has it own
 email server implementation. So it seems that qmail is not needed?

 Am I right? If so what are the advantages/disadvantages to either
 using qmail with the Courrier-IMAP engine or just using Courrier as
 the mail and IMAP server?

AFAIK, Mr. Sam doesn't consider courier-mta as being production
quality and I know of nobody that actually uses it. But if you want
to
use qmail and courier-imap in a virtual domain environment, I suggest
you take a look at http://inter7.com/vpopmail as courier-imap got
direct integration of vpopmail.


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO3kHDMZa2WpymlDxAQHuYQf9F3NM69LzTG9hNimFk2B72FaTf047jzVy
PH+C7+MuGvU+2CnI9jiavsIm9w6ChC+Eeq0VNps4UvYIwU1PJ09yP16Dtjh7xzXH
c/EIHEAmGMV3+g40JkXGQdOIwSIfj2lg2HFCtEM4g2nuVL5tUiJuPXBPajEtfXYs
rloUUurepslsIUyKhoIBmmpx28FNOtRhKnnF/pW8yI7pESdHwumi3gxZ5Hflk8oT
NDrmDvsShrMC5Kvg8b/hdw6vktAlqdnor/vjoFtHx2EkESVRLPoQI6mjKv3VtmMK
IJk/QwqbgVphrMGSb2At4i9L0QE7N5PWCjwlRYqHXu7AL1KsOrOozA==
=TnrE
-END PGP SIGNATURE-




Re: script filter before qmail-local .. solved

2001-08-14 Thread Jozef Hitzinger


Ok, just in case anybody else will fight with it too, I found this:
seekablepipe http://www.skarnet.org/software/qmail-local-mda/

-- 
jozef  :-)  




Announce: change-attachement-ext

2001-08-14 Thread Jozef Hitzinger


Yet another anti-worm/virus solution: don't virus-scan, only change the
attachement extensions so that the users can clickrun it. If you're
interested, have a look:

http://hico.fphil.uniba.sk/ht-wormfilter.html

-- 
jozef  :-)  




Re: Logrotating with multilog

2001-08-14 Thread Frank Tegtmeyer

Martin Hasenbein [EMAIL PROTECTED] writes:

 Is it possible to make multilog rotate logfiles, lets say every night at 0??

To add something to Hennings answer: from daemontools 0.75 on multilog
does also switch the log when receiving a SIGALRM.

Regards, Frank



errors from supervise

2001-08-14 Thread Florian Heiderich

Hello!

I'm a newbe in administrating (and installing) qmail.
Now I installed qmail completly, but it doesn't work. I used a
installation-howto, but now it doesn't work.
I have a init-script in /etc/rc.d/qmail

/etc/rc.d/qmail

#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case $1 in
start)
echo -n Starting qmail: svscan
cd /var/qmail/supervise
env - PATH=$PATH svscan 
echo $!  /var/run/svscan.pid
echo .
;;
stop)
echo -n Stopping qmail: svscan
echo -n  qmailn/svscan.pid
svc -dx /var/qmail/supervise/*
echo -n  logging
svc -dx /var/qmail/supervise/*/log
echo .
;;
stat)
cd /var/qmail/supervise
svstat * */log
;;
doqueue|alrm)
echo Sending ALRM signal to qmail-send.
svc -a /var/qmail/supervise/qmail-send
;;
queue)
qmail-qstat
qmail-qread
;;
reload|hup)
echo Sending HUP signal to qmail-send.
svc -h /var/qmail/supervise/qmail-send
;;
pause)
echo Pausing qmail-send
svc -p /var/qmail/supervise/qmail-send
echo Pausing qmail-smtpd
svc -p /var/qmail/supervise/qmail-smtpd
;;

cont)
echo Continuing qmail-send
svc -c /var/qmail/supervise/qmail-send
echo Continuing qmail-smtpd
svc -c /var/qmail/supervise/qmail-smtpd
;;
restart)
echo Restarting qmail:
echo * Stopping qmail-smtpd.
svc -d /var/qmail/supervise/qmail-smtpd
echo * Sending qmail-send SIGTERM and restarting.
svc -t /var/qmail/supervise/qmail-send
echo * Restarting qmail-smtpd.
svc -u /var/qmail/supervise/qmail-smtpd
;;
cdb)
tcprules /home/vpopmail/etc/tcp.smtp.cdb /home/vpopmail/etc/tcp.smtp.tmp
 /home
/vpopmail/etc/tcp.smtp
chmod 644 /home/vpopmail/etc/tcp.smtp*
echo Reloaded /home/vpopmail/etc/tcp.smtp.
;;
help)
cat HELP
stop -- stops mail service (smtp connections refused, nothing goes out)
start -- starts mail service (smtp connection accepted, mail can go out)
pause -- temporarily stops mail service (connections accepted, nothing
leaves)
cont -- continues paused mail service
stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM  restarts
it
doqueue -- sends qmail-send ALRM, scheduling queued messages for
delivery
reload -- sends qmail-send HUP, rereading locals and virtualdomains
queue -- shows status of queue
alrm -- same as doqueue
hup -- same as reload
HELP
;;
*)
echo Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}
exit 1
;;
esac
exit 0
//etc/rc.d/qmail

If I start the script (with /etc/rc.d/qmail start), I got error messages
on my console and I have to kill the all supervise processes from an
other console to stop these messages.

Here is an extract from the error messages on the conlose:

error

Starting qmail: svscan.
PLUTO:/etc/rc.d # tcpserver: option requires an argument -- c
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: option requires an argument -- c
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: option requires an argument -- c
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied

/error

Any hints?
Maybe someone could tell me, what supervise is?!
I didn't find any help or manpage.

Thanks
Best Regards
Florian



Re: Problems.

2001-08-14 Thread Charles Cazabon

Daniel Abad [EMAIL PROTECTED] wrote:
 
 I moved vpopmail directory and /var/qmail too to a new machine... and I
 can´t start qmail-send.
 
 See maillog:
 
 Aug 14 08:35:23 Server qmail: 997788923.470628 alert: cannot start: unable
 to open mutex
 
 What´s is mutex??? I can´t understand.

You moved the queue from one machine to another, and didn't bother
trying to fix any of the known and documented issues with doing this
afterwards.  Therefore, the lock mutex is pooch-screwed.

Do a make setup check with qmail stopped.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Logrotating with multilog

2001-08-14 Thread Bernhard Graf

Martin Hasenbein wrote

 I'm using qmail with the daemontools and my logs are generated by
 multilog. I'm running qmail for example like this:
 
 #!/bin/sh
 
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Maildir/ multilog t s100 n100 /usr/local/server/qmail/main
 
 Is it possible to make multilog rotate logfiles, lets say every night at 0??

This one is actually for Apache's pipe log mechanism, but should work
for qmail also (never used it myself):

http://www.ford-mason.co.uk/resources/cronolog/

Ciao
-- 
Bernhard Graf [EMAIL PROTECTED]



Re: errors from supervise

2001-08-14 Thread Charles Cazabon

Florian Heiderich [EMAIL PROTECTED] wrote:
 
 PLUTO:/etc/rc.d # tcpserver: option requires an argument -- c
 setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied

You didn't do the install correctly (specifically, you failed to create
one of the necessary control files for this script).  On top of that,
your daemontools isn't installed correctly.

Installation isn't a oh, it's close kind of thing.  You have to be
precise and accurate.  I suggest you un-install and follow the
instructions in Life with qmail (lifewithqmail.org) to the letter.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RES: errors from supervise

2001-08-14 Thread Agnaldo M. Monteiro

Hi,

Remember qmail need UID and GID, if you uses qmail with vpomail try the following:

This is a startup script for qmail/tcpserver/vpopamil/qmailscanner, in my System all 
works fine.

  echo Starting Qmail services with TcpServer: 
exec env - PATH=/var/qmail/bin:$PATH \
qmail-start ./Maildir splogger qmail

(env - PATH=/var/qmail/bin:/usr/local/bin \
  QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl \
/usr/local/bin/supervise /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb \
-c 100 -u 109 -g 103 0 smtp \
/usr/local/bin/rblsmtpd -rrelays.orbs.org -rrbl.maps.vix.com 
/var/qmail/bin/qmail-smtpd 21  /dev/null ) | splogger tcpserver 

env - PATH=/var/qmail/bin:/usr/local/bin \
/usr/local/bin/tcpserver -v -c 100 -u 109 -g 103 -H -R -x /etc/tcp.smtp.cdb 0 pop3 
/var/qma
il/bin/qmail-popup host.domain.com /var/vpopmail/bin/vchkpw /var/qmail
/bin/qmail-pop3d Maildir 

See qmail docs for details.

Best regards,

Agnaldo Mariano Monteiro
Engenharia de Sistemas
Fujitsu do Brasil Ltda.
Tel.:   (11) 245-0964 (Direto)
[EMAIL PROTECTED]

Here is an extract from the error messages on the conlose:

error

Starting qmail: svscan.
PLUTO:/etc/rc.d # tcpserver: option requires an argument -- c
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: option requires an argument -- c
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: option requires an argument -- c
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x
rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l
localname ] [ -t timeout ] host port program
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied
setuidgid: fatal: unable to run /usr/local/bin/multilog: access denied

/error

Any hints?
Maybe someone could tell me, what supervise is?!
I didn't find any help or manpage.

Thanks
Best Regards
Florian



Re: Logrotating with multilog

2001-08-14 Thread Adrian Ho

On Tue, Aug 14, 2001 at 03:16:12PM +0200, Frank Tegtmeyer wrote:
 To add something to Hennings answer: from daemontools 0.75 on multilog
 does also switch the log when receiving a SIGALRM.

And to add to Frank's 8-): There's a patch for daemontools  0.75 in
that mailing list's archive http://marc.theaimgroup.com/?l=log.  It
rotates on a SIGHUP, but that's easily changed.  Search for multilog
rotate signal.

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



/var/qmail tree

2001-08-14 Thread lbelon

HELLO!  

I have installed qmail and have launched the 'instcheck'
program.
'instcheck' printed the following messages:

[root@timsat-srv2 qmail]# ./bin/instcheck

instcheck: warning: /var/qmail/control has wrong owner
instcheck: warning: /var/qmail/users has wrong owner
instcheck: warning: /var/qmail/bin has wrong owner
instcheck: warning: /var/qmail/boot has wrong owner
instcheck: warning: /var/qmail/doc has wrong owner
instcheck: warning: /var/qmail/man has wrong owner
instcheck: warning: /var/qmail/alias has wrong owner

On my system the owner of all these folders is 'qmaill':

[root@timsat-srv2 /tmp]# cd /var/qmail/
[root@timsat-srv2 qmail]# ll
total 15
drwxrwxrwx3 rootroot   addons
drwxr-sr-x2 qmaill qmail   alias --
drwxr-xr-x2 qmaill qmail   bin --
drwxr-xr-x2 qmaill qmail   boot --
drwxr-xr-x2 qmaill qmail   control  --
drwxr-xr-x2 qmaill qmail   doc --
drwxr-xr-x6 qmaill qmail   man --
drwxr-x---   11 qmailq qmail   queue
-rwxr-xr-x1 rootroot   rc
-rwxr-xr-x1 rootroot   rc~
-rwxr-xr-x1 rootroot   rc.bak
-rwxr-xr-x1 qmaill rootrc.old
drwxr-xr-x4 qmaill rootsupervise
drwxr-xr-x2 qmaill qmail   users --


Could someone who have a working installed qmail server
tell me who should be the owner of these folders:
/var/qmail/control  owner:
/var/qmail/usersowner:
/var/qmail/bin  owner:
/var/qmail/boot owner:
/var/qmail/doc  owner:  
/var/qmail/man  owner:
/var/qmail/aliasowner:

Thanks!



Re: /var/qmail tree

2001-08-14 Thread Cecilia Cabrera

I have root as owner...


On Tue, 14 Aug 2001 [EMAIL PROTECTED] wrote:

 HELLO!

 I have installed qmail and have launched the 'instcheck'
 program.
 'instcheck' printed the following messages:

 [root@timsat-srv2 qmail]# ./bin/instcheck

 instcheck: warning: /var/qmail/control has wrong owner
 instcheck: warning: /var/qmail/users has wrong owner
 instcheck: warning: /var/qmail/bin has wrong owner
 instcheck: warning: /var/qmail/boot has wrong owner
 instcheck: warning: /var/qmail/doc has wrong owner
 instcheck: warning: /var/qmail/man has wrong owner
 instcheck: warning: /var/qmail/alias has wrong owner

 On my system the owner of all these folders is 'qmaill':

 [root@timsat-srv2 /tmp]# cd /var/qmail/
 [root@timsat-srv2 qmail]# ll
 total 15
 drwxrwxrwx3 rootroot   addons
 drwxr-sr-x2 qmaill qmail   alias --
 drwxr-xr-x2 qmaill qmail   bin --
 drwxr-xr-x2 qmaill qmail   boot --
 drwxr-xr-x2 qmaill qmail   control  --
 drwxr-xr-x2 qmaill qmail   doc --
 drwxr-xr-x6 qmaill qmail   man --
 drwxr-x---   11 qmailq qmail   queue
 -rwxr-xr-x1 rootroot   rc
 -rwxr-xr-x1 rootroot   rc~
 -rwxr-xr-x1 rootroot   rc.bak
 -rwxr-xr-x1 qmaill rootrc.old
 drwxr-xr-x4 qmaill rootsupervise
 drwxr-xr-x2 qmaill qmail   users --


 Could someone who have a working installed qmail server
 tell me who should be the owner of these folders:
 /var/qmail/control  owner:
 /var/qmail/usersowner:
 /var/qmail/bin  owner:
 /var/qmail/boot owner:
 /var/qmail/doc  owner:
 /var/qmail/man  owner:
 /var/qmail/aliasowner:

 Thanks!





Announce: QSP - Qmail Spamkiller Project

2001-08-14 Thread Boris Köster

Hello ,

Spamkiller engine for QMAIL with SHA authentication and more


I would like to announce my QSP - a new approach in blocking SPAM with
SHA authentication, special support for mailinglists, individual
templates and so on Its
a very modular system comes with rich API to make your own extensions.

I wrote this modules and libraries for python because I am really angry against spam 
and its
time to stop this with some intelligent and new ways and without the
usage of online-blacklists and so on.

Detailed project informations: www.x-itec.de/QSP

Source and Download available at the beginning of 09/2001

Tested with more than 90.000 mails at the moment.
Status: Development, SHA authentication is complete, working on the
next module for mailinglists.

If you want to read more about this interesting project, see my
project page. If you want to test it just for fun, send me a mail *ggg
to [EMAIL PROTECTED] - if the system is enabled, you will get an
authorization request. Otherwise there is a bug again -((

The project is free for download in 09/2001 and comes with source and
documentation. Pyhton required.


--
Boris Köster [MCSE, CNA]
void SurfTo ( http://www.x-itec.de ){ thanks(0);exit(0); }

Maintainer of the FreeBSD IPSEC-MiniHowTo
Mantainer of QSP - QMail Spamkiller Project





Re: /var/qmail tree

2001-08-14 Thread Dean Staff

On 14 Aug 2001, at 16:59, [EMAIL PROTECTED] wrote:

 HELLO!
 
 I have installed qmail and have launched the 'instcheck'
 program.
 'instcheck' printed the following messages:
 
 [root@timsat-srv2 qmail]# ./bin/instcheck
 
 instcheck: warning: /var/qmail/control has wrong owner
 instcheck: warning: /var/qmail/users has wrong owner
 instcheck: warning: /var/qmail/bin has wrong owner
 instcheck: warning: /var/qmail/boot has wrong owner
 instcheck: warning: /var/qmail/doc has wrong owner
 instcheck: warning: /var/qmail/man has wrong owner
 instcheck: warning: /var/qmail/alias has wrong owner
 
 On my system the owner of all these folders is 'qmaill':
 
 [root@timsat-srv2 /tmp]# cd /var/qmail/
 [root@timsat-srv2 qmail]# ll
 total 15
 drwxrwxrwx3 rootroot   addons
 drwxr-sr-x2 qmaill qmail   alias --
 drwxr-xr-x2 qmaill qmail   bin --
 drwxr-xr-x2 qmaill qmail   boot --
 drwxr-xr-x2 qmaill qmail   control  --
 drwxr-xr-x2 qmaill qmail   doc --
 drwxr-xr-x6 qmaill qmail   man --
 drwxr-x---   11 qmailq qmail   queue
 -rwxr-xr-x1 rootroot   rc
 -rwxr-xr-x1 rootroot   rc~
 -rwxr-xr-x1 rootroot   rc.bak
 -rwxr-xr-x1 qmaill rootrc.old
 drwxr-xr-x4 qmaill rootsupervise
 drwxr-xr-x2 qmaill qmail   users --
 
 
 Could someone who have a working installed qmail server
 tell me who should be the owner of these folders:
 [...]

Here's the info from my qmail box. FYI, I didn't install qmail from 
scratch, it can pre-installed with my Linux Distro. (e-smith)

Hope this helps.

total 40
drwxr-xr-x   10 root qmail4096 Jun 23 04:48 .
drwxr-xr-x   18 root root 4096 Jun 23 16:00 ..
drwxr-sr-x2 aliasqmail4096 Aug  7 14:04 alias
drwxr-xr-x2 root qmail4096 Jun 23 05:39 bin
drwxr-xr-x2 root qmail4096 Jun 23 04:48 boot
drwxr-xr-x2 root qmail4096 Aug  7 14:04 control
drwxr-xr-x3 root qmail4096 Jun 23 04:48 doc
drwxr-xr-x   10 root qmail4096 Jun 23 04:48 man
drwxr-x---   11 qmailq   qmail4096 Jun 23 04:48 queue
drwxr-xr-x2 root qmail4096 Aug  7 14:04 users

Cheers
Dean


Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733- ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com




Re: svc won't shutdown supervised pop3d...

2001-08-14 Thread Greg White

On Tue, Aug 14, 2001 at 02:04:51PM +0200, Gabriel Ambuehl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 
 Hello,
 I've added supervising of qmail-pop3d and POP3S support via stunnel
 and qmail-pop3d to what is a pretty standard LWQ+vpopmail based
 setup.
 
 I added the following files to the LWQ setup:
 
 /var/qmail/supervise/qmail-pop3d/run
 #!/bin/sh
 /usr/local/bin/tcpserver -u `id -u vpopmail` -g `id -g vpopmail` -v
 - -R 0 110 /var/qmail/bin/qmail-popup \
 `hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

Why not take the example from the Life With qmail document?
I'll give you a hint: the above lines are missing a call that starts all
'run' scripts. The child of 'supervise qmail-pop3d' is '/bin/sh' in your
script, not tcpserver as it should be.

 
 /var/qmail/supervise/qmail-spop3d/run
 #!/bin/sh
 /usr/local/bin/tcpserver -R -H -D -c 50 \\
 - -v -u `id -u vpopmail` -g `id -g vpopmail` 0 pop3s
 /usr/local/sbin/stunnel -T -p /etc/stunnel.pem -l \
 /var/qmail/bin/qmail-popup -- qmail-popup `hostname`
 /bin/checkpassword \
 /var/qmail/bin/qmail-pop3d Maildir 21

This one is missing the same crucial call.

--
Greg White



RES: /var/qmail tree

2001-08-14 Thread Agnaldo M. Monteiro

Hi,

My qmail have theses permissions and work fine

-rwxr-xr-x   1 root other204 Apr 20 15:35 rc
drwxr-xr-x   2 root qmail512 May 21 11:01 users
drwxr-xr-x   2 root qmail512 May 21 11:01 boot
drwxr-xr-x   2 root qmail   1024 May 21 11:01 doc
drwxr-xr-x  10 root qmail512 May 21 11:01 man
drwxr-sr-x   2 aliasqmail512 May 21 11:01 alias
drwxr-x---  11 qmailq   qmail512 Jul  5 17:05 queue
drwxr-xr-x   2 root qmail   1024 Aug  2 11:12 bin
drwxr-xr-x   2 root qmail512 Aug  9 14:41 control
#

Agnaldo Mariano Monteiro
Engenharia de Sistemas
Fujitsu do Brasil Ltda.
Tel.:   (11) 245-0964 (Direto)
[EMAIL PROTECTED]

- Mensagem original -
De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Enviada em: terca-feira, 14 de agosto de 2001 11:59
Para:   [EMAIL PROTECTED]
Assunto:/var/qmail tree

HELLO!  

I have installed qmail and have launched the 'instcheck'
program.
'instcheck' printed the following messages:

[root@timsat-srv2 qmail]# ./bin/instcheck

instcheck: warning: /var/qmail/control has wrong owner
instcheck: warning: /var/qmail/users has wrong owner
instcheck: warning: /var/qmail/bin has wrong owner
instcheck: warning: /var/qmail/boot has wrong owner
instcheck: warning: /var/qmail/doc has wrong owner
instcheck: warning: /var/qmail/man has wrong owner
instcheck: warning: /var/qmail/alias has wrong owner

On my system the owner of all these folders is 'qmaill':

[root@timsat-srv2 /tmp]# cd /var/qmail/
[root@timsat-srv2 qmail]# ll
total 15
drwxrwxrwx3 rootroot   addons
drwxr-sr-x2 qmaill qmail   alias --
drwxr-xr-x2 qmaill qmail   bin --
drwxr-xr-x2 qmaill qmail   boot --
drwxr-xr-x2 qmaill qmail   control  --
drwxr-xr-x2 qmaill qmail   doc --
drwxr-xr-x6 qmaill qmail   man --
drwxr-x---   11 qmailq qmail   queue
-rwxr-xr-x1 rootroot   rc
-rwxr-xr-x1 rootroot   rc~
-rwxr-xr-x1 rootroot   rc.bak
-rwxr-xr-x1 qmaill rootrc.old
drwxr-xr-x4 qmaill rootsupervise
drwxr-xr-x2 qmaill qmail   users --


Could someone who have a working installed qmail server
tell me who should be the owner of these folders:
/var/qmail/control  owner:
/var/qmail/usersowner:
/var/qmail/bin  owner:
/var/qmail/boot owner:
/var/qmail/doc  owner:  
/var/qmail/man  owner:
/var/qmail/aliasowner:

Thanks!



QMAIL-SMTPD and INETD

2001-08-14 Thread n1yew


QMAIL-SMPTD doesnt work with INETD. I installed it as the INSTALL
filedasaid to, but to no avail.  I rebooted the box and Qmail-SMTPD didnt
start.dadaAny help would be appreciated.dadaThis is the most current
verision and is installed into the defaultdadirectories.dadaThanks!daAndy



Re: QMAIL-SMTPD and INETD

2001-08-14 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 QMAIL-SMPTD doesnt work with INETD. I installed it as the INSTALL
 filedasaid to, but to no avail.  I rebooted the box and Qmail-SMTPD didnt
 start.dadaAny help would be appreciated.dadaThis is the most current
 verision and is installed into the defaultdadirectories.dadaThanks!daAndy

You didn't post what you did, so nobody can help you.

However, as you've noted, use of inetd/xinetd with qmail is deprecated.
It's much simpler to set up with tcpserver (from ucspi-tcp).  See djb's
documentation on his website at cr.yp.to, or do a Life with qmail
installation (see http://lifewithqmail.org).

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



stop relay messages :-)

2001-08-14 Thread Severin Olloz

Hello...

OK now stop-smtp-relaying works :-)

I can allow relaying messages over my smtp-server for some IP-adresses 
(/etc/tcp.smtp), but how can allow relaying for all clients of a 
internet-provider?

.aol.com:allow,RELAYCLIENT=

doesn't work!?

Any ideas?

Thanks very much for your help: Severin Olloz



Unable to establish an SMTP connection error

2001-08-14 Thread Gary MacKay

I have two people I can no longer email. It used to work just fine. I
have not changed anything on my qmail server. (I know, you've heard that
before! but I swear, I didn't). Both email addresses, I can telnet to
them on port 25 and get a prompt, so I know the domain part of the
addresses are OK. I can send to anyone else just fine, so I presume my
server is OK.

How can I get more info in the qmail-send/current log file so I can see
why it is failing?

- Gary



Re: stop relay messages :-)

2001-08-14 Thread Charles Cazabon

Severin Olloz [EMAIL PROTECTED] wrote:
 
 I can allow relaying messages over my smtp-server for some IP-adresses 
 (/etc/tcp.smtp), but how can allow relaying for all clients of a 
 internet-provider?
 
 .aol.com:allow,RELAYCLIENT=
 
 doesn't work!?

You can control relaying by host or domain name, but that's not the
correct syntax.  You really should read the documentation for ucspi-tcp
before trying this.  Note that unless you run tcpserver in paranoid
mode, this is not a great idea.

The bigger question is, why are you trying to be a relay SMTP host for
other ISPs?  What problem are you trying to solve?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Unable to establish an SMTP connection error

2001-08-14 Thread Charles Cazabon

Gary MacKay [EMAIL PROTECTED] wrote:
 I have two people I can no longer email. It used to work just fine. I
 have not changed anything on my qmail server. (I know, you've heard that
 before! but I swear, I didn't). Both email addresses, I can telnet to
 them on port 25 and get a prompt, so I know the domain part of the
 addresses are OK. I can send to anyone else just fine, so I presume my
 server is OK.
 
 How can I get more info in the qmail-send/current log file so I can see
 why it is failing?

You don't need more info -- qmail will log why the deliveries are
failing.  Show us the excerpts from the log of those deliveries failing.
For example, here's part of the log showing a spammer sending a message
to an account here that no longer exists::

@40003b7414140c9b8424 info msg 29424: bytes 2230 from
[EMAIL PROTECTED] qp 7986 uid 102
@40003b7414140e90dbe4 status: local 1/50 remote 0/150
@40003b7414140e90e79c starting delivery 9298: msg 29424 to local
[EMAIL PROTECTED]
@40003b7414140ec303bc status: local 1/50 remote 0/150
@40003b7414140ec53254 delivery 9298: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Connection died errors

2001-08-14 Thread edugargiulo

Hi all.

I have two qmail servers.
One have all the domain accounts and the other is the default smtp
server for all domain users. The problem is that some messages from
domain users to domain users are getting 4.4.2 error (connection died).

Bothe servers are on the same LAN.

How can I solve this problem?

-- 
GnuPG fingerprint = E933 B939 C730 F078 50AF  D352 5ACD 90FA 57E8 EABA

 PGP signature


RES: stop relay messages :-)

2001-08-14 Thread Agnaldo M. Monteiro

Hi,

If you know the ip range from your internet-provider, type this:

For example if you provider have IPS from 199.200.101.1 to 199.200.101.254,  the line 
in tcp.smtp file will be:

199.200.101.:allow,RELAYCLIENT=

In the last case, all subnets from this internet-provider will be informed.

Best regards,

Agnaldo Mariano Monteiro
Engenharia de Sistemas
Fujitsu do Brasil Ltda.
Tel.:   (11) 245-0964 (Direto)
[EMAIL PROTECTED]

- Mensagem original -
De: Severin Olloz [SMTP:[EMAIL PROTECTED]]
Enviada em: terca-feira, 14 de agosto de 2001 13:53
Para:   [EMAIL PROTECTED]
Assunto:stop relay messages :-)

Hello...

OK now stop-smtp-relaying works :-)

I can allow relaying messages over my smtp-server for some IP-adresses 
(/etc/tcp.smtp), but how can allow relaying for all clients of a 
internet-provider?

.aol.com:allow,RELAYCLIENT=

doesn't work!?

Any ideas?

Thanks very much for your help: Severin Olloz



Denying email by sender's From address

2001-08-14 Thread Nick Papageorge

Hi all,

I've tried searching through the qMail documentation as well as the 
databases here with no luck.

What I'm trying to do is drop a message from an external sender 
before it reaches the email of a specific internal sender (also, if 
possible, I would like to modify the scope of this so that it 
includes the ability to block globally, but that's much less 
important).

The use a .qmail file or a perl script to drop the messages before 
they reach their destination, but I would think that qMail would have 
something built into it?

Any help would be greatly appreciated.

Thanks in advance!

Nick Papageorge
 




Front-end virus scanner

2001-08-14 Thread skip-qmail

I'm trying to set up a qmail front-end smtp server to scan all mail for
seacove.net using qmail-scanner (scan4virus).

I was hoping to direct all mail for seacove.net to the front-end
machine(vscanner1.seacove.net) using an MX.record then route the mail on to
my primary server (mail.seacove.net) using control/smtproutes

The virus scanner and qmail is running fine on the front-end machine.  Both
the front end and primary mail hosts are running qmail-1.03 under tcpserver.

My MX record for seacove.net looks like this:

 IN MX10 vscanner1.seacove.net

vscanner1 has seacove.net in its rcpthosts, but not in its locals, and it
scans the mail and sends it on to mail.seacove.net because of an entry:

seacove.net:mail.seacove.net

in control/smtproutes.  Now mail.seacove.net has seacove.net is in locals,
so it accepts the mail and sends it to the maildirs.  So this setup works
just as I had envisioned it except for local mail from seacove.net to
seacove.net

I can't think of any way to route the local mail first to vscanner1 then
accept it the second time around when it comes back from vscanner1.  If I
remove seacove.net from control/locals on mail.seacove.net, I believe qmail
will use the MX record and send local mail for seacove.net on to vscanner1,
which creates a looping route, because mail.seacove.net will never accept
the mail.  Same if I use control/smtproutes, because I believe it will just
keep routing it back to vscanner1. In my case, changing the MUA settings to
use vscanner1 for outgoing mail is not a viable option.

Basically, I'm looking for a way for mail.seacove.net to send local mail
for seacove.net to vscanner1.seacove.net then have it sent back to
mail.seacove.net where it will be treated as a local.

Am I just wasting my time trying to do this or overlooking some obvious way
of treating this problem?  Any suggestions?

Thanks in advance,
Dennis Duval



Selective relay configuration problems

2001-08-14 Thread Rodney Broom

I've installed tcpserver, but I'm not sure that I'm invoking it =
properly. My questions are:
1. Should the 'tcpserver' execution line in qmail/rc?
2. If so, exactly what should qmail/rc now look like?

---
Rodney Broom
Programmer: Desert.Net



Life with qmail smtp daemontools

2001-08-14 Thread Eric Persson

Hi !

I've been fiddeling around to try installing qmail on my machine but
have got stuck with the smtppart. The delivering works fine, but I cant
use the machine as a smtp.

I read the http://lifewithqmail.org/lwq.html#install-ucspi where it says
I need to install daemontools and ucspi-tcp and then create a system
startupfile.
I used the startupscript available at
http://lifewithqmail.org/lwq.html#start-qmail but when I try to use it I
get 

[root@mailzx daemontools-0.70]# /etc/init.d/qmail start
Starting qmail
svok: fatal: unable to chdir to /service/qmail-send: file does not exist
qmail-send service not running
svok: fatal: unable to chdir to /service/qmail-smtpd: file does not
exist
qmail-smtpd service not running

I cant find any info on what those /service/qmail-send and
/service/qmail-smtpd should be, I tried to symlink them to the files in
/var/qmail/bin that has the same names, but it seems like
/service/qmail-send and /service/qmail-smtpd should be directories.

Can anyone point me in the right direction?

Thanks in advance..
eric



Re: Denying email by sender's From address

2001-08-14 Thread David Raistrick

On Tue, 14 Aug 2001, Nick Papageorge wrote:

 Hi all,
 
 I've tried searching through the qMail documentation as well as the 
 databases here with no luck.
 
 What I'm trying to do is drop a message from an external sender 
 before it reaches the email of a specific internal sender (also, if 


If you are satisfied with droping based on the mail From:  line (which may
or may not match the From: in the body)  qmail is equiped with the
dir/control/badmailfrom  file.  add the address there.

There is a patch (it required some tweaking to work on my install..) that
uses a badmailpatterns file instead, and allows you to use wildcard
expressions to drop by...either mail from: or rcpt to: matches.

http://www.unixpimps.org/wildmat/

And for an even broader scope, if you apply the qmail-queue patch, you can
stick all sorts of filters in after -smtpd to accept or reject...though
without patching qmail.c I dont see any way to change the error messages
that are given on blocked mail (exit(31))

http://www.qmail.org/qmailqueue-patch

Dru has a python script that allows you (the latest version, thanks
Dru!) to block, drop, or save off to a file based on a regular
expression(requires the qmail-queue patch)

http://sourceforge.net/projects/qmfilt/


I'd still like to figure out a way to use custom bounce messages ala the
way bouncesaying doesanyone have any idea?

thanks...david


--
David Raistrick (deep in the south georgia woods)
[EMAIL PROTECTED]




Re: Life with qmail smtp daemontools

2001-08-14 Thread John Groseclose

At 8:01 PM +0200 8/14/01, Eric Persson wrote:

I cant find any info on what those /service/qmail-send and
/service/qmail-smtpd should be, I tried to symlink them to the files in
/var/qmail/bin that has the same names, but it seems like
/service/qmail-send and /service/qmail-smtpd should be directories.

Can anyone point me in the right direction?

Go back and re-read Life with Qmail. This is covered extensively in 
the section on /var/qmail/supervise/ and symlinking the 
subdirectories to /service/, aka 2.8.2.2. The supervise scripts.
-- 
John Groseclose
[EMAIL PROTECTED]



Re: Life with qmail smtp daemontools

2001-08-14 Thread Greg White

On Tue, Aug 14, 2001 at 08:01:22PM +0200, Eric Persson wrote:
 [root@mailzx daemontools-0.70]# /etc/init.d/qmail start
 Starting qmail
 svok: fatal: unable to chdir to /service/qmail-send: file does not exist
 qmail-send service not running
 svok: fatal: unable to chdir to /service/qmail-smtpd: file does not
 exist
 qmail-smtpd service not running
 
 I cant find any info on what those /service/qmail-send and
 /service/qmail-smtpd should be,

Look a little closer at Life With qmail. It's in there, promise.

GW

-- 
Greg White



Re: Selective relay configuration problems

2001-08-14 Thread Charles Cazabon

Rodney Broom [EMAIL PROTECTED] wrote:
 I've installed tcpserver, but I'm not sure that I'm invoking it =
 properly. My questions are:
 1. Should the 'tcpserver' execution line in qmail/rc?

Not likely.  /var/qmail/rc is for starting qmail-send, not qmail-smtpd.

 2. If so, exactly what should qmail/rc now look like?

Have a look at Life with qmail -- Dave gives examples of just about
everything.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Denying email by sender's From address

2001-08-14 Thread Philipp Steinkrüger

Hi Nick,

check the bad* config files
- http://www.lifewithqmail.org/lwq.html#config-files

these my help you. there are several patches available at qmail.org to 
accomplish regex matching as well. 

regards,
philipp


Zitiere Nick Papageorge [EMAIL PROTECTED]:

 Hi all,
 
 I've tried searching through the qMail documentation as well as the 
 databases here with no luck.
 
 What I'm trying to do is drop a message from an external sender 
 before it reaches the email of a specific internal sender (also, if 
 possible, I would like to modify the scope of this so that it 
 includes the ability to block globally, but that's much less 
 important).
 
 The use a .qmail file or a perl script to drop the messages before 
 they reach their destination, but I would think that qMail would have 
 something built into it?
 
 Any help would be greatly appreciated.
 
 Thanks in advance!
 
 Nick Papageorge
  
 
 



--
Philipp Steinkrüger
Technik Oberberg Online
Tel.: 02261 814240
Fax : 02261 814919
http://www.oberberg.net



Qmailqueue patch over current qmail 1.03

2001-08-14 Thread board master

Hi,

I've already installed:

Qmail 1.03+Vpopmail 4.10+sqwebmail+daemontools+ezmlm+autoresond+ucspi 
(PHWEW!)

and I was wondering what would happen if I patched a brand new qmail 1.03 
with the qmailqueue patch (I want to use virus scanning) and installed the 
patched qmail over itself.  Would I lose anything?  Files, configurations, 
etc?

Thanks in advance,
Michael

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Qmailqueue patch over current qmail 1.03

2001-08-14 Thread Charles Cazabon

board master [EMAIL PROTECTED] wrote:
 
 I've already installed:
 
 Qmail 1.03+Vpopmail 4.10+sqwebmail+daemontools+ezmlm+autoresond+ucspi 
 (PHWEW!)
 
 and I was wondering what would happen if I patched a brand new qmail 1.03 
 with the qmailqueue patch (I want to use virus scanning) and installed the 
 patched qmail over itself.

You shouldn't have to use a brand new qmail 1.03 -- none of the
packages above require patching qmail, to my knowledge, so what you're
running now is a pure vanilla qmail plus addons.

 Would I lose anything?  Files, configurations, etc?

You shouldn't.  Just cd to the qmail source directory where you
previously compiled qmail.  Then apply the QMAILQUEUE patch, and do
make setup check.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Qmailqueue patch over current qmail 1.03

2001-08-14 Thread Paul Farber

No, I did.  the qmail-queue patch only mods 2 files and the config for it
is also by itself.

qmail-queue will slow down mail processing (did in my case) so if its a
medium/high volume smtp server then you better plan for some additional
bogomips to fire off the scanning.

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

On Tue, 14 Aug 2001, board master wrote:

 Hi,

 I've already installed:

 Qmail 1.03+Vpopmail 4.10+sqwebmail+daemontools+ezmlm+autoresond+ucspi
 (PHWEW!)

 and I was wondering what would happen if I patched a brand new qmail 1.03
 with the qmailqueue patch (I want to use virus scanning) and installed the
 patched qmail over itself.  Would I lose anything?  Files, configurations,
 etc?

 Thanks in advance,
 Michael

 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp






Re: Qmailqueue patch over current qmail 1.03

2001-08-14 Thread Charles Cazabon

Paul Farber [EMAIL PROTECTED] wrote:
 
 qmail-queue will slow down mail processing (did in my case) so if its a
 medium/high volume smtp server then you better plan for some additional
 bogomips to fire off the scanning.

Note that the QMAILQUEUE patch alone should not increase server load by
any measurable amount; it's whatever you run using QMAILQUEUE (i.e. a
virus scanner or other mail filter) which sucks CPU cycles and memory.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Configuring qmail to accept *all* mail

2001-08-14 Thread jeremy_frank

Hello,

I have a vanilla (life with qmail-style) qmail server up and running on an internal 
development x86 linux server. Since this is supposed to be a test server for some mail 
applications that are being developed, what I would like to do is to configure qmail 
to accept all mail it receives for local delivery and place it in a single directory.

I have already figured out that I can comment out the following two lines in 
qmail-smtpd.c in order to bypass the 'rcpt to' envelope check, so it will accept any 
email sent to the machine regardless of the address:
//  else
//if (!addrallowed()) { err_nogateway(); return; }

I also have a .qmail-default file in /var/qmail/alias, which redirects all local mail 
over to /home/devmail/Maildir.

The last piece of the puzzle is to short-circuit qmail-send (I'm guessing) so that it 
will hand all mail over to qmail-lspawn, and never to qmail-rspawn. Since I'm not a 
programmer, I'm having difficulty digging through qmail-send.c (over 1600 lines!) to 
figure out what to comment out and/or change. Any help at all would be greatly 
appreciated.

Thanks,
Jeremy Frank

Free, secure Web-based email, now OpenPGP compliant - www.hushmail.com




Configuring qmail to accept *all* mail

2001-08-14 Thread jeremy_frank

Hello,

I have a vanilla (life with qmail-style) qmail server up and running on an internal 
development x86 linux server. Since this is supposed to be a test server for some mail 
applications that are being developed, what I would like to do is to configure qmail 
to accept all mail it receives for local delivery and place it in a single directory.

I have already figured out that I can comment out the following two lines in 
qmail-smtpd.c in order to bypass the 'rcpt to' envelope check, so it will accept any 
email sent to the machine regardless of the address:
//  else
//if (!addrallowed()) { err_nogateway(); return; }

I also have a .qmail-default file in /var/qmail/alias, which redirects all local mail 
over to /home/devmail/Maildir.

The last piece of the puzzle is to short-circuit qmail-send (I'm guessing) so that it 
will hand all mail over to qmail-lspawn, and never to qmail-rspawn. Since I'm not a 
programmer, I'm having difficulty digging through qmail-send.c (over 1600 lines!) to 
figure out what to comment out and/or change. Any help at all would be greatly 
appreciated.

Thanks,
Jeremy Frank

Free, secure Web-based email, now OpenPGP compliant - www.hushmail.com




Re: Configuring qmail to accept *all* mail

2001-08-14 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 I have a vanilla (life with qmail-style) qmail server up and running
 on an internal development x86 linux server. Since this is supposed to
 be a test server for some mail applications that are being developed,
 what I would like to do is to configure qmail to accept all mail it
 receives for local delivery and place it in a single directory.

Very simple to do.
 
 I have already figured out that I can comment out the following two
 lines in qmail-smtpd.c in order to bypass the 'rcpt to' envelope
 check, so it will accept any email sent to the machine regardless of
 the address:

Totally unnecessary to patch qmail.  From the man page for qmail-send:

virtualdomains may contain wildcards:

 .fax:uucp-fax
 :alias-catchall
 .nowhere.mil:joe-foo-host
 
 I also have a .qmail-default file in /var/qmail/alias, which redirects
 all local mail over to /home/devmail/Maildir.

Use :alias-catchall in virtualdomains, and create
~alias/.qmail-catchall instead of patching.
 
 The last piece of the puzzle is to short-circuit qmail-send (I'm
 guessing) so that it will hand all mail over to qmail-lspawn, and
 never to qmail-rspawn. Since I'm not a programmer, I'm having
 difficulty digging through qmail-send.c (over 1600 lines!) to figure
 out what to comment out and/or change. Any help at all would be
 greatly appreciated.

With the catchall configuration above, no patching is necessary.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Qmailqueue patch over current qmail 1.03

2001-08-14 Thread Paul Farber

You are correct.  If you don't use it then it costs you nothing.

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

On Tue, 14 Aug 2001, Charles Cazabon wrote:

 Paul Farber [EMAIL PROTECTED] wrote:
 
  qmail-queue will slow down mail processing (did in my case) so if its a
  medium/high volume smtp server then you better plan for some additional
  bogomips to fire off the scanning.

 Note that the QMAILQUEUE patch alone should not increase server load by
 any measurable amount; it's whatever you run using QMAILQUEUE (i.e. a
 virus scanner or other mail filter) which sucks CPU cycles and memory.

 Charles





Qmail Without Inetd

2001-08-14 Thread suryadi

Can Qmail Works without inetd (in FreeBSD 3.5) and without others (such as
tcpserver, etc) ?

thx you

--sur--





Re: How to copy outoging messages?

2001-08-14 Thread qmail


I have about 50 users and they are in 5 groups.
I want to copy each group user outgoing message to their manager like a cc /bcc message.
I already compile qmail with extra.h. and see the FAQ of administration part,
but I still don't know how to make each email message in individual files like a single queue.
Moreover, I think it is more convenience for me to setup a qmail can copy
all incoming and outgoing email to a email account like forward.
Thank you for attentions.
 
Peter van Dijk wrote:
On Mon, Aug 13, 2001 at 10:22:25PM +0800, qmail wrote:[snip]
  where can find example of manager outgoing email messages?
Follow-up to the list, do not reply to me. Thank you.Greetz, Peter




Re: Qmail Without Inetd

2001-08-14 Thread Ahmad Ridha

suryadi writes:
 Can Qmail Works without inetd (in FreeBSD 3.5) and without others (such 
 as tcpserver, etc) ? 
 

CMIIW. No, qmail (spesifically qmail-smtpd) needs a 'server' (tcpserver, 
(x)inetd, etc) to listen to SMTP connection. 

Regards, 

Ahmad Ridha 




alternative inittab entry

2001-08-14 Thread qmail


Hello right now I start qmail with csh -cf '/var/qmail/rc ' 1 /dev/null
and tcpserver -x /etc/tcp.smtp.cdb -u1003 -g102 0 smtp
/var/qmail/bin/qmail-smtpd  

this is what I have in my /etc/inittab file:
qm:123456:respawn:/usr/local/bin/tcpserver  -x /etc/tcp.smtp.cdb -u1003
 -g102 0 smtp /var/qmail/bin/qmail-smtpd 

It works great but every now and then I get the dreaded spawning too fast
wait blah blah blah. 

I was just curious if maybe my entry was wrong or if maybe their was a
simplier way to set it up. 

And before you say it yes I know about LWQ and it's a great concept I just
like things simple and neat  =). 

thanks for any information that might help, Mike