Re: Sending a deferral warning back to the sender?

2001-06-07 Thread Frank Tegtmeyer

Jack McKinney [EMAIL PROTECTED] writes:

 nice to be able to specify it on the command line, that way I can run
 multiple versions in order to generate, for example, a 15m warning, a 4h
 warning, and a 3d warning.
 Before I get too far into proving a race condition and writing around
 this, has this issue come up before?

There is an (earlier) alternate implementation in Perl called
'qmail_bounce'. I used it for years without problems (after some small
changes to notify only senders from our domains).

On qmail.org:

* Brian T. Wightman has written a delayed-mail notifier. 
* Another delayed-mail notifier is available from Matt Ranney.

I use the one from Brian.

Regards, Frank



best patches to be apply for QMAIL

2001-06-07 Thread hari_bhr

hi

i have installed qmail 1.03 on redhat 6.2

i would like to know , what are the patches to be patch with this.
for more secure and with out any holes
could some one guide me what are the patches to be apply

thanks advance



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




Can't understand some files in /var/qmail/control directory ??

2001-06-07 Thread george

 
Hello :

 I can't understand some files in /var/qmail/control directory.
Example: defaultdomain, locals, me, Any different?

if I want to add domain ,how to do?

Thank you.




Can't understand some files in /var/qmail/control directory ??

2001-06-07 Thread george

 
Hello :

 I can't understand some files in /var/qmail/control directory.
Example: defaultdomain, locals, me, Any different?

if I want to add domain ,how to do?

Thank you.




Can't understand some files in /var/qmail/control directory ??

2001-06-07 Thread george

 
Hello :

 I can't understand some files in /var/qmail/control directory.
Example: defaultdomain, locals, me, Any different?

if I want to add domain ,how to do?

Thank you.








Re: best patches to be apply for QMAIL

2001-06-07 Thread arjen-qmail


there is no need to patch qmail 1.03 to make it more secure,
cos it already is very secure. Nobody found any hole up 'till 
now.

check http://www.qmail.org to see if you would patch it for
extra features.


Grtz, 

Arjen.


On Thu, 7 Jun 2001, hari_bhr wrote:

 hi
 
 i have installed qmail 1.03 on redhat 6.2
 
 i would like to know , what are the patches to be patch with this.
 for more secure and with out any holes
 could some one guide me what are the patches to be apply
 
 thanks advance
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 




Re: Can't understand some files in /var/qmail/control directory ??

2001-06-07 Thread arjen-qmail


George,

there is a lot of qmail documentation out there, that will give
you perfect explanation of many many qmail aspects.

On http://qmail.3va.net for example, you will find the online manpages,
and on

http://qmail.3va.net/man/man5/qmail-control.html

is the answer to your question.

also read

http://qmail.3va.net/qmailfaq.html
and 
http://www.lifewithqmail.org



Grtz, 

Arjen.


On Thu, 7 Jun 2001, george wrote:

  
 Hello :
 
  I can't understand some files in /var/qmail/control directory.
 Example: defaultdomain, locals, me, Any different?
 
 if I want to add domain ,how to do?
 
 Thank you.
 
 




RE: best patches to be apply for QMAIL

2001-06-07 Thread Willy De la Court

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you are installing on RH 6.2 just install the RPM made by Bruce,
I'v Added some patches to daemontools etc you can find the src rpm's here with a 
little howto
http://www.quint.be/projects/

Willy De la Court
Quint NS NV

On Thursday, June 07, 2001 14:54, hari_bhr [SMTP:[EMAIL PROTECTED]] wrote:
 
 hi
 
 i have installed qmail 1.03 on redhat 6.2
 
 i would like to know , what are the patches to be patch with this.
 for more secure and with out any holes
 could some one guide me what are the patches to be apply
 
 thanks advance
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOx8xzf4IaGw3x6aJEQJnWQCguGgAeeKcpBshm40iTwJdKQxvrPgAoNoZ
zFWD1PMaOGS/dAd82ToK5y4C
=FIVY
-END PGP SIGNATURE-




Newbie question-CJK

2001-06-07 Thread Constantine Koulis

Hello all.

I am niebie to qmail but untill now i am happy.
I have some questions :


I  can connect POP3 to the unix users but i cannot receive any email.
When i open the unix-user i made his home directory to be :
/home/username.
Is this the correct one for qmail?If not which is?

Another thing Do i need to put in the /var/qmail/control/rcpthosts all the 
domains that i want to send email?
Thats impossible.I have to put all the domains in the world?LIke 
hotmail.com,yahoo.com..

Thanks in advance

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




R: vpopmail authentication

2001-06-07 Thread Andrea Cerrito

Did you use the form user@domain as login?
I mean

telnet server 110
+OK
user utente@domain
+OK
pass password

Remember, when using vpopmail you have to use user@domain as login, instead
of user.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372

 -Messaggio originale-
 Da: Erich Zigler [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledi 6 giugno 2001 19.15
 A: [EMAIL PROTECTED]
 Oggetto: Re: vpopmail authentication


 On Wed, Jun 06, 2001 at 05:24:38PM +0200, Franco Vecchiato wrote:

  In vpopmail I created a new domain test.it, with a new user utente and
  password testutente.  After setting the right stuff into my
 DNS server, I
  sent an email to [EMAIL PROTECTED]  The email has been delivered
 correctly to
  vpopmail/domain/test.it/utente/new directory and the logfile reports no
  errors, but when I try to connect to the mailserver with a POP client
  (outlook express) configured for this account, I get an authentication
  failure error message from the server.

 What does the maillog say when you try to check your email?

 --
 Erich Zigler

 One Unix to rule them all, One Resolver to find them,
 One IP to bring them all and in the zone to bind them.





Re: Newbie question-CJK

2001-06-07 Thread arjen-bind


On Thu, 7 Jun 2001, Constantine Koulis wrote:

 I  can connect POP3 to the unix users but i cannot receive any email.
 When i open the unix-user i made his home directory to be :
 /home/username.
 Is this the correct one for qmail?If not which is?

Yes it is. I think you should first tell us if local deliveries fail or
succeed. If they succeed, where is the mail put? What popdaemon do you
use?

 
 Another thing Do i need to put in the /var/qmail/control/rcpthosts all the 
 domains that i want to send email?

Of course not. rcpthosts stands for ReCiPienThosts; hosts you want qmail
to accept mail for. You put allowed IP's/hostnames into the config files
for tcpserver, which you should use with qmail.

http://cr.yp.to/ucspi-tcp.html


 Thats impossible.I have to put all the domains in the world?LIke 
 hotmail.com,yahoo.com..

If you should have (and you must not) then I bet there was a wildcard for
it ;)

Grtz,

Arjen.





Re: Newbie question-CJK

2001-06-07 Thread Tom Beer

Hi,


 I  can connect POP3 to the unix users but i cannot receive any email.
 When i open the unix-user i made his home directory to be :
 /home/username.
 Is this the correct one for qmail?If not which is?

this depends on your configuration, in most cases it is
hint: link /var/spool/mail/user + maildir / mailbox
see lwq


 Another thing Do i need to put in the /var/qmail/control/rcpthosts all the
 domains that i want to send email?

all the domains which allowed to _send_ mails


Start reading the man pages and lwq and www.qmail.org

Tom




Re: I think I'm being relayed through, but I don't know how.

2001-06-07 Thread Johan Almqvist

* Chris Garrigues [EMAIL PROTECTED] [010606 20:44]:
 I've got this in my queue:

Your patched qmail-smtpd seems to have a buffer overflow problem. Vis:

 --- snip ---
$ telnet 216.30.106.234 25
Trying 216.30.106.234...
Connected to 216.30.106.234.
Escape character is '^]'.
220 austin-jump.vircio.com ESMTP
HELO fdskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsn fid 
fhiorhfoidhgfoisdoigfdsfhgpofdh gofdh gouf oghfdogh foi hgoifh glfdh göldfhgoirhg ojd 
flghohg odf hglodfg ofdnv df oö vhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshgtfoihdsalfjäpgjöfadh
 odifh 
gfdijgodfgöodhgföldgöofhgafdjödflkngvlödfhgpifdjgkljdcäjgädszjgofdijglöfjbgoaskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsnfid
 fhiorhf oidhgfoisd oigfdsfhgpofdh gofdh gouf oghfdogh foi hgoifh glfdhgöldfhgoirhg 
ojd flgho hg odf hglodfg ofdnv df oö 
vhnfdlngvoifngvorfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsnfid
 fhiorhf oidhgfoisd oigfdsfhgpofdh gofdh gouf oghfdogh foi hgoifh glfdhgöldfhgoirhg 
ojd flgho hg odf hglodfg ofdnv df oö vhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsn
 fid fhiorhfoidhgfoisd oigfdsfhgpofdh gofdh gouf oghfdogh foi hgoifh glfdh 
göldfhgoirhg ojd flghohg odf hglodfg ofdnv df oö vhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsnfid
 fhiorhf oidhgfoisd oigfdsfhgpofdh gofdh gouf oghfdogh foi hgoifh glfdhgöldfhgoirhg 
ojd flgho hg odf hglodfg ofdnv df oö vhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsn
 fid fhiorhf oidhgfoisd oigfdsfhgpofdh gofdh gouf oghfdoghfoi hgoifh glfdh 
göldfhgoirhg ojd flgho hg odf hglodfg ofdnv df oövhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodsnfvldshskfnhosdhfdsnfcdlsncvdsndnfisndfondskivndsn
 fid fhiorhf oidhgfoisd oigfdsfhgpofdhgofdh gouf oghfdogh foi hgoifh glfdh 
göldfhgoirhg ojd flgho hg odf hglodfg ofdnv dfoö vhnfdlngvoifngvo 
rfiuvnfodvofdhoghfdshvlkzcjgflkfhdgohdfoighfdlkjgöldhglfhdglkfdshglkfdglkjdrigfdohjgldfksglkdfhglfdhgldfhglöfjgfapoijpqeiwjfkldsnglcöngfoihgöodnfvldsh
250 austin-jump.vircio.com
MAIL FROM:[EMAIL PROTECTED]
250 ok
RCPT TO:[EMAIL PROTECTED]
250 ok
DATA
354 go ahead
Subject: Hejhej

Dadaa
,
.
250 ok 991911255 qp 1264
QUIT
221 austin-jump.vircio.com
Connection closed by foreign host.
 --- snap ---

-- 
Johan Almqvist
http://www.almqvist.net/johan/

 PGP signature


Re: Newbie question-CJK

2001-06-07 Thread Constantine Koulis

I would like to know why i can receive emails from the internet using pine 
with the user X and from the OUtlook Express lets say using again user X 
dont receive anything..

