qmail Digest 27 Mar 2000 11:00:00 -0000 Issue 953

Topics (messages 39078 through 39109):

Majordomo with qmail
        39078 by: Hong Taeki

unsubscribe qmail
        39079 by: Rich Ferguson
        39080 by: Anthony Diaz
        39103 by: Jankok, L. (dsc-pm)

Re: What is the maximal value
        39081 by: Charles Cazabon

QmailAnaLog
        39082 by: S.P. Hoeke

Re: Another (slightly different) cr lf question
        39083 by: Bob Rogers

Re: Running qmail on a 4x Xeon 550MHz system
        39084 by: Racer X
        39085 by: Racer X
        39104 by: Peter van Dijk

cannot get qmail to compile on Solaris
        39086 by: Martin Searancke

error 421
        39087 by: Mike Alexander Sauvain
        39088 by: Chris Johnson

Qmail-pop3d
        39089 by: em9652015
        39090 by: Chris Johnson
        39091 by: em9652015
        39092 by: Ronny Haryanto
        39093 by: em9652015
        39094 by: em9652015

Wrap & Maildir
        39095 by: Mike Alexander Sauvain

Re: Where is setuser ?
        39096 by: Magnus Bodin
        39109 by: Irwan Hadi

Avoiding qmail being listed on ORBS
        39097 by: Kristina
        39098 by: iv0
        39099 by: Adam McKenna
        39101 by: Ruben van der Leij
        39105 by: Peter van Dijk

TCPServer and relaying...
        39100 by: H�ffelin Holger

Re: POP3 && sticky bit, IMHO
        39102 by: Peter van Dijk

Re: Adding X-Deliver-To Header for Virtual Domains
        39106 by: Chris Bond

Canonical Domains mail Error
        39107 by: System Administrator

Serialmail/Turnmail
        39108 by: Chris Bond

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 a Redhat linux 6.1 user.
 
I want to use majordomo with qmail.
 
But I cannot find good instrucions or patches.
 
Where can I find them?
 
Thank you...












 
 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com









Irwan Hadi <[EMAIL PROTECTED]> wrote:
> I want to know, what is the maximal value of 
> concurrencyremote and concurrencylocal W/O recompiling again the qmail/kernel

120 if I remember correctly.

> What is the ideal value of concurrencyremote with about 500 mails outbound
> everyday, and 800 mails inbound.

If you mean 500 individual remote deliveries, the default (20?) is more than
ample.  However, 500 outbound emails with 1000 recipients each would be a
different story.

Look at the output of zoverall (from qmailanalog).  That will give you some
statistics, such as average concurrency, etc.  I'm guessing yours will be
much less than 1.

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 all,

