what first..install checkpasword with mysql, or checkpassword first..

2001-02-09 Thread Miz

then after success, install again checkpassword but now with mysql.




Re: ipme.c patch

2001-02-09 Thread Scott Gifford

"James" [EMAIL PROTECTED] writes:

 There was recently some talk on this list about about patching ipme.c
 to add 0.0.0.0 to qmail's list of known local addresses.. and the
 original poster supplied a patch. However, the patch was only _part_
 of a bigger patch.. leaving those of us that aren't familiar with
 qmail's code in the dark.
 
 So.. my question is, could someone please post a complete patch to
 work around this issue? Or at least a URL to their patch? Thanks.

I have put a copy of the 0.0.0.0 patch (the same one I posted to this
mailing list a week or three ago) in:

http://www.tir.com/~sgifford/qmail/

at

http://www.tir.com/~sgifford/qmail/qmail-0.0.0.0.patch

That will be its permanent home, so feel free to link to it.

--ScottG.




Re: RBL and ORBS

2001-02-09 Thread Scott Gifford

"Andrew Wafula" [EMAIL PROTECTED] writes:

 Hello,
 
 I was at the ORBS site the other day and I saw that as from 1st Feb 2001
 relays.orbs.org would be deleted.
 
 This may seem dumb but here goes :).
 Now, does it mean that we can no longer use it to check for open
 relays 


  No, they just split it up, to make it easier to pick and choose the
parts of ORBS that you want to use.

  From the same part of the page that says that relays.orbs.org is
going away (http://www.orbs.org/usingindex.html):

* relays.orbs.org is going away and will be deleted by 1 February 2001.
* Manual entries and netblock entries have already been removed
  from relays.orbs.org.
* Use inputs.orbs.org for single stage relay filtering
* Use outputs.orbs.org for immediate filtering of multihop relays.
* Use delayed-outputs.orbs.org for multihop relay filtering using
  a 3-5 day grace period.

and also the experimental zones:

* manual.orbs.org - open relays tested manually and believed to be
  blocking the tester. Return code is 127.0.0.5. Updated: hourly
* spamsources.orbs.org - direct spam sources. Returns
  127.0.0.6. Updated: hourly
* untestable-netblocks.orbs.org - netblocks known to contain open
  relays and which have been proven to be blocking the ORBS tester
  or who have demanded that ORBS not test. Returns
  127.0.0.7. Updated: hourly
* spamsource-netblocks.orbs.org - spam source and support
  netblocks. - Returns 127.0.0.8. Updated: hourly

What this means is that you can configure your rblsmtpd to use:

-routputs.orbs.org

to get only use the actual, verified SPAM relays that ORBS does a good
job of finding, and avoid all of their political bullshit.  

And you can use

-rinputs.orbs.org

on your customers to make sure you don't allow them to send spam
through you as a third-party relay.

On the whole, it should be a good thing, even if you hate ORBS.  Makes
it easier to pick and choose which parts of ORBS you agree with, and
just filter based on them.  And it makes it harder for people to drop
mail that is blocked by the somewhat more biased parts of ORBS (like
spamsource and untestable-netblocks) without realizing that's what
they're doing.

 and if so what replacement do we have?

Although ORBS isn't going anywhere, the RBL (www.mail-abuse.org) does
similar things.

--ScottG.



Detail logging of POP3D

2001-02-09 Thread Tomas TPS Ulej

With sendmail/postfix + ipop3d I can log pop3d activities like (via
syslogd):

Feb  9 11:50:48 gh0st ipop3d[49838]: port 7110 service init from 195.168.1.77
Feb  9 11:50:52 gh0st ipop3d[49838]: Login user=tps host=gh0st.tps.sk [195.168.1.77] 
nmsgs=0/0
Feb  9 11:50:55 gh0st ipop3d[49838]: Logout user=tps host=gh0st.tps.sk [195.168.1.77] 
nmsgs=0 ndele=0

Can be same output reported with qmail' pop3d?

--
TPS

more? http://tps.sk





Re: qpop3 keeps alive!

2001-02-09 Thread Martin Akesson

On Fri, Feb 09, 2001 at 09:15:25AM -0200, Ari Arantes Filho mumbled:
 env - PATH="$PATH" svscan 
 echo $!  /var/run/svscan.pid

You are getting the pid of the env program.  You must start svscan
without a wrapper like env in order to get echo $! to work.

/Martin



Re: RBL and ORBS

2001-02-09 Thread Piotr Kasztelowicz

On 9 Feb 2001, Scott Gifford wrote:

   No, they just split it up, to make it easier to pick and choose the
 parts of ORBS that you want to use.

Also I must add to my blacklist the new ORBS addresses to avoid
to scan smtp of my servers

Thanks for info

Piotr
---
Piotr Kasztelowicz [EMAIL PROTECTED]
[http://www.am.torun.pl/~pekasz]




please help me - newbie questions

2001-02-09 Thread chris Günther

Hi folks,

I'm new to this list and as well to qmail. I'm supposed to set up
a mail-server for our company and I'm totally confused. My situation
is as follows:

We have am inernal net here with a Redhat Linux 6.2 Server. This server
is our DNS, firewall and fileserver, all in one. The Server has two
network cards, one with an internal address, say 192.168.1.3, and one 
with an official address say 24.3.19.73 - this is my birthday ;-)
The server is connected to our ISP via DSL and the connection is always
open. Now I have to set up qmail on this server and I just can't figure
out how this should work. I have followed all the instructions in the
source distribution to install and do the minmal configuration. The server
shoud be named smtp.uscreen.de for smtp and mail, or pop3.uscreen.de 
for pop - or should I use IMAP - I don't know. All I know is that the 
server needs to be up and running on next monday.

Can anyone direct me to a poit where there is a good description on how
to set up qmail from scratch??? The information on 
http://qmail.mirrors.Space.Net/top.html
weren't too helpfull. All I want to know is - where do I have to set up 
the mail servers forwarding the mails to other networks - for example if 
I'd want to send mail to this list from my workstation over our own
mailserver; where can I configure the pop-accounts for incoming mail
and so on. 

PLEEEAASEE help me out,

thankx in advance,

chris

+-+
|chris Gnther|
| |
|  Web  Database Developer   |
| Unix Administrator  |
| |
| --- |
|   uscreen   |
|  Gesellschaft fr Internet  |
| und Multimedia mbH  |
| |
| --- |
| Hofaue 51   |
| 42103 Wuppertal |
| |
| eMail   [EMAIL PROTECTED] |
| Fon (02 02) 979020 - 23 |
| Fax (02 02) 979020 - 11 |
+-+



Re: RBL and ORBS

2001-02-09 Thread Peter van Dijk

On Fri, Feb 09, 2001 at 08:47:06AM +0100, Piotr Kasztelowicz wrote:
 Hello
 
  This may seem dumb but here goes :).
  Now, does it mean that we can no longer use it to check for open relays and
  if so what replacement do we have?
 
 I had said about the mor free time!!!
 
 But is this really true, that ORBS has been closed permanently?