From: Tom Beer [EMAIL PROTECTED]
To: Constantine Koulis [EMAIL PROTECTED]
CC: qmail list [EMAIL PROTECTED]
Subject: Re: Newbie question-CJK
Date: Thu, 7 Jun 2001 12:14:23 +0200

Hi,
 
 
  I  can connect POP3 to the unix users but i cannot receive any email.
  When i open the unix-user i made his home directory to be :
  /home/username.
  Is this the correct one for qmail?If not which is?

this depends on your configuration, in most cases it is
hint: link /var/spool/mail/user + maildir / mailbox
see lwq

 
  Another thing Do i need to put in the /var/qmail/control/rcpthosts all 
the
  domains that i want to send email?

all the domains which allowed to _send_ mails


Start reading the man pages and lwq and www.qmail.org

Tom


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Newbie question-CJK

2001-06-07 Thread arjen-qmail



On Thu, 7 Jun 2001, Constantine Koulis wrote:

 Dear sir.
 
 About local delivery i can send from root to local users but from local 
 users to root nothing.As well i can send from local users and root to 
 outside world.

Where is mail for your local users stored?
Do you check ~alias/ for root mail?

 I cannot receive to root from anywhere.
 I can receive from outside world to local users USING PINE.Not outlook 
 express or IMAP.

Where is the mail stored?

 I am using Courier-IMAP and i believe also POP3 

You believe? Better make sure...


 and i tried to install 
 vmailmgr but i have some small problems with it.Cant compile vmailmgr 
 and from the rpms the vmailmgr-daemon deon start.


PLz send to the list and not to me personally...

Grtz,

Arjen.







Virtual domain

2001-06-07 Thread marco1




I set up Qmail and It's ok.
When i'm setting up vpopmail i haven't Virtual 
domain and assign.
I've created an empty assign file.
When I try to addthe user postmaster it 
tells that the domain doesn't exist(using vadduser) 

when i try to add the domain(using vadddomain) 
it tells that the domain already exist.

What's wrong?

Thanks


Re: best patches to be apply for QMAIL

2001-06-07 Thread Henning Brauer

On Thu, Jun 07, 2001 at 06:24:16PM +0530, hari_bhr wrote:
 i would like to know , what are the patches to be patch with this.
 for more secure and with out any holes
 could some one guide me what are the patches to be apply

Not a single one.

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



Re: Qmail-remote stopped up?

2001-06-07 Thread Dave Sill

Troy Settle [EMAIL PROTECTED] wrote:

For the last several months, I've been having some severe problems with
qmail-remote.  I've rebuilt from fresh sources and updated my system
(FreeBSD 4.2-STABLE) several times.  Nothing seems to help.  You can see
what I'm seeing at http://home.psknet.com/troy/qmail-remote.txt.

Do you have any qmail patches installed?

-Dave



Re: I think I'm being relayed through, but I don't know how.

2001-06-07 Thread Johan Almqvist

* Johan Almqvist [EMAIL PROTECTED] [010607 12:59]:
 * Chris Garrigues [EMAIL PROTECTED] [010606 20:44]:
  I've got this in my queue:
 Your patched qmail-smtpd seems to have a buffer overflow problem. Vis:

And attached is the confirmation.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/





 PGP signature


RE: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Dave Sill

Joshua Nichols [EMAIL PROTECTED] wrote:

 what is the space for /
 what is the space for /boot
 what is the space for /home
 what is the space for /usr
 what is the space for /var
 what is the space for /swap
 what is the space for /tmp

How 20th century...

If you use Red Hat, it will try to set up appropriate server partitions
for you, but it will fail:

/usr will be WAY too big
/home will probably be too big
/var will be WAY too small to accommodate any serious volume of qmail
traffic

Disk space is cheaper than dirt these days. I recommend:

  /boot20MB
  /var 300MB min, 800MB better, more for servers
  /2GB or more (include /usr and /tmp)
  /homewhatever you need
  swap 500MB or more

On some systems I go with /boot, /, and swap only. I *hate* running
out of space in, say, /var, when /home has gigabytes free...

-Dave



Re: [OT] qmail php

2001-06-07 Thread shashi joshi

do a phpinfo() from your browser, and see what is sendmail_path configured to

if it is sendmail -t -i

that is your problem.

the sendmail wrapper of qmail does not take all options that sendmail takes.
remove all options and then it should work.

shashi joshi

--- Joel Uckelman [EMAIL PROTECTED] wrote:
 Quoth Bill Andersen:
  OK, I hate to go back on list with this, but since I got about
  30 replies, it's easier to go back to the list then to reply to each
  of you.  THANKS for all the replies though.
  
  Almost all the replies were did you set up links to qmail's sendmail
  wrapper... Yes!  I've had qmail running for 6 months without any
  problems.  Followed LWQ to the letter and have since re-verified the
  links are in place...
  
  [bill@mail bill]$ cd /usr/lib
  [bill@mail lib]$ ls -l sendmail
  lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
  /var/qmail/b
  in/sendmail
  [bill@mail lib]$ cd /usr/sbin
  [bill@mail sbin]$ ls -l sendmail
  lrwxrwxrwx1 root root   23 Jun  3 11:25 sendmail -
  /var/qmail/b
  in/sendmail
  
  I even did the following:
  
  1) Stopped qmail and removed the symlinks
  2) Installed sendmail (from RPM)
  3) Did a complete install (./configure blah blah, make, make install) for
 both PHP and Apache (per their instructions)
  4) Uninstalled sendmail using RPM
  5) Re-create the symlinks to qmail's sendmail
  6) Restarted qmail (actually restared the machine, qmail's working)
  
  STILL, get the error: mail() is not supported in the PHP build
  
  The only thing I haven't tried is the suggestion from Michael Geier below.
  Nothing personal Michael, but Hell, I don't want to have to start from
  scratch... surely I don't need to re-install Linux!
  
  Anybody else?
  
  Bill
  
  (OK, back to off list mode!)
 
 Hi, I've been using a PHP build from the source RPM on my box for a while 
 without any problems, though admittedly I haven't been doing anything that 
 would use the mail() function, so I might actually have the same problem 
 you do, I just don't know.
 
 Of course, my telling you that helps you not at all, so here's my 
 suggestion:
 
 (1) Test to see if the mail() function works with sendmail installed. I 
 know that involves some work, but maybe it's just broken in the version of 
 PHP you have.
 
 (2) If you've done (1) and found that mail() works, leave sendmail 
 installed, but just delete all of the sendmail binaries (so nothing can be 
 run) and put the symlinks back, etc. That way, all of the sendmail 
 libraries are still there and hopefully PHP will stop complaining.
 
 Admittedly, this is an ugly solution, but it *might* work if you can't fix 
 it any other way.
 
 -- 
 J.
 
 
 
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: best patches to be apply for QMAIL

2001-06-07 Thread Dave Sill

hari_bhr [EMAIL PROTECTED] wrote:

i would like to know , what are the patches to be patch with this.
for more secure and with out any holes
could some one guide me what are the patches to be apply

Any patches you apply are more likely to decrease security than
improve it. (No offense intended to patch authors, but DJB's record
speaks for itself.)

-Dave



Re: ANNOUNCE: qmail now works with the diet libc

2001-06-07 Thread Felix von Leitner

Thus spake Mark ([EMAIL PROTECTED]):
 Er, what's the chance of have a ps which compares qmail-popd,
 qmail-smtp and qmail-remote then?  Kinda relevant doncha think?

You are right.  This is a diet libc pop3:

USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
leitner   3232  0.4  0.05648   3 T15:30   0:00 /var/qmail/bin/qmail-pop3d 
Maildir
root  3229  0.0  0.06848   3 T15:29   0:00 tcpserver 0 pop3 
/var/qmail/bin/qmail-popup felix.convergence.de /bin/checkpassword 
/var/qmail/bin/qmail-pop3d Maildir
root  3231  0.1  0.02020   3 T15:29   0:00 /var/qmail/bin/qmail-popup 
felix.convergence.de /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir


This is after I logged in and retrieved one message from a Maildir of 151.

And this is a diet libc smtpd (without openssl and STARTTLS):

USER   PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
root  3313  0.1  0.03636   3 S15:34   0:00 /var/qmail/bin/qmail-smtpd

This is after I connected and dumped a test email of three lines.

Compare for yourself.

Felix



qmail-remote hangs

2001-06-07 Thread Yevgeniy Miretskiy

Hello,

I encountered very veird problem with qmail-remote hanging
indefinitelly (for over 2 weeks).  Here are the details:

qmail-remote stays in ESTABLESHED state forever.
strace show that qmail-remote hangs doing: 'read(3,'

Most of hanged qmail remote are trying to deliver to outblaze.com
(or to domains using outblaze.com mail servers, s.a. mail.com)
There were couple posts to the list
(http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html, and
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01333.html)
outlining similar problem (also with outblaze).  However, I had 2 qmail-remotes
get stuck on different domains.

I observed this behaviour on 2 mail servers (OS and setup is the same).

OS is Rhat 6.2

I'm at complete loss and have no idea how qmail-remote can get stuck
trying to read from fd3.  After looking at qmail-remote.c, it's apparent
that qmail-remote calls timeoutread to perform network reads.
Timeoutread does select() syscall before doing read.
So, the only way we can get to read is when selected returned w/out timeout
indicating that there is data available.  Then, how can 'read(3' can get stuck???

Furthermore, when I kill one of the stuck qmail-remotes, qmail tries to redeliver
the message, and either succedes or times out on remote host w/out problem.

ANY suggestions on what can be done to troubleshoot this problem are very much 
appreciated.

-- 
  Eugene Miretskiy [EMAIL PROTECTED]
  InVision.com, INC.  (631) 543-1000
  www.invision.net  /  www.longisland.com 



Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Kalle Kivimaa

On Thursday 07 June 2001 16:00, Dave Sill wrote:
   /boot20MB
   /var 300MB min, 800MB better, more for servers
   /2GB or more (include /usr and /tmp)
   /homewhatever you need
   swap 500MB or more

In a mail server this fails when you get a mail which is larger than the 
available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD be 
safe.  Same goes with /home if you deliver mail locally.

-- 
Kalle KivimaaWork: +358 (0) 201 500 761
Senior Software Designer Fax: +358 (0) 201 500 799
Akumiitti Telematics Ltd.http://www.akumiitti.fi
Salomonkatu 17 B 3.krs, FI-00100 Helsinki, Finland



Re: I think I'm being relayed through, but I don't know how.

2001-06-07 Thread Chris Garrigues

I've got a slightly old set of qmail-ldap patches.  I guess I'd better upgrade!

Thanks.

Chris


 From:  Johan Almqvist [EMAIL PROTECTED]
 Date:  Thu, 7 Jun 2001 14:43:04 +0200

 * Johan Almqvist [EMAIL PROTECTED] [010607 12:59]:
  * Chris Garrigues [EMAIL PROTECTED] [010606 20:44
 =
 ]:
   I've got this in my queue:
  Your patched qmail-smtpd seems to have a buffer overflow problem. Vis:
 
 And attached is the confirmation.

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Dave Sill

Kalle Kivimaa [EMAIL PROTECTED] wrote:

In a mail server this fails when you get a mail which is larger than the 
available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD be 
safe.  Same goes with /home if you deliver mail locally.

You really have users sending multigigabyte messages? Yow.

-Dave



Re: Qmail-remote stopped up?

2001-06-07 Thread Jörgen Persson

Sorry for the delay (family occasion).


On Wed, Jun 06, 2001 at 10:46:11AM -0400, Troy Settle wrote:
 RAM is also fine.  Out of 256MB, I generally have 20-30mb free

Aaah...not the amount but the quality. Have you _tested_ the RAM?


 Anything else worth looking at?

I assume you managed to read the stucked messages in the queue since you
didn't mention it...

I've seen weird problems with firewalls using a ''SMTP proxy'' instead
of filtering the packets. Maybe you or the recipients are using one of
those?? You can easily check it by connecting manually.

Jörgen



Line Feed

2001-06-07 Thread Marc Knoop

I have been requested to make a change to one of my qmail servers [see
below], though I am unsure of how to do this.

Also, can anyone confirm that there is an RFC stating that a CR is a LF?

TIA,

../mk


-Original Message-
Subject:Mail server config

Could your mail relay/server be configured so that LF is allowed as a line
terminator?  
RFC requires CR LF as the terminator and the server by default would enforce
the rule, which causes problem for our legacy codes. Almost all servers
allow this type of configuration.
- End forwarded message -



SMTP-AUTH using TLS

2001-06-07 Thread Jeff Palmer

Hello,


I have been playing with qmail for a while now,
I have been using a pop before smtp (ugg) solution for remote users

I noticed in ports,  a qmail-tls package  (FreeBSD 4.3 system)

Last night,  I installed this package on a mock-up server  but have been 
unable to
get it working with client certificates,  to allow relay.

I have searched mailing lists,  and I seem to find conflicting setups,   so 
I ask the list:


Can anyone point me to GOOD (as in reliable) documentation on how to configure
the server and cleint for SMTP Authentication via TLS?



Thanks in advance,

Jeff Palmer

[EMAIL PROTECTED]




Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread peter green

* Kalle Kivimaa [EMAIL PROTECTED] [010607 10:28]:
/var 300MB min, 800MB better, more for servers
 In a mail server this fails when you get a mail which is larger than the 
 available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD be 
 safe.  Same goes with /home if you deliver mail locally.

If your users are filling a /var partition of 4GB, you (a) handle an
extraordinary amount of high-latency e-mail, (b) are mismanaging your mail
server (hint: databytes), and/or (c) you have extremely rude lusers sending
MP3s and whatnot through the system (in which case they need to be beaten).

YMMV,

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
Whip me.  Beat me.  Make me maintain AIX.
(By Stephan Zielinski)




Acl

2001-06-07 Thread rosita



I'm using Qmail + Vpomail + Courier-Imap and would 
like to enable Acl on mailboxes.
I nedd to enable tree different users(accounts) to 
gain access toa single mailbox.
How can i do that?


Thanks, Marco


Problem with me and hostname

2001-06-07 Thread Ari Arantes Filho

Hi,

An user is trying to send an email and I see this in log:

2001-06-07 09:13:34.292253500 delivery 21640: deferral:
Connected_to_200.251.234.142_but_my_name_was_rejected./Remote_host_said:_501
_dd002.domain.com,_
why_do_you_say_you_are_mail.domain.com?/

The hostname is dd002.domain.com, but I don't say this name in me,
every machine has a different name, so I can very easy change the qmail or
ftp or other service to other machine.

My mail server:
dd002.domain.com (200.1.1.2) eth0
mail.domain.com -- me (200.1.1.21) eth0:0 pop3.domain.com and
smtp.domain.com alias to mail.domain.com

My web server:
dd001.domain.com (200.1.1.1) eth0
www.domain.com (200.1.1.10) eth0:0
www2.domain.com (200.1.1.11) eth0:1 -- virtual server (customers' domains)
ftp.domain.com (200.1.1.12) eth0:2

Let's say I want to change www.domain.com to other machine, I don't need to
change it IP.

How to fix this? What is localiphost

Thanks,

Ari





Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread David Gartner

But qmail doesn't deliver to /var/spool/mail.  It delivers to users home
directory as Mailbox or Maildir/new/TIMESTAMP.PID.HOSTNAME  ... I thought?

David


Kalle Kivimaa wrote:

 On Thursday 07 June 2001 16:00, Dave Sill wrote:
/boot20MB
/var 300MB min, 800MB better, more for servers
/2GB or more (include /usr and /tmp)
/homewhatever you need
swap 500MB or more

 In a mail server this fails when you get a mail which is larger than the
 available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD be
 safe.  Same goes with /home if you deliver mail locally.

 --
 Kalle KivimaaWork: +358 (0) 201 500 761
 Senior Software Designer Fax: +358 (0) 201 500 799
 Akumiitti Telematics Ltd.http://www.akumiitti.fi
 Salomonkatu 17 B 3.krs, FI-00100 Helsinki, Finland




Re: best patches to be apply for QMAIL

2001-06-07 Thread Alan Clegg

Unless the network is lying to me again, Henning Brauer said: 
 On Thu, Jun 07, 2001 at 06:24:16PM +0530, hari_bhr wrote:
  i would like to know , what are the patches to be patch with this.
  for more secure and with out any holes
  could some one guide me what are the patches to be apply
 
 Not a single one.

Speaking of qmail, that is.  Be *SURE* that you apply all patches to
the redhat O/S, as they seem to have much more difficulty getting it
right than qmail did.  ;-)

AlanC



Re: I think I'm being relayed...

2001-06-07 Thread Mike Cathey

Does anyone know what happened to the qmail-ldap-control patches on
bayour.com?
The directory linked to in the faq is empty.  And
bayour.com/qmail/patches_ldap appears to be empty as well.  Were the
patches mirrored anywhere?  If not, I'd be glad to provide one (as well
as a mirror for qmail.org).