I'm a newbie to Qmail and OpenBSD and i was wondering if there's a FAQ or something 
about QmailAnaLog cause the documentation provided is, unfortunately, not enough for a 
newbie like me :-(

Thanks,
  Steffan




   From: Uwe Ohse <[EMAIL PROTECTED]>
   Date: Sat, 25 Mar 2000 13:21:42 +0100

   On Fri, Mar 24, 2000 at 04:47:18PM -0800, thomas wrote:

   > We have IMAP clients accessing these files directly off the unix box, 
   > and they miss the cr

   Hm - strange. 

   Question to the knowing: aren't IMPA servers supposed to translate
   the local line end conventions to CR/LF before sending the articles
   over the wire?

   Regards, Uwe

It shouldn't be possible to do it any other way; no sane client or
server should be willing/able to mess with the TCP line-end convention.
Perhaps the original poster meant the following:

    We have MUAs [which are also IMAP clients] that access these files
    directly off the unix box [using file access], . . .

Doesn't seem likely, but the original statement struck me as somewhat
ambiguous . . .

                                        -- Bob Rogers





if i may jump in...

the load average is the average number of processes in a runnable state.
it says nothing about how much cpu time is actually being used.  for
instance, i run a very busy internet site (6+ million hits/day) on a
p2-300 running freebsd 4.0.  the load is always up around 5 or 6,
sometimes closer to 8 or 9, because there are always 300-400 apache
processes running.  however, top reports that the processor is idle
about 30% of the time.

bottom line is that top doesn't mean anything about how busy the cpu is.
it's strictly a snapshot measure of how many processes are in a runnable
state (not sleeping).  if you run the distributed net rc5 client, your
machine will always have a load over 1.0, because that process is
essentially always ready to run.  that doesn't mean your machine is
overloaded, or that there are too many tasks to run.

shag

----- Original Message -----
From: "Bruce Guenter" <[EMAIL PROTECTED]>
To: "Ruben van der Leij" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sat 25 Mar 2000 8:06
Subject: Re: Running qmail on a 4x Xeon 550MHz system


> On Sat, Mar 25, 2000 at 04:10:14PM +0100, Ruben van der Leij wrote:
> > > Does anyone have any idea what could be the problem? The
> > > disk IO is very low and my computer is *really* sleeping,
> > > with a load average (uptime etc) of approx. 1.4..
> >
> > A loadaverage of 1.4 means you have on average 1.4 task waiting to
run. Or,
> > to put it in percentages: your machine has 140% of it's time filled
with
> > tasks that want to run.
>
> Not quite.  It means that, on average, 1.4 tasks were ready to run.
On
> a 4 processor machine, that means that there were still two completely
> idle CPUs.  A load average of 4 would mean all 4 CPUs are 100% busy.
> --
> Bruce Guenter <[EMAIL PROTECTED]>
http://em.ca/~bruceg/
>





er, correcting myself:

----- Original Message -----
From: "Racer X" <[EMAIL PROTECTED]>
Sent: Sun 26 Mar 2000 16:00
Subject: Re: Running qmail on a 4x Xeon 550MHz system


> bottom line is that top doesn't mean anything about how busy the cpu
is.

that should read "load average doesn't..."

shag






On Sat, Mar 25, 2000 at 01:47:41PM +0100, Andreas Aardal Hanssen wrote:
> Hello,
> 
> I'm currently administrating the mail delivery system on a
> system as described in the subject, with 1GB of SDRAM and
> 100GB disk.
> 
> I'm using ReiserFS (which, BTW, is working very well). My
> mailsystem receives 70'000 mails a day and the throughput
> is just about twice that. Average mails sent per second
> varies around 70-170 mails.

Uhm.. with 86400 seconds to a day, your average throughpout should be
about 2mails/sec.

What you are stating here is impossible.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




When I try and compile qmail 1.03 with either gcc or the sun compiler I get
the following error.
Can anyone help with this one.

# make setup check
./load qmail-remote control.o constmap.o timeoutread.o \
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
Undefined               first referenced
 symbol                     in file
flock                               lock.a(lock_ex.o)
ld: fatal: Symbol referencing errors. No output written to qmail-remote
*** Error code 1
make: Fatal error: Command failed for target `qmail-remote'

Thanks
Martin

Martin Searancke
CommSoft Group Ltd.
Level 8, CommSoft House
90 Symonds St
Auckland, New Zealand

[EMAIL PROTECTED]
+64 21 778592





421 unable to read controls (#4.3.0)
it happen if i connect with telnet mail.mydomain.xx 25
 
Anybody knows, what it happens with this error ?
 
 
thanks-> mike alexander sauvain
 
 
 




On Mon, Mar 27, 2000 at 04:50:12AM +0200, Mike Alexander Sauvain wrote:
> 421 unable to read controls (#4.3.0)
> 
> it happen if i connect with telnet mail.mydomain.xx 25

Does /var/qmail/control/me exist? It should.

Chris




DEar,

I am using Pop3d, and i try telnet to port 110.
And then :

user alex
+OK
pass xxxx
-ERR this user has no $HOME/Maildir
Connection closed by foreign host.

Iam using redhat 6.1 + with sendmail and I uninstall sendmail with RPM
and I install qmail with RPM. What's wrong with my configuration?

Thanks,
Alex






On Mon, Mar 27, 2000 at 10:04:09AM +0700, em9652015 wrote:
> DEar,
> 
> I am using Pop3d, and i try telnet to port 110.
> And then :
> 
> user alex
> +OK
> pass xxxx
> -ERR this user has no $HOME/Maildir
> Connection closed by foreign host.
> 
> Iam using redhat 6.1 + with sendmail and I uninstall sendmail with RPM
> and I install qmail with RPM. What's wrong with my configuration?

What number am I thinking of?

Something's wrong with it, obviously. But it's awfully hard to tell what's
wrong with it when we you haven't told us what it is.

For starters, exactly how are you running qmail-pop3d? If from inetd, show us
the pop3 line from your inetd.conf file. If from tcpserver, show us how you're
starting it.

Chris




Dear,

Oh sori, That is work now:
I forget : maidirmake Maildir
then
I running from tcpserver (rc.d)

But, while send to my account and i retrive, I don't accept mail???

thanks,
Alex






On 27-Mar-2000, em9652015 wrote:
> But, while send to my account and i retrive, I don't accept mail???

What does your logs says? That should be the first place you check.
Try monitoring your logs (eg. with tail -f) while you're sending the
mail and see where it goes.

        Ronny




ROn,

My log file:

Mar 27 10:48:02 qmail pop3d: 954128882.437597 tcpserver: end 930 status 256
Mar 27 10:48:02 qmail pop3d: 954128882.438089 tcpserver: status: 0/20
Mar 27 10:48:02 qmail pop3d: 954128882.619768 tcpserver: status: 1/20
Mar 27 10:48:02 qmail pop3d: 954128882.620299 tcpserver: pid 932 from 203.109.7.11
Mar 27 10:48:02 qmail pop3d: 954128882.621597 tcpserver: ok 932 :203.109.7.21:110 
infopmb.maranatha.edu:203.109.7.11::1140


rgds,
Alex






Hello Ronny,
Monday, March 27, 2000, 10:42:38 AM, you wrote:

RH> What does your logs says? That should be the first place you check.
RH> Try monitoring your logs (eg. with tail -f) while you're sending the
RH> mail and see where it goes.

I check again:

Mar 27 10:55:40 qmail qmail: 954129340.991086 starting delivery 12: msg 62040 to local 
[EMAIL PROTECTED]
Mar 27 10:55:40 qmail qmail: 954129340.991166 status: local 1/10 remote 0/20
Mar 27 10:55:40 qmail qmail: 954129340.999824 delivery 12: deferral: 
/bin/sh:_dot-forward:_command_not_found/
Mar 27 10:55:40 qmail qmail: 954129340.999931 status: local 0/10 remote 0/20

Thanks,
Alex






first, any body knows some easy way to bind the pop3 in the inetd.conf wrapper?

second-> if i connect manualy itells my that ist dosent exist user dir

-ERR this user has no $HOME/Maildir Connection closed by foreign host
 
 but i doit -> maildirmake /dir/to/user1

What could be wrong ?


thx .> Mike Alexander Sauvain




On Fri, Mar 24, 2000 at 12:31:02AM -0700, Irwan Hadi wrote:
> 
>         ulimit -v 2048
> 
>         csh -cf '/var/qmail/rc &'
> 
>         supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb
> -u$USERID -g$GROUPID 0 25 \
>         rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
>         setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
> 
> I want to run this script from my init 
> My question is, where could I found "setuser" command ? because W/O this,
> the script won't work, and I must do manually the command.

You are probably using daemontools 0.61. The script snippet above is written
for daemontools 0.53. 

There were a few name changes of programs between these versions, and
therefore it will be hard to reuse the snippet above without modification.
"setuser" has been replaced by "setuidgid", "cyclog" has been replaced by
"multilog", et c. 

See Dave Sill's "Life with qmail", which probably is the most refererred
documentation around: http://Web.InfoAve.Net/~dsill/lwq.html

/magnus

-- 
I AM TODAY'S MONKEY BITE --->  http://hotwired.lycos.com/webmonkey/




At 07:03 27/03/2000 +0200, Magnus Bodin wrote:
>On Fri, Mar 24, 2000 at 12:31:02AM -0700, Irwan Hadi wrote:
>> 
>>         ulimit -v 2048
>> 
>>         csh -cf '/var/qmail/rc &'
>> 
>>         supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb
>> -u$USERID -g$GROUPID 0 25 \
>>         rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
>>         setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
>> 
>> I want to run this script from my init 
>> My question is, where could I found "setuser" command ? because W/O this,
>> the script won't work, and I must do manually the command.
>
>You are probably using daemontools 0.61. The script snippet above is written
>for daemontools 0.53. 
>
>There were a few name changes of programs between these versions, and
>therefore it will be hard to reuse the snippet above without modification.
>"setuser" has been replaced by "setuidgid", "cyclog" has been replaced by
>"multilog", et c. 

So to make it easy, could I just change all setuser command with setuidgid
all cyclog command with multilog
etc ?
like this below
>>         setuidgid qmaill multilog -s5000000 -n5 /var/log/qmail/qmail-smtpd &


-------
AFLHI 058009990407128029/089802---(102598//991024)




I have seen messages posted on the mailing list regarding
qmail failing orbs tests etc. I do understand that it is not
a qmail problem, however, I would like to know if there is anyway
qmail can be configured to avoid being damned as an open relay by
these organizations?

Thankyou,
Kristina


------------------------------------------------------
The following is quoted from: 
http://www.faqts.com/knowledge-base/view.phtml/aid/1198/fid/206/lang/en

Properly configured non-relaying qmail installations appear to fail some
simpleminded relay tests. These tests assume that if the SMTP server
doesn't reject MAIL/RCPT commands that could cause relaying in some
MTA's, that the tested MTA might relay them.
-------------------------------------------------------






Probably a petition to the orbs site by qmail admins to tell them
to make a factual test.

Ken Jones

Kristina wrote:
> 
> I have seen messages posted on the mailing list regarding
> qmail failing orbs tests etc. I do understand that it is not
> a qmail problem, however, I would like to know if there is anyway
> qmail can be configured to avoid being damned as an open relay by
> these organizations?
> 
> Thankyou,
> Kristina
> 
> ------------------------------------------------------
> The following is quoted from:
> http://www.faqts.com/knowledge-base/view.phtml/aid/1198/fid/206/lang/en
> 
> Properly configured non-relaying qmail installations appear to fail some
> simpleminded relay tests. These tests assume that if the SMTP server
> doesn't reject MAIL/RCPT commands that could cause relaying in some
> MTA's, that the tested MTA might relay them.
> -------------------------------------------------------




This is turning into an FAQ.  Qmail does NOT fail any of the ORBS tests when 
configured properly.

--Adam

On Mon, Mar 27, 2000 at 03:38:26PM +0900, Kristina wrote:
> I have seen messages posted on the mailing list regarding
> qmail failing orbs tests etc. I do understand that it is not
> a qmail problem, however, I would like to know if there is anyway
> qmail can be configured to avoid being damned as an open relay by
> these organizations?
> 
> Thankyou,
> Kristina
> 
> 
> ------------------------------------------------------
> The following is quoted from: 
> http://www.faqts.com/knowledge-base/view.phtml/aid/1198/fid/206/lang/en
> 
> Properly configured non-relaying qmail installations appear to fail some
> simpleminded relay tests. These tests assume that if the SMTP server
> doesn't reject MAIL/RCPT commands that could cause relaying in some
> MTA's, that the tested MTA might relay them.
> -------------------------------------------------------
> 




On Mon, Mar 27, 2000 at 12:43:01AM -0600, iv0 wrote:

> Probably a petition to the orbs site by qmail admins to tell them
> to make a factual test.

Orbs does test. It tries to relay a message back to itself. If that message
gets back, the box it tested is an open relay. 

The situation where open relays are not marked as such because they are
using some specific mailer is highly unwanted. See how you react to the
following statement:

> Probably a petition to the orbs site by M$ Exchange admins to tell them
> to make a factual test.

The debate wether or not relay-testing is good is not one for this list. But
suggesting that relay-tests should be adapted to fit the most common
configuration-errors of qmail is the wrong solution to the problem.

-- 

Ruben




On Mon, Mar 27, 2000 at 09:57:10AM +0200, Ruben van der Leij wrote:
> On Mon, Mar 27, 2000 at 12:43:01AM -0600, iv0 wrote:
> 
> > Probably a petition to the orbs site by qmail admins to tell them
> > to make a factual test.
> 
> Orbs does test. It tries to relay a message back to itself. If that message
> gets back, the box it tested is an open relay. 

and _only_ then.

> The situation where open relays are not marked as such because they are
> using some specific mailer is highly unwanted. See how you react to the
> following statement:

That is something else. You are now considering the case where a box that
_is_ an open relay is _not_ listed in ORBS.

> > Probably a petition to the orbs site by M$ Exchange admins to tell them
> > to make a factual test.
> 
> The debate wether or not relay-testing is good is not one for this list. But
> suggesting that relay-tests should be adapted to fit the most common
> configuration-errors of qmail is the wrong solution to the problem.

I think you are missing the point here, my dear friend..

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Hi all!

I mentioned this problem some weeks ago. Now I found a log entry as a proof
for it: the tcpserver sometimes allows connections from ip-numbers which are
not allowed. But why????? What can I do against it?

Thanks,
Holger

2000-03-24 23:35:41.630688500 tcpserver: ok 24865 
lake.erche.de:195.245.48.3:25  
153.136.hh1.ip.foni.net:212.7.136.153::1373

# cat /etc/tcp.smtp 
127.0.0.1:allow,RELAYCLIENT="" 
195.245.48.:allow,RELAYCLIENT="" 
195.245.49.:allow,RELAYCLIENT="" 
195.245.50.:allow,RELAYCLIENT="" 
195.245.51.:allow,RELAYCLIENT="" 
195.245.52.:allow,RELAYCLIENT="" 
195.245.53.:allow,RELAYCLIENT="" 
195.245.54.:allow,RELAYCLIENT="" 
195.245.55.:allow,RELAYCLIENT="" 
195.245.56.:allow,RELAYCLIENT="" 
193.158.231.:allow,RELAYCLIENT="" 
194.95.24.:allow,RELAYCLIENT="" 
194.88.184.134:allow,RELAYCLIENT="" 
194.88.184.135:allow,RELAYCLIENT="" 
194.88.184.136:allow,RELAYCLIENT="" 
194.88.184.137:allow,RELEYCLIENT="" 
:deny 

------------------------------------------------
Real programmers confuse Christmas and Halloween
because DEC 25 = OCT 31! (Ulf Herbers)
------------------------------------------------




On Sat, Mar 25, 2000 at 06:42:52AM -0500, Russell Nelson wrote:
> IMHO, qmail-pop3 should deny access to a Maildir if the home directory
> it is stored in has the sticky bit set.  It's consistent with
> qmail-local, which will refuse to deliver mail to such a home
> directory.  I know, I know:

No it's not consistent. The reason qmail-local doesn't deliver when
the sticky bit is set, is that you might be in the process of writing
out a new .qmail-file.

Doing .qmail-updates atomically removes the need for sticky-bitness. Since
pop3 operations are atomic (in the updates they do anyway), and there is no
configfile for pop3 in the homedir, I disagree.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Hi,

They must be a easy way to do this, moving to something like vpopmail would 
probably cause more problems.  I've tried it before and they was very 
little documentation.

Thanks,
Chris

At 07:53 AM 24/03/2000 -0600, iv0 wrote:
>Chris Bond wrote:
> >
> > Hi,
> >
> > How can I add a header X-Deliver-To that has final destination of the
> > email.  The reason I need to do this is because the To or CC header is not
> > enough information for a program to deliver the mail correctly.
> >
> > The domain in question I need to do this with is a "Virtual Domain" setup
> > in qmail.  To some extent this already exists in the header Delivered-To,
> > the only problem is it looks like the following:
> >
> >   Delivered-To: [EMAIL PROTECTED]
> >
> > If you can remove the virtual username and dash and put this into the
> > X-Deliver-To header this would slove the problem in a stroke.
> >
> > Thanks,
> > Chris
>
>We've done that with the development version of vpopmail 3.4.12.
>Instead of a header that has: virtualdomain-user@virtualdomain
>It puts user@virtualdomain
>
>Ken Jones
>http://www.inter7.com/vpopmail/





Hi

this is to request help on canonical domain names setup for mail.

i have a client for whom we ahve setup canonical names for their branch
offices. the problem is that when a mail is send to a canonical doamin
email id the mail goes and resides into the main pop account of the
domain. 

for ex.
=======
1) i have a domain  abc.com
2) i have setup four canonical domains i.e. branch1.abc.com,
branch2.abc.com, branch3.abc.com & branch4.abc.com
3) when mails are sent to [EMAIL PROTECTED] & [EMAIL PROTECTED] the
latter goes and resides in the main pop account of the domain abc.com i.e.
[EMAIL PROTECTED] whereas the earlier goes and resides properly in the
[EMAIL PROTECTED] pop account.
4) I have the same setup for all the four canonical names in the
virtualdomains file and the rcpthosts file as well as the aliases file.

somebody please mail  a solution at the very earliest.


- Admin.

---
Parag Mehta                            <[EMAIL PROTECTED]>
System Administrator.






Hi,

I've just come across the turnmail on the qmail web site - it looks like 
exactly like what I need. I've compiled serialmail and installed it
properly. I've tried quite a few things to get the script working but none 
of them seem to work.

I'm starting pop3d at the moment with:
        /usr/bin/tcpserver 0 110 /usr/sbin/qmail-popup 
chef.praceng.co.uk  /usr/bin/checkpassword /usr/sbin/qmail-pop3d Maildir &

I've copied the contents to /usr/sbin/turnmail and tried the following line 
but no luck:

        /usr/bin/tcpserver 0 110 /usr/sbin/qmail-popup 
chef.praceng.co.uk  /usr/bin/checkpassword /usr/sbin/autoturn &

Any ideas or tips how to get this working as its really bugging me! I've 
copied the contents of the autoturn and pasted them below as I had to 
remove one ; for the script to work.

#!/bin/sh
if [ -d Maildirdummy ]; then
/usr/bin/maildirsmtp $1 $USER- $TCPREMOTEIP `hostname` 2>&1 | logger -p 
daemon.notice &
/usr/sbin/qmail-pop3d Maildirdummy
fi
exec /usr/sbin/qmail-pop3d $1

Can anyone help me or gives me some tips to getting it too work?
Thanks,
Chris



Reply via email to