Not at all. In fact, they are enhancing their service and making it
more clear to users by getting rid of relays.orbs.org and serving a
couple of other zones.

Greetz, Peter.



Re: RBL and ORBS

2001-02-09 Thread Peter van Dijk

On Fri, Feb 09, 2001 at 12:55:07PM +0100, Piotr Kasztelowicz wrote:
 On 9 Feb 2001, Scott Gifford wrote:
 
No, they just split it up, to make it easier to pick and choose the
  parts of ORBS that you want to use.
 
 Also I must add to my blacklist the new ORBS addresses to avoid
 to scan smtp of my servers

How do you know what the addresses of the ORBS testers are?

Greetz, Peter.



Re: Detail logging of POP3D

2001-02-09 Thread Peter van Dijk

On Fri, Feb 09, 2001 at 11:51:10AM +0100, Tomas TPS Ulej wrote:
 With sendmail/postfix + ipop3d I can log pop3d activities like (via
 syslogd):
 
 Feb  9 11:50:48 gh0st ipop3d[49838]: port 7110 service init from 195.168.1.77
 Feb  9 11:50:52 gh0st ipop3d[49838]: Login user=tps host=gh0st.tps.sk [195.168.1.77] 
nmsgs=0/0
 Feb  9 11:50:55 gh0st ipop3d[49838]: Logout user=tps host=gh0st.tps.sk 
[195.168.1.77] nmsgs=0 ndele=0
 
 Can be same output reported with qmail' pop3d?

No, not easily.

Greetz, Peter.



Re: please help me - newbie questions

2001-02-09 Thread Paco Gracia

Start here and follow it step by step. This is the best qmail document
around:

http://web.infoave.net/~dsill/lwq.html

- Original Message -
From: "chris Gnther" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 1:10 PM
Subject: please help me - newbie questions


 Hi folks,

 I'm new to this list and as well to qmail. I'm supposed to set up
 a mail-server for our company and I'm totally confused. My situation
 is as follows:

 We have am inernal net here with a Redhat Linux 6.2 Server. This server
 is our DNS, firewall and fileserver, all in one. The Server has two
 network cards, one with an internal address, say 192.168.1.3, and one
 with an official address say 24.3.19.73 - this is my birthday ;-)
 The server is connected to our ISP via DSL and the connection is always
 open. Now I have to set up qmail on this server and I just can't figure
 out how this should work. I have followed all the instructions in the
 source distribution to install and do the minmal configuration. The server
 shoud be named smtp.uscreen.de for smtp and mail, or pop3.uscreen.de
 for pop - or should I use IMAP - I don't know. All I know is that the
 server needs to be up and running on next monday.

 Can anyone direct me to a poit where there is a good description on how
 to set up qmail from scratch??? The information on
 http://qmail.mirrors.Space.Net/top.html
 weren't too helpfull. All I want to know is - where do I have to set up
 the mail servers forwarding the mails to other networks - for example if
 I'd want to send mail to this list from my workstation over our own
 mailserver; where can I configure the pop-accounts for incoming mail
 and so on.

 PLEEEAASEE help me out,

 thankx in advance,

 chris

 +-+
 |chris Gnther|
 | |
 |  Web  Database Developer   |
 | Unix Administrator  |
 | |
 | --- |
 |   uscreen   |
 |  Gesellschaft fr Internet  |
 | und Multimedia mbH  |
 | |
 | --- |
 | Hofaue 51   |
 | 42103 Wuppertal |
 | |
 | eMail   [EMAIL PROTECTED] |
 | Fon (02 02) 979020 - 23 |
 | Fax (02 02) 979020 - 11 |
 +-+





sly spamers feed up !!!!

2001-02-09 Thread Kornyakov Yevgeniy

Hi !
can anybody help to me ?
I use  rcpthost file and record
192.168.:allow,RELAYCLIENT=""
for smtp rules
This rules work OK !

But If spamers try send message to my network
from  anywhere I can not block them (only via badmailfrom),
but spammer  change  often mail from:  record



How I can allow relay only for particular IP addresses
except letters to my network ??

Thanks



Regards.
Kornyakov Yevgeniy

ICQ 84686284
TexaKaBank
Tel +7 3272 349954





Re: Detail logging of POP3D

2001-02-09 Thread Ari Arantes Filho

I'm using 2 patchs to details the log:

qmail-pop3d.1.03-bench.patch -- it logs the POP access and size of the
messages on syslog
checkpassword-0.81-bench.patch -- it logs authencation errors on syslog

If you want I can send you the patchs. I don't remember the original URL!!!

Ari

 On Fri, Feb 09, 2001 at 11:51:10AM +0100, Tomas TPS Ulej wrote:
  With sendmail/postfix + ipop3d I can log pop3d activities like (via
  syslogd):
 
  Feb  9 11:50:48 gh0st ipop3d[49838]: port 7110 service init from
195.168.1.77
  Feb  9 11:50:52 gh0st ipop3d[49838]: Login user=tps host=gh0st.tps.sk
[195.168.1.77] nmsgs=0/0
  Feb  9 11:50:55 gh0st ipop3d[49838]: Logout user=tps host=gh0st.tps.sk
[195.168.1.77] nmsgs=0 ndele=0
 
  Can be same output reported with qmail' pop3d?






Re: sly spamers feed up !!!!

2001-02-09 Thread Peter van Dijk

On Fri, Feb 09, 2001 at 06:25:40PM +0600, Kornyakov Yevgeniy wrote:
[snip]
 How I can allow relay only for particular IP addresses
 except letters to my network ??

You already do so.

Greetz, Peter.



Re: Detail logging of POP3D

2001-02-09 Thread Peter van Dijk

On Fri, Feb 09, 2001 at 10:43:50AM -0200, Ari Arantes Filho wrote:
 I'm using 2 patchs to details the log:
 
 qmail-pop3d.1.03-bench.patch -- it logs the POP access and size of the
 messages on syslog
 checkpassword-0.81-bench.patch -- it logs authencation errors on syslog

Syslog is unreliable.

Greetz, Peter.



defaultdomain and defaulthost

2001-02-09 Thread Wolfgang Zeikat

we sometimes receive external mails with malformed addresses based on
client-sided addressbook entries like
Name; Firstname [EMAIL PROTECTED] 
(or something like that).

qmail notifies the sender that
Name;@webseek.de (which is our domain) does not exist.

i would like to prevent that completion to [EMAIL PROTECTED],
but i am want to ensure that mails sent locally (by scripts for example)
to "username" will still be delivered correctly.
also i have lots of aliases like
u.sername: username
and want those to keep working too.

so, is there a way to only disable that completion for mails received
via smtp (if thats what is needed) or some other way to solve the
problem on our side?