Thanks,

Mike

Chris Garrigues wrote:
 
 I've got a slightly old set of qmail-ldap patches.  I guess I'd better upgrade!
 
 Thanks.
 
 Chris



Re: qmail-remote hangs

2001-06-07 Thread Jörgen Persson

On Thu, Jun 07, 2001 at 09:38:50AM -0400, Yevgeniy Miretskiy wrote:
 Hello,
 
 I encountered very veird problem with qmail-remote hanging
 indefinitelly (for over 2 weeks).  Here are the details:
 
 qmail-remote stays in ESTABLESHED state forever.
 strace show that qmail-remote hangs doing: 'read(3,'


There is an ongoing thread on the subject... You might be able to help
each other.


 Most of hanged qmail remote are trying to deliver to outblaze.com
 (or to domains using outblaze.com mail servers, s.a. mail.com)


I tried to connect to mail.com manually but didn't succeed...

Jörgen



Re: qmail-inject error

2001-06-07 Thread Brian Moon

The qmail/Reiser patch is installed.  Besides from reading the text with
that patch it seemed to only be an issue with crash recovery.

More on this today.  We modified qmail.c to give separate error messages in
the switch statement for each error condition.  Luckily or not we got the
error again today.  There error is occuring when link is called at the end
of main() trying to link the file in intd to todo.  There are two lines that
raise that error so we are trying to capture strerror() after each and see
which it is and what the error is.

I will report back to the list with anything I get.

Brian Moon
--
dealnews.com, Inc.
Makers of dealnews  dealmac
http://dealnews.com/ | http://dealmac.com/

- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: qmail [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 4:45 PM
Subject: Re: qmail-inject error


 Brian Moon [EMAIL PROTECTED] wrote:
  I ocassionally (once a week) am getting:
 
  qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)
 
  I found this list of possible problems:
 
  -out of disk space
 
   3.1G free.

 Likely not disk space then.

  -out of inodes
 
  I don't see how.  There are 56800 files in 1365 dirs on that partition.

 `df -i` should tell you if you're running out of inodes.

  That partition is ReiserFS.

 Ah -- perhaps the culprit.  qmail requires a small patch to run on
