Re: Need Arguments for qmail

2001-02-21 Thread Mike Jackson

Jason Radford wrote:
 
  Recently switching from sendmail to qmail I have observed the difference in
  architecture between the two.  The modularization of qmail appeals to me
  in both simplicity and elegance, and it's superiority was evident in my
  smtp benchmarking between the two MTAs.  The only thing I miss from an admin
  standpoint is the readability of sendmail's logs vs. qmail/multilog.
 
  While I fully understand the justification of qmail's logging structure
  because of it's modularization, I am still left somewhat longing for a
  more readable logfile.  Possibly over time I will develop a
  better skill for reading these logs, but for now that's my only concern
  since switching.  There may be tools to aid in this, however out of
  the box this doesnt seem to be the cause.
 

Hi,
 One thing that makes the logfile a bit easier to read is to change the
time to human readable format like this:

tail -f /var/log/qmail/current | tai64nlocal

or this

cat /var/log/qmail/current | tai64nlocal | less

If you've installed the daemontools? package, then you should have
tai64nlocal in /usr/local/bin. It would be nice to have a script that
you could look at log files with, that would put the delivery in
subsequent lines and strip out some of the garbage. That shouldn't be
too hard to write for a good perl coder...

Regards,
Mike



email to fax machine

2001-02-21 Thread Ami Shamril


Hi all,

We just bought one fax machine (Brothers MFC8600).
By default users just can send fax by send email to this fax machine.
Email address for the fax machine is [EMAIL PROTECTED]
But the format to fax is to send email to fax@mycompany(fax#1234567) (This
format worked with MS Exchange server)
So the fax machine will fax the email to the fax no. which is 1234567
So the problem is our mail server (qmail of course) cannot recognize this
kind of format.
If I send an email using that format, I'll get an error message
failure:
Sorry,_I_couldn't_find_any_host_named_mycompany(fax#1234567)._(#5.1.2)/
Anybody has an idea to solve this?
TQ in advance.





Re: Need Arguments for qmail

2001-02-21 Thread Robin S. Socha

* Mike Jackson [EMAIL PROTECTED] [010221 03:19]:

 cat /var/log/qmail/current | tai64nlocal | less

http://www.ling.helsinki.fi/~reriksso/unix/award.html



Re: Need Arguments for qmail

2001-02-21 Thread Lincoln Yeoh

At 03:47 AM 21-02-2001 -0500, Robin S. Socha wrote:
* Mike Jackson [EMAIL PROTECTED] [010221 03:19]:

 cat /var/log/qmail/current | tai64nlocal | less

http://www.ling.helsinki.fi/~reriksso/unix/award.html

Off topic but I still prefer using cat even for single files because a typo
has less severe effects. So do I get a lifetime award ;)?

Cheerio,
Link.




Re: djbcron

2001-02-21 Thread Frank D. Cringle

Michael Handler [EMAIL PROTECTED] writes:
 Someone wrote:
 
  Wishlist:  a djb replacement for Vixie cron.
 
 Posit: he already has.
 
 user@hypothetical$ cat /service/logrotate/run
 #!/bin/sh
 
 logrotation commands
 exec /bin/sleep 86400

Nothing hypothetical about it.  I have been running a couple of
frequently used services like that for about a year.

  $ cat /var/service/adm-exec/run
  #!/bin/sh
  
  /usr/local/admdb/adm-exec 21
  exec sleep 300

It's not a replacement for cron jobs that need to run at a specified
time of day, but I find it handy for jobs that need to run regularly
and reliably.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 7745) 928759; fax: 928761



dotforward on solaris

2001-02-21 Thread Oliver Koch

Hi all,

I have installed qmail and dotforward on a Solaris8. Works fine
except for one user. He uses Mailbox delivery and his home is 
mounted via NFS (not a good thing, I know). His .forward contains 
two lines:

phoenix
[EMAIL PROTECTED]

The remote delivery works, but the qmail-local process goes defunct
after a few seconds of doing nothing. I can kill -9 it, which gives
the following log entry:

Feb 21 10:55:09 nathan qmail: 982749309.636515 delivery 69: deferral:
dot-forward:_info:_qp_7730/File_has_been_locked_for_30_seconds_straight._(#4.3.0)/

I have checked quotas, permissons on Mailbox, .forward and
tried delivery to another user with the same setup, which worked
fine. 

Any ideas? 

tia,

-- 
Oliver Koch  Systems Administrator
Computational Mathematics  Optimization Institute of Analysis
Johannes Kepler University LinzAustria
[EMAIL PROTECTED]Tel. +43 70 2468 9166



qmail Digest 21 Feb 2001 11:00:01 -0000 Issue 1282

2001-02-21 Thread qmail-digest-help


qmail Digest 21 Feb 2001 11:00:01 - Issue 1282

Topics (messages 57606 through 57675):

Re: Mail delivery problems.
57606 by: Anurag Jalan

Re: Virtual Domains
57607 by: Charrua

modifying script?
57608 by: Bill Parker

Re: rcphosts?
57609 by: Frank Tegtmeyer

Re: warning: trouble opening remote/4/r
57610 by: Charles Cazabon
57667 by: flint

Suppressing Bounce Messages
57611 by: Manvendra Bhangui
57612 by: Johan Almqvist
57613 by: Matthew Patterson

1 host with several hostnames
57614 by: Massimo Quintini
57619 by: Charles Cazabon

Assistance reading mail headers
57615 by: George Garvey
57618 by: Peter van Dijk

Please Help Me Test My AV SW
57616 by: jsunday.parview.com

unable to establish an smtp connection
57617 by: Mark Lo
57620 by: Charles Cazabon
57622 by: Mark Lo
57628 by: schoon.amgt.com
57629 by: schoon.amgt.com
57636 by: Mark Lo

How do I unsubscribe
57621 by: Shane Wise
57668 by: Sumith Ail

badrcptto
57623 by: Alex Kramarov

(OT) DJB-itization
57624 by: [gill]
57625 by: Carl
57626 by: Charles Cazabon
57652 by: Robin S. Socha
57654 by: Henning Brauer
57655 by: Peter Cavender
57665 by: Carl

qmail smtp
57627 by: Pablo Martin De Natale

Re: Ezmlm capacity
57630 by: Charles Cazabon

The Same email keeps getting sent to qmail
57631 by: Kep Brown

Listen only to One ethernet Card
57632 by: Mark Lo
57634 by: Henning Brauer

Cannot receive mail from other mail server
57633 by: kali
57638 by: Kris Kelley

queue keeping messages
57635 by: Karen
57640 by: Charles Cazabon
57647 by: Karen
57648 by: Jeremy Anttila

Re: Mail hub for relay and outgoing only - no local
57637 by: Dave Sill

Re: queue is not going down...
57639 by: Dave Sill

Re: outgoing messages
57641 by: Dave Sill

Re: pop3 dying
57642 by: Dave Sill

unable to recieve remote mail
57643 by: Webmaster
57644 by: Kris Kelley
57646 by: Henning Brauer
57650 by: Sean Escriva
57651 by: Kris Kelley
57653 by: Charles Cazabon

Followup: badrcptto
57645 by: Alex Kramarov

Receipts...
57649 by: Lukasz Felsztukier

Need Arguments for qmail
57656 by: Peter Cavender
57659 by: Kyle
57666 by: Jason Radford
57669 by: Mike Jackson
57672 by: Robin S. Socha
57673 by: Lincoln Yeoh

Local Deliveries Slow
57657 by: Manvendra Bhangui

tcpserver prints to console!?!
57658 by: Paul Farber
57660 by: Andy Bradford

how to hide the alias-user_name
57661 by: keng heng

multilog not getting messages?
57662 by: Paul Farber

one user handling hundreds of virtual domains
57663 by: Winifred Sanchez
57664 by: Alex Pennace

djbcron
57670 by: Michael Handler
57674 by: Frank D. Cringle

email to fax machine
57671 by: Ami Shamril

dotforward on solaris
57675 by: Oliver Koch

Administrivia:

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

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

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

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


--



Thanks ..that did it !!!  Now all i need ( oops ! ) to do is to get qmail
to use my ISP's SMTP server ... Do I create /var/qmail/control/smptproutes
with the ISP's smptp IP ? Or is ~defaulthost the appropriate file ?

regards

Anurag

- Original Message -
From: "Adam Andrzej Jaworski" [EMAIL PROTECTED]
To: "Anurag Jalan" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 3:36 PM
Subject: Re: Mail delivery problems.


 Hi,

 1) 'Life with qmail' is excellent but try
