qmail Digest 10 Feb 2001 11:00:01 -0000 Issue 1271

Topics (messages 56911 through 56962):

New Relayhost
        56911 by: Jan Tietjen
        56926 by: Charles Cazabon

qpop3 keeps alive!
        56912 by: Ari Arantes Filho
        56913 by: Martin Akesson
        56939 by: Kris Kelley

Re: RBL and ORBS
        56914 by: Piotr Kasztelowicz
        56916 by: Peter van Dijk
        56917 by: Peter van Dijk

please help me - newbie questions
        56915 by: chris Günther
        56919 by: Paco Gracia

Re: Detail logging of POP3D
        56918 by: Peter van Dijk
        56921 by: Ari Arantes Filho
        56923 by: Peter van Dijk
        56932 by: Tomas TPS Ulej
        56935 by: Albert Hopkins

sly spamers feed up !!!!
        56920 by: Kornyakov Yevgeniy
        56922 by: Peter van Dijk

defaultdomain and defaulthost
        56924 by: Wolfgang Zeikat

ETRN with qmail-ldap
        56925 by: Prashant Desai
        56944 by: Alex Pennace

qmail-smtpd-auth
        56927 by: Ari Arantes Filho

Re: High MEM Usage??
        56928 by: Greg James

a question
        56929 by: Yavuz Maşlak
        56931 by: Kurth Bemis
        56933 by: Yavuz Maşlak
        56934 by: Kurth Bemis
        56936 by: Vince Vielhaber
        56941 by: Kris Kelley
        56945 by: Tim Hunter

qmail-pop3d and daemontools
        56930 by: Marcus Korte
        56940 by: Kris Kelley

how to apply psql-patch to qmail source???
        56937 by: chris Günther
        56943 by: Vincent Schonau
        56946 by: Charles Cazabon

Strange qmail-smtpd hang with sympatico.ca clients
        56938 by: cmh.orange-carb.org
        56942 by: Marc Knoop

per domain concurrency limits
        56947 by: Michael Ionescu

Re: COmpiling qmail-1.03 under NCR sysr4 (mpras 4.2)
        56948 by: Dave Sill

Re: generating bounce list
        56949 by: Dave Sill

Re: Load Balancing
        56950 by: David L. Nicol

Tools to link qsend log with qsmtp log ?
        56951 by: Filip Sneppe \(Yucom\)
        56952 by: Charles Cazabon

Re: recordio + awk
        56953 by: Jim Breton

Getting the most out of Qmail?
        56954 by: Rick
        56955 by: Charles Cazabon

Clustering qmail servers
        56956 by: Tracy R Reed
        56957 by: Herbie

maildirs not at home
        56958 by: [gill]
        56959 by: Peter Cavender
        56960 by: Charles Cazabon

Re: Newbie: Which Dist Linux, Best?
        56961 by: Phil Barnett

SMTP-after-POP3 AUTH
        56962 by: Bruce Dang

Administrivia:

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

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------




Hi,

i am usinq Qmail under Solaris 2.6, with a fix internet connection.
In the past we handled incoming mails via smtproute to other MATs ( intranet 
), that means we have no mail-user on my Solaris-Workstation.
We sending outgoing mails (from intranet) direct to the recipient, via SMTP.
Everything ist runing very well.

Here my question.

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 ?

thanks Jan






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




Hi,

    Even running the stop process of qmail, the qpop3 process keeps alive
and running.

My code:

# begin ------ /etc/rc.d/init.d/qmaild (just start and stop - from
lifewithqmail) ------

#!/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"
    kill `cat /var/run/svscan.pid`
    echo -n " qmail"
    svc -dx /var/qmail/supervise/*
    echo -n " logging"
    svc -dx /var/qmail/supervise/*/log
    echo "."
    ;;

# end ------ /etc/rc.d/init.d/qmaild ------

# 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 2>&1

# end ------ /var/qmail/supervise/pop3d/run ------

The first time I run "/etc/rc.d/init.d/qmaild start", it's ok, but if I run
"/etc/rc.d/init.d/qmaild stop" and "ps ax" I still can see:

14993 pts/0    S      0:00 /usr/local/bin/tcpserver -v 0 pop-3

And if I try to run "/etc/rc.d/init.d/qmaild start" again:

tcpserver: fatal: unable to bind: address already used

What is wrong?

I'm running Conectiva Linux 6.0, kernel 2.2.17. It's a brazillian
distribution based on Red Hat.

Thanks,

Ari









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




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 2>&1

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






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]





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.




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.




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. 