ReiserFS
 (it's buried somewhere on Hans' site; I found it through Google at one
point,
 although I haven't used it).  qmail does not work correctly on ReiserFS
(or,
 more accurately, ReiserFS doesn't work correctly enough to run a qmail
queue
 on it) without this patch.  Isn't there a mention of this on qmail.org?

  -permissions on the queue directories are wrong
  -ownership of the queue directories are wrong

 This would be an always thing, instead of an occasional thing.

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






Its impossible....CJK

2001-06-07 Thread Constantine Koulis

Hello.

I have a running REDHAT linux 7.0 with QMAIL and COURIER on it.I can send 
email from my UNIX-USERS but i can receive only using PINE.I mean to POP3 i 
dont receive anything using OUTLOOK EXPRESS and by IMAP using squirrelmail 
nothing.
Can somebody help me.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Line Feed

2001-06-07 Thread Charles Cazabon

Marc Knoop [EMAIL PROTECTED] wrote:
 I have been requested to make a change to one of my qmail servers [see
 below], though I am unsure of how to do this.

You could patch qmail to do this, but it's a bad idea.  See further info
below.

 Also, can anyone confirm that there is an RFC stating that a CR is a LF?

The relevant RFC is RFC2821 -- but it specifically forbids treating a bare LF
as a line separator.  The requirement is indeed CR+LF.  I've never seen anyone
quote anything claiming CR is a LF and am not sure what you mean by it.

To fix this for broken clients, you can use fixcrio, or djb's @fixme/fixup
solution which feeds to new-inject or qmail-inject to rewrite the message.
See djb's FAQs and many discussions in the list archives for details.

But of course the best solution is fix the broken clients.

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: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Bill Andersen

Kalle Kivimaa [EMAIL PROTECTED] wrote:

In a mail server this fails when you get a mail which is larger than the
available size on /var.  Thus, have AT LEAST 4GB for /var, then you SHOULD
be
safe.  Same goes with /home if you deliver mail locally.

Dave Sill wrote:
You really have users sending multigigabyte messages? Yow.


I first thought the same thing, but then remembered seeing a
graphics designer friend of mine email a complete corporate
brochure to his printer.  Sent 8 emails with attachments of
just under 125MB EACH.  He had 768DSL, they had T-1.  Started
the send and went to eat dinner.  We got back a couple of
hours later and they were done! I asked him why he didn't
FTP them and he said, why email is easy!

Get many people doing that on your mail server and
you are right, Yow is about the only thing you can say!

Bill




Re: Line Feed

2001-06-07 Thread Russell Nelson

Marc Knoop writes:
  I have been requested to make a change to one of my qmail servers [see
  below], though I am unsure of how to do this.

Probably the best thing to do, to minimize the possible corruption of
email, is to add a /service/smtpdlf, bind to another IP address or
port number, and patch the copy of qmail-smtpd that's running on that
service so it accepts LF as a line terminator.  Then tell the people
who can't fix their broken code that they can use smtpdlf at the
different port or IP address.
-russ

  -Original Message-
  Subject: Mail server config
  
  Could your mail relay/server be configured so that LF is allowed as a line
  terminator?  
  RFC requires CR LF as the terminator and the server by default would enforce
  the rule, which causes problem for our legacy codes. Almost all servers
  allow this type of configuration.
  - End forwarded message -

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | John Hartford, RIP
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Henning Brauer

On Thu, Jun 07, 2001 at 10:57:54AM -0400, peter green wrote:
 If your users are filling a /var partition of 4GB, you (a) handle an
 extraordinary amount of high-latency e-mail, (b) are mismanaging your mail
 server (hint: databytes), and/or (c) you have extremely rude lusers sending
 MP3s and whatnot through the system (in which case they need to be beaten).

or (d) you are on a busy webserver which logs to /var. I have /var slices
(eh, partitions in linux-speak) of 30 GB on some machines.
A webserver of this kind shouldn't act as mailserver, though.

For partition sizing I'm usually taking 100-200MB for /, 1-2G for swap, 200m
for /tmp, 2-4G for /usr, /home dependant of server usage 100m up to 10G an
at least 10G for /var (or 1G for /var and at least 10G for /var/log).

Greetings

Henning

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



ACL

2001-06-07 Thread marco1




I'm using Qmail + Vpomail + Courier-Imap and would 
like to enable Acl on mailboxes.
I nedd to enable tree different users(accounts) to 
gain access toa single mailbox.
How can i do that?


Thanks, 
Marco


RE: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Mike Peppard

Hey guys!

Actually, it only takes a few msaccess databases
to get to the gigabyte range, or in my case a couple
of sales people travelling and not picking up mail.
I'm moving to a 5X36gig system for mail from an e450,
once I get the server in.  Disk is cheap, why put
artifical limits on the server?  Go for it killer.
You will not regret more disk... the opposite is not!
true.

-Mike

 -Original Message-
 From: Dave Sill [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 07, 2001 10:40 AM
 To: [EMAIL PROTECTED]
 Subject: Re: better methods to install qmail on linux ( Redhat 6.2 or
 7.0)


 Kalle Kivimaa [EMAIL PROTECTED] wrote:

 In a mail server this fails when you get a mail which is larger than the
 available size on /var.  Thus, have AT LEAST 4GB for /var, then
 you SHOULD be
 safe.  Same goes with /home if you deliver mail locally.

 You really have users sending multigigabyte messages? Yow.

 -Dave





Re: Problem with me and hostname

2001-06-07 Thread Charles Cazabon

Ari Arantes Filho [EMAIL PROTECTED] wrote:
 
 An user is trying to send an email and I see this in log:
 
 2001-06-07 09:13:34.292253500 delivery 21640: deferral:
 Connected_to_200.251.234.142_but_my_name_was_rejected./Remote_host_said:_501
 _dd002.domain.com,_
 why_do_you_say_you_are_mail.domain.com?/
 
 The hostname is dd002.domain.com, but I don't say this name in me,
 every machine has a different name, so I can very easy change the qmail or
 ftp or other service to other machine.

You can arbitrarily set the string used in the HELO greeting with
/var/qmail/control/helohost .

However, rejecting mail based on the contents of the HELO command is forbidden
by RFC2821.  The server you're trying to send this to is rejecting (in djb's
words) a huge amount of legitimate mail, and a moderate amount of spam.

 How to fix this? What is localiphost

localiphost is used when someone connects to your SMTP port and does RCPT TO:
user@[1.2.3.4] where 1.2.3.4 is one of your IP addresses.

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: ANNOUNCE: qmail now works with the diet libc

2001-06-07 Thread Van Liedekerke Franky

Just wondering if this is the complete truth. I think most of the time
memory isn't a problem but CPU is, and I don't see/know if this diet libc is
decreasing CPU load. More concurrency leads to more memory usage but also to
more CPU susage.
Of course I could be wrong here :)

Greets,

Franky


-Original Message-
From: Felix von Leitner [mailto:[EMAIL PROTECTED]]
Sent: woensdag 6 juni 2001 22:55
To: [EMAIL PROTECTED]
Subject: ANNOUNCE: qmail now works with the diet libc

Why is this significant?  Because it allows a much larger concurrency on
the same hardware.  More POP3 users, more concurrent local and remote
deliveries, more incoming SMTP connections.




suddenly cannot receive email

2001-06-07 Thread Virginia Chism

Until I get this mess fixed, please cc responses to [EMAIL PROTECTED]
Sorry, but it is the only way I can receive email right now.

I seem to have done something to break my qmail.  Yesterday afternoon, I
added a virtual user in /var/qmail/control/virtualdomains and put his
forwarding address in alias/.qmail-garnette-monte and added his domain to
rcpthosts then restarted.  I did not notice at the time (because I left work
right after that), but I have not received ANY email since I did that.  We
have a UNIX box running BSDi 4.0, QMail, Apache and FP.

This morning I did a 'tail -f /var/log/maillog' and found tons of bounce
messages going out and the following messages about incoming mail:

Jun  7 09:57:54 midnightsun qmail: 991925874.483380 starting delivery 434:
msg 2
77962 to remote [EMAIL PROTECTED]
Jun  7 09:57:54 midnightsun qmail: 991925874.490779 status: local 0/10
remote 1/
20
Jun  7 09:57:54 midnightsun qmail: 991925874.510962 delivery 434: failure:
Sorry
._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_i
n_my
_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

I cehecked control/locals and found my main server,
'midnightsun.chismtrail.com' so I added just plain 'chismtrail.com' in case
that might be the problem, even though it has been working like that just
fine in the past.  It did not help.  Now I am getting the following
messages:


Jun  7 10:14:54 midnightsun qmail: 991926894.296843 starting delivery 35:
msg 27
7963 to local [EMAIL PROTECTED]
Jun  7 10:14:54 midnightsun qmail: 991926894.306096 status: local 1/10
remote 0/
20
Jun  7 10:14:54 midnightsun qmail: 991926894.338870 delivery 35: deferral:
Unabl
e_to_chdir_to_maildir._(#4.2.1)/

and

Jun  7 10:16:35 midnightsun qmail: 991926995.777267 delivery 38: failure:
This_m
essage_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/

and

Jun  7 10:35:46 midnightsun qmail: 991928146.945873 starting delivery 70:
msg 27
7962 to local [EMAIL PROTECTED]
Jun  7 10:35:46 midnightsun qmail: 991928146.955071 status: local 1/10
remote 0/
20
Jun  7 10:35:46 midnightsun qmail: 991928146.987598 delivery 70: failure:
Sorry,
_no_mailbox_here_by_that_name._(#5.1.1)/


There is a [EMAIL PROTECTED], in

/usr/var/vpopmail/users

.qmail-default  .qmail-igy  .qmail-walter   .qmail-wvchism9 postmaster
.qmail-gin  .qmail-root .qmail-wdchism  abc walt
.qmail-iggy .qmail-swap .qmail-wlat guest   webmaster


Where else can I look to find the problem?




Re: Line Feed

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 10:49:58AM -0400, Marc Knoop wrote:
 I have been requested to make a change to one of my qmail servers [see
 below], though I am unsure of how to do this.

Search the archives for 'fixcrio' -- it's intended for just such broken
clients.

 
 Also, can anyone confirm that there is an RFC stating that a CR is a LF?

I think that your word choices here are poor. No RFC that I am aware of
states that a CR is a LF, however, RFC821/2821 defines a line as a string
of characters terminated by CR and LF.

http://www.faqs.org/rfcs/rfc2822.html

HTH,

-- 
Greg White



Re: Line Feed

2001-06-07 Thread Peter van Dijk

On Thu, Jun 07, 2001 at 10:49:58AM -0400, Marc Knoop wrote:
 I have been requested to make a change to one of my qmail servers [see
 below], though I am unsure of how to do this.

Use fixcrio. Not sure which package it is in.

 Also, can anyone confirm that there is an RFC stating that a CR is a LF?

There is not. Also, applying the requested fix opens up your
mailserver to all kinds of message corruption. There is a reason qmail
doesn't accept these broken messages by default, and that reason is
that rejecting those messages prevents corruption. Messages with
incorrect line-endings could get severely corrupted in the
transmission.

Basically, my advice is to tell them to fix their software. That's
what we do, and everybody has done that, so far.

Greetz, Peter.



Re: Problem with me and hostname

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 11:58:08AM -0300, Ari Arantes Filho wrote:
 Hi,
 
 An user is trying to send an email and I see this in log:
 
 2001-06-07 09:13:34.292253500 delivery 21640: deferral:
 Connected_to_200.251.234.142_but_my_name_was_rejected./Remote_host_said:_501
 _dd002.domain.com,_
 why_do_you_say_you_are_mail.domain.com?/
 
 The hostname is dd002.domain.com, but I don't say this name in me,
 every machine has a different name, so I can very easy change the qmail or
 ftp or other service to other machine.
 

The hostname is not dd002.domain.com:

gregw@frodo:~$ dnsqr a dd002.domain.com
1 dd002.domain.com:
34 bytes, 1+0+0+0 records, response, authoritative, nxdomain
query: 1 dd002.domain.com

Or perhaps this is the cause of your problem?

(Yes, I am aware that you made this name up. If you must use made up
names, at least clearly state this, and try to use 'example.com',
'example.net' or 'example.org'* in your munged data. In this particular
instance, the real domain names would be extremely helpful, as this
appears to be at least partially a question of public DNS records...
Knowing the recieving server may also be helpful).


*See RFC 2606 for more examples of acceptable bogus domain names.
http://www.faqs.org/rfcs/rfc2606.html

-- 
Greg White



Re: pop server

2001-06-07 Thread GARGIULO Eduardo INGDESI

 -Original Message-
 From: PUB: Peter van Dijk [mailto:[EMAIL PROTECTED]]
 Sent: Miércoles 6 de Junio de 2001 20:09
 To: qmail list
 Subject: Re: pop server
 
 
 [snip]
  PD: I'm not using Maildir
 
 You should!
 

Which are the advantages to use Maildir instead of Mailbox?
What about mail clients mail readers (mutt, elm pine, etc)
using Maildir?

--yapedu/xgnu



Lyris performance and article

2001-06-07 Thread John White

SysAdmin has an article online by some of the top technical people
at Lyris (remember Lyris?):

Title: Which OS is Fastest for High-Performance Network Applications?
http://www.sysadminmag.com/newsletters/feature/

They use their MTA as a comparison tool, and crank it up to 
the equvalent of a concurrencyremote of 3000, though they 
don't seem to get much of a performance boost past 1000 on
the hardware they're using.

One of their conclusions is that their asynch multi-threaded
software model outperforms the process based model which qmail
uses.  Is their methodology convincing?  Well...

However, and interesting read.

John White



Re: Line Feed

2001-06-07 Thread Peter van Dijk

On Thu, Jun 07, 2001 at 09:28:45AM -0600, Charles Cazabon wrote:
[snip]
 To fix this for broken clients, you can use fixcrio, or djb's @fixme/fixup
 solution which feeds to new-inject or qmail-inject to rewrite the message.

@fixme/fixup is not gonna help, because the message is rejected at the
SMTP level already, unless you use fixcrio, at which point
@fixme/fixup becomes obsolete.

Greetz, Peter.



Re: qmail-inject error

2001-06-07 Thread Charles Cazabon

Brian Moon [EMAIL PROTECTED] wrote:

   I ocassionally (once a week) am getting:
  
   qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)
[...]
   That partition is ReiserFS.

  Ah -- perhaps the culprit.  qmail requires a small patch to run on
  ReiserFS (it's buried somewhere on Hans' site; I found it through Google
  at one point, although I haven't used it).  qmail does not work correctly
  on ReiserFS (or, more accurately, ReiserFS doesn't work correctly enough
  to run a qmail queue on it) without this patch.

 The qmail/Reiser patch is installed.  Besides from reading the text with
 that patch it seemed to only be an issue with crash recovery.
 
 More on this today.  We modified qmail.c to give separate error messages in
 the switch statement for each error condition.  Luckily or not we got the
 error again today.  There error is occuring when link is called at the end
 of main() trying to link the file in intd to todo.  There are two lines that
 raise that error so we are trying to capture strerror() after each and see
 which it is and what the error is.

I strongly suspect that you've hit a bug in ReiserFS -- are you running with
all of Han's latest patches?  We've been running qmail on various Linux
systems for years, nd have never had a problem like this one on ext2.  You may
want to get Hans' people in on this discussion; they may have a ReiserFS
debugging patch to help them track down the problem.

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



suddenly cannot receive email

2001-06-07 Thread Mermaid140

Until I get this mess fixed, please cc responses to [EMAIL PROTECTED]  Sorry, but it 
is the only way I can receive email right now.

I seem to have done something to break my qmail.  Yesterday afternoon, I added a 
virtual user in /var/qmail/control/virtualdomains and put his forwarding address in 
alias/.qmail-garnette-monte and added his domain to rcpthosts then restarted.  I did 
not notice at the time (because I left work right after that), but I have not received 
ANY email since I did that.  We have a UNIX box running BSDi 4.0, QMail, Apache and FP.

This morning I did a 'tail -f /var/log/maillog' and found tons of bounce messages 
going out and the following messages about incoming mail:

Jun  7 09:57:54 midnightsun qmail: 991925874.483380 starting delivery 434: msg 2
77962 to remote [EMAIL PROTECTED]
Jun  7 09:57:54 midnightsun qmail: 991925874.490779 status: local 0/10 remote 1/
20
Jun  7 09:57:54 midnightsun qmail: 991925874.510962 delivery 434: failure: Sorry
_Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my
_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

I cehecked control/locals and found my main server, 'midnightsun.chismtrail.com' so I 
added just plain 'chismtrail.com' in case that might be the problem, even though it 
has been working like that just fine in the past.  It did not help.  Now I am getting 
the following messages:


Jun  7 10:14:54 midnightsun qmail: 991926894.296843 starting delivery 35: msg 27
7963 to local [EMAIL PROTECTED]
Jun  7 10:14:54 midnightsun qmail: 991926894.306096 status: local 1/10 remote 0/
20
Jun  7 10:14:54 midnightsun qmail: 991926894.338870 delivery 35: deferral: Unabl
e_to_chdir_to_maildir._(#4.2.1)/

and

Jun  7 10:16:35 midnightsun qmail: 991926995.777267 delivery 38: failure: This_m
essage_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/

and 

Jun  7 10:35:46 midnightsun qmail: 991928146.945873 starting delivery 70: msg 27
7962 to local [EMAIL PROTECTED]
Jun  7 10:35:46 midnightsun qmail: 991928146.955071 status: local 1/10 remote 0/
20
Jun  7 10:35:46 midnightsun qmail: 991928146.987598 delivery 70: failure: Sorry,
_no_mailbox_here_by_that_name._(#5.1.1)/


There is a [EMAIL PROTECTED], in

/usr/var/vpopmail/users

qmail-default  .qmail-igy  .qmail-walter   .qmail-wvchism9 postmaster
qmail-gin  .qmail-root .qmail-wdchism  abc walt
qmail-iggy .qmail-swap .qmail-wlat guest   webmaster


Where else can I look to find the problem?



Re: Line Feed

2001-06-07 Thread Marc Knoop

On Thu, Jun 07, 2001 at 09:05:09AM -0700, Greg White wrote:
 Search the archives for 'fixcrio' -- it's intended for just such broken
 clients.

Ahh.  Excellent.

  Also, can anyone confirm that there is an RFC stating that a CR is a LF?
 
 I think that your word choices here are poor. No RFC that I am aware of
 states that a CR is a LF, however, RFC821/2821 defines a line as a string
 of characters terminated by CR and LF.

It was indeed a bad choice of words.  Reading RFC2821 cleared it all up
for me and aided me in a reply to the person who requested the 'feature'
change.

Thanks to all for the swift responses, including Charles and Russell.

-- 
../mk



RE: ACL

2001-06-07 Thread Mark Douglas



I 
would think the easiest way to do this would be:

a) 
make a group that the three accounts are part of (if this isn't already in 
place)
b) 
chgrp the mailbox so that all accounts have access to it
c) set 
the MAIL environment variable for all the accounts to point to that 
mailbox

voila, 
finished. However, I haven't done this before and it's just a guess. Can anyone 
on the list confirm this? Or have a better way?


Mark Douglas - 
Architecture Sympatico-Lycos Inc. All your base are belong to us! Make your time! 

  -Original Message-From: marco1 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 
  11:49To: [EMAIL PROTECTED]Subject: 
  ACL
  
  I'm using Qmail + Vpomail + Courier-Imap and 
  would like to enable Acl on mailboxes.
  I nedd to enable tree different users(accounts) 
  to gain access toa single mailbox.
  How can i do that?
  
  
  Thanks, 
Marco


qmail-remote (cry wolf?)

2001-06-07 Thread Jörgen Persson

Sorry, but I'm not all comfortable with this...

There's been 4 similar reports of qmail-remote not behaving properly to
this list during the last month. 

http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.html

We still haven't been able to help any of them...

This doesn't look like a coincidence to me since two of the reports
concerned the same recipient server (outblaze.com). Unfortunately it
seems related to network programming, which I know very little about.

Any other thoughts about this?

Jörgen



Re: suddenly cannot receive email

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 11:00:35AM -0500, Virginia Chism wrote:
 Until I get this mess fixed, please cc responses to [EMAIL PROTECTED]
 Sorry, but it is the only way I can receive email right now.
 
 I seem to have done something to break my qmail.  Yesterday afternoon, I
 added a virtual user in /var/qmail/control/virtualdomains and put his
 forwarding address in alias/.qmail-garnette-monte and added his domain to
 rcpthosts then restarted.  I did not notice at the time (because I left work
 right after that), but I have not received ANY email since I did that.  We
 have a UNIX box running BSDi 4.0, QMail, Apache and FP.
 
 This morning I did a 'tail -f /var/log/maillog' and found tons of bounce
 messages going out and the following messages about incoming mail:
 
 Jun  7 09:57:54 midnightsun qmail: 991925874.483380 starting delivery 434:
 msg 2
 77962 to remote [EMAIL PROTECTED]
 Jun  7 09:57:54 midnightsun qmail: 991925874.490779 status: local 0/10
 remote 1/
 20
 Jun  7 09:57:54 midnightsun qmail: 991925874.510962 delivery 434: failure:
 Sorry
 ._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_i
 n_my
 _control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

From this information, and the information you've provided below, it
looks to me that you probably did something like this:

echo example.com:example.com  /var/qmail/control/virtualdomains

I doubt that this is what you wanted... see below.


 
 I cehecked control/locals and found my main server,
 'midnightsun.chismtrail.com' so I added just plain 'chismtrail.com' in case
 that might be the problem, even though it has been working like that just
 fine in the past.  It did not help.  Now I am getting the following
 messages:
SNIP logs...
 
 There is a [EMAIL PROTECTED], in
 
 /usr/var/vpopmail/users
 

SNIP listing.

From this alone, it appears that chismtrail.com was a virtual domain,
and should never have been in 'locals'. Add it back to virtualdomains,
and put 'locals' back the way it was.

Please let us know if I nailed it first try...;)

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



Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Kalle Kivimaa

On Thu, 7 Jun 2001, peter green wrote:
 If your users are filling a /var partition of 4GB, you (a) handle an
 extraordinary amount of high-latency e-mail, (b) are mismanaging your mail
 server (hint: databytes), and/or (c) you have extremely rude lusers sending
 MP3s and whatnot through the system (in which case they need to be beaten).

All it takes is for someone to send a 300MB attachment to an internal list
having about 60 people on it.  That's already 18 gigs.  Been there, seen
that.  And the user was a well educated computer professional.  With the
current disk prices I would _never_ put less than 4 gigs on /var and would
try my best to have at least that much free space on /home.  Fortunately
I'm not currently administering anything more complex than two low-traffic
pass-through systems :)





Re: pop server

2001-06-07 Thread peter green

* GARGIULO Eduardo INGDESI [EMAIL PROTECTED] [010607 14:05]:
   PD: I'm not using Maildir
  You should!
 Which are the advantages to use Maildir instead of Mailbox?