thanks

wolfgang



ETRN with qmail-ldap

2001-02-09 Thread Prashant Desai

hello  friends


i  am using qmail with  qmail-ldap-2601.patch  , i have
downloaded  serialmail package which adds ETRN functionality  to qmail
,but all the docs through which i have gone through explains how to use
it with qmail (which uses  files which resides on the disks for
authentication) , is there anyone who knows or using ETRN support with
qmail-ldap,
please  point me towards some links which explains this "ETRN with
qmail-ldap"

or guide me "how can i implement ETRN fuctionality with qmail-ldap"


Thanks   Regards
Prashant  Desai




Re: New Relayhost

2001-02-09 Thread Charles Cazabon

Jan Tietjen [EMAIL PROTECTED] wrote:
 
 In the future we are forced to use another additional MTA for outgoing mails,
 wich will relay our outgoing mails for us.  How can i configure my existing
 Qmail that outgoing mails will be relayed on the new MTA, and that my Qmail
 workstation only sends outgoing mails over this new additional host ?

echo ":a.b.c.d"  /var/qmail/control/smtproutes

where a.b.c.d is the IP address of the new relay host.  `man qmail-remote`
for details.

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



qmail-smtpd-auth

2001-02-09 Thread Ari Arantes Filho

Hi,

I've installed the patch of qmail-smtpd-auth-0.26 and it not working.
I'm running smtp with tcpserver:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=20
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd \
   /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 21

How can I test it like checkpassword and POP:

 # /var/qmail/bin/qmail-popup blah /bin/checkpassword pwd
 +OK ...@blah
 user Frodo
 +OK
 pass Friend
 -ERR authorization failed
???






RE: High MEM Usage??

2001-02-09 Thread Greg James

ps aux

will display all the processes and the % of memory in use.

Greg James

-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:37 PM
To: Sumith Ail; [EMAIL PROTECTED]
Subject: Re: High MEM Usage??


At 09:34 AM 2/4/2001, Sumith Ail wrote:

try free -m -t...

don't freak out about buffers.its just buffers that can be overwritten..

~kurth


Hello,

We have just received our server which is a Dual PIII with 512 MB RAM , RH
Linux 6.2 Box. I have installed qmail on this with tcpserver, Now the
meminfo shows
cat /proc/meminfo

 total:used:free:  shared: buffers:  cached:
Mem:  529530880 364380160 165150720 72847360 300982272 24657920
Swap: 10485514240 1048551424
MemTotal:517120 kB
MemFree: 161280 kB
MemShared:71140 kB
Buffers: 293928 kB
Cached:   24080 kB
BigTotal: 0 kB
BigFree:  0 kB
SwapTotal:  1023976 kB
SwapFree:   1023976 kB

There is hardly anybody using this server...please let me know how can I
find out which process is using so much of memory.

Kind Regards
Sumith




a question

2001-02-09 Thread Yavuz Malak



I use Freebsd4.2 and I have installed 
qmail-1.03

I ' ve installed daemontools-0.70 , 
checkpassword-0.90, ucspi-tcp-0.88

when I type "top" I see as 
following;

root 152 
3.7 0.5 852 440 con- S 
4:17PM 1:38.41 /usr/local/bin/supervise 
/service/qmailqmaild 153 0.0 0.6 
892 540 con- I 4:17PM 0:00.01 
/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.root 
154 0.0 0.3 860 312 con- I 
4:17PM 0:00.00 /var/qmail/bin/splogger smtpd 
3root 155 0.0 0.5 876 
416 con- I 4:17PM 0:00.01 
/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmqmaill 52761 0.0 
0.5 872 504 ?? R 
4:47PM 0:00.01 splogger qmailqmailq 52764 0.0 
0.5 852 416 ?? R 
4:47PM 0:00.00 qmail-cleanroot 52766 0.0 
0.4 840 356 ?? R 
4:47PM 0:00.00 qmail-start ./Maildir/ splogger 
qmailroot 52767 0.0 0.1 228 
112 ?? R 4:47PM 0:00.00 
qmail-lspawn ./Maildir/qmailr 52768 0.0 0.1 
260 132 ?? R 4:47PM 
0:00.00 qmail-rspawnqmailq 52769 0.0 0.1 220 
104 ?? R 4:47PM 0:00.00 
qmail-cleanqmails 52770 0.0 0.4 892 372 
?? R 4:47PM 0:00.01 
qmail-sendroot 52771 0.0 0.4 840 
356 ?? R 4:47PM 0:00.00 
qmail-start ./Maildir/ splogger qmailroot 52772 0.0 
0.4 840 356 ?? R 
4:47PM 0:00.00 qmail-start ./Maildir/ splogger 
qmailroot 52773 0.0 0.4 840 
356 ?? R 4:47PM 0:00.00 
qmail-start ./Maildir/ splogger qmailroot 52774 0.0 
0.4 840 356 ?? R 
4:47PM 0:00.00 qmail-start ./Maildir/ splogger 
qmail

and I typed bootscripts in qmail.sh as 
following;

###qmailsh -cf '/usr/local/bin/supervise 
/service/qmail '

###smtpd/usr/local/bin/tcpserver -H -R -x 
/etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \/var/qmail/bin/qmail-smtpd 21 
| /var/qmail/bin/splogger smtpd 3 

pop3d/usr/local/bin/tcpserver 0 110 
/var/qmail/bin/qmail-popup trial.qwe.com \/bin/checkpassword 
/var/qmail/bin/qmail-pop3d Maildir 


butI couldn't see qmail-smtpd, 
qmail-pop3d and qmail-remote services 

What shoul I do ?


qmail-pop3d and daemontools

2001-02-09 Thread Marcus Korte

Hi all,

I have set up a qmail server following the instructions in LWQ.
It works now.
I have also added vpopmail for virtual domain support.

pop3d runs, but it is the testing stage.
I would like to have a comfortable start-up and logging like qmail with svc.

My questions as follows:

Has anybody included the startup of the pop3d in the qmail startup-skript
(the one with start, stop, stat...) of LWQ?

How to run the qmail-po3d with the supervise/svcscan of daemontools?
Has anybody set this up, so that I don't have to fight with the options?

Under which user is it recommended to run the pop3d?

Thats all!
Thx for every answer!

Regards,
Marcus

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



Re: a question

2001-02-09 Thread Kurth Bemis

At 10:08 AM 2/9/2001, =?iso-8859-9?Q?Yavuz_Ma=FElak?= wrote:

well i see that your running tcpserver - and the line seem to be 
trundacated so its hard to tell what's running.  however you included your 
start up scripts so that helps a lot. :-)

did you try telneting to ports 25 and 110 on the machine.  those are the 
standard smtp and pop3 ports.  try typing ps -aux for a more detailed report.

~kurth

I use Freebsd4.2 and I have installed qmail-1.03

I ' ve installed daemontools-0.70 , checkpassword-0.90, ucspi-tcp-0.88

when I type "top" I see as following;

root 152  3.7  0.5   852  440 con- S 4:17PM   1:38.41 
/usr/local/bin/supervise /service/qmail
qmaild   153  0.0  0.6   892  540 con- I 4:17PM   0:00.01 
/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.
root 154  0.0  0.3   860  312 con- I 4:17PM   0:00.00 
/var/qmail/bin/splogger smtpd 3
root 155  0.0  0.5   876  416 con- I 4:17PM   0:00.01 
/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qm
qmaill 52761  0.0  0.5   872  504  ??  R 4:47PM   0:00.01 splogger qmail
qmailq 52764  0.0  0.5   852  416  ??  R 4:47PM   0:00.00 qmail-clean
root   52766  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start 
./Maildir/ splogger qmail
root   52767  0.0  0.1   228  112  ??  R 4:47PM   0:00.00 qmail-lspawn 
./Maildir/
qmailr 52768  0.0  0.1   260  132  ??  R 4:47PM   0:00.00 qmail-rspawn
qmailq 52769  0.0  0.1   220  104  ??  R 4:47PM   0:00.00 qmail-clean
qmails 52770  0.0  0.4   892  372  ??  R 4:47PM   0:00.01 qmail-send
root   52771  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start 
./Maildir/ splogger qmail
root   52772  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start 
./Maildir/ splogger qmail
root   52773  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start 
./Maildir/ splogger qmail
root   52774  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start 
./Maildir/ splogger qmail

and I typed bootscripts in qmail.sh as following;

###qmail
sh -cf '/usr/local/bin/supervise /service/qmail '

###smtpd
/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
/var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 

pop3d
/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup trial.qwe.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 


but I couldn't see qmail-smtpd , qmail-pop3d and qmail-remote services

What shoul I do ?




Re: Detail logging of POP3D

2001-02-09 Thread Tomas TPS Ulej

Unreliable is better than nothing ;)

Please Ari send me patch(es) sources or patched sources...

Thanx!

--
TPS

more? http://tps.sk



Friday, February 09, 2001, 1:55:47 PM, you wrote:
PvD On Fri, Feb 09, 2001 at 10:43:50AM -0200, Ari Arantes Filho wrote:
 I'm using 2 patchs to details the log:
 
 qmail-pop3d.1.03-bench.patch -- it logs the POP access and size of the
 messages on syslog
 checkpassword-0.81-bench.patch -- it logs authencation errors on syslog

PvD Syslog is unreliable.

PvD Greetz, Peter.





Re: a question

2001-02-09 Thread Yavuz Maslak

yes I can telnet ports 25 and 110 on the machine

but I can't see some daemons which qmail-smtpd,qmail-pop3d, etc, when I type
as "ps aux | grep qmail"
- Original Message -
From: "Kurth Bemis" [EMAIL PROTECTED]
To: "Yavuz Malak" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 5:10 PM
Subject: Re: a question


 At 10:08 AM 2/9/2001, =?iso-8859-9?Q?Yavuz_Ma=FElak?= wrote:

 well i see that your running tcpserver - and the line seem to be
 trundacated so its hard to tell what's running.  however you included your
 start up scripts so that helps a lot. :-)

 did you try telneting to ports 25 and 110 on the machine.  those are the
 standard smtp and pop3 ports.  try typing ps -aux for a more detailed
report.

 ~kurth

 I use Freebsd4.2 and I have installed qmail-1.03
 
 I ' ve installed daemontools-0.70 , checkpassword-0.90, ucspi-tcp-0.88
 
 when I type "top" I see as following;
 
 root 152  3.7  0.5   852  440 con- S 4:17PM   1:38.41
 /usr/local/bin/supervise /service/qmail
 qmaild   153  0.0  0.6   892  540 con- I 4:17PM   0:00.01
 /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.
 root 154  0.0  0.3   860  312 con- I 4:17PM   0:00.00
 /var/qmail/bin/splogger smtpd 3
 root 155  0.0  0.5   876  416 con- I 4:17PM   0:00.01
 /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qm
 qmaill 52761  0.0  0.5   872  504  ??  R 4:47PM   0:00.01 splogger
qmail
 qmailq 52764  0.0  0.5   852  416  ??  R 4:47PM   0:00.00 qmail-clean
 root   52766  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52767  0.0  0.1   228  112  ??  R 4:47PM   0:00.00
qmail-lspawn
 ./Maildir/
 qmailr 52768  0.0  0.1   260  132  ??  R 4:47PM   0:00.00
qmail-rspawn
 qmailq 52769  0.0  0.1   220  104  ??  R 4:47PM   0:00.00 qmail-clean
 qmails 52770  0.0  0.4   892  372  ??  R 4:47PM   0:00.01 qmail-send
 root   52771  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52772  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52773  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52774  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 
 and I typed bootscripts in qmail.sh as following;
 
 ###qmail
 sh -cf '/usr/local/bin/supervise /service/qmail '
 
 ###smtpd
 /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
 /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 
 
 pop3d
 /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup trial.qwe.com \
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
 
 
 but I couldn't see qmail-smtpd , qmail-pop3d and qmail-remote services
 
 What shoul I do ?






Re: a question

2001-02-09 Thread Kurth Bemis

At 10:29 AM 2/9/2001, Yavuz Maslak wrote:

hrm - some versions of ps i guess don't show extended information.  exactly 
what information are you looking for?  heres my ps aux | grep qmail output

trinity:/home/admin# ps aux | grep qmail
root   187  0.0  0.2  1316  552 ?SFeb06   0:01 tcpserver -v 
-R 0 pop3 /var/qmail/bin/qmail-popup trinity.usaexpress.net 
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
root   188  0.0  0.1  1012  420 ?SFeb06   0:02 
/var/qmail/bin/splogger pop3d
root   193  0.0  0.1   988  308 ?SFeb06   0:00 supervise 
qmail-send
root   196  0.0  0.1   988  308 ?SFeb06   0:00 supervise 
qmail-smtpd
qmaill 202  0.0  0.1  1004  352 ?SFeb06   0:00 
/usr/local/bin/multilog t /var/log/qmail
qmaill 204  0.0  0.1  1004  352 ?SFeb06   0:00 
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmails   10803  0.0  0.1  1044  396 ?SFeb06   0:06 qmail-send
qmaild   10805  0.0  0.2  1316  560 ?SFeb06   0:00 
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 20 -u 1002 -g 1001 0 
smtp /var/qmail/bin/qmail-smtpd
root 10810  0.0  0.1  1000  328 ?SFeb06   0:01 qmail-lspawn 
./Maildir/
qmailr   10811  0.0  0.1  1000  332 ?SFeb06   0:00 qmail-rspawn
qmailq   10812  0.0  0.1   992  340 ?SFeb06   0:00 qmail-clean
trinity:/home/admin#

send me your output and i'll try to narrow it down for ya.

~kurth

yes I can telnet ports 25 and 110 on the machine

but I can't see some daemons which qmail-smtpd,qmail-pop3d, etc, when I type
as "ps aux | grep qmail"
- Original Message -
From: "Kurth Bemis" [EMAIL PROTECTED]
To: "Yavuz Malak" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 5:10 PM
Subject: Re: a question


  At 10:08 AM 2/9/2001, =?iso-8859-9?Q?Yavuz_Ma=FElak?= wrote:
 
  well i see that your running tcpserver - and the line seem to be
  trundacated so its hard to tell what's running.  however you included your
  start up scripts so that helps a lot. :-)
 
  did you try telneting to ports 25 and 110 on the machine.  those are the
  standard smtp and pop3 ports.  try typing ps -aux for a more detailed
report.
 
  ~kurth
 
  I use Freebsd4.2 and I have installed qmail-1.03
  
  I ' ve installed daemontools-0.70 , checkpassword-0.90, ucspi-tcp-0.88
  
  when I type "top" I see as following;
  
  root 152  3.7  0.5   852  440 con- S 4:17PM   1:38.41
  /usr/local/bin/supervise /service/qmail
  qmaild   153  0.0  0.6   892  540 con- I 4:17PM   0:00.01
  /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.
  root 154  0.0  0.3   860  312 con- I 4:17PM   0:00.00
  /var/qmail/bin/splogger smtpd 3
  root 155  0.0  0.5   876  416 con- I 4:17PM   0:00.01
  /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qm
  qmaill 52761  0.0  0.5   872  504  ??  R 4:47PM   0:00.01 splogger
qmail
  qmailq 52764  0.0  0.5   852  416  ??  R 4:47PM   0:00.00 qmail-clean
  root   52766  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
  ./Maildir/ splogger qmail
  root   52767  0.0  0.1   228  112  ??  R 4:47PM   0:00.00
qmail-lspawn
  ./Maildir/
  qmailr 52768  0.0  0.1   260  132  ??  R 4:47PM   0:00.00
qmail-rspawn
  qmailq 52769  0.0  0.1   220  104  ??  R 4:47PM   0:00.00 qmail-clean
  qmails 52770  0.0  0.4   892  372  ??  R 4:47PM   0:00.01 qmail-send
  root   52771  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
  ./Maildir/ splogger qmail
  root   52772  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
  ./Maildir/ splogger qmail
  root   52773  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
  ./Maildir/ splogger qmail
  root   52774  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
  ./Maildir/ splogger qmail
  
  and I typed bootscripts in qmail.sh as following;
  
  ###qmail
  sh -cf '/usr/local/bin/supervise /service/qmail '
  
  ###smtpd
  /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
  /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 
  
  pop3d
  /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup trial.qwe.com \
  /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
  
  
  but I couldn't see qmail-smtpd , qmail-pop3d and qmail-remote services
  
  What shoul I do ?
 
 




Re: Detail logging of POP3D

2001-02-09 Thread Albert Hopkins



On Fri, Feb 09, 2001 at 04:23:47PM +0100, Tomas TPS Ulej wrote:
 Unreliable is better than nothing ;)

Not if you're talking about your spouse.

--a


-- 
 Albert Hopkins
 Sr. Systems Specialist
  Dynacare Laboratories 
  [EMAIL PROTECTED]




Re: a question

2001-02-09 Thread Vince Vielhaber

On Fri, 9 Feb 2001, Yavuz Maslak wrote:

 yes I can telnet ports 25 and 110 on the machine

 but I can't see some daemons which qmail-smtpd,qmail-pop3d, etc, when I type
 as "ps aux | grep qmail"

How about  "ps auxww | grep qmail"  in case it's off the edge?

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






how to apply psql-patch to qmail source???

2001-02-09 Thread chris Günther

Hi folks - its me again. 

I found the document very usefull so far, but now I wonder how 
and when I should apply the patches to the sourcetree. I need 
the qmail-pgsql-latest.patch and the checkpassword-pgsql-latest.patch
in my environment and as well I think I gonna use Mail2DB for 
my qmail installation. I'd like to know if I should try a normal 
install first or if I should apply all the patches and enhance-
ments at once and the do a complete install.

Has anyone a tip for me???

Second: I tried to apply the qmail-pgsql-latest.patch to the qmail-
sources but I seem to do something wrong because when I do:

patch qmail-pgsql-latest.patch

nothing happens. In the patch the first line tells sopmething like:

diff -ruN qmail-1.03/Makefile qmail-pgsql/Makefile

this I don't nderstand because all I have is the patchfile and the qmail-
source.

Please help again...


 chris Gnther

+-+
|chris Gnther|
| |
|  Web  Database Developer   |
| Unix Administrator  |
| |
| --- |
|   uscreen   |
|  Gesellschaft fr Internet  |
| und Multimedia mbH  |
| |
| --- |
| Hofaue 51   |
| 42103 Wuppertal |
| |
| eMail   [EMAIL PROTECTED] |
| Fon (02 02) 979020 - 23 |
| Fax (02 02) 979020 - 11 |
+-+



Strange qmail-smtpd hang with sympatico.ca clients

2001-02-09 Thread cmh

I have a running qmail-1.03 system (on FreeBSD) and I'm getting a very
strange problem receiving mail from users on sympatico.ca

I see a qmail-smtpd process and a qmail-queue process for each
incoming connection, but these just sit there, not doing anything. I
presume they're timing out after a really long time.

I used to be running rblsmtpd under tcpserver, and I've taken out both
and am now running a (known good) configuration under inetd.

Mail receiving works from ALL other domains, but I have never
successfully received mail from sympatico under my qmail. 

Now, at work, the qmail server (which is behind a cisco pix firewall)
has no trouble with sympatico things, and I'm thinking that the
difference there is that the pix prevents an EHLO handshake.

I've recorded a session on the problem server with recordio, and here
is the result: 
737  220 xyzzy.orange-carb.org ESMTP^M 
737  EHLO tomts7-srv.bellnexxia.net^M 
737  250-xyzzy.orange-carb.org^M 
737  250-PIPELINING^M 
737  250 8BITMIME^M 
737  MAIL FROM:^M 
737  250 ok^M 
737  RCPT TO:[EMAIL PROTECTED]^M 
737  250 ok^M 
737  DATA^M 
737  354 go ahead^M 

After this point, the session does nothing, seemingly forever or for a
long time. The socket is still open... netstat reports:
tcp0  0 xyzzy.smtptomts7.bellnexxi.6443 ESTABLISHED

The question is, why doesn't sympatico start sending data? It has the
go ahead... 

Has anyone else out there noticed problems receiving from sympatico?
That server claims to be running InterMail 
(InterMail vM.4.01.03.00 201-229-121) for receiving anyway... Are
there problems with InterMail? 