http://www.flounder.net/qmail/qmail-howto.html
it is my favourite HOWTO (thaaanks to Adam McKenna)

 2) Unable_to_open_./Maildir:_is_a_directory._(#4.2.1) / error means that
either
you have bad Maildir structure or missing slash after ./Maildir/ in rc
file

so, make sure you have there something like:

 SNIP 





Yes, the other way is to use /var/qmail/controls/assign file...

I posted instructions how to use this file: 

Date: Thu, 15 Feb 2001 17:42:07 +0100
Subject: Re: How to set up qmail for several "[EMAIL PROTECTED]"?

so You can check it out


Hi, thank you for the information. In this sense I would like to make two
queries:

Is the assign file cumulative? That is to say do I have to keep on adding
users in this file or after creating the database for the assign file I
should create a new assign file?
Is this procedure compatible with the type of Add-ons of the vpopmail or

Re: Need Arguments for qmail

2001-02-21 Thread Mike Jackson

"Robin S. Socha" wrote:
 
 * Mike Jackson [EMAIL PROTECTED] [010221 03:19]:
 
  cat /var/log/qmail/current | tai64nlocal | less
 
 http://www.ling.helsinki.fi/~reriksso/unix/award.html


This is off-topic for this list, but since you mentioned it: This is not
useless usage of cat. There has to be three processes to pipe the log
file through tai64nlocal without it flying by like an F14. If somebody
knows how to do this with only two processes, then enlighten me.

if you give:

less /var/log/qmail/current | tai64nlocal

it flies by ...

Regards,
Mike



Re: Need Arguments for qmail

2001-02-21 Thread Carl

On Wed, Feb 21, 2001 at 01:32:17PM +0200, Mike Jackson wrote:
 "Robin S. Socha" wrote:
  
  * Mike Jackson [EMAIL PROTECTED] [010221 03:19]:
  
   cat /var/log/qmail/current | tai64nlocal | less
  
  http://www.ling.helsinki.fi/~reriksso/unix/award.html
 
 
 This is off-topic for this list, but since you mentioned it: This is not
 useless usage of cat. There has to be three processes to pipe the log
 file through tai64nlocal without it flying by like an F14. If somebody
 knows how to do this with only two processes, then enlighten me.
 
 if you give:
 
 less /var/log/qmail/current | tai64nlocal
 
 it flies by ...
 
 Regards,
 Mike

I don't have any logs to try it on but I imagine something like this would
work fine:

  tai64nlocal /var/log/qmail/current | less

--Carl--

 PGP signature


Resend (No Reply) !!

2001-02-21 Thread Mark Lo

Hi,

 How to tell qmail only listen to one sigle interface.

for example,

eth0="203.122.222.222"
eth0:0="203.122.222.223"

How to tell qmail to use eth0 only for incoming and outgoing connections ??

Thank You

Mark





Re: Resend (No Reply) !!

2001-02-21 Thread Henning Brauer

On Wed, Feb 21, 2001 at 07:57:43PM +0800, Mark Lo wrote:
 Hi,
 
  How to tell qmail only listen to one sigle interface.
 
 for example,
 
 eth0="203.122.222.222"
 eth0:0="203.122.222.223"
 
 How to tell qmail to use eth0 only for incoming and outgoing connections ??

I answered. If you are posting to the list you should be subscribed. And
resends are useless, if nobody answered the first time nobody will answer
the second time.

incoming: man tcpserver
outgoing: AFAIK impossible without patching qmail-remote.c

 Thank You
 
 Mark
 
 
 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Mail delivery problems.

2001-02-21 Thread Prashant Desai

just replace defaultdelivery with "/Maildir/ and dont forget trailing "/"  ,
also check the owner and permission of users home directory as well as Maildir

hope this helps
Prashant Desai

Anurag Jalan wrote:

 Hi all,

 I recently removed Sendmail 8.9.3 from my Redhat 6.2 system
 and installed Qmail 1.03 following instructions from 'Life with qmail'.

 Aim : To allow 20 odd users on the intranet to access their email from
 various POP3 accounts on different servers and to allow them to send
 local email to each other.

 Setup : caching DNS setup for a fictitious domain adventus.cxm . FQDN of
 local
 server is server.adventus.cxm .

 qmail-pop3d setup through tcpserver as advised .
 Russell Nelson's script used to convert /var/spool/mail to Maildir mailboxes

 fetchmail run via script as user 'anurag' ( was working under Sendmail ) as
 a cronjob ( every 3 minutes ) . Added 'forcecr to * here ' to .fetchmailrc .

 in the rc script ..in the qmail-start line i have ' defaultdelivery splogger
 qmail'
 defaultdelivery has been set to ./Maildir

 I have found the following error in /var/log/maillog

 Unable_to_open_./Maildir:_is_a_directory._(#4.2.1) /

 Any help would be *very* welcome .

 Sincerely
 Anurag




Re: Need Arguments for qmail

2001-02-21 Thread Carl

On Wed, Feb 21, 2001 at 01:48:46PM +0200, Mike Jackson wrote:
 Carl wrote:
  
 
  I don't have any logs to try it on but I imagine something like this would
  work fine:
  
tai64nlocal /var/log/qmail/current | less
  
  --Carl--
 
 Yep, that works. Thanks..
 
Heh, cool. Just a guess.

--Carl--

 PGP signature


Re: (OT) DJB-itization

2001-02-21 Thread [gill]


I should loudly proclaim that I am NOT a software developer, nor do I play
one on TV or any mailing list.  The things I think are my ideas which are
subject to change.  Healthy, constructive discussions which may change
them are strongly encouraged.  That said, these are some of my thoughts
about this subject...

After reading DJB's both distribution policy and his ideas about
filesystem hierarchy, I think it can work with or without his blessing (of
course it would be preferred!).

I got the idea thinking of the original BSD tapes and how they were
essentially aftermarket upgrades to the ATT UNIX distributed to them.

Maybe it would be easiest to distribute something like FreeBSD's ports ...
something that does a default install without modifying the basic
installation of DJB's tools (per the license) and then scripts the
necessary changes in the _OS_ to implement that tool, and then adds in
anything to keep that change in place (such as the makefiles mentioned
below).  I think that if this was going to be done right, it would fully
implement DJB's ideas about filesystem hierarchy and all of the tools he
has created so far.  This would give the world a chance to see the vision
that DJB sees, perhaps.

Is there a better list to discuss this than the qmail list?

--gill


Remember?  When you said:

-On Wed, Feb 21, 2001 at 12:13:36AM +0100, Robin S. Socha wrote:
- * Charles Cazabon [EMAIL PROTECTED] writes:
-  Carl [EMAIL PROTECTED] wrote:
- 
-  Soon I'll do it, I'm hyped about the idea, it'd be cool if some
-  people talked more about the idea, i.e. what would they want in it.
- 
-  Wishlist: a djb replacement for Vixie cron.  Especially topical at the
-  moment.
- 
- But it won't happen without DJB changing his distribution policy. 
- man hier and his software don't match. This is particularly annoying if
- you do cvsups and make world with sendmail, named etc. Oh well...
-
-Robin, I've just posted modified makefiles for your favorite OS to avoid
-this to misc@ ;-))
-
-(it's OpenBSD, for the other readers)
-
-
-





Re: Need Arguments for qmail

2001-02-21 Thread Mike Jackson

Carl wrote:
 

 I don't have any logs to try it on but I imagine something like this would
 work fine:
 
   tai64nlocal /var/log/qmail/current | less
 
 --Carl--

Yep, that works. Thanks..

Mike



Qmail Tests

2001-02-21 Thread Sumith



Hello

I've tested my qmail system with the following two 
perl scripts, downloaded from www.qmail.org

perl qmail-qsanity-0_52

did not display anything does that mean..that my 
Qmail Queue system is set right. or what does it really mean.

perl qmail-lint-0_55Warning: users/assign 
checking not implemented.

What does that warning mean...Is it really bad? 
what can i do to make this error disppear.

I've installed Qmail from RPMS at www.qmail.org

Regards
Sumith


Re: (OT) DJB-itization

2001-02-21 Thread Carl

On Wed, Feb 21, 2001 at 07:10:52AM -0500, [gill] wrote:
 
 Is there a better list to discuss this than the qmail list?
 
Perhaps misc? [EMAIL PROTECTED]

--Carl--
http://slackerbsd.org

 PGP signature


Re: (OT) DJB-itization

2001-02-21 Thread Joost van Baal

On Wed, Feb 21, 2001 at 07:38:20AM -0500, Carl wrote:
 On Wed, Feb 21, 2001 at 07:10:52AM -0500, [gill] wrote:
  
  Is there a better list to discuss this than the qmail list?
  
 Perhaps misc? [EMAIL PROTECTED]

Perhaps slashpackage? http://cr.yp.to/lists.html .

-- 
Joost




Re: Resend (No Reply) !!

2001-02-21 Thread Mark Lo

Hi,

  I have already done so.

   my script is following life with qmail, I replace 0 with my smtp server
ip address.  It seems only bind qmail to use that specific IP address for
incoming connection only.  But for outgoing connections, qmail uses all the
interface randomly that I have on my machine.  Any cues !!!

Thank you

Mark





Re: Resend (No Reply) !!

2001-02-21 Thread Henning Brauer

On Wed, Feb 21, 2001 at 09:20:00PM +0800, Mark Lo wrote:
 Hi,
 
   I have already done so.
 
my script is following life with qmail, I replace 0 with my smtp server
 ip address.  It seems only bind qmail to use that specific IP address for
 incoming connection only.  

Of course. As I've written.

 But for outgoing connections, qmail uses all the
 interface randomly that I have on my machine.  

That depends on your routing and has nothing to do with qmail. You cannot
specifiy an ip to bound to for qmail-remote as i have written.


-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Resend (No Reply) !!

2001-02-21 Thread Johan Almqvist

* Henning Brauer [EMAIL PROTECTED] [010221 14:47]:
  But for outgoing connections, qmail uses all the
  interface randomly that I have on my machine.  
 That depends on your routing and has nothing to do with qmail. You cannot
 specifiy an ip to bound to for qmail-remote as i have written.

And the patches would be at
http://www.qmail.org/local-bind/
http://www.qmail.org/outgoingip.patch
http://www.lamer.de/maex/creative/software/qmail/
http://tycho.edico.si/linuxtnt/#qmail-patch

-Johan, helping Henning to mouth-feed info :-/
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: Fw: Re: warning: trouble opening remote/4/r

2001-02-21 Thread Charles Cazabon

flint [EMAIL PROTECTED] wrote:
 
  Today,I saw there were many messages like this in the maillog:
  982653149.920320 warning: trouble opening remote/4/r
 
 Your queue is corrupt.  Did you manually remove any messages from the queue?
 Get qmail-queuefix from www.qmail.org to fix this.
 
 Thank you. I have really removed the queue. But i have backuped them. Now
 which is better,override the queue with the backed queue or using the
 queue-fix to fix them.

You can either use queue-fix to replace/fix the (non-existent?) queue, or
restore from your backups and THEN use queue-fix to fix the queue.

You can't just restore from tape; files in the queue are named based on the
inodes they reside on.  Restoring from tape will completely mess this up.
queue-fix will rename all the files to match properly.

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



Remote CC

2001-02-21 Thread Nilo Menezes



Why I get one remote process for each address in a 
CC, if they are in the
same domain ?

Ex:
TO: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED], [EMAIL PROTECTED]