[http://cr.yp.to/proto/maildir.html]

 What about mail clients mail readers (mutt, elm pine, etc)
 using Maildir?

mutt == yes, natively
elm == who knows?! (does anyone actually use elm anymore?! ;-)
pine == yes, with specific patches

Another excellent bet is to use IMAP (Courier-IMAP, e.g.) and automatically
allow all IMAP-aware clients to work.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
For mad scientists who keep brains in jars, here's a tip: why not add a slice 
of lemon to each jar, for freshness?
 (Jack Handey)




RE: suddenly cannot receive email

2001-06-07 Thread Tim Hunter

Make sure you check in /var/qmail/users/assign and make sure that is
pointing to the correct place for your virtual domains and check that the
uid/gid is correct.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:44 PM
To: [EMAIL PROTECTED]
Subject: suddenly cannot receive email


Until I get this mess fixed, please cc responses to [EMAIL PROTECTED]
Sorry, but it is the only way I can receive email right now.

I seem to have done something to break my qmail.  Yesterday afternoon, I
added a virtual user in /var/qmail/control/virtualdomains and put his
forwarding address in alias/.qmail-garnette-monte and added his domain to
rcpthosts then restarted.  I did not notice at the time (because I left work
right after that), but I have not received ANY email since I did that.  We
have a UNIX box running BSDi 4.0, QMail, Apache and FP.

This morning I did a 'tail -f /var/log/maillog' and found tons of bounce
messages going out and the following messages about incoming mail:

Jun  7 09:57:54 midnightsun qmail: 991925874.483380 starting delivery 434:
msg 2
77962 to remote [EMAIL PROTECTED]
Jun  7 09:57:54 midnightsun qmail: 991925874.490779 status: local 0/10
remote 1/
20
Jun  7 09:57:54 midnightsun qmail: 991925874.510962 delivery 434: failure:
Sorry
_Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in
_my
_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/

I cehecked control/locals and found my main server,
'midnightsun.chismtrail.com' so I added just plain 'chismtrail.com' in case
that might be the problem, even though it has been working like that just
fine in the past.  It did not help.  Now I am getting the following
messages:


Jun  7 10:14:54 midnightsun qmail: 991926894.296843 starting delivery 35:
msg 27
7963 to local [EMAIL PROTECTED]
Jun  7 10:14:54 midnightsun qmail: 991926894.306096 status: local 1/10
remote 0/
20
Jun  7 10:14:54 midnightsun qmail: 991926894.338870 delivery 35: deferral:
Unabl
e_to_chdir_to_maildir._(#4.2.1)/

and

Jun  7 10:16:35 midnightsun qmail: 991926995.777267 delivery 38: failure:
This_m
essage_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/

and

Jun  7 10:35:46 midnightsun qmail: 991928146.945873 starting delivery 70:
msg 27
7962 to local [EMAIL PROTECTED]
Jun  7 10:35:46 midnightsun qmail: 991928146.955071 status: local 1/10
remote 0/
20
Jun  7 10:35:46 midnightsun qmail: 991928146.987598 delivery 70: failure:
Sorry,
_no_mailbox_here_by_that_name._(#5.1.1)/


There is a [EMAIL PROTECTED], in

/usr/var/vpopmail/users

qmail-default  .qmail-igy  .qmail-walter   .qmail-wvchism9 postmaster
qmail-gin  .qmail-root .qmail-wdchism  abc walt
qmail-iggy .qmail-swap .qmail-wlat guest   webmaster


Where else can I look to find the problem?




Re: suddenly cannot receive email

2001-06-07 Thread Mermaid140

In a message dated 6/7/01 12:55:37 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

 
  From this information, and the information you've provided below, it
  looks to me that you probably did something like this:
  
  echo example.com:example.com  /var/qmail/control/virtualdomains
  
What I actually did was:

echo www.garnette.com:alias-garnette /var/qmail/control/virtualdomains
echo [EMAIL PROTECTED] ~alias/.qmail-garnette-monte
echo garnette.com /var/qmail/control/rcpthosts


  it appears that chismtrail.com was a virtual domain,
 and should never have been in 'locals'. Add it back to virtualdomains,
 and put 'locals' back the way it was.

midnightsun.chismtrail.com is our server.  chismtrail.com was in rcpthosts.  
I have taken it back out of locals and left it in rcpthosts.

I did another test.  It is no longer giving the 'looping message, but is 
still not getting through.  Here is the error message:


[EMAIL PROTECTED]:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)



Re: suddenly cannot receive email

2001-06-07 Thread Mermaid140

In a message dated 6/7/01 1:30:31 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

 Make sure you check in /var/qmail/users/assign and make sure that is
  pointing to the correct place for your virtual domains and check that the
  uid/gid is correct.

This is in /var/qmail/users/assign (and I am such a newbie that I have no 
idea if that is right!):

+cmarc.com-:cmarc.com:142:142:/var/vpopmail/domains/cmarc.com:-::
+chismtrail.com-:chismtrail.com:142:142:/var/vpopmail/users:-:: 



RE: Can't understand some files in /var/qmail/control directory ??

2001-06-07 Thread Kirti S. Bajwa

George:

/var/qmail/control directory contains control files. That is the best
explanation. They control the  operation and behavior of qmail.

defaultdomain control file is used to argument any email address in the
message that are not recognized as being proper [EMAIL PROTECTED] format.
defaultdomain is most often used when sending mail messages to local users
on the same mail server.

local The local control file is used to specify mail addresses that qmail
should consider to be local addresses to the mail server. 

me This control file is the most important control file in qmail. Qmail
will not run if the me control file is not present. The value defined in
me control file is used as the default value for many of the other control
files if they are not present.

Most of the above description is from Running Qmail by Richard Blum. If
you are just getting started, I suggest that you read this book. I hope it
helps.


Kirti

-Original Message-
From: george [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:39 AM
To: [EMAIL PROTECTED]
Subject: Can't understand some files in /var/qmail/control directory ??


 
Hello :

 I can't understand some files in /var/qmail/control directory.
E
xample: defaultdomain, locals, me, Any different?

if I want to add domain ,how to do?

Thank you.



Re: ACL

2001-06-07 Thread Tom Beer

what about three accounts, with a three way forward?
seems easier to do, or?

tom
- Original Message -
From: marco1 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 5:48 PM
Subject: ACL


I'm using Qmail + Vpomail + Courier-Imap and would like to enable Acl on
mailboxes.
I nedd to enable tree different users(accounts) to gain access to a single
mailbox.
How can i do that?


Thanks, Marco





Re: qmail-remote (cry wolf?)

2001-06-07 Thread Mark

On Thu, Jun 07, 2001 at 07:36:53PM +0200, Jörgen Persson allegedly wrote:
 Sorry, but I'm not all comfortable with this...
 
 There's been 4 similar reports of qmail-remote not behaving properly to
 this list during the last month. 
 
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.html
 
 We still haven't been able to help any of them...
 
 This doesn't look like a coincidence to me since two of the reports
 concerned the same recipient server (outblaze.com). Unfortunately it
 seems related to network programming, which I know very little about.
 
 Any other thoughts about this?

If it's an unpatched qmail-remote, then remain suspicious of some OS
bug. I spent a long time looking at qmail-remote when a similar
problem occured on a Solaris 2.5 system (or maybe 2.6, I forget
now). Here are the two lines of code:

  if (select(fd + 1,rfds,(fd_set *) 0,(fd_set *) 0,tv) == -1) return -1;
  if (FD_ISSET(fd,rfds)) return read(fd,buf,len);

That's about as simple as you can get!

I don't see any way that the read() call will occur without select()
returning the fdset bit. So, if select() says that a read can occur,
then the only reason that the read() can then block is if the OS is
lying...

So, it's kinda hard to see a problem with qmail-remote here. Do OSes
ever get it wrong? Sure.

If this is a relatively widespread problem, then you might want to put
an alarm() handler into qmail-remote, but if you can't rely on the OS,
all bets are really off, right?


Regards.



RE: pop server

2001-06-07 Thread Joshua Nichols

 What about mail clients mail readers (mutt, elm pine, etc)
 using Maildir?
 
 --yapedu/xgnu


Mutt plays well with Maildirs.

Good mutt.


--joshua.



Re: suddenly cannot receive email

2001-06-07 Thread Mermaid140

In a message dated 6/7/01 3:27:10 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

 Thought so -- you overwrote virtualdomains, and chismtrail.com was in
  there. ;) Got a copy of the original (backups, etc.)?

That was it!  Thank you so much.  I don't have a copy, but think I can 
rebuild now that I know what I did!



Re: qmail-remote (cry wolf?)

2001-06-07 Thread Mark

  What are the probabilities of the Sendmail server being the one causing
 the problems? What if the mail admin of mg.hk5.outblaze.com has used
 some sort of patch that is causing qmail-remote's to hang? Has anyone
 communicated with outblaze.com's postmaster?

There is nothing a remote system can do that will hang qmail-remote on
a correctly functioning OS. If the local TCP stack has accepted data
and indicated available via the select() return, then the remote
system has no further say as the read() only fetches the data
previously received.

I'll bet it's an OS bug - most likely in the TCP stack. Eg, it may be
that the local TCP stack - in some circumstance - discards unread
data, *then* marks the local socket as unreadable, rather than around
the other way. That sort of window would wedge the select/read
sequence in qmail-remote.


Regards.



Re: qmail-remote (cry wolf?)

2001-06-07 Thread Uwe Ohse

On Thu, Jun 07, 2001 at 07:36:53PM +0200, Jörgen Persson wrote:
 
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html

rethat 6.2, outblaze.com

 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.html

rethat 6.2, outblaze.com

 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.html

FreeBSD 4.something, not outblaze.com.
Some of the host are just unreachable.


 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.html

rethat 6.2, outblaze.com

 
 We still haven't been able to help any of them...

Somebody with rh-6.2 / linux-2.2.14 might want to look into this,
though i'd recommend a kernel upgrade. There have been a number
of networking problems in the linux kernel, and some of them were
quite awful and hard to trigger.
I remember that i downgraded my home server to 2.2.13 after 
2.2.14 broke my rsync-over-ssh or network tar.

Regards, Uwe



RE: suddenly cannot receive email

2001-06-07 Thread Virginia Chism

And now, just to add fat to the fire, my boss cannot access his email.  I'll
deal with that tomorrow. -- Scarlett O'Hara





Re: qmail-inject error

2001-06-07 Thread Charles Cazabon

Brian Moon [EMAIL PROTECTED] wrote:
 We do know that all the emails are getting sent.  We count how many mails we
 should be sending and the numbers match up with the logs.  Does qmail-inject
 retry qmail-queue if it fails?

I don't think so; I'd have to check the source to be sure.  I can't see a
reason to; djb's software is reliable, and the rest of his stuff tends to know
it.  If it hits an error that shouldn't happen the most logical step is to
treat it as fatal.

 As for Reiser, we know we are a bit behind on it.  We are still on 2.2.16
 kernel and running the last reiser we can for that kernel.  If the mail is
 getting sent, that is most important.  We will send you guys and the Reiser
 guys any errors we get out of strerror.

Should be interesting.

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: suddenly cannot receive email

2001-06-07 Thread Virginia Chism

None of my alias addresses work.  I guess I need to put all the domains back
in virtual.  I know I can do it through the 'echo
eachdomain.com:domain.com  \ /var/qmail/control/virtualdomains' route.
Would it be equally effective just to go into virtualdomains and edit the
file?


  
Doesn't chismtrail.com need to go back in virtualdomains?
  
echo chismtrail.com:chismtrail.com  \
 /var/qmail/control/virtualdomains
 
  I'll try that.  I guess I need to restart qmail after the change?

 ISTR that a restart is required for virtualdomains, yes. I would have
 done it anyway, unless it's one that I know is read every time, like
 badmailfrom, etc.

 --
 Greg White





Re: suddenly cannot receive email

2001-06-07 Thread Chris Johnson

On Thu, Jun 07, 2001 at 02:40:31PM -0400, [EMAIL PROTECTED] wrote:
 In a message dated 6/7/01 12:55:37 PM Central Daylight Time, 
 [EMAIL PROTECTED] writes:
 
  
   From this information, and the information you've provided below, it
   looks to me that you probably did something like this:
   
   echo example.com:example.com  /var/qmail/control/virtualdomains
   
 What I actually did was:
 
 echo www.garnette.com:alias-garnette /var/qmail/control/virtualdomains
 echo [EMAIL PROTECTED] ~alias/.qmail-garnette-monte
 echo garnette.com /var/qmail/control/rcpthosts

It sounds like you didn't send qmail-send a SIGHUP. You need to do that to get
it to reread virtualdomains.

Chris



qmailqueue patch

2001-06-07 Thread Joy Hundley

How do I know/find out if my system has the qmailqueue patch that is
required to enable qmail to call a different qmail-queue program than the
one compiled in by default?  Where would I find this information?

Joy Hundley
Internet Services
Service Transport
800-528-1616 ext. 240

 Visit us on the Web at www.service-transport.com




Re: suddenly cannot receive email

2001-06-07 Thread Mermaid140

Should I chown the top four to alias?  Three of them have worked in the past, 
but garnette has not worked at all.  And, should I do anything about the 
-rw-r--r--?

-rw-r--r--  1 root   qmail   11 Apr 20 14:01 .qmail-evergreenequikits-info
-rw-r--r--  1 root   qmail   19 May 22 13:49 .qmail-fiskrri-info
-rw-r--r--  1 root   qmail   18 Jun  6 16:21 .qmail-garnette-monte
-rw-r--r--  1 root   qmail   26 Apr 24 11:16 .qmail-lechapeauonline-info
-rw---  1 alias  qmail   11 May 25  1999 .qmail-mailer-daemon
-rw---  1 alias  qmail   11 May 25  1999 .qmail-postmaster
-rw---  1 alias  qmail   11 May 25  1999 .qmail-root
-rw---  1 alias  qmail   26 Sep 29  2000 .qmail-webmaster
drwx--  5 alias  qmail  512 May 25  1999 Maildir   

This is how they are listed in /var/vpopmail/users

-rw---  1 vpopmail  vpopmail   71 May 26  1999 .qmail-default
-rw---  1 vpopmail  vpopmail   26 Jun 30  1999 .qmail-gin
-rw---  1 vpopmail  vpopmail   26 Jun 30  1999 .qmail-iggy
-rw---  1 vpopmail  vpopmail   26 Jun 30  1999 .qmail-igy
-rw---  1 vpopmail  vpopmail   26 Sep 29  2000 .qmail-root
-rw---  1 vpopmail  vpopmail   26 May 26  1999 .qmail-swap
-rw-r--r--  1 root  vpopmail   21 May  9 09:31 .qmail-walter
-rw-r--r--  1 root  vpopmail   21 May  9 09:32 .qmail-wdchism
-rw-r--r--  1 root  vpopmail   21 May  9 09:30 .qmail-wlat
-rw---  1 vpopmail  vpopmail   21 May 26  1999 .qmail-wvchism9
drwx--  3 vpopmail  vpopmail  512 May 26  1999 abc
drwx--  3 vpopmail  vpopmail  512 Aug 26  1999 guest
drwx--  3 vpopmail  vpopmail  512 May 26  1999 postmaster
drwx--  3 vpopmail  vpopmail  512 May 26  1999 walt
drwx--  3 vpopmail  vpopmail  512 May 26  1999 webmaster 





Re: suddenly cannot receive email

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 04:28:38PM -0400, [EMAIL PROTECTED] wrote:
 In a message dated 6/7/01 3:18:07 PM Central Daylight Time, 
 [EMAIL PROTECTED] writes:
 
  
   Doesn't chismtrail.com need to go back in virtualdomains?
   
   echo chismtrail.com:chismtrail.com  \
/var/qmail/control/virtualdomains
 
 I'll try that.  I guess I need to restart qmail after the change?

ISTR that a restart is required for virtualdomains, yes. I would have
done it anyway, unless it's one that I know is read every time, like
badmailfrom, etc.

-- 
Greg White



Re: suddenly cannot receive email

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 02:41:11PM -0400, [EMAIL PROTECTED] wrote:
 In a message dated 6/7/01 1:30:31 PM Central Daylight Time, 
 [EMAIL PROTECTED] writes:
 
  Make sure you check in /var/qmail/users/assign and make sure that is
   pointing to the correct place for your virtual domains and check that the
   uid/gid is correct.
 
 This is in /var/qmail/users/assign (and I am such a newbie that I have no 
 idea if that is right!):
 
 +cmarc.com-:cmarc.com:142:142:/var/vpopmail/domains/cmarc.com:-::
 +chismtrail.com-:chismtrail.com:142:142:/var/vpopmail/users:-:: 

Doesn't chismtrail.com need to go back in virtualdomains?

echo chismtrail.com:chismtrail.com  \
/var/qmail/control/virtualdomains


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



bounce handling

2001-06-07 Thread Joshua Nichols

Hey all--

I have ezmlm installed, and really like it's bounce detection, but for
certain reasons I must use a different mailing list manager.  I'd like to
take advantage of it's bounce handling though.  Is there a way to have qmail
watch for a certain header, and then implement bounce tracking on a
non-ezmlm message?

That is, let's say I send out a message to the list nicholsfamily.  If I
put a header in the message that says X-List-Message: yes-nicholsfamily
I'd like qmail to treat it like an outgoing ezmlm message, so that if it
bounces, it's tracked in the ezmlm manner.  At the last minute though, when
ezmlm would unsubscribe the user, I'd like it to do something else, like add
the user to a text file, or send an email to a specific address--probably
ideal would be to just run a script, that way the script could do any
combination of the above as the admin saw fit.

Does anybody have or know of anything that aproximates this kind of behavior
in qmail?  I think it would be a very useful feature for many users of qmail
who run other mailing list managers for whatever reason.



thanks,

--joshua.




Re: qmail-inject error

2001-06-07 Thread Brian Moon

We do know that all the emails are getting sent.  We count how many mails we
should be sending and the numbers match up with the logs.  Does qmail-inject
retry qmail-queue if it fails?

As for Reiser, we know we are a bit behind on it.  We are still on 2.2.16
kernel and running the last reiser we can for that kernel.  If the mail is
getting sent, that is most important.  We will send you guys and the Reiser
guys any errors we get out of strerror.

Thanks,

Brian Moon
--
dealnews.com, Inc.
Makers of dealnews  dealmac
http://dealnews.com/ | http://dealmac.com/

- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: qmail [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 11:48 AM
Subject: Re: qmail-inject error


 Brian Moon [EMAIL PROTECTED] wrote:

I ocassionally (once a week) am getting:
   
qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)
 [...]
That partition is ReiserFS.

   Ah -- perhaps the culprit.  qmail requires a small patch to run on
   ReiserFS (it's buried somewhere on Hans' site; I found it through
Google
   at one point, although I haven't used it).  qmail does not work
correctly
   on ReiserFS (or, more accurately, ReiserFS doesn't work correctly
enough
   to run a qmail queue on it) without this patch.

  The qmail/Reiser patch is installed.  Besides from reading the text with
  that patch it seemed to only be an issue with crash recovery.
 
  More on this today.  We modified qmail.c to give separate error messages
in
  the switch statement for each error condition.  Luckily or not we got
the
  error again today.  There error is occuring when link is called at the
end
  of main() trying to link the file in intd to todo.  There are two lines
that
  raise that error so we are trying to capture strerror() after each and
see
  which it is and what the error is.

 I strongly suspect that you've hit a bug in ReiserFS -- are you running
with
 all of Han's latest patches?  We've been running qmail on various Linux
 systems for years, nd have never had a problem like this one on ext2.  You
may
 want to get Hans' people in on this discussion; they may have a ReiserFS
 debugging patch to help them track down the problem.

 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: suddenly cannot receive email

2001-06-07 Thread Mermaid140

In a message dated 6/7/01 3:18:07 PM Central Daylight Time, 
[EMAIL PROTECTED] writes:

 
  Doesn't chismtrail.com need to go back in virtualdomains?
  
  echo chismtrail.com:chismtrail.com  \
   /var/qmail/control/virtualdomains

I'll try that.  I guess I need to restart qmail after the change?



Re: suddenly cannot receive email

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 04:52:41PM -0400, Chris Johnson wrote:
 On Thu, Jun 07, 2001 at 02:40:31PM -0400, [EMAIL PROTECTED] wrote:
  In a message dated 6/7/01 12:55:37 PM Central Daylight Time, 
  [EMAIL PROTECTED] writes:
  
   
From this information, and the information you've provided below, it
looks to me that you probably did something like this:

echo example.com:example.com  /var/qmail/control/virtualdomains

  What I actually did was:
  
  echo www.garnette.com:alias-garnette /var/qmail/control/virtualdomains
  echo [EMAIL PROTECTED] ~alias/.qmail-garnette-monte
  echo garnette.com /var/qmail/control/rcpthosts
 
 It sounds like you didn't send qmail-send a SIGHUP. You need to do that to get
 it to reread virtualdomains.

Just to be clear, for the sake of the archives, problem was that the
'main' domain for the box, chismtrail.com, was _already in
virtualdomains_ when then above single redirection was issued. IMHO
everyone should get in the habit of triple-checking single redirects, or
change their mental default to append, a double redirect. You only need
to get burned by this type of thing once to be paranoid for life. 

Speaking as a man with some very old scars of this variety,

-- 
Greg White



Re: qmail-remote (cry wolf?)

2001-06-07 Thread Dave Sill

J=F6rgen Persson [EMAIL PROTECTED] wrote:

There's been 4 similar reports of qmail-remote not behaving properly t=
o
this list during the last month.=20

http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.=
html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.=
html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.=
html
http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.=
html

We still haven't been able to help any of them...

This doesn't look like a coincidence to me since two of the reports
concerned the same recipient server (outblaze.com). Unfortunately it
seems related to network programming, which I know very little about.

Any other thoughts about this=3F

Three of the four are running Red Hat 6.2. That could simply be
because 75% of qmail systems are running RH 6.2, though. :-)

No word on which qmail patches, if any, were installed on these
systems.

-Dave



Re: qmail-remote (cry wolf?)

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 07:36:53PM +0200, Jörgen Persson wrote:
 Sorry, but I'm not all comfortable with this...
 
 There's been 4 similar reports of qmail-remote not behaving properly to
 this list during the last month. 
 
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg00558.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/05/msg01332.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00283.html
 http://www.ornl.gov/its/archives/mailing-lists/qmail/2001/06/msg00426.html
 
 We still haven't been able to help any of them...


Could Neil Kandalgaonkar, Eric Wang, Troy Settle, and Yevgeniy Miretskiy
perhaps get together and compare notes? Do you all share an OS (I
noticed that two posters appeared to mention RH6.2 -- is this the case
for all? Is there another factor that you all share? (I do note that
geography does not appear to be a factor)... This information could
allow us to get somewhere.

If needed, I'm willing to create a mini-list ala .qmail-something to
address all four of the OPs

 
 This doesn't look like a coincidence to me since two of the reports
 concerned the same recipient server (outblaze.com). Unfortunately it
 seems related to network programming, which I know very little about.

It's really tough to even know what to look at at this point... As soon
as I saw that outblaze was in HK, I thought of geographical/routing
issues, but none of the posters seems to share common geography. Hmmm...

-- 
Greg White



Re: qmail-remote (cry wolf?)

2001-06-07 Thread Mike Jackson

Jörgen Persson wrote:
 
 Sorry, but I'm not all comfortable with this...
 
 There's been 4 similar reports of qmail-remote not behaving properly to
 this list during the last month.

 We still haven't been able to help any of them...
 
 This doesn't look like a coincidence to me since two of the reports
 concerned the same recipient server (outblaze.com). Unfortunately it
 seems related to network programming, which I know very little about.
 
 Any other thoughts about this?
 
 Jörgen

Hi,
 Just a little investigation.

$ nslookup

 set type=mx
 outblaze.com

outblaze.compreference = 20, mail exchanger = mg.hk5.outblaze.com
outblaze.compreference = 10, mail exchanger = spf1.hq.outblaze.com


 I was curious if they both ran the same MTA, so I checked it out.


$ telnet spf1.hq.outblaze.com 25
Trying 202.77.223.28...
Connected to spf1.hq.outblaze.com.
Escape character is '^]'.
220 spf1.hq.outblaze.com ESMTP Postfix

$ telnet mg.hk5.outblaze.com 25
Trying 202.123.209.152...
Connected to mg.hk5.outblaze.com.
Escape character is '^]'.
220 mg.hk5.outblaze.com ESMTP Sendmail 8.11.2/8.11.2; Thu, 7 Jun 2001
19:26:17 GMT


 What are the probabilities of the Sendmail server being the one causing
the problems? What if the mail admin of mg.hk5.outblaze.com has used
some sort of patch that is causing qmail-remote's to hang? Has anyone
communicated with outblaze.com's postmaster?

--
Mike



Re: qmail-remote (cry wolf?)

2001-06-07 Thread David Lowe

Mark et. al. -

It *is* possible, though, for qmail-remote to move slowly enough that it
appears to hang (yes, even for hours or days).  timeoutremote applies to
every read() and write() - in the very worst case, each of these system
calls might move only a single byte.

Consider a 5000 byte message and a timeoutremote set to 1200 seconds (the
default).  The worst case just for sending the data alone - not including
smtp overhead and reading responses from the remote server - is almost 70
days (1200 * 5000 / 60 / 60 / 24 ~= 69.44).

Granted, this is extremely unlikely, but you get the idea - some scenarios
can cause qmail-remote to move extraordinarily slowly, while still
functioning correctly - that is, within the limits imposed by
timeoutremote.

IMO, the best thing to look at from the people having this problem would
be the output from whatever your system call tracing software is (ktrace
for FreeBSD, truss for Solaris, strace for Linux...), run on the offending
qmail-remote process.  If there is no output for over 'timeoutremote'
seconds, there's almost certainly a TCP stack bug; otherwise, I'd tend to
blame the problem described above.

Thanks,
David Lowe

On 7 Jun 2001, Mark wrote:

   What are the probabilities of the Sendmail server being the one causing
  the problems? What if the mail admin of mg.hk5.outblaze.com has used
  some sort of patch that is causing qmail-remote's to hang? Has anyone
  communicated with outblaze.com's postmaster?
 
 There is nothing a remote system can do that will hang qmail-remote on
 a correctly functioning OS. If the local TCP stack has accepted data
 and indicated available via the select() return, then the remote
 system has no further say as the read() only fetches the data
 previously received.
 
 I'll bet it's an OS bug - most likely in the TCP stack. Eg, it may be
 that the local TCP stack - in some circumstance - discards unread
 data, *then* marks the local socket as unreadable, rather than around
 the other way. That sort of window would wedge the select/read
 sequence in qmail-remote.
 
 
 Regards.
 











Re: qmail-remote (cry wolf?)

2001-06-07 Thread Mark

On Thu, Jun 07, 2001 at 04:39:25PM -0700, David Lowe allegedly wrote:
 Mark et. al. -
 
 It *is* possible, though, for qmail-remote to move slowly enough that it
 appears to hang (yes, even for hours or days).  timeoutremote applies to
 every read() and write() - in the very worst case, each of these system
 calls might move only a single byte.
 
 Consider a 5000 byte message and a timeoutremote set to 1200 seconds (the
 default).  The worst case just for sending the data alone - not including
 smtp overhead and reading responses from the remote server - is almost 70
 days (1200 * 5000 / 60 / 60 / 24 ~= 69.44).
 
 Granted, this is extremely unlikely, but you get the idea - some scenarios
 can cause qmail-remote to move extraordinarily slowly, while still
 functioning correctly - that is, within the limits imposed by
 timeoutremote.

Right. But in that case, the syscall trace would show qmail-remote
blocked on the select() not the read(). The read() only gets executed
if select() says there is data in which case the read does not block
and the code immediately loops back on the select() again.

As I recall, the original syscal trace showed qmail-remote blocked on
the read().


Regards.



Broadcast Message??

2001-06-07 Thread Kirti S. Bajwa

Hi All:

I have been on this list for the last couple of months but have not seen a
message like such. Is it possible to send a message to all people who has an
email address. If YES then what to enter in the to filed of the email
message. I will be happy to read, if there is a document which explains it.
I am using RH 6.2  qmail.

Kirti 



HELP: how to unscribe mailing list

2001-06-07 Thread Uong, Hoang D

Hi,
I am sorry, can you tell me how to unsuscribe this
mailing list. I have tried to find instruction but I have not found
a way to do it.

Thanks a lot,

Hoang





Re: Not able to connect through outlook express

2001-06-07 Thread Greg White

On Thu, Jun 07, 2001 at 05:02:46PM -0700, Harry wrote:
 hi all,
 
 I have qmail running on linux, i am able to receive and send emails through SQWEB 
mail, but i am not able to get my emails through outlook express. I get error  there 
was problem logging onto your mail server. Your passowrd was rejected. Protocol:POP3, 
Server Response:-ERR Bad login, Port:110, Secure(SSL): No, Server Error: 0x800CC90, 
Error Number: 0x800CCC92
 
 Please help.
 
 Regards,
 har

You've very likely misconfigured your POP3 daemon. Please post either
the line in inetd.conf or the 'run' script from supervise that you use
to start your POP3 daemon, and maybe the list can help...

-- 
Greg White



RE: Not able to connect through outlook express

2001-06-07 Thread Hank Wethington

A little more information would be helpful... here's a few areas to look. In
responding back to the list, please include any error messages where
appropriate.

What POP daemon/inetd process are you running on the mail server?
Does it show up in the process list if its a daemon?
From the local machine, if you try to telnet to port 110 what happens?
Are you using vpopmail? If so, you'll need to have a username of
[EMAIL PROTECTED] normally.
Since sqwebmail uses imap, its ability to send and receive is much different
than lookOut running POP. The above questions should trouble shoot a little
farther what might be the issue. Hopefully, this helps.

Hank

Information Logistics
www.GoInfoLogistics.com
mailto:info.at.GoInfoLogistics.com



-Original Message-
From: Harry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 5:03 PM
To: [EMAIL PROTECTED]
Subject: Not able to connect through outlook express


hi all,

I have qmail running on linux, i am able to receive and send emails through
SQWEB mail, but i am not able to get my emails through outlook express. I
get error  there was problem logging onto your mail server. Your passowrd
was rejected. Protocol:POP3, Server Response:-ERR Bad login, Port:110,
Secure(SSL): No, Server Error: 0x800CC90, Error Number: 0x800CCC92

Please help.

Regards,
har




Re: qmailqueue patch

2001-06-07 Thread Russell Nelson

Joy Hundley writes:
  How do I know/find out if my system has the qmailqueue patch that is
  required to enable qmail to call a different qmail-queue program than the
  one compiled in by default?  Where would I find this information?

strings /var/qmail/bin/qmail-smtpd | grep QMAILQUEUE

Or look at the source code.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | John Hartford, RIP
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Re: I think I'm being relayed through, but I don't know how.

2001-06-07 Thread Chris Garrigues

 From:  Chris Garrigues [EMAIL PROTECTED]
 Date:  Thu, 07 Jun 2001 09:38:56 -0500

 I've got a slightly old set of qmail-ldap patches.  I guess I'd better upgrade!

For those who made an attempt to help me out, I'd like to report that it was 
all due to my own stupidity.  my smtp.cdb file didn't have what I thought it 
had in it and I was relaying with or without a buffer overflow.

I'm feeling pretty stupid today.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Not able to connect through outlook express

2001-06-07 Thread Harry



hi all,

I have qmail running on linux, i am able to receive 
and send emails through SQWEB mail, but i am not able to get my emails through 
outlook express. I get error " there was problem logging onto your mail server. 
Your passowrd was rejected. Protocol:POP3, Server Response:-ERR Bad login, 
Port:110, Secure(SSL): No, Server Error: 0x800CC90, Error Number: 
0x800CCC92"

Please help.

Regards,
har


Environment Variables vs POP-before-SMTP

2001-06-07 Thread Eduardo Augusto Alvarenga

Hi there,

I'm using POP-before-SMTP function in vpopmail.
Everything was working fine if to relay successfully authenticated users
since I started trying to set the environment variable DATABYTES on my
tcp.smtp.cdb file, but POP-before-SMTP don't set it on the new
roaming user.

Like:

original tcp.smtp.cdb
192.168.0.:allow,RELAYCLIENT=,DATABYTES=1024

new created on the fly tcp.smtp.cdb (I guess)
ro.am.ip.:allow,RELAYCLIENT=

Any tips to resolve this?

vpopmail-4.9.10 - qmail-1.03

Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
Blumenau - Santa Catarina. Tel. (47) 9102-3303
   http://www.netron.com.br/~eduardo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-