PLEEEAAAAAASEE help me out,

        thankx in advance,

                chris

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




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 Günther" <[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.
>
> PLEEEAAAAAASEE help me out,
>
> thankx in advance,
>
> chris
>
> +-----------------------------+
> |        chris Günther        |
> |                             |
> |  Web & Database Developer   |
> |     Unix Administrator      |
> |                             |
> | --------------------------- |
> |           uscreen           |
> |  Gesellschaft für Internet  |
> |     und Multimedia mbH      |
> |                             |
> | --------------------------- |
> | Hofaue 51                   |
> | 42103 Wuppertal             |
> |                             |
> | eMail   [EMAIL PROTECTED] |
> | Fon     (02 02) 979020 - 23 |
> | Fax     (02 02) 979020 - 11 |
> +-----------------------------+
>





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.




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






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.




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.








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]





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






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.




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




hello  friends


    i  am using qmail with  qmail-ldap-20000601.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





On Sat, Feb 10, 2001 at 06:55:26PM +0530, Prashant Desai wrote:
>     i  am using qmail with  qmail-ldap-20000601.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




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 2000000 \
    /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 2>&1

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







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: 1048551424        0 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





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 2>&1 | /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 ?




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 2>&1 | /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 ?





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 Maþlak" <[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 2>&1 | /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 ?
>
>





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 ?        S    Feb06   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 ?        S    Feb06   0:02 
/var/qmail/bin/splogger pop3d
root       193  0.0  0.1   988  308 ?        S    Feb06   0:00 supervise 
qmail-send
root       196  0.0  0.1   988  308 ?        S    Feb06   0:00 supervise 
qmail-smtpd
qmaill     202  0.0  0.1  1004  352 ?        S    Feb06   0:00 
/usr/local/bin/multilog t /var/log/qmail
qmaill     204  0.0  0.1  1004  352 ?        S    Feb06   0:00 
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmails   10803  0.0  0.1  1044  396 ?        S    Feb06   0:06 qmail-send
qmaild   10805  0.0  0.2  1316  560 ?        S    Feb06   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 ?        S    Feb06   0:01 qmail-lspawn 
./Maildir/
qmailr   10811  0.0  0.1  1000  332 ?        S    Feb06   0:00 qmail-rspawn
qmailq   10812  0.0  0.1   992  340 ?        S    Feb06   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 Maþlak" <[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 2>&1 | /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 ?
> >
> >





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 -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







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





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 Maþlak" <[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 2>&1 | /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 ?
>
>






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




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





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 Günther

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




On Fri, Feb 09, 2001 at 05:13:13PM +0100, chris Günther wrote:
 
> 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

Why?

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

Run a normal install first. When you're familiar with qmail and Unix, start
doing the advanced stuff.

> 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

patch -p1 < qmail-pgsql-latest.patch

If you're going to do this, you should really know how patch works.

<snip excessive .sig>


Vince.




chris Günther <[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.
-----------------------------------------------------------------------




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:
tcp        0      0 xyzzy.smtp            tomts7.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





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





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







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




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




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





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





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




On Thu, Feb 08, 2001 at 08:29:20AM +0000, Jim Breton wrote:
> How can I make this whole thing work with tcpserver, and allow me to
> filter the output with awk?  (Fwiw, I tried using grep and sed in awk's
> place and the same thing happened... I don't understand why "cat" works,
> I think there is something fundamental I am not comprehending here.)

OK, well thanks to a response from Markus Stumpf, it turns out that it
was a buffering problem.  With gawk I can put an "fflush()" after the
print statement; with mawk I can use the "-W interactive" option.  HTH
somebody at some point.  ;-)


Anyway one other question if anyone happens to know how recordio works:

I am trying to call tcpserver/qmail-smtpd like this:

exec softlimit -m 4000000 tcpserver -x /usr/local/etc/tcp.smtp.cdb -R -u
1002 -g 1001 0 25 recordio qmail-smtpd 2>&1 | setuidgid nobody mawk -W
interactive '{if ($2 != "<" && $3 ~ /^4|5[0-9][0-9]/)
{print LINE "\n" $0} else LINE = $0}' | setuidgid qmaill multilog t
/var/log/smtpd-err &

I know that looks huge and nasty. ;)  But it works "most of the time."
Here is the deal: I am trying to ignore all smtp i/o UNLESS my smtpd
sends a 4## or 5## response code to the remote client; in that case, I
want to log the error line AND the input line before it (the one that
caused the error).

It DOES work with "normal" SMTP.  The problem is, I have patched qmail
to support TLS, and when a message comes in from a client that also
supports TLS, it is unable to come through -- the client times out
because recordio hangs on the non-ASCII input it gets from the TLS
client.

Is there any way to make recordio work here?  Or is there another
program with a similar purpose which I could use in its place?




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
 




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




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.




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






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.






> 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





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




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




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



Reply via email to