I get this message delivered 4 times to the same 
host, x.com. Any suggestions ?

Nilo


Re: (OT) DJB-itization

2001-02-21 Thread Martin Randall

Hello Carl

On 21-Feb-01, you wrote:

 On Wed, Feb 21, 2001 at 07:10:52AM -0500, [gill] wrote:
 
 Is there a better list to discuss this than the qmail list?
 
 Perhaps misc? [EMAIL PROTECTED]
 
 --Carl--
 http://slackerbsd.org

Yes, I mentioned this to DJB as well. I think I said advocacy but a way to
get all the djb program promotion and discussion on file system layout out
of the way of this list which is basically support.
Never heard anything and as far as I am aware, [EMAIL PROTECTED] and
[EMAIL PROTECTED] don't exist.

A pity, as they are needed to push these, what if, discussions off this
list.



Regards...Martin
-- 
---
As far as we know, our computer has never had an undetected error.

 == Weisert





Re: Is there another procedure to enable Selective SMTP relaying which is not SMTP-after-POP?

2001-02-21 Thread Enrique Vadillo

That would be extremely dangerous, spam from anywhere would be relayed 
just by forging sender's address.

The best solution for roamers' smtp is SMTP-after-POP, trust me, what
i have done is to modify the source i found on the net (Bruce Guenter's)
and i have customized it so my smtp server is not abused by non-roaming
users of mine, and now it works simply fine.

Enrique-

|o|  Charrua escribi 
|o| Hi all, 
|o| Is there another procedure to enable Selective SMTP relaying which is not
|o| SMTP-after-POP?. The great problem posed by this solution is that the users
|o| do not want to perform the manual checking of the mailbox first and send
|o| after.
|o| Isn't there a method to enable it by domain? That is to say if the message
|o| comes from domain "domain1.com","domain2.com" or "domain3.com" I allow it to
|o| relay. If it comes from another domain I do not.
|o| Thanks and Best Regards
|o| Andrs



Is there another procedure to enable Selective SMTP relaying which is not SMTP-after-POP?

2001-02-21 Thread Charrua

Hi all, 
Is there another procedure to enable Selective SMTP relaying which is not
SMTP-after-POP?. The great problem posed by this solution is that the users
do not want to perform the manual checking of the mailbox first and send
after.
Isn't there a method to enable it by domain? That is to say if the message
comes from domain "domain1.com","domain2.com" or "domain3.com" I allow it to
relay. If it comes from another domain I do not.

Thanks and Best Regards

Andrs

 





Re: Remote CC

2001-02-21 Thread Johan Almqvist

* Nilo Menezes [EMAIL PROTECTED] [010221 16:06]:
 Why I get one remote process for each address in a CC, if they are in the
 same domain ?

Because that's the way qmail works.

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

 PGP signature


Re: New Patch for Latest UW IMAP server

2001-02-21 Thread Mike Jackson

Tim Hunter wrote:
 
 What problems do you have using Courier with Eudora?  I use it daily with
 zero problems.
 
 - Original Message -
 From: "Herbie" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: "Qmail Users" [EMAIL PROTECTED]
 Sent: Wednesday, February 21, 2001 2:41 AM
 Subject: New Patch for Latest UW IMAP server
 
  Hi,
  I have modified all the patches David Harris had to create an
  uber-patch for the latest UW IMAP server.
 
  This means you can have a secure IMAP and POP server that does only
  Maildirs, without some of the problems I have been experiencing using
  Courier with clients like Eudora.
 
  link is http://www.greboguru.org/qmail/
 
  Cheers
 
  Herbie

I have several users that have problems using Eudora with Courier. The
problems seem to surface when they have client side filters and more
than ~300 new messages in their inbox. It takes very long to filter, I
don't know why. Still, I would prefer to stay with Courier because UW is
a memory/resource HAWG if you have many IMAP connections.

Mike



Re: Is there another procedure to enable Selective SMTP relaying whic h is not SMTP-after-POP?

2001-02-21 Thread Charles Cazabon

Charrua [EMAIL PROTECTED] wrote:
 Is there another procedure to enable Selective SMTP relaying which is not
 SMTP-after-POP?. The great problem posed by this solution is that the users
 do not want to perform the manual checking of the mailbox first and send
 after.  Isn't there a method to enable it by domain? That is to say if the
 message comes from domain "domain1.com","domain2.com" or "domain3.com" I
 allow it to relay. If it comes from another domain I do not.

This can be done, but it isn't safe.  Anyone can specify your domain as their
envelope sender address, and therefore anyone can relay through you.  In fact,
some spammers use an envelope sender in the domain they're trying to relay
through just to catch people who have setups like this.

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: djbcron

2001-02-21 Thread Russell Nelson

Michael Handler writes:
  What's really needed in this instance is a program that, given an
  execution schedule on the command line, figures out how long until the
  next scheduled execution, and sleeps that long (sleepuntil).
  
  Potential problem: clock shift (NTP resync, DST transitions) could confuse
  it. Maybe it has to wake up (SIGALRM) periodically and recheck the time
  until execution. Could get ugly.

No, you need a program which scans a directory looking for files with
a timestamp NOT in the future.  Whenever it encounters any of these,
it hands the file to the shell.  Presumably the last line in the file
either removes the file or runs a touch command to reschedule.

I'd go ahead and write this problem, but I'm not sure how portable are
future timestamps.  I know that tar complains about future timestamps,
but it sets them anyway.  Anything else?

  Actual problem: The sleepuntil utility needs to run *first* in the ./run
  script, otherwise when your machine starts, every scheduled program would
  run once instantly, which is almost certainly not what you want. Oops.
  
  Running cron-style services out of supervise has the additional advantage
  of being able to stop the execution of the job via the standard daemontools
  utilities, and having much firmer control over the environment that the
  jobs run in, unlike modern cron.

Yup.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | "This is Unix...
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so helpless."
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein



Courier Problems was UW IMAP Patch

2001-02-21 Thread Herbie

Like Mike said, if you have a lot of client side filters Eudora will
thrash you Courier IMAP server bad.

If you want to see why switch on debugging in Courier IMAP, it seems that
Eudora pulls all messages that match the filter, and it goes through each
filter in turn, it also does some wierd UID requesting. Courier hates it
the system load goes astronomical at these points.

Mike, try the UW IMAP watch these problems dissappear, though I could not
tell you why.

Herbie

PS I am not subscribed to this list anymore I just check the web digest a
couple of times a day, so I am not able to respond to any message
personally, as your e-mail address does not appear in the digest.




Re: Need Arguments for qmail

2001-02-21 Thread Russell Nelson

Robin S. Socha writes:
  * Mike Jackson [EMAIL PROTECTED] [010221 03:19]:
  
   cat /var/log/qmail/current | tai64nlocal | less
  
  http://www.ling.helsinki.fi/~reriksso/unix/award.html

It's not useless.  It serves as a mental place-holder.  It's where you 
would put the grep if you needed to grep, instead of cat.  It also
lists the single file that you're inputting.  If you decided instead
that you needed to examine all the log files, instead of having to
change the whole command line, you just change "current" to "*".

Your anti-useless-use-of-cat crusade is a waste of people's time.  It
comes from the old days where machine time was more important than
people time.  We left those days at least five years ago.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | "This is Unix...
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so helpless."
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein



RE: queue keeping messages

2001-02-21 Thread Karen


Fixed.
someone had forwarded postmaster to /dev/null
and it didn't work so hundreds of snow white virus files were being dumped
in the queue a day.  They weren't expiring and were causing a vicious cycle
of send, requeue, resend.

So i redirected postmaster to an email address and all the stupid virus
files went there and i deleted them.
There is still a 3 minute delay in qmail when send a message to when you
receive it. Is this normal?  I'm used to sendmail where mail is more
instantaneous.

thanks,
Karen

-Original Message-
From: Jeremy Anttila [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 4:14 PM
To: [EMAIL PROTECTED]
Subject: FW: queue keeping messages




-Original Message-
From: Karen Cutrer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 3:56 PM
To: Jeremy Anttila
Subject: RE: queue keeping messages



This is wierd.  I cannot get test messages sent from the internet to
[EMAIL PROTECTED]

yet i got your message right away and in my [EMAIL PROTECTED] mailbox

Also,  I seem to be able to send to the internet ok.

LINUX slackware
kernel 2.2.13 on ASA

Linux version 2.2.13 (root@s2) (gcc version 2.7.2.3)
Detected 497440483 Hz processor.
Memory: 516972k/524224k available (1252k kernel code, 416k reserved, 5540k
data, 44k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Pentium-III serial number disabled.
CPU: Intel Pentium III (Katmai) stepping 02


Here is my trigger:

drwxr-x---   2 qmailq   qmail1024 Dec 16  1999 .
drwxr-x---  11 qmailq   qmail1024 Dec 16  1999 ..
-rw---   1 qmails   qmail   0 Jan 12  2000 sendmutex
-rw-r--r--   1 qmailr   qmail1024 Feb 20 15:15 tcpto
prw--w--w-   1 qmails   qmail   0 Feb 20 15:16 trigger



 mail queue is filling up to enormous amounts of
filez too. and they are preprocessed.

(centex):[/root]#qmail-qstat
messages in queue: 18045
messages in queue but not yet preprocessed: 0
(centex):[/root]#














On Tue, 20 Feb 2001, Jeremy Anttila wrote:

 what is your os and setup that you are using ?


 -Original Message-
 From: Karen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 2:32 PM
 To: [EMAIL PROTECTED]
 Subject: queue keeping messages



 For a couple of weeks now qmail has been keeping messages in the queue
about
 one to one and a half hours after the message is sent.  So everyone is
 complaining that they don't receive their mail right away.

 Didn't have any probs before this (except for people incompletely stop and
 restart qmail wrong then it wouldn't send messages)
 Any suggestions?

 qmail version 1.03


 Thanks,
 Karen Cutrer
 Central Texas Communications









Re: badrcptto

2001-02-21 Thread Alex Kramarov


James R Grinter wrote

  The list is based on .qmail with all recipients names. I was thinking to
  block people from sending to his list, read a little ezmlm-idx, but
couldn't
  find a satisfactory solution with it.

 in .qmail-whatever:
  |(validate-mail || exit 100)
  #real list of stuff from hereon

 Where validate-mail is a program that checks some appropriate criteria
 (sender, contents of headers, etc) and exits with an appropriate exit
 code (in the above example exitting with 0 would mean that the message
 was ok to go)

Well, I thought of it myself, but this protects from random people sending
e-mail to the address I want to protect, but will not help if someone
deliberatelly targets this address - forgind the sender or headers is a
piece of cake, where filtering by RELAYCLIENT will assure that the person
sending the e-mail has a valid account at my server, and I can get him for
anything "un_smart" he might do, and as i understand you do not have
RELAYCLIENT in the final delivery stage, so validate-mail cannot help .

Anyway, I have already wrote the patch and using it, and I see it's use for
others too, for example that thread about sending e-mail to a fax, which was
proclamed as a "security nightmare" on the list an hour ago.





Re: queue keeping messages

2001-02-21 Thread Charles Cazabon

Karen [EMAIL PROTECTED] wrote:
 
 Fixed.
 someone had forwarded postmaster to /dev/null

Nasty.  If you did want to do this (not that it's a good idea), the proper
way is `echo "#" ~alias/.qmail-postmaster`.

 There is still a 3 minute delay in qmail when send a message to when you
 receive it. Is this normal?  I'm used to sendmail where mail is more
 instantaneous.

Depends on how you're storing and retrieving mail.  If NFS and POP3 are
involved , check to make sure that the clocks of all the machines involved are
in sync.  qmail-pop3d apparently doesn't like to list mail from the future
in its responses to the LIST command.

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



qmail-qfilter problems

2001-02-21 Thread Andy Meuse

Hey All,

I've installed the qmail-qfilter and cannot get it to work. After I add the
"QMAILQUEUE" lines to my tcp.smtp and rebuild it, I send an email and get an
email back immediately saying, "No transport provider was available for
delivery to this recipient" message. There is nothing in the logs on the
mail server.
 The TMPDIR I set in the Makefile is /var/qmail/bin/tmp. I've tried
changing the ownership of the files below, and the TMPDIR to qmailq, but
that didn't work either.

\var\qmail\bin
-rwxr-xr-x   1 qmaild   qmail1753 Feb 20 15:34 deny-filetypes
-rwxr-xr-x   1 qmaild   qmail  74 Feb 20 16:56 qmail-qftest
drwxrwxr-x   2 qmaild   qmail4096 Feb 21 09:56 tmp
-rwxrwxr-x   1 qmaildqmail   37931 Feb 21 09:58 qmail-qfilter

tcp.smtp
172.16.3.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-qftest"
127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-qftest"


qmail-qftest
#!/bin/sh
exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/deny-filetypes


The deny-filetypes file is straight from ~/samples in the qmail-qfilter
package

Processes--
root  9021 1  0 08:57 pts/100:00:00
/usr/local/bin/tcpserver -v -H -R 0 110 /var/qmail/bin/qmail-popu
root  9022 1  0 08:57 pts/100:00:00 /var/qmail/bin/splogger
pop3d
root  9024 1  0 08:57 pts/100:00:00 svscan
root  9025  9024  0 08:57 pts/100:00:00 supervise qmail-send
root  9026  9024  0 08:57 pts/100:00:00 supervise log
root  9027  9024  0 08:57 pts/100:00:00 supervise qmail-smtpd
root  9028  9024  0 08:57 pts/100:00:00 supervise log
qmails9029  9025  0 08:57 pts/100:00:00 qmail-send
qmaill9030  9026  0 08:57 pts/100:00:00 /usr/local/bin/multilog t
/var/log/qmail
qmaill9031  9028  0 08:57 pts/100:00:00 /usr/local/bin/multilog t
/var/log/qmail/smtpd
qmaild9032  9027  0 08:57 pts/100:00:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 20 -u 507
root  9037  9029  0 08:57 pts/100:00:00 qmail-lspawn ./Maildir/
qmailr9038  9029  0 08:57 pts/100:00:00 qmail-rspawn
qmailq9039  9029  0 08:57 pts/100:00:00 qmail-clean


Any suggestions?

-Andy



ALSO:
In the qmail-qfilter readme it says...

"Check the definitions at the top of qmail-qfilter.c, especially the value
of TMPDIR.  This should be set to a temporary directory that only the
executor of qmail-qfilter has write access to."

I can't find any TMPDIR reference in the qmail-qfilter.c file though, only
in the Makefile.




Re: badrcptto

2001-02-21 Thread James R Grinter

Alex Kramarov [EMAIL PROTECTED] writes:
 The list is based on .qmail with all recipients names. I was thinking to
 block people from sending to his list, read a little ezmlm-idx, but couldn't
 find a satisfactory solution with it. 

in .qmail-whatever:
 |(validate-mail || exit 100)
 #real list of stuff from hereon

Where validate-mail is a program that checks some appropriate criteria
(sender, contents of headers, etc) and exits with an appropriate exit
code (in the above example exitting with 0 would mean that the message
was ok to go)

Russell Nelson has given some very good examples of validation in the
past - check the list archives.

James.



Re: djbcron

2001-02-21 Thread Chris Garrigues

 From:  Russell Nelson [EMAIL PROTECTED]
 Date:  Wed, 21 Feb 2001 11:27:24 -0500 (EST)

 Michael Handler writes:
   What's really needed in this instance is a program that, given an
   execution schedule on the command line, figures out how long until the
   next scheduled execution, and sleeps that long (sleepuntil).
   
   Potential problem: clock shift (NTP resync, DST transitions) could confu
 se
   it. Maybe it has to wake up (SIGALRM) periodically and recheck the time
   until execution. Could get ugly.
 
 No, you need a program which scans a directory looking for files with
 a timestamp NOT in the future.  Whenever it encounters any of these,
 it hands the file to the shell.  Presumably the last line in the file
 either removes the file or runs a touch command to reschedule.
 
 I'd go ahead and write this problem, but I'm not sure how portable are
 future timestamps.  I know that tar complains about future timestamps,
 but it sets them anyway.  Anything else?

If someone wants to write a cron replacement, they should spend some time 
looking at functionality provided by other non-unix based systems.

A few years ago i had a gig teaching use of Tivoli Maestro, which is best 
described to Unixheads as "cron on steroids".  It's a port of a mainframe 
scheduling tool that does some real cool things with dependencies.  In my 
opinion, it has two main problems:  1) it doesn't "feel" like a unix tool, and 
2) it's horrendously expensive.

The neatest feature it has, however, is a very sophisticated dependency 
relationship, so you can say things like:  

Run job A on work days
Run job B on holidays and weekends
Run job C after either job A or job B has completed. (but don't run job C if 
A or B did not run).

These dependencies are also cross system, so you can have a job that 
doesn't run on system X until another job has finished running on system Y.

I started hacking together a proof of concept (in perl, so we know the 
performance would have sucked if I'd ever finished) using the future
timestamp scheme that Russell describes a while back.

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


Re: New Patch for Latest UW IMAP server

2001-02-21 Thread Tim Hunter

What problems do you have using Courier with Eudora?  I use it daily with
zero problems.

- Original Message -
From: "Herbie" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: "Qmail Users" [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 2:41 AM
Subject: New Patch for Latest UW IMAP server


 Hi,
 I have modified all the patches David Harris had to create an
 uber-patch for the latest UW IMAP server.

 This means you can have a secure IMAP and POP server that does only
 Maildirs, without some of the problems I have been experiencing using
 Courier with clients like Eudora.

 link is http://www.greboguru.org/qmail/

 Cheers

 Herbie






Remote

2001-02-21 Thread Nilo Menezes



How I can configure sendmail to deliver remote 
messages ?

The way remote is doing is impossible to 
me.

The same message to a single host, but with carbon 
copies is
sent many times.

In a 64K a 3MB message to 10 people is sent like a 
30MB
message.

Nilo Menezes


RE: remove autoresponder and mailing list from qmailadmin

2001-02-21 Thread Jeremy Anttila

read the man pages and install notes. When you compiled qmailadmin you
included flaggs to support autoresponder and ezmlm as for [EMAIL PROTECTED]
your stuck like chuck there unless you do not want to support virtual hosts.



-Original Message-
From: Yee Siew Chin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:09 AM
To: [EMAIL PROTECTED]
Subject: remove autoresponder and mailing list from qmailadmin


how can i remove the autoresponder and mailing list
from the qmailadmin? i am using the latest version of
qmailadmin?

and, how can i login using username instead of
[EMAIL PROTECTED] in sqwebmail?

rgds,
yee

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/




Re: Local Deliveries Slow

2001-02-21 Thread Charles Cazabon

Manvendra Bhangui [EMAIL PROTECTED] wrote:
 I have already run the make check, etc and checked the permissions as per
 the LWQ.

Excellent.  Looks like you've done (most of) your homework.

 1. When the incoming rate increases, qmail-send is unable to cope up.
 The todo increases at an alarming rate. After this the number of local
 deliveries
 suddenly stop (around 1 per sec).
 2. After shutting down port 25 (to stop incoming mails) and giving some
 time for the unprocessed mails to become zero, the local mail
 delivery again become fast (I could get a concurrency of about 160)

 This is the current stats I have on my mailserver.
 
 isocor:/var/qmail/bin./qmail-qstat
 messages in queue: 67966
 messages in queue but not yet preprocessed: 42007
[...] 
 Has anyone observed this and have come up with any solution to this.

Yes.  Russ Nelson noticed this, and created the big-todo patch.  It helps,
but does not eliminate the problem in all cases.  Basically the problem is
that qmail send will only process local and remote deliveries when there
is nothing left in todo.

Try applying the big-todo patch; it should help significantly.

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: Local Deliveries Slow

2001-02-21 Thread lists-mail-isp-qmail

In article 001001c09bc6$2f6434a0$[EMAIL PROTECTED] you wrote:
 Hi,
 I am having a tough time migrating to qmail. I  have applied the concurrency
 patch and set the concurrency limit to 250. Inspite of that I do not see the 
 qmail-lspawn forking more than 2 or 3 processes at any given point of time.
 What could be the problem? My local queue is currently at 8.
 Due to this my users are unable to get mails. However they are able to send out
 mails fine.
 
 However remote deliveries seem to be going fine and I can see multiple 
 qmail-remote being forked.

H, I've only come across this once before and it turned out that
the /var/qmail/queue/lock/trigger pipe was "broken".   It happened when
I tried a cheapo (tar cvf qmail.tar qmail; copy qmail.tar file to diff
server and untarred) install of qmail ;-)

Qmail would work but would only process local deliveries every 30 minutes.

I resolved it by doing a proper "make setup check" install (though
remember to backup your control/* files - it will trash some of them).

Btw, concurrencylocal max is 120

Paul.



Re: Remote

2001-02-21 Thread Charles Cazabon

Nilo Menezes [EMAIL PROTECTED] wrote:
 How I can configure sendmail to deliver remote messages ?
 
 The way remote is doing is impossible to me.  The same message to a single
 host, but with carbon copies is sent many times.  In a 64K a 3MB message to
 10 people is sent like a 30MB message.

qmail is designed not to do this.  If you want multi-RCPT delivery, you'll
have to heavily patch qmail, or switch to another MTA (postfix, exim,
sendmail, etc).

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



Re: Local Deliveries Slow

2001-02-21 Thread Manvendra Bhangui

I have already run the make check, etc and checked the permissions as per
the LWQ. I have been observing this problem on my system for more than few
days.
Following are the observations.

1. When the incoming rate increases, qmail-send is unable to cope up.
The todo increases at an alarming rate. After this the number of local
deliveries
suddenly stop (around 1 per sec).
2. After shutting down port 25 (to stop incoming mails) and giving some
time for the unprocessed mails to become zero, the local mail
delivery again become fast (I could get a concurrency of about 160)

This is the current stats I have on my mailserver.

isocor:/var/qmail/bin./qmail-qstat
messages in queue: 67966
messages in queue but not yet preprocessed: 42007

and this is the output of qmHandle -s
isocor:/var/qmailanalog/binqmHandle -s
Messages in local queue: 27999
Messages in remote queue: 1418



Has anyone observed this and have come up with any solution to this.

Regards Manny
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 12:13 AM
Subject: Re: Local Deliveries Slow


 In article 001001c09bc6$2f6434a0$[EMAIL PROTECTED] you wrote:
  Hi,
  I am having a tough time migrating to qmail. I  have applied the
concurrency
  patch and set the concurrency limit to 250. Inspite of that I do not see
the
  qmail-lspawn forking more than 2 or 3 processes at any given point of
time.
  What could be the problem? My local queue is currently at 8.
  Due to this my users are unable to get mails. However they are able to
send out
  mails fine.
 
  However remote deliveries seem to be going fine and I can see multiple
  qmail-remote being forked.

 H, I've only come across this once before and it turned out that
 the /var/qmail/queue/lock/trigger pipe was "broken".   It happened when
 I tried a cheapo (tar cvf qmail.tar qmail; copy qmail.tar file to diff
 server and untarred) install of qmail ;-)

 Qmail would work but would only process local deliveries every 30 minutes.

 I resolved it by doing a proper "make setup check" install (though
 remember to backup your control/* files - it will trash some of them).

 Btw, concurrencylocal max is 120

 Paul.


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




How can I change the remote delivery program ?

2001-02-21 Thread Nilo Menezes



I want multiple-RCPTs. 
I want to configure sendmail to make
remote deliveries. How can I do that ?

Nilo Menezes


Qmail and MX Record change

2001-02-21 Thread Matt Simonsen

Sorry this is long, I felt it was important for me to give all these
details.

We currently have our main mx record for careercast.com pointing to
mail.careercast.com (216.39.101.230). This is our old sendmail server
which is basically a redirect box which forwards messages to ISP
accounts for each user based on the aliases file.

I am now bringing email in house and have a Qmail server named
email.careercast.com (216.39.101.233). For our beta testers I changed
the forwarding address on mail.careercast.com from the ISP to point to
their new account on email.careercast.com. It has worked perfectly. This
server is running Qmail 1.03 with Vpopmail, the main domain is
careercast.com, with a virtual domain for ftp.careercast.com and
email.careercast.com so it will accept mail for those addresses, too. In
preperation for maving our MX records over I have converted the aliases
file from our main email server into .qmail files and placed those in
the appropriate location on the new server. It is forwarding mail
perfectly to the ISP for users who do not yet have real accounts when
email is sent directly to email.careercast.com.

Here's the question:
I intend to have the MX record for careercast.com changed from
mail.careercast.com to email.careercast.com. It seems pretty simple...I
don't think users will notice anything different since this server is
just a redirect box and either server will be able to forward email to
the ISP. Thus, propigation seems like a non-issue. Is there anything
else I should be thinking about in making this change? Is there anything
to test how this transition will happen? I have tried sending mail to
and from it, along with testing the .qmail-files and everything seems
good. I have only been a sys admin for this company one month and this
is a large project that I want to be sure goes smoothly.

Thanks for you time

Matt Simonsen




Re: How can I change the remote delivery program ?

2001-02-21 Thread Charles Cazabon

Nilo Menezes [EMAIL PROTECTED] wrote:
 I want multiple-RCPTs.  I want to configure sendmail to make remote
 deliveries. How can I do that ?

The way I read this question is you are running qmail, but are unhappy about
qmail-remote's single-RCPT delivery methods.  You therefore want to 
continue to run qmail, but use sendmail for remote deliveries instead of
qmail-remote.

While this would be possible, I can't see that it would actually be useful.
One possible approach would be to do a serialmail-like trick for all remote
mail which then injected into a sendmail queue.

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: qmail-smtpd logging

2001-02-21 Thread Chris Davis

 qmail-smtpd doesn't log it, but qmail records it in a Received: header,
like
 any other MTA does.  Is this not sufficient?  You could create a wrapper
 around qmail-smtpd which logs this information to stdout if you like.

Actually sendmail does record this as "relay=host.domain [1.2.3.4]" in it's
log file. (again I am simply referring to the last relay hit before the
message is delivered, not the originating mail server.)
So I assume qmail has no built-in way to record this? I'd rather not have to
write a wrapper
to get this information from each message header, unless of course that is
the only option. Any helpful info on how to go about writing such a program?

Thanks,
 --Chris


 Chris [EMAIL PROTECTED] wrote:
  Hi, I'm fairly new to q-mail so go easy on me. I've looked through all
sorts
  of documentation and I haven't been able to find a way to do this yet. I
  can't get qmail to log the address of a remote mail server thats sends
it
  mail to be delivered locally. example, spot.netnitco.net is running
qmail.
  the user joe gets his mail at spot.netnitco.net. someone else (using
  mail.netnitco.net as his smtp server) sends a message to
  [EMAIL PROTECTED], qmail logs this happening of course and the mail
is
  delivered to joe fine. But qmail does not log that the connection came
from
  mail.netnitco.net, I would like it to do this for several reasons. I'm
not
  sure exactly what information you'll all need from me to help me out,
I'm
  using multilog + vpopmail + daemontools if that helps.






qmail-scanner wrapper

2001-02-21 Thread Chris Hellberg

I've tried getting qmail-scanner to work and don't seem to have much
luck as the suidperl binary won't allow the perl qmail scanner script to
run under suid root. Anyone written a suitable wrapper that the
qmail-scanner docos describe that I could pilfer?

Cheers

Chris




Re: qmail-scanner wrapper

2001-02-21 Thread Olivier M.

On Thu, Feb 22, 2001 at 10:19:28AM +1300, Chris Hellberg wrote:
 I've tried getting qmail-scanner to work and don't seem to have much
 luck as the suidperl binary won't allow the perl qmail scanner script to
 run under suid root. Anyone written a suitable wrapper that the
 qmail-scanner docos describe that I could pilfer?

what exactely is the problem ? qmail-scanner is running here
on different servers without any problem. Is suidperl a+rxs ?
What is the error message ? Have you checked the faq? 

Good luck 
Olivier

PS: there is also a qmail-scanner ML...
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch



Re: How can I change the remote delivery program ?

2001-02-21 Thread Nilo Menezes

Yes. I asked, but in different ways, in different situations in my problem
solving path. I don't remember any reply from you...

The fact is that I don't have bandwidth to support 30MB transfers.
It's huge. All I want is to use qmail to receive local and internet
messages,
but deliver only local ones and pass remote messages to other agents,
that one supporting multiple-RCPTs. It's what I want.
The question should be: How can I configure qmail to deliver remote message
through sendmail(MTA) ? Sorry, but read the subject line and the message
body together...

I don't want to hack qmail-remote or change the qmail style of delivering
remote messages
and eatting my bandwidth. But I'm too much attached to qmail to simply make
a change. I will ask the same quastion in the list how many times I want,
and until I got someone to aswer my question. I do this and I got different
answers that helped me to figure what I did wrong. Thanks to all in the
list.
If you can't help don't say I can't ask.

Due to "my multiple post of the same question in list" I figure out how to
do what I want. I will use serialmail package add-on to pass all remote
messages to sendmail,
like sendmail were in another host, or ISP.

Thank you for nothing.

Nilo Menezes

- Original Message -
From: "Greg White" [EMAIL PROTECTED]
To: "Nilo Menezes" [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 5:42 PM
Subject: Re: How can I change the remote delivery program ?


 On Wed, Feb 21, 2001 at 05:22:06PM -0400, Nilo Menezes wrote:
  I want multiple-RCPTs.
  I want to configure sendmail to make
  remote deliveries. How can I do that ?
 
  Nilo Menezes

 You asked this question, phrased another way, already, and got an
 answer. I'm sorry if you didn't like the answer, but it is factual.
 qmail _does not_ do multi-rcpt deliveries -- period. If you _need_
 mutli-rcpt delivery, you need to patch the sources for qmail (quite
 heavily from what I understand), or you need to use another MTA. AFAIK,
 noone has or intends to write such a patch.

 As for 'sendmail', do you mean the sendmail wrapper for qmail-inject
 that comes with qmail, or do you mean actual Allman sendmail? If you
 mean the wrapper, you cannot. The sendmail wrapper does not do delivery.
 qmail-inject does not do delivery. qmail-remote does delivery -- that's
 it. If you mean Allman's sendmail product, that has nothing to do with
 qmail.

 Please do not ask the same questions over again on any mailing list,
 especially a busy one. It's very rude, and those who saw that someone
 answered you will ignore all further messages from you

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





New Patch for Latest UW IMAP server

2001-02-21 Thread Herbie

Hi,
I have modified all the patches David Harris had to create an
uber-patch for the latest UW IMAP server. 

This means you can have a secure IMAP and POP server that does only
Maildirs, without some of the problems I have been experiencing using
Courier with clients like Eudora.

link is http://www.greboguru.org/qmail/

Cheers

Herbie




Re: Need Arguments for qmail

2001-02-21 Thread Martin Akesson

On Wed, Feb 21, 2001 at 11:11:55AM -0500, Russell Nelson mumbled:
 
 Your anti-useless-use-of-cat crusade is a waste of people's time.  It
 comes from the old days where machine time was more important than
 people time.  We left those days at least five years ago.
 

So, just because we have faster computers we should make programs that
are not as efficient as they "used" to be?  Your filosofy is pretty much
what Microsoft is working on and I for one do not like it.  If you can
make it fast, then make is _fast_.  Not because you have to but because
you can, there is no need to write less efficient code just because
a fast computer make the new, albeit slow, code run just as fast as the old
code, the fast one, on an slow machine.  Thats just being dumb.

/martin



Re: Need Arguments for qmail

2001-02-21 Thread Dave Sill

Peter Cavender [EMAIL PROTECTED] wrote:

I volunteered to talk about and "defend" qmail at a Linux Users' Group
meeting where there will be people speaking on 3 or 4 of the main MTAs.

I am competent in setting up and maintaining qmail, but I must say that I
am unable to respond properly to a lot of the criticism of qmail, mostly
in comparison to sendmail (which I have never administered).

I would appreciate any and all rebuffings of qmail myths, relevant
anecdotes, or theoretical analysis that would aid in my presentation.

Tips:

  Be honest--don't be afraid to admit qmail's weaknesses or sendmail's
strengths.
  Be reasonable--don't claim that qmail is right for everyone.
  Be positive--concentrate on qmail's strengths, not sendmail's
weaknesses.
  Be calm--project confidence, not mindless advocacy.

qmail vs. sendmail pro's:

  security
  performance
  reliability
  modularity
  VERP support
  extension addresses

qmail vs. sendmail con's:

  no connection caching or multiple-RCPT's
  no bad address rejection during SMTP
  redistribution restricted
  sendmail is more widely known

qmail vs. sendmail diff's:

  configuration style is very different
  logging information is different

qmail myths:

  qmail can flood a server that's been down for a while.
Since each message has its own retry schedule, qmail won't
immediately try to drop its backlog on a server. Other MTA's
sendmail *will*, though, through connection caching. 
  qmail can open too many connections to a server.
There is no way a sending system can know each remote system's
capabilities at each point in time. It has to assume that if the
remote accepts an SMTP connection request, that it can handle the
load.

-Dave



Slow connection on send Server connection closed

2001-02-21 Thread JK

First time on this list and a qmail newbie.  Please excuse my ignorance.

I have a Linux 6.2 box with qmail, bind8 and apache on it.  It was installed
by a Linux consultant.  It is currently in pre-production stage with very
low traffic; 30 send/receive per hour at most.  My beta-testers on lan
complain of two problems.

1.  From the time Send is clicked in Netscape 4.75 on NT, and the
completion takes 15-20 seconds.  Size of email makes no difference.  Most of
the time, Netscape simply says "Connecting to server".  Then, in a flash,
it's sent.

2.  Some of the Netscape users complain that they frequently get error
message indicating that there may be network problem or server may have
closed the connection.

Can someone tell me where to begin to look to troubleshoot this?

Thanks in advance,
jean




Re: qmail-scanner wrapper

2001-02-21 Thread Chris Hellberg

When running the qmail script with the test flag:

ns1:/usr/src/qmail-scanner-0.95# ./qmail-scanner-queue.pl -g
Script is not setuid/setgid in suidperl
ns1:/usr/src/qmail-scanner-0.95#

Cool, I've seen a solution for this in the FAQ:

snipped from FAQ
Can't do suid some perl distributions
have decided that as running suid perl scripts is a rare event, they
won't
enable it by default. On these systems this package won't work.
Typically
the fix is:

chown root /usr/bin/suidperl
chmod 4711 /usr/bin/suidperl
snipped

But the permissions look correct:

chown root /usr/bin/suidperl-5.004
chmod 4711 /usr/bin/suidperl-5.004
ls -l /usr/bin/suidperl-5.004
-rws--x--x2 root root   499916 Mar  8  2000 suidperl-5.004

Now retrying gives:

ns1:/usr/src/qmail-scanner-0.95# ./qmail-scanner-queue.pl -g
Script is not setuid/setgid in suidperl
ns1:/usr/src/qmail-scanner-0.95#

Trying the test script gives:

ns1:/usr/src/qmail-scanner-0.95/contrib# ./test_installation.sh -doit
setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl for this
test...

Sending eicar test virus - should be caught by perlscanner module...
Script is not setuid/setgid in suidperl
qmail-inject: fatal: qq temporary problem (#4.3.0)
done!

Sending eicar test virus with altered filename - should only be caught
by commercial anti-virus modules (if you have any)...
Script is not setuid/setgid in suidperl
qmail-inject: fatal: qq temporary problem (#4.3.0)
Done!

I've also recompiled the latest stable perl 5.6.0 from source and it's
got setuid support in it, but still same errors.

Cheers

Chris



 "Olivier M." [EMAIL PROTECTED] 02/22/01 10:38a.m. 
On Thu, Feb 22, 2001 at 10:19:28AM +1300, Chris Hellberg wrote:
 I've tried getting qmail-scanner to work and don't seem to have much
 luck as the suidperl binary won't allow the perl qmail scanner script
to
 run under suid root. Anyone written a suitable wrapper that the
 qmail-scanner docos describe that I could pilfer?

what exactely is the problem ? qmail-scanner is running here
on different servers without any problem. Is suidperl a+rxs ?
What is the error message ? Have you checked the faq? 

Good luck 
Olivier

PS: there is also a qmail-scanner ML...
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch 





Re: Is there another procedure to enable Selective SMTP relaying which is not SMTP-after-POP?

2001-02-21 Thread Kris Kelley

Charrua escribi:
  Is there another procedure to enable Selective SMTP relaying which is
not
  SMTP-after-POP?.

Enrique Vadillo wrote:
 The best solution for roamers' smtp is SMTP-after-POP, trust me

I believe authenticated SMTP works best.  The majority of email clients
support it now, and there are good implementations of it for qmail.  Check
out www.qmail.org for details, specifically, Krzysztof Dabrowski's work.

---Kris Kelley




Re: Slow connection on send Server connection closed

2001-02-21 Thread Chris Johnson

On Wed, Feb 21, 2001 at 03:49:06PM -0800, JK wrote:
 I have a Linux 6.2 box with qmail, bind8 and apache on it.  It was installed
 by a Linux consultant.  It is currently in pre-production stage with very
 low traffic; 30 send/receive per hour at most.  My beta-testers on lan
 complain of two problems.
 
 1.From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds.  Size of email makes no difference.  Most of
 the time, Netscape simply says "Connecting to server".  Then, in a flash,
 it's sent.
 
 2.Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.
 
 Can someone tell me where to begin to look to troubleshoot this?

This question comes up every three minutes or so on this list. The reason this
happens is that the you're waiting for either a DNS or an ident request to time
out.

To solve your problem, investigate the -R, -H, and -l (that's dash ell) options
to tcpserver (assuming you're using tcpserver, which, if you're not, you should
be). If it's a DNS request that's timing out, you might also investigate the
cause of the DNS failure.

Chris

 PGP signature


RE: Slow connection on send Server connection closed

2001-02-21 Thread Campos Mario

I encountered this problem not long ago and it was fixed by implementing a
split DNS. I would recommend you look into split DNS and see how it would
help your mail system resolve the name of the clients.

-Original Message-
From: Kris Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:58 PM
To: QMail Mailing List
Subject: Re: Slow connection on send  Server connection closed


JK wrote:
 1. From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds...

 2. Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

How was qmail installed by the consultant?  Do you know if it's using inetd
or tcpserver (or something more exotic) to listen to the SMTP port?

My guess is your server is trying to do ident queries (port 113) which are
disappearing into never-never land.  tcpserver has an option to disable
this, not sure about inetd.

---Kris Kelley





Re: LWQ OpenBSD

2001-02-21 Thread Aaron Malone

On Wed, Feb 21, 2001 at 11:46:26AM -0800, Rick Updegrove wrote:
 Since I do not have a init.d directory in OpenBSD and it seems everything is
 started from rc.conf and rc.local in OpenBSD how am I to follow LWQ?

I recently set up an openbsd 2.8 box LWQ-style.  The 'qmail' script that
is suggested to be placed in an init.d directory, I put in
/usr/local/sbin.  Then I added the line:

/usr/local/sbin/qmail start

to /etc/rc.local.

 Has anyone recently switched to OpenBSD that was used to LWQ + Linux before
 and if so, do you have any helpful hints, reading material or advice at all?

Nothing really, at least as far as qmail is concerned.  It's running
just as well as it has on my linux boxes.

-- 
Aaron Malone ([EMAIL PROTECTED])"There is no distinctly
System Administrator  American criminal class...
Poplar Bluff Internet, Inc.  except Congress."
http://www.semo.net  -- Mark Twain



Re: How can I change the remote delivery program ?

2001-02-21 Thread Kourosh Ghassemieh


Hi.

I'm not sure if this helps but if you have another qmail server on the other
end of the link you could set up an alias on the other server that is simply
a distribution list.  That way only one copy of the mail goes across the link
and the qmail server on the other side can then deliver multiple copies of
the mail locally.  Just be sure to check the alias with a small mail so you 
don't
accidentally get back multiple bounces =)

At 06:29 PM 2/21/2001 -0400, you wrote:
Yes. I asked, but in different ways, in different situations in my problem
solving path. I don't remember any reply from you...

The fact is that I don't have bandwidth to support 30MB transfers.
It's huge. All I want is to use qmail to receive local and internet
messages,
but deliver only local ones and pass remote messages to other agents,
that one supporting multiple-RCPTs. It's what I want.
The question should be: How can I configure qmail to deliver remote message
through sendmail(MTA) ? Sorry, but read the subject line and the message
body together...

I don't want to hack qmail-remote or change the qmail style of delivering
remote messages
and eatting my bandwidth. But I'm too much attached to qmail to simply make
a change. I will ask the same quastion in the list how many times I want,
and until I got someone to aswer my question. I do this and I got different
answers that helped me to figure what I did wrong. Thanks to all in the
list.
If you can't help don't say I can't ask.

Due to "my multiple post of the same question in list" I figure out how to
do what I want. I will use serialmail package add-on to pass all remote
messages to sendmail,
like sendmail were in another host, or ISP.

Thank you for nothing.

Nilo Menezes


-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking the Small Business





Re: warning: trouble opening remote/4/r

2001-02-21 Thread flint

Dear Charles Cazabon


You can either use queue-fix to replace/fix the (non-existent?) queue, or
restore from your backups and THEN use queue-fix to fix the queue.

You can't just restore from tape; files in the queue are named based on the
inodes they reside on.  Restoring from tape will completely mess this up.
queue-fix will rename all the files to match properly.

Charles

  I have fix the queue using queue-fix. It unlinked some file under 
/var/qmail/queue/remote,
but now I still can see the Warning messages in the maillog? Is there something wrong?

  Another question(that is also why I removed the queue), I have noticed for days,now 
it becomes 
more and more unbearable. That is,it is very slowly when we receive mails through 
POP3. The 
strange thing is that when you have received the mails then receive mails again 
immediately,
it is very quickly. These days this situation is very common. I'm not sure what's the 
problem. 
It the problem of our Mail System or the problem of the network. My mail system is:
FreeBSD+qmail+vpopmail+sqwebmail.Thank you.

flint





Re: qmail-scanner wrapper

2001-02-21 Thread Chris Hellberg



 "Davi" [EMAIL PROTECTED] 02/22/01 12:02p.m. 
On Wednesday 21 February 2001 19:19, you wrote:
 I've tried getting qmail-scanner to work and don't seem to have much
 luck as the suidperl binary won't allow the perl qmail scanner script
to
 run under suid root. Anyone written a suitable wrapper that the
 qmail-scanner docos describe that I could pilfer?

 Cheers

 Chris

You must chmod 4755 both /usr/bin/suidperl and qmail-scanner-queue.pl
Some distros, as SuSE, automatically (well, almost) chmod 755 
/usr/bin/suidperl back. Take a look at it. Also take a look at the last

suidperl exploit at bugtraq.

[]s
Davi

Good stuff. Cheers Davi, seems to have worked. Although now I've
discovered that I've got my Time::HiRes module all bad so I spose I'm
making progress though.

Chris




our qmail is very slow!

2001-02-21 Thread flint

Dear qmail


  I have fix the queue using queue-fix. It unlinked some file under 
/var/qmail/queue/remote,
but now I still can see the Warning messages in the maillog? Is there something wrong?

  Another question(that is also why I removed the queue), I have noticed for days,now 
it becomes 
more and more unbearable. That is,it is very slowly when we receive mails through 
POP3. The 
strange thing is that when you have received the mails then receive mails again 
immediately,
it is very quickly. These days this situation is very common. I'm not sure what's the 
problem. 
It the problem of our Mail System or the problem of the network. My mail system is:
FreeBSD+qmail+vpopmail+sqwebmail.Thank you.


flint
[EMAIL PROTECTED]




Fictitious domain and SMTP relay

2001-02-21 Thread Anurag Jalan

Hi all,

Thanks to many on the list , most of my questions have been answered !
My office Lan has a fictitious domain, adventus.cxm . Qmail runs on
server.adventus.cxm ( IP = 192.168.1.254 ) . The firewall / gateway machine
( IP= 192.168.32.1 ) is connected to the Net over ISDN dialup.

We wish to setup virtualdomains for our users to allow them access to their 
POP mail from
different providers .My /var/qmail/control/smtproutes contains a single 
line :smtp.myisp.net .
smtp.myisp.net does not relay emails from my system , because it does not 
recognise
server.adventus.cxm .

Fetchmail is working correctly !  What do i need to do about the SMTP bit ?

Sincerely
Anurag




Re: How can I change the remote delivery program ?

2001-02-21 Thread Chris Johnson

On Wed, Feb 21, 2001 at 05:22:06PM -0400, Nilo Menezes wrote:
 I want multiple-RCPTs. 
 I want to configure sendmail to make
 remote deliveries. How can I do that ?

This is a qmail list, not a sendmail list. If you want help configuring
sendmail, you're in the wrong place.

Chris



Re: rcpthosts file - newbe question

2001-02-21 Thread Peter Cavender


 This has to be something simple but I've been banging my
 head against it for a couple of hours and can't get
 anywhere.  If this is covered in the FAQ, INSTALL or man
 files, I either can't find it or am misunderstanding it.
 The situation:
 
 I have a small home network.  I have a designated server,
 corwin.mydomain.org, running qmail on debian 2.2 with kernel
 2.4.1.  I can locally log into corwin, open pine, and send
 and recieve email.  
 
 My normal box, merlin.mydomain.org, uses kmail.  I have it
 configured to receive email via pop3 from corwin.  This
 works fine.  I can send mail to [EMAIL PROTECTED] and
 receive it on merlin via corwin.  I also have kmail on
 merlin configured to send email via SMTP on corwin.
 However, everything I send gets bounced - relaying denied
 because "that domain isn't in my rcpthosts file."  I have
 tried all of the following in my rcpthosts file on corwin:
 
 mydomain.org
 .mydomain.org
 merlin
 merlin.mydomain.org
 
 I'm not sure if it matters but merlin is listed in my hosts
 file on corwin.  I can ping either merlin or
 merlin.riddlemaster.org from corwin.
 
 What do I need to do to convince corwin to relay mail from
 merlin?  Thanks in advance for any assistance.

If you want corwin to _relay_ mail from merlin, that is not something that
goes in the rcpthosts file - that file should only contain domains that
you want merlin to _accept_ mail for, not relay.

You need to modify your /etc/tcp.smtp file, which controlls
relaying.  Don't forget to run tcprules after you change it, to
"compile" it.  if you are using the LWQ qmail start file, just do:
/etc.rc.d/init.d/qmail cdb
Actual path may vary with disro/OS.

HTH

--Pete




Re: Is there another procedure to enable Selective SMTP relaying whic h is not SMTP-after-POP?

2001-02-21 Thread Charrua

 Enrique, which is the change you have made to the code? I suppose that
 what you do is that if the IP from which the user connects itself belongs
 to users which do not move you do not use SMTP after POP, if it is a
 different IP you use SMTP after POP. Is this so? 
 
Thanks 

Andres






RE: Slow connection on send Server connection closed

2001-02-21 Thread jkim

It is using tcpserver.  Could be ident queries.  The firewall is wide-open
for outbound, but inbound, only smtp  dns are allowed.  I'll play with the
firewall setting to see if it makes a diff!  Thanks for the input.

jean

-Original Message-
From: Kris Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:58 PM
To: QMail Mailing List
Subject: Re: Slow connection on send  Server connection closed


JK wrote:
 1. From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds...

 2. Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

How was qmail installed by the consultant?  Do you know if it's using inetd
or tcpserver (or something more exotic) to listen to the SMTP port?

My guess is your server is trying to do ident queries (port 113) which are
disappearing into never-never land.  tcpserver has an option to disable
this, not sure about inetd.

---Kris Kelley





Re: Slow connection on send Server connection closed

2001-02-21 Thread Kris Kelley

JK wrote:
 1. From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds...

 2. Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

How was qmail installed by the consultant?  Do you know if it's using inetd
or tcpserver (or something more exotic) to listen to the SMTP port?

My guess is your server is trying to do ident queries (port 113) which are
disappearing into never-never land.  tcpserver has an option to disable
this, not sure about inetd.

---Kris Kelley




Migration of Mailboxes and Accounts from Ms Exchange

2001-02-21 Thread Tonka Sesarino

Hi All,

I have a new LINUX mechine. It will dedicated to used for email
server. The Old Email-Server is M$-Exchange. Is there any solutions
to migrate all the mailboxes and email-accounts from MS-Exchange to
Qmail and it will not impact to "user-site". So the users does't have
to modify anything at their email-client configuration. The email
server is only used in LAN for ingoing/outgoing emails.

Thanks in advance

Best Regards,

Tonka Sesarino
Tonka Sesarino
---
[EMAIL PROTECTED]
ICQ : 19017463




RE: Slow connection on send Server connection closed

2001-02-21 Thread jkim

Thanks for the suggestion, Chris.  Yes, I am running tcpserver.  DNS-wise,
the box has very basic DNS records, just enough to know itself.  The
forwarder is set to isp's name server which is one hop away.  This is a lone
Linux in a predominantly NT environment and I am trying to tansition some
services to Linux as everyone seems breathless about stability.  I have DNS
running on NT4 and DEC VMS.  NT4  DEC contain records for lan hosts.  On
the client-side, name-resolution doesn't seem to be a problem; receive just
flies!  It is only on the send side that it crawls.

jean

-Original Message-
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:56 PM
To: JK
Cc: [EMAIL PROTECTED]
Subject: Re: Slow connection on send  Server connection closed


On Wed, Feb 21, 2001 at 03:49:06PM -0800, JK wrote:
 I have a Linux 6.2 box with qmail, bind8 and apache on it.  It was
installed
 by a Linux consultant.  It is currently in pre-production stage with very
 low traffic; 30 send/receive per hour at most.  My beta-testers on lan
 complain of two problems.

 1.From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds.  Size of email makes no difference.  Most
of
 the time, Netscape simply says "Connecting to server".  Then, in a flash,
 it's sent.

 2.Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

This question comes up every three minutes or so on this list. The reason
this
happens is that the you're waiting for either a DNS or an ident request to
time
out.

To solve your problem, investigate the -R, -H, and -l (that's dash ell)
options
to tcpserver (assuming you're using tcpserver, which, if you're not, you
should
be). If it's a DNS request that's timing out, you might also investigate the
cause of the DNS failure.

Chris




rblsmtpd log

2001-02-21 Thread Agi Subagio

sorry for this question,
how to log rblsmtpd conversation in to /var/log/qmail or other place?




RE: Slow connection on send Server connection closed

2001-02-21 Thread jkim

I have two tcpserver processes running, one with -v -p -x switches and the
other with -H -R.  I don't see -l.

jean

-Original Message-
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:56 PM
To: JK
Cc: [EMAIL PROTECTED]
Subject: Re: Slow connection on send  Server connection closed


On Wed, Feb 21, 2001 at 03:49:06PM -0800, JK wrote:
 I have a Linux 6.2 box with qmail, bind8 and apache on it.  It was
installed
 by a Linux consultant.  It is currently in pre-production stage with very
 low traffic; 30 send/receive per hour at most.  My beta-testers on lan
 complain of two problems.

 1.From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds.  Size of email makes no difference.  Most
of
 the time, Netscape simply says "Connecting to server".  Then, in a flash,
 it's sent.

 2.Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

This question comes up every three minutes or so on this list. The reason
this
happens is that the you're waiting for either a DNS or an ident request to
time
out.

To solve your problem, investigate the -R, -H, and -l (that's dash ell)
options
to tcpserver (assuming you're using tcpserver, which, if you're not, you
should
be). If it's a DNS request that's timing out, you might also investigate the
cause of the DNS failure.

Chris




RE: Slow connection on send Server connection closed

2001-02-21 Thread jkim

Split DNS refers to internal  external?  Currently, only internal addresses
have been entered.  Is split DNS complicated?

thanks,
jean

-Original Message-
From: Campos Mario [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:05 PM
To: 'Kris Kelley'; QMail Mailing List
Subject: RE: Slow connection on send  Server connection closed


I encountered this problem not long ago and it was fixed by implementing a
split DNS. I would recommend you look into split DNS and see how it would
help your mail system resolve the name of the clients.

-Original Message-
From: Kris Kelley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:58 PM
To: QMail Mailing List
Subject: Re: Slow connection on send  Server connection closed


JK wrote:
 1. From the time Send is clicked in Netscape 4.75 on NT, and the
 completion takes 15-20 seconds...

 2. Some of the Netscape users complain that they frequently get error
 message indicating that there may be network problem or server may have
 closed the connection.

 Can someone tell me where to begin to look to troubleshoot this?

How was qmail installed by the consultant?  Do you know if it's using inetd
or tcpserver (or something more exotic) to listen to the SMTP port?

My guess is your server is trying to do ident queries (port 113) which are
disappearing into never-never land.  tcpserver has an option to disable
this, not sure about inetd.

---Kris Kelley






qmail test scripts

2001-02-21 Thread Sumith




Hello

I've tested my qmail system with the following two 
perl scripts, downloaded from www.qmail.org

perl qmail-qsanity-0_52

did not display anything does that mean..that my 
Qmail Queue system is set right. or what does it really mean.

perl qmail-lint-0_55Warning: users/assign 
checking not implemented.

What does that warning mean...Is it really bad? 
what can i do to make this error disppear.

I've installed Qmail from RPMS at www.qmail.org

Regards
Sumith


Re: qmail-qfilter problems

2001-02-21 Thread Alex Kramarov

Andy Meuse wrote

 I've installed the qmail-qfilter and cannot get it to work. After I add
the
 "QMAILQUEUE" lines to my tcp.smtp and rebuild it, I send an email and get
an
 email back immediately saying, "No transport provider was available for
 delivery to this recipient" message.

1. I suspect this error message comes from outlook - don't use it to
troubleshoot smtp e-mail, you will never get a decent error message.

2. try sending a message manually (telnet host 25), or through (at least)
outlook express and see what error do you recieve.





rcpthosts file - newbe question

2001-02-21 Thread Daniel Jones

This has to be something simple but I've been banging my
head against it for a couple of hours and can't get
anywhere.  If this is covered in the FAQ, INSTALL or man
files, I either can't find it or am misunderstanding it.
The situation:

I have a small home network.  I have a designated server,
corwin.mydomain.org, running qmail on debian 2.2 with kernel
2.4.1.  I can locally log into corwin, open pine, and send
and recieve email.  

My normal box, merlin.mydomain.org, uses kmail.  I have it
configured to receive email via pop3 from corwin.  This
works fine.  I can send mail to [EMAIL PROTECTED] and
receive it on merlin via corwin.  I also have kmail on
merlin configured to send email via SMTP on corwin.
However, everything I send gets bounced - relaying denied
because "that domain isn't in my rcpthosts file."  I have
tried all of the following in my rcpthosts file on corwin:

mydomain.org
.mydomain.org
merlin
merlin.mydomain.org

I'm not sure if it matters but merlin is listed in my hosts
file on corwin.  I can ping either merlin or
merlin.riddlemaster.org from corwin.

What do I need to do to convince corwin to relay mail from
merlin?  Thanks in advance for any assistance.



Re: LWQ OpenBSD

2001-02-21 Thread Robin S. Socha

* Kris Kelley [EMAIL PROTECTED] writes:
 Rick Updegrove wrote:

 Since I do not have a init.d directory in OpenBSD and it seems
 everything is started from rc.conf and rc.local in OpenBSD how am I
 to follow LWQ?

 I may be way off base here, having never used OpenBSD, but couldn't
 you create the LWQ qmail start-up script as a file somewhere, then
 tell whichever rc.* script is appropriate to do a
 "/path/to/script/qmail start"?

That (man 8 rc) would do the trick. The wrong one, IMHO, though, because
daemontools and ucspi-tcp are also in the ports if necessary - a much
better solution, but YMMV. SysV init scripts don't really belong into
BSD land ;-) 
-- 
Robin S. Socha http://socha.net/



Re: Need Arguments for qmail

2001-02-21 Thread Chris Garrigues

 From:  Martin Akesson [EMAIL PROTECTED]
 Date:  Wed, 21 Feb 2001 21:00:40 +0100

 So, just because we have faster computers we should make programs that
 are not as efficient as they "used" to be?  Your filosofy is pretty much
 what Microsoft is working on and I for one do not like it.  If you can
 make it fast, then make is _fast_.  Not because you have to but because
 you can, there is no need to write less efficient code just because
 a fast computer make the new, albeit slow, code run just as fast as the old
 code, the fast one, on an slow machine.  Thats just being dumb.

You can optimize for CPU time; you can optimize for programmer time; you can 
optimize for user time.  You can't optimize for all three at once unless the 
original code was incredibly bad.

The perl camel book actually breaks this down into 6 categories as follows:

Time Efficiency
Space Efficiency
Programmer Efficiency
Maintainer Efficiency
Porter Efficiency
User Efficiency

and many of the advice in each of those sections contradicts advice in the 
other sections.

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