Any hints? If you want to test yourself it works even with
bounces. Just mail to something like [EMAIL PROTECTED] and
see if you get a bounce back. 

Colin

--
 || when we're little kids maybe we need stories 
Colin Henein || to help us go to sleep. but sooner or later we 
 || need stories to help us wake up... -- Utah Phillips




Re: qpop3 keeps alive!

2001-02-09 Thread Kris Kelley

Ari Arantes Filho wrote:
  env - PATH="$PATH" svscan 
  echo $!  /var/run/svscan.pid

Martin Akesson wrote:
 You are getting the pid of the env program.  You must start svscan
 without a wrapper like env in order to get echo $! to work.

His script is based on Dave Sill's LWQ start-up script.  Assuming I'm
understanding it correctly, recording the PID of the env program is not a
problem, since it morphs into svscan.  In other words, killing env will in
turn kill svscan.

Ari Arantes Filho also wrote:
  # begin -- /var/qmail/supervise/pop3d/run --
 
  #!/bin/sh
  /usr/local/bin/tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup
   myserver.domain.com \
   /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21

Here's the real problem.  Coincidentally, I ran into this same pitfall
myself just yesterday.  Put "exec" in front of the tcpserver command in this
script.

My understanding is that supervise is actually only supervising the run
script.  The "exec" command tells the script to turn itself into a tcpserver
process.  Without the "exec", the script creates a separate tcpserver
process, which supervise cannot control.

---Kris Kelley





Re: qmail-pop3d and daemontools

2001-02-09 Thread Kris Kelley

Marcus Korte wrote:
 Has anybody included the startup of the pop3d in the qmail startup-skript
 (the one with start, stop, stat...) of LWQ?

I created a new directory under /var/qmail/supervise, called qmail-pop3d.
This directory, and the scripts within, are very similar to
/var/qmail/supervise/qmail-smtpd.  The qmail-pop3d/run script invokes
tcpserver using Dave Sill's pop3d script in LWQ.  The qmail-pop3d/log/run
script invokes multilog which stores its log files in /var/log/qmail/pop3d.
Don't forget to set the sticky bit on /var/qmail/supervise/qmail-pop3d, and
also don't forget to "exec" commands in your scripts (see my last message).

Once I set up these directories, I was finished.  The standard LWQ start-up
script will start and stop qmail-pop3d at the same time as qmail-smtpd and
qmail proper, thanks to the wonder that is svscan.

---Kris Kelley




Re: a question

2001-02-09 Thread Kris Kelley

Yavuz Maslak wrote:
 yes I can telnet ports 25 and 110 on the machine

 but I can't see some daemons which qmail-smtpd,qmail-pop3d, etc, when I
type
 as "ps aux | grep qmail"

Looks like you're running two instances of tcpserver, so this is normal.
Keep in mind that it's actually tcpserver that is the resident daemon
process; tcpserver will create instances of qmail-smtpd and qmail-pop3d as
needed, when requests come in.

For kicks, try making a connection to port 25 or port 110 and then do a
process list.  You should see an instance of qmail-smtpd or qmail-pop3d
running then.

---Kris Kelley




Re: Strange qmail-smtpd hang with sympatico.ca clients

2001-02-09 Thread Marc Knoop

On Fri, Feb 09, 2001 at 11:47:08AM -0500, [EMAIL PROTECTED] wrote:
 Has anyone else out there noticed problems receiving from sympatico?

I have two qmail servers which have no troubles receiving mail from sympatico.  

-- 
./mk




Re: ETRN with qmail-ldap

2001-02-09 Thread Alex Pennace

On Sat, Feb 10, 2001 at 06:55:26PM +0530, Prashant Desai wrote:
 i  am using qmail with  qmail-ldap-2601.patch  , i have
 downloaded  serialmail package which adds ETRN functionality  to qmail

It claims to do no such thing. Read http://cr.yp.to/serialmail.html



RE: a question

2001-02-09 Thread Tim Hunter

Look at those lines that start with tcpserver (thats the program you are
actually running) tcpserver runs the qmail processes.
Looks for the process as you have a port 25 or 110 session open and you will
see.


-Original Message-
From: Yavuz Maslak [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 10:29 AM
To: [EMAIL PROTECTED]; Kurth Bemis
Subject: Re: a question


yes I can telnet ports 25 and 110 on the machine

but I can't see some daemons which qmail-smtpd,qmail-pop3d, etc, when I type
as "ps aux | grep qmail"
- Original Message -
From: "Kurth Bemis" [EMAIL PROTECTED]
To: "Yavuz Malak" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 5:10 PM
Subject: Re: a question


 At 10:08 AM 2/9/2001, =?iso-8859-9?Q?Yavuz_Ma=FElak?= wrote:

 well i see that your running tcpserver - and the line seem to be
 trundacated so its hard to tell what's running.  however you included your
 start up scripts so that helps a lot. :-)

 did you try telneting to ports 25 and 110 on the machine.  those are the
 standard smtp and pop3 ports.  try typing ps -aux for a more detailed
report.

 ~kurth

 I use Freebsd4.2 and I have installed qmail-1.03
 
 I ' ve installed daemontools-0.70 , checkpassword-0.90, ucspi-tcp-0.88
 
 when I type "top" I see as following;
 
 root 152  3.7  0.5   852  440 con- S 4:17PM   1:38.41
 /usr/local/bin/supervise /service/qmail
 qmaild   153  0.0  0.6   892  540 con- I 4:17PM   0:00.01
 /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.
 root 154  0.0  0.3   860  312 con- I 4:17PM   0:00.00
 /var/qmail/bin/splogger smtpd 3
 root 155  0.0  0.5   876  416 con- I 4:17PM   0:00.01
 /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qm
 qmaill 52761  0.0  0.5   872  504  ??  R 4:47PM   0:00.01 splogger
qmail
 qmailq 52764  0.0  0.5   852  416  ??  R 4:47PM   0:00.00 qmail-clean
 root   52766  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52767  0.0  0.1   228  112  ??  R 4:47PM   0:00.00
qmail-lspawn
 ./Maildir/
 qmailr 52768  0.0  0.1   260  132  ??  R 4:47PM   0:00.00
qmail-rspawn
 qmailq 52769  0.0  0.1   220  104  ??  R 4:47PM   0:00.00 qmail-clean
 qmails 52770  0.0  0.4   892  372  ??  R 4:47PM   0:00.01 qmail-send
 root   52771  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52772  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52773  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 root   52774  0.0  0.4   840  356  ??  R 4:47PM   0:00.00 qmail-start
 ./Maildir/ splogger qmail
 
 and I typed bootscripts in qmail.sh as following;
 
 ###qmail
 sh -cf '/usr/local/bin/supervise /service/qmail '
 
 ###smtpd
 /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
 /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 
 
 pop3d
 /usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup trial.qwe.com \
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
 
 
 but I couldn't see qmail-smtpd , qmail-pop3d and qmail-remote services
 
 What shoul I do ?







Re: how to apply psql-patch to qmail source???

2001-02-09 Thread Charles Cazabon

chris Gnther [EMAIL PROTECTED] wrote:
 
 I'd like to know if I should try a normal install first or if I should apply
 all the patches and enhance- ments at once and the do a complete install.

I would strongly recommend you try a vanilla qmail install first.  Something
like what Dave Sill has documented in "Life with qmail" at www.lifewithqmail.org
would probably be ideal.

Once you are familiar with running an MTA (in general) and how to go about
managing qmail (in particular), then you may want to consider adding extra
functionality in the form of source patches.

 Second: I tried to apply the qmail-pgsql-latest.patch to the qmail-
 sources but I seem to do something wrong because when I do:
 
   patch qmail-pgsql-latest.patch
 
 nothing happens.

This isn't how you use `patch`.  Read the documentation for patch for more
details.  However, if you don't know how to use `patch`, you may be in over
your head for a qmail/Postgres installation.

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



per domain concurrency limits

2001-02-09 Thread Michael Ionescu

Hi all,

first off, yes, I'm quite aware that this subject has been discussed
at various times during the last couple of years. I am also aware of
the existence of Richard's domain-concurrency-patch and of its
drawbacks - and its removal from his website... ;(

Having spent numerous hours looking through this list's archives
and the qmail.org site, I still haven't found any mention of other
productive implementations that would effectively limit qmail-remote
concurrency on a per domain (or per MX or per IP - either would do
just as well) basis for the running qmail-send instance.

Is there such an implementation apart from Richard's patch?

If there isn't: Is there at least a consensus among developers about
the strategy? I've got a couple of ideas of my own and I've come
across a couple on the list, but I haven't found a summation article
or something of that type on the subject.

On his current website, Richard writes that the patch is
"not available, better options on www.qmail.org"
I can't seem to find those better options - at least not ones that
would have the effect I'm trying to achieve. Could you please give me
a pointer if I'm missing something here?

Cheers,

Michael

--
Michael H. Ionescu mailto:[EMAIL PROTECTED]
PIKS GmbH, Abt. ITB2, CC-Unix  phone:+49-(0)711-911-4236
Porschestrasse, D-71287 Weissach fax:+49-(0)711-911-3188
   PIKS  -  The Porsche IT-Company  -  UNIX-Systems Competence Center






Re: COmpiling qmail-1.03 under NCR sysr4 (mpras 4.2)

2001-02-09 Thread Dave Sill

Felix von Leitner [EMAIL PROTECTED] wrote:

Thus spake Jocelyn Clement ([EMAIL PROTECTED]):
 Anybody has any luck or experience with this OS.

What kind of question is this?

Sounds reasonble to me.

Why don't you just try and see if it works?

Maybe he's got better things to than build/install/configure/test
qmail on a platform that might not work well or at all with
qmail. Some failure modes are subtle and wouldn't show up in normal
testing.

ARGH!

Indeed. Would it not have been easier to just ignore his question if
you didn't know the answer?

-Dave



Re: generating bounce list

2001-02-09 Thread Dave Sill

Brandon Yu [EMAIL PROTECTED] wrote:

I am sending out a bunch of emails and would like to generate a list
usernames whose mail bounces. Does Qmail have any feature to accomplish
this? Or is there another way to accomplish this?

Sure, use VERP's, and in the VERP .qmail file, append the offending
address to the list of bouncing addresses.

-Dave



Re: Load Balancing

2001-02-09 Thread David L. Nicol

 
 I have a server called MLM and 4 servers called
 MLM1,2,3,4
 .
 
 MLM is a central server with Qmail and EZMLM, and the other servers are
 the RELAY
 


Run this to start your load balancing:

perl -e'chdir"/var/control/";while(1){sleep(1);system "echo :MLM${\(++$n%4 + 1)}sr_"; 
rename "sr_","smtproutes"}'

you might want to change the sleep interval to something higher.
Or change your relays to MLM0,1,2,3 so you can leave out the +1


Multi-level marketing sucks though





-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
  "I don't care how they do it in New York"




Tools to link qsend log with qsmtp log ?

2001-02-09 Thread Filip Sneppe \(Yucom\)

Hi,

(btw I have the daemontools installed)

Are there any tools or scripts out there that do the following:

- let you type in an email address (from: field) of a spammer
- parse through the qmail qsend logs to find the email address, then parse
through the qsmtp logs to retrieve the IP address of the person who used
this from: field ?

-Filip




Re: Tools to link qsend log with qsmtp log ?

2001-02-09 Thread Charles Cazabon

Filip Sneppe (Yucom) [EMAIL PROTECTED] wrote:
 
 Are there any tools or scripts out there that do the following:
 
 - let you type in an email address (from: field) of a spammer
 - parse through the qmail qsend logs to find the email address, then parse
 through the qsmtp logs to retrieve the IP address of the person who used
 this from: field ?

This information is recorded in the Received: header which qmail inserts
in every message it handles.  You don't need to parse any logs to retrieve it.

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



Getting the most out of Qmail?

2001-02-09 Thread Rick



Hello;

 I recently installed Qmail on a dedicated server I 
want to use qmail to send out email
to my double optin list (no spam here) I compiled 
qmail with 200 concurrent connections
and also created the nessecary control files... But it 
still took 3-4 hours to email my 48,000
members Is this normal, or is there any tricks to push out 
more???

Thank you!

-Rick
Findaroo.com



Re: Getting the most out of Qmail?

2001-02-09 Thread Charles Cazabon

Rick [EMAIL PROTECTED] wrote:
 
 I compiled qmail with 200 concurrent connections and also created the
 nessecary control files...  But it still took 3-4 hours to email my 48,000
 members Is this normal, or is there any tricks to push out more???

Insufficient info.  Read www.qmail.org -- there's a section on large servers.
Then tell us exactly what hardware you have, what kind of I/O subsystem and
disk /var/qmail/queue is on, what disk you're logging to, how you're logging
(splogger, multilog, etc).

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



Clustering qmail servers

2001-02-09 Thread Tracy R Reed

I am not trying to send a bunch of email (aka spam). I am trying to
receive a bunch of email (aka spam) and let users pop/imap it.  Using the
perdition (search freshmeat) imap/pop proxy I think I can have multiple
pop/imap servers with users assigned to each one and pass the user off to
the correct one according to a dbm/ldap/whatever lookup. Now the problem
is how do I get email addressed to a particular user onto the correct
server?  Say I want all email for users with names from a-m to go to
server1 and m-z to server2? 

I've searched the archives and can't find anything conclusive.

I do have a perl script wrapping qmail-queue which does some basic mail
filtering. I suppose I could alter the envelope "to" address appropriately
to send it to the correct machine but I am wondering if there is any more
elegant way to accomplish this.

--
Tracy Reed  http://www.ultraviolet.org
My pid is Inigo Montoya.  You kill -9 my parent process.  Prepare to vi.



Re: Clustering qmail servers

2001-02-09 Thread Herbie

Well the simplest way is to have one machine act as the gateway for all
mail and create alias files to forward the mail onto the second machine. I
used a simple perl script from a flat file to create the .qmail alias's.

Or am I misunderstanding the question.

Herbi

On Fri, 9 Feb 2001, Tracy R Reed wrote:

 I am not trying to send a bunch of email (aka spam). I am trying to
 receive a bunch of email (aka spam) and let users pop/imap it.  Using the
 perdition (search freshmeat) imap/pop proxy I think I can have multiple
 pop/imap servers with users assigned to each one and pass the user off to
 the correct one according to a dbm/ldap/whatever lookup. Now the problem
 is how do I get email addressed to a particular user onto the correct
 server?  Say I want all email for users with names from a-m to go to
 server1 and m-z to server2? 
 
 I've searched the archives and can't find anything conclusive.
 
 I do have a perl script wrapping qmail-queue which does some basic mail
 filtering. I suppose I could alter the envelope "to" address appropriately
 to send it to the correct machine but I am wondering if there is any more
 elegant way to accomplish this.
 
 --
 Tracy Reed  http://www.ultraviolet.org
 My pid is Inigo Montoya.  You kill -9 my parent process.  Prepare to vi.
 




maildirs not at home

2001-02-09 Thread [gill]


Hello.  I have been reading over Richard Blum's book Running Qmail and all
the docs that distribute as well as the FAQs on the qmail.org and DJB's
site and I doubt this is incredibly difficult but I can't find a straight
answer anywhwere so perhaps you gurus can tell me...

I want to use maildir format for everyone's mailboxes but I don't want to
put them under /home ... i want to put them under /mail which is
physically on the mailserver (/home is not) and is faster and emptier than
/home. 

is there a system-wide way to specify a default path to a maildir?  I
suppose I could put a symbolic link in everyone's home directory to
/mail/$USER but that seems sloppy and breakable.

ideas?  thank you for your input.

--gill

-- 
This is my ~/.signature file.
It is the digital equivalent of a bumpersticker.





Re: maildirs not at home

2001-02-09 Thread Peter Cavender

 Hello.  I have been reading over Richard Blum's book Running Qmail and all
 the docs that distribute as well as the FAQs on the qmail.org and DJB's
 site and I doubt this is incredibly difficult but I can't find a straight
 answer anywhwere so perhaps you gurus can tell me...
 
 I want to use maildir format for everyone's mailboxes but I don't want to
 put them under /home ... i want to put them under /mail which is
 physically on the mailserver (/home is not) and is faster and emptier than
 /home. 
 
 is there a system-wide way to specify a default path to a maildir?  I
 suppose I could put a symbolic link in everyone's home directory to
 /mail/$USER but that seems sloppy and breakable.
 
 ideas?  thank you for your input.
 
 --gill


Well, since the .qmail file specifies where to deliver mail, and in the
default setup contains "./Maildir/", why not just have it contain 
"/mail/joe_user/"

Of course, yor useradd script or whatever would have to 1) create the
.qmail file, and 2) call maildirmake with the proper path.  And if you
have problems, remember how particular qmail is about Maildir permissions
and ownership.  Also, putting the maildir in a non-standard location may
confuse mail clients like Pine as well as POP3 servers that don't read the
.qmail file

--Pete




Re: maildirs not at home

2001-02-09 Thread Charles Cazabon

[gill] [EMAIL PROTECTED] wrote:
 
 I want to use maildir format for everyone's mailboxes but I don't want to
 put them under /home ... i want to put them under /mail which is
 physically on the mailserver (/home is not) and is faster and emptier than
 /home. 
 
 is there a system-wide way to specify a default path to a maildir?  I
 suppose I could put a symbolic link in everyone's home directory to
 /mail/$USER but that seems sloppy and breakable.

You could configure your default delivery target (first argument to
qmail-start) to be procmail, and have the default system procmailrc
deliver to /mail/$USER/ Maildirs, I believe.  I don't use procmail, though,
so I'm not an expert at that.

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: Newbie: Which Dist Linux, Best?

2001-02-09 Thread Phil Barnett

On 8 Feb 2001, at 12:46, Sean Reifschneider wrote:

 On Wed, Jan 31, 2001 at 11:09:17PM -0500, Phil Barnett wrote:
 First off, trying to use a .0 release of any Redhat release is,at the 
 very least, foolish.
 
 Are you saying that RedHat 7.0 is worse than RedHat 6.1?  If so, you
 either haven't used RedHat 7.0, or haven't used RedHat 6.1...  We have
 a RedHat-based release (KRUD -- http://www.tummy.com/krud/) and it was
 on the order of 6 months before 6.1+errata was up to a quality where
 we started basing our distro on it.  With 7.0, it was the month after
 it was released.  No matter what the press is saying about it...
 
 I find that most people who are bad-mouthing 7.0 have never even used
 it...
 
 What distribution is the best for a newbie?  I certainly wouldn't wave
 you off RedHat 7.0.  My recommendation is that you use the distribution
 that most of your friends or most of the experienced people in your local
 LUG use.  You *WILL* need help, better to not have any reason for your
 friends not to help you.

Well, I'm the president of our local LUG (http://www.leap-cf.org) and 
I surely do waive newbies off of Redhat 7.0. Today, we steer 
beginners to Mandrake 7.2 for desktops. If you are going to put up 
a server and you are a newbie, we suggest Redhat 6.2 only 
because the hardening scripts from Bastille work on it but the 
Bastille scripts do not yet work correctly on RH7.0. Also, it takes 
quite some updating on RH7.0 to get it so it can compile a lot of 
things. Something a newbie is probably not going to relish.

My suggestions are from experience, not guessing.

If you are not a newbie, then it's a whole different game.


-- 
  Phil Barnett  mailto:[EMAIL PROTECTED]
   WWW  http://www.the-oasis.net/
  FTP Site  ftp://ftp.the-oasis.net



SMTP-after-POP3 AUTH

2001-02-09 Thread Bruce Dang

Is it possible to have users send email only after they've been
POP3-authenticated.  For example, if I want to send an email, I would have
to check my mail first..then for a duration for like 2 or 3 minutes, I can
send my email.  The reason I want this is because I do not want to have an
open relay and my users want to send/check their mail from home.  I looked
at Mr.Guenter's relay-ctl, but it seems to lack directions.  I do not
understand how to set it up.  I installed qmail according to Dr. Bernstein's
INSTALL direction, so I did not use tcpserver (daemontools).  Can someone
help me out?

Regards,

Bruce


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