qmail Digest 14 Apr 2001 10:00:01 -0000 Issue 1334

Topics (messages 60686 through 60715):

Re: clustering
        60686 by: Rizwan
        60692 by: Karsten W. Rohrbach
        60710 by: Benjamin Lee

Q problem.
        60687 by: Rizwan
        60688 by: Peter van Dijk
        60689 by: Rizwan
        60715 by: Sumith

Re: qmail on Mac OSX?
        60690 by: Paul Makepeace
        60693 by: Paul J. Schinder

Re: Best qmail patches for hosting email for many domains
        60691 by: Charles Cazabon

smtp and pop not working
        60694 by: Steven Katz
        60702 by: Chris Johnson
        60703 by: Steven Katz
        60704 by: Charles Cazabon
        60705 by: Al Sparks

Pine for Maildir
        60695 by: Steven Katz
        60700 by: Al Sparks
        60706 by: Stefan Laudat
        60709 by: Peter Cavender

ZConnected_to_XXX_but_...
        60696 by: Clifford Tse
        60697 by: Peter van Dijk
        60698 by: Clifford Tse

Pop goes my weasel
        60699 by: Meuse, Andy

Re: help me
        60701 by: Al Sparks

Qmail Works, But I'm Sure It's Running Backwards!
        60707 by: Br. Kurt Van Kuren OSB

movipage
        60708 by: Franco Galian

Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]
        60711 by: alexus
        60712 by: Peter Cavender
        60714 by: Robin S. Socha

reality check not working (was: smtp and pop not working)
        60713 by: Robin S. Socha

Administrivia:

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

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

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

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


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



Hi there,
        
Have a look at the piranha high availability clustering of Red Hat.
        there is a piranha rpm available which does something similar ( for
tcp/ip services).

Rizwan


On Fri, 13 Apr 2001, Peter van Dijk wrote:
> On Thu, Apr 12, 2001 at 06:37:35PM -0700, Brett wrote:
> > Can someone point me towards documentation on the subject of clustering
> > qmail machines? That is, we're going to be setting up several machines all
> > with the big concurrency patch in an effort to send out more mail faster.
> > Tying all these qmail installations together through a controller machine is
> > where I start to get hazy. If somebody's done it before and can offer some
> > pointers, I'd be much appreciative. The search engine always says it's
> > broken when I try to search the archives so I apologize if this is in there
> > somewhere. Thanks in advance.
> 
> I have a central box that generates all configfiles and puts them in a
> directory called /conf/mail on a NetApp fileserver, from which all
> qmail boxes copy their configuration periodically.
> 
> Make sure you copy stuff to tmpfiles and then move 'm (also when
> generating files to go into /conf/mail). Especially over
> NFS, doing it any different is guaranteed trouble.
> 
> It works like a charm.
> 
> Greetz, Peter.
-- 
            In the name of Allah, Most Gracious, Most Merciful 
            --------------------------------------------------  
         Praise be to Allah, the Cherisher and Sustainer of the world; 
                       Most Gracious, Most Merciful; 
                       Master of the Day of Judgment. 
                Thee do we worship, and Thine aid we seek. 
                         Show us the straight way, 
           The way of those on whom Thou hast bestowed Thy Grace, 
         those whose (portion) is not wrath, and who go not astray. 
                                                        Qur'aan Ch:1
                                                        ------------




Peter van Dijk([EMAIL PROTECTED])@2001.04.13 10:23:26 +0000:
> I have a central box that generates all configfiles and puts them in a
> directory called /conf/mail on a NetApp fileserver, from which all
> qmail boxes copy their configuration periodically.
> 
> Make sure you copy stuff to tmpfiles and then move 'm (also when
> generating files to go into /conf/mail). Especially over
> NFS, doing it any different is guaranteed trouble.
in several projects i used rsync[1] over ssh (openssh[2]) for distributing
configuration between machines (push updates).

rsync does a great job, supporting incremental/differential updates and
moving the files in place after they have been transmitted and verified.

happy easter
/k

links:
[1] http://rsync.samba.org/
[2] http://www.openssh.com/

-- 
> Microsoft isn't the answer. Microsoft is the question, and the answer is no.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de





Slightly off topic...

I was wondering if anyone has used something like 'watch' or 'stat' (or
somthing else?) to detect the modification (change) of a file or directory,
and then trigger an rsync?

Of course, I could settle with a crond rsync every minute or so, I guess!
I do this at the moment, was just thinking about an alternative...




On Fri, Apr 13, 2001 at 05:23:22PM +0200, Karsten W. Rohrbach wrote:
> Peter van Dijk([EMAIL PROTECTED])@2001.04.13 10:23:26 +0000:
> > I have a central box that generates all configfiles and puts them in a
> > directory called /conf/mail on a NetApp fileserver, from which all
> > qmail boxes copy their configuration periodically.
> > 
> > Make sure you copy stuff to tmpfiles and then move 'm (also when
> > generating files to go into /conf/mail). Especially over
> > NFS, doing it any different is guaranteed trouble.
> in several projects i used rsync[1] over ssh (openssh[2]) for distributing
> configuration between machines (push updates).
> 
> rsync does a great job, supporting incremental/differential updates and
> moving the files in place after they have been transmitted and verified.
> 
> happy easter
> /k
> 
> links:
> [1] http://rsync.samba.org/
> [2] http://www.openssh.com/
> 
> -- 
> > Microsoft isn't the answer. Microsoft is the question, and the answer is no.
> KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de





Hi,
        My qmail-qread and qmail-qstat gives this
# qmail-qread
10 Apr 2001 10:23:13 GMT  #16751  542963  <>
        remote  [EMAIL PROTECTED]
13 Apr 2001 05:29:51 GMT  #16765  1541  <[EMAIL PROTECTED]>
  done  remote  [EMAIL PROTECTED]
        remote  [EMAIL PROTECTED]   

# qmail-qstat
messages in queue: 2
messages in queue but not yet preprocessed: 0 
---------
These mail have been there (or thats what i thik) since yesterday.
How do i delete them or force them out.

Thanks in advance.

Rizwan

-- 
            In the name of Allah, Most Gracious, Most Merciful 
            --------------------------------------------------  
         Praise be to Allah, the Cherisher and Sustainer of the world; 
                       Most Gracious, Most Merciful; 
                       Master of the Day of Judgment. 
                Thee do we worship, and Thine aid we seek. 
                         Show us the straight way, 
           The way of those on whom Thou hast bestowed Thy Grace, 
         those whose (portion) is not wrath, and who go not astray. 
                                                        Qur'aan Ch:1
                                                        ------------




On Fri, Apr 13, 2001 at 04:28:05PM +0530, Rizwan wrote:
[snip]
> # qmail-qstat
> messages in queue: 2
> messages in queue but not yet preprocessed: 0 
> ---------
> These mail have been there (or thats what i thik) since yesterday.
> How do i delete them or force them out.

They will be retried periodically for up to a week, after which they
will be bounced. Change /var/qmail/control/queuelifetime (man
qmail-send) to do this earlier.

Greetz, Peter.





        Thanks-a-lot for the help. Peter. It worked.
Rizwan

On Fri, 13 Apr 2001, Peter van Dijk wrote:
> On Fri, Apr 13, 2001 at 04:28:05PM +0530, Rizwan wrote:
> [snip]
> > # qmail-qstat
> > messages in queue: 2
> > messages in queue but not yet preprocessed: 0 
> > ---------
> > These mail have been there (or thats what i thik) since yesterday.
> > How do i delete them or force them out.
> 
> They will be retried periodically for up to a week, after which they
> will be bounced. Change /var/qmail/control/queuelifetime (man
> qmail-send) to do this earlier.
> 
> Greetz, Peter.
-- 
            In the name of Allah, Most Gracious, Most Merciful 
            --------------------------------------------------  
         Praise be to Allah, the Cherisher and Sustainer of the world; 
                       Most Gracious, Most Merciful; 
                       Master of the Day of Judgment. 
                Thee do we worship, and Thine aid we seek. 
                         Show us the straight way, 
           The way of those on whom Thou hast bestowed Thy Grace, 
         those whose (portion) is not wrath, and who go not astray. 
                                                        Qur'aan Ch:1
                                                        ------------




Hello,
I am facing a similar problem,

qmail-qstat
messages in queue: 3697
messages in queue but not yet preprocessed: 0

qmail-qread
11 Apr 2001 16:29:39 GMT  #1377194  15538  <>
        remote  [EMAIL PROTECTED]
11 Apr 2001 16:38:45 GMT  #1377217  15549  <>
        remote  [EMAIL PROTECTED]
11 Apr 2001 16:53:52 GMT  #1377355  15543  <>
        remote  [EMAIL PROTECTED]
11 Apr 2001 17:03:56 GMT  #1377401  15539  <>
        remote  [EMAIL PROTECTED]
11 Apr 2001 17:12:14 GMT  #1377539  15540  <>

All these messages belong to this particular remote host...which doesn't
even have an MTA running. How can I safely delete these messages and stop
them from re-occuring.
FYI, I am running Qmail installed from memphis RPMS on RH6.2

Thanks in advance.

Regards
Sumith
> > These mail have been there (or thats what i thik) since yesterday.
> > How do i delete them or force them out.
>
> They will be retried periodically for up to a week, after which they
> will be bounced. Change /var/qmail/control/queuelifetime (man
> qmail-send) to do this earlier.
>
> Greetz, Peter.
>





> Matt Harrington <[EMAIL PROTECTED]> writes:
> 
>   Has anyone successfully installed qmail on Mac OSX public beta?  i get
>   this far:
> 
> Remove "-s" from conf-ld, or try changing it to "-x".

[During the course of this email I actually got this to compile. Patch
at the end]

What are you hoping -x will do? Unfortunately this doesn't work on
OS X 10.0:

cc: language qmail-pop3d not recognized
[...]

With
% grep cc conf-ld
cc
%

..it can't find the struct:

./load qmail-pop3d commands.o case.a timeoutread.o \
timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a  `cat socket.lib`
/usr/bin/ld: Undefined symbols:
_strerr_sys

..which is odd, 'cos it's (apparently) there:

% nm strerr.a | grep strerr_sys
strerr.a(strerr_sys.o):
00000010 C _strerr_sys
00000000 T _strerr_sysinit
         U _strerr_sysinit
%

Well, this patch seemed to work. (Why it needs initializing I have no idea)

% diff -u strerr_sys-orig.c strerr_sys.c
--- strerr_sys-orig.c   Fri Apr 13 07:05:19 2001
+++ strerr_sys.c        Fri Apr 13 07:04:40 2001
@@ -1,7 +1,7 @@
 #include "error.h"
 #include "strerr.h"
 
-struct strerr strerr_sys;
+struct strerr strerr_sys = {0,0,0,0};
 int a_random_variable;
 
 void strerr_sysinit()
%

HTH,
Paul




At 7:09 AM -0700 4/13/01, Paul Makepeace wrote:
>  > Matt Harrington <[EMAIL PROTECTED]> writes:
>>
>>    Has anyone successfully installed qmail on Mac OSX public beta?  i get
>  >   this far:

If by "public beta" you mean release, yes.  It's a royal pain but it 
can be done.

>  >
>>  Remove "-s" from conf-ld, or try changing it to "-x".
>
>[During the course of this email I actually got this to compile. Patch
>at the end]
>
>What are you hoping -x will do? Unfortunately this doesn't work on
>OS X 10.0:
>
>cc: language qmail-pop3d not recognized
>[...]
>
>With
>% grep cc conf-ld
>cc
>%
>
>..it can't find the struct:
>
>./load qmail-pop3d commands.o case.a timeoutread.o \
>timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
>open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
>fs.a  `cat socket.lib`
>/usr/bin/ld: Undefined symbols:
>_strerr_sys
>
>..which is odd, 'cos it's (apparently) there:


Mac OS X's ld, which is not GNU ld, is *horrible* at handling static 
libraries.  In conf-ld, you should put "cc -all_load", which helps 
get you through most of the problems.  But eventually you'll need to 
add a "alloc.a" to the end a bunch of the build instructions in the 
Makefile for various programs.

The other problem I had seems to be related to HFS+, which, 
unfortunately, seems to be the only type of filesystem you can 
reliably install OS X on.  I let the installation go into /var/qmail, 
which of course is on my Mac OS X HFS+ partition.  It worked for a 
while, but then I started getting

deferral: Unable_to_find_alias_user!

in the logs.  Of course, the qmail users all existed. (Putting all 
the users and groups properly into NetInfo was the hardest part of 
this process.)  On a hunch, I moved /var/qmail to my UFS partition 
and it's worked flawlessly since.


>
>% nm strerr.a | grep strerr_sys
>strerr.a(strerr_sys.o):
>00000010 C _strerr_sys
>00000000 T _strerr_sysinit
>          U _strerr_sysinit
>%
>
>Well, this patch seemed to work. (Why it needs initializing I have no idea)
>
>% diff -u strerr_sys-orig.c strerr_sys.c
>--- strerr_sys-orig.c   Fri Apr 13 07:05:19 2001
>+++ strerr_sys.c        Fri Apr 13 07:04:40 2001
>@@ -1,7 +1,7 @@
>  #include "error.h"
>  #include "strerr.h"
>
>-struct strerr strerr_sys;
>+struct strerr strerr_sys = {0,0,0,0};
>  int a_random_variable;
>
>  void strerr_sysinit()
>%
>
>HTH,
>Paul

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




Qmail <[EMAIL PROTECTED]> wrote:
> 
> Can anyone suggest some patches that will give me:
> 
> Virtual POP/SMTP (IMAP would be nice)

Not a patch, but vmailmgr does this well (the benefits of modularity, you
see).  See http://www.vmailmgr.org/ for details.

> A web interface to add/delete/change passwords/setup forwards (auto
> responders would be nice)

I believe oMail has this.  You can find it at SourceForge or Freshmeat.

> Only 1 IP per server

vmailmgr can handle multiple virtual domains per IP address.

> quota per domain

vmailmgr lets you use normal filesystem quotas for this.  It also supports
per-virtual-user quotas.

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




Both smtp and pop seem to be unhappy with me.

   The message could not be sent because one of the recipients was 
   rejected by the server. Server Response: '553 sorry, that domain 
   isn't in my list of allowed rcpthosts (#5.7.1)'. (Account: 
   '[EMAIL PROTECTED]', SMTP Server: 'mail.domain.com', Error Number: 
   0x800ccc79).

   Unable to connect to the server. (Account: [EMAIL PROTECTED]', POP3 
   Server: 'mail.domain.com', Error Number: 0x800ccc0e).

Mail for steven does appear to be collecting in the Maildir -- I just 
can't send or receive from a remote machine. I tried adding 
mail.domain.com to rcpthosts and restarting qmail, but I still get the 
above errors.  Any ideas?

By the way, I'm trying to use vpopmail for smtp after pop auth. Are 
there any additional instructions for getting vpopmail to work with 
qmail beyond the inter7 install instructions?

Thanks,
Steven





On Fri, Apr 13, 2001 at 10:22:39AM -0700, Steven Katz wrote:
> Both smtp and pop seem to be unhappy with me.
> 
>    The message could not be sent because one of the recipients was 
>    rejected by the server. Server Response: '553 sorry, that domain 
>    isn't in my list of allowed rcpthosts (#5.7.1)'. (Account: 
>    '[EMAIL PROTECTED]', SMTP Server: 'mail.domain.com', Error Number: 
>    0x800ccc79).
> 
>    Unable to connect to the server. (Account: [EMAIL PROTECTED]', POP3 
>    Server: 'mail.domain.com', Error Number: 0x800ccc0e).
> 
> Mail for steven does appear to be collecting in the Maildir -- I just 
> can't send or receive from a remote machine. I tried adding 
> mail.domain.com to rcpthosts and restarting qmail, but I still get the 
> above errors.  Any ideas?

Your domain isn't domain.com, and if you tell the list members that it is,
they'll ignore you.

Chris

PGP signature





I'm calling it domain.com to protect it's identity as it's currently 
in an extremely vulnerable state (which should be obvious from my 
questions). What's the big deal?

Steven


-----Original Message-----
From: Chris Johnson
Sent: Friday, April 13, 2001 2:33 PM
To: Steven Katz
Cc: [EMAIL PROTECTED]
Subject: Re: smtp and pop not working


On Fri, Apr 13, 2001 at 10:22:39AM -0700, Steven Katz wrote:
> Both smtp and pop seem to be unhappy with me.
> 

Your domain isn't domain.com, and if you tell the list members that it is,
they'll ignore you.

Chris





Steven Katz <[EMAIL PROTECTED]> wrote:
> I'm calling it domain.com to protect it's identity as it's currently 
> in an extremely vulnerable state (which should be obvious from my 
> questions). What's the big deal?

The big deal is that if you provide the real domain name, we can check for
problems ourselves.  You provided almost none of the information we need to
help you with your problem.

To turn your question around, what's the big deal with giving us the real
domain name?  qmail isn't "vulnerable" in this situation; it just appears to
be refusing messages for some (unknown) domain.

In short:  give us all of the information, without hiding anything.  If you
want help but don't want to do that, pay for commercial qmail support.
There's numerous providers listed at qmail.org.

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




Actually he has a point.  The SANS conference I attended last year
included a demonstration of how sites are broken into.  The first thing
the presenters did was give a talk about researching your target.  One
thing they like to do is do searches in technical lists (e.g.
[EMAIL PROTECTED]) for the target�s domain name or even the name of a
known sysadmin.  They use this technique to get clues on the
architecture of their target, and of course a lot of queries on this
list will lay out exactly what the architecture is.

I don�t use my employer�s hostname when sending email on this list for
that reason; though that�s about the only obfuscation I�m using.

I�ve been around the net long enough (worked at a University when the
net was run by DARPA; pre-web days) to bemoan the fact that finger
daemons were having to be disabled because they were used as a way to
collect spam targets.  This is another example where people are having
to be less open.
     === Al

--- Steven Katz <[EMAIL PROTECTED]> wrote:
> I'm calling it domain.com to protect it's identity as it's currently 
> in an extremely vulnerable state (which should be obvious from my 
> questions). What's the big deal?
> 
> Steven
> 
> 
> -----Original Message-----
> From: Chris Johnson
> Sent: Friday, April 13, 2001 2:33 PM
> To: Steven Katz
> Cc: [EMAIL PROTECTED]
> Subject: Re: smtp and pop not working
> 
> 
> On Fri, Apr 13, 2001 at 10:22:39AM -0700, Steven Katz wrote:
> > Both smtp and pop seem to be unhappy with me.
> > 
> 
> Your domain isn't domain.com, and if you tell the list members that it is,
> they'll ignore you.
> 
> Chris
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




I'm looking for a version of Pine that will read messages from Maildir 
directly, rather than moving them to 'mail'. Anyone know of any?

Thanks,
Steven






--- Steven Katz <[EMAIL PROTECTED]> wrote:
> I'm looking for a version of Pine that will read messages from Maildir 
> directly, rather than moving them to 'mail'. Anyone know of any?
> 
> Thanks,
> Steven

To my knowledge, pine does not directly read Maildir formatted
mailboxes.  If your server runs an IMAP service, you can get pine to
read mail via IMAP.

If you want a text based email client that reads Maildir formatted
mailboxes, use mutt.  I�ve never used it, so I don�t have a
recommendation as to it�s usefulness, but I�ve seen posts raving about
it.
   === Al


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/





there are patches for pine Maildir access, please rtfm at www.qmail.org
I've tested that and worked a couple of months ago.

On Fri, Apr 13, 2001 at 01:49:37PM -0700, Al Sparks wrote:
> 
> --- Steven Katz <[EMAIL PROTECTED]> wrote:
> > I'm looking for a version of Pine that will read messages from Maildir 
> > directly, rather than moving them to 'mail'. Anyone know of any?
> > 
> > Thanks,
> > Steven
> 
> To my knowledge, pine does not directly read Maildir formatted
> mailboxes.  If your server runs an IMAP service, you can get pine to
> read mail via IMAP.
> 
> If you want a text based email client that reads Maildir formatted
> mailboxes, use mutt.  I?ve never used it, so I don?t have a
> recommendation as to it?s usefulness, but I?ve seen posts raving about
> it.
>    === Al
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 

-- 
Stefan Laudat
CCNA & CCAI
-------------
"- I think my men can take care of one little penguin. 
 - No Mr. Gates, your men are already dead."




The RedHat RPM of pine is patched to support Maildirs.

--Pete

On Sat, 14 Apr 2001, Stefan Laudat wrote:

> 
> there are patches for pine Maildir access, please rtfm at www.qmail.org
> I've tested that and worked a couple of months ago.
> 
> On Fri, Apr 13, 2001 at 01:49:37PM -0700, Al Sparks wrote:
> > 
> > --- Steven Katz <[EMAIL PROTECTED]> wrote:
> > > I'm looking for a version of Pine that will read messages from Maildir 
> > > directly, rather than moving them to 'mail'. Anyone know of any?
> > > 
> > > Thanks,
> > > Steven
> > 
> > To my knowledge, pine does not directly read Maildir formatted
> > mailboxes.  If your server runs an IMAP service, you can get pine to
> > read mail via IMAP.
> > 
> > If you want a text based email client that reads Maildir formatted
> > mailboxes, use mutt.  I?ve never used it, so I don?t have a
> > recommendation as to it?s usefulness, but I?ve seen posts raving about
> > it.
> >    === Al
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail. 
> > http://personal.mail.yahoo.com/
> > 
> 
> -- 
> Stefan Laudat
> CCNA & CCAI
> -------------
> "- I think my men can take care of one little penguin. 
>  - No Mr. Gates, your men are already dead."
> 





i have been using qmail for while and it seems to work mostly but it fails to
delivery certain messages every now and then.  the delivery problem does not
seems to be permanent, as i can re-send the messages and they will typically go
thru.  the typical error messages are enclosed below.  anyone experienced
the same problem and knows the cause?  can i tell qmail to retry a number of
times (with certain delay) before giving up on the message?

------
@400000003ad44e0d0b7b5e84 delivery 896:
failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
@400000003ad44e0d0c807e2c status: local 0/10 remote 5/20
@400000003ad44e0d36c56a6c delivery 894:
failure: /1/ZConnected_to_<>_but_greeting_failed./Remote_host_said:_42
1_<>_Sorry,_unable_to_contact_destination_SMTP_daemon./
-------


-------
Hi. This is the qmail-send program at <>.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
/1
ZConnected to 155.91.6.20 but connection died. (#4.4.2)
---------

funny that i got the bounce when trying to send a message to qmail-help:

-------
<[EMAIL PROTECTED]>:
/1
ZSorry, I wasn't able to establish an SMTP connection. (#4.4.1)
-------

thanx,

cliff





On Sat, Apr 14, 2001 at 03:28:40AM +0800, Clifford Tse wrote:
> i have been using qmail for while and it seems to work mostly but it fails to
> delivery certain messages every now and then.  the delivery problem does not
> seems to be permanent, as i can re-send the messages and they will typically go
> thru.  the typical error messages are enclosed below.  anyone experienced
> the same problem and knows the cause?  can i tell qmail to retry a number of
> times (with certain delay) before giving up on the message?
> 
> ------
> @400000003ad44e0d0b7b5e84 delivery 896:
> failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
> @400000003ad44e0d0c807e2c status: local 0/10 remote 5/20
> @400000003ad44e0d36c56a6c delivery 894:
> failure: /1/ZConnected_to_<>_but_greeting_failed./Remote_host_said:_42
> 1_<>_Sorry,_unable_to_contact_destination_SMTP_daemon./
> -------

You are not running qmail. Although it looks a lot like it, and
probably once was, it is not qmail. At least your qmail-remote has
been modified. This modification is breaking the error-reporting from
qmail-remote back to qmail-send, which makes it bounce immediately.

Greetz, Peter.




you're right!  my qmail-remote was replaced with scanmails from AMaViS 
(0.2.1).  so is it a bug with AMaViS?  i do want to be able to scan outgoing 
mails.

cliff



----- Original message -----
    Date: Fri, 13 Apr 2001 21:37:45 +0200
    From: Peter van Dijk <[EMAIL PROTECTED]>
Reply-To: Peter van Dijk <[EMAIL PROTECTED]>
 Subject: Re: ZConnected_to_XXX_but_...
      To: [EMAIL PROTECTED]

On Sat, Apr 14, 2001 at 03:28:40AM +0800, Clifford Tse wrote:
> i have been using qmail for while and it seems to work mostly but it fails to
> delivery certain messages every now and then.  the delivery problem does not
> seems to be permanent, as i can re-send the messages and they will typically 
go
> thru.  the typical error messages are enclosed below.  anyone experienced
> the same problem and knows the cause?  can i tell qmail to retry a number of
> times (with certain delay) before giving up on the message?
> 
> ------
> @400000003ad44e0d0b7b5e84 delivery 896:
> failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
> @400000003ad44e0d0c807e2c status: local 0/10 remote 5/20
> @400000003ad44e0d36c56a6c delivery 894:
> failure: /1/ZConnected_to_<>_but_greeting_failed./Remote_host_said:_42
> 1_<>_Sorry,_unable_to_contact_destination_SMTP_daemon./
> -------

You are not running qmail. Although it looks a lot like it, and
probably once was, it is not qmail. At least your qmail-remote has
been modified. This modification is breaking the error-reporting from
qmail-remote back to qmail-send, which makes it bounce immediately.

Greetz, Peter.


----- End of original message -----





Title: Pop goes my weasel

Hey all,
       
        A few accounts on my qmail server recieve 1000 emails a day. Sometimes these don't get checked for weeks. The mail is also kept on the server for a few weeks so the CUR dir gets pretty massive.

        It's all been running fine for months with no config change, but now when a user tries to pop the account the cpu% on the server maxes out. If the user quits Outlook and then starts again, a second pop process starts on the qmail server and the cpu% splits between them. If I kill the processes it all just starts again.

        The only way around it I've found is to delete messages from the CUR dir down to about 1000 or so.
        The server is a dual 500 with half a gig of ram and the desktops are 700s with 256 and the connectivity is not an issue.

        Anyone know of some "tweak" that might help me? Or do y'all need more info?

Thanks
Andy





It's in the man pages also.  If you start with 
   man qmail
there's a paragraph on user utilities.  mkmaildir is one of those
listed.

As I've tried to "grok" qmail, I�ve been going through the LWQ document
by Dave Sill, and the README files included in the source code.

Like most all man pages, they�re a little hard to read and get the
overall feeling of the application.  But once you get to a certain
level of understanding, they become a great way to pick up small bits
of arcane data.

I�ve been doing a lot of
     man -k qmail
commands, but that doesn�t list the man pages that don�t have qmail in
their index entries.  That�s where
     man qmail
comes in. 
    === Al

--- [EMAIL PROTECTED] wrote:
> On Thu, Apr 12, 2001 at 11:59:13PM +0700, andi wrote:
> > 
> > may i know , where i can found document about
> > how to change mailbox format to Maildir.
> > 
> > 
> 
> http://www.qmail.org
> 
> > thanks before
> > 
> > 
> 
> You're welcome, but next time search the mailing list 
>(http://www-archive.ornl.gov:8000) before
> asking.
> 
> > 
> > andi hari
> > 
> 
> -- 
> Jose Celestino  <[EMAIL PROTECTED]>
> --------------------------------------------------------------
> "Every morning I read the obituaries; if my name's not there,
>       I go to work."


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Hello everyone...

Well I'm going to take the risk and lay out all my qmail set ups in hopes 
that I can figure out why it works the way it does.  
I'll display my tcp.smtp, tcpserver, and rc scripts, along with inbound 
tunnels and outbound mapping on my firewall. It that gets me in trouble, so 
be it.

This setup runs and is usually okay time wise. Netscape is noticeably faster 
at smtp and pop than Eudora on my Windows clients, but it's livable.
What doesn't make a lick of sense to me is why rcpthosts works the way it 
does.  However, I did leave qmail up and running and told www.orbs.org to 
check my server, and I haven't received a blacklist message yet.


Anyway, here's tcp.smtp and tcp.pop (I'm assuming I need a separate script 
for both directions, correct me if I'm wrong)

#relay access for clients
#TCPLOCALHOST="mail.stpeterscollege.ca"
#TCPLOCALHOST="gecko.stpeters.sk.ca"
#TCPLOCALHOST="gecko.stpeterscollege.ca"
127.0.0.1:allow,RELAYCLIENT=""
192.168.1.2-254:allow,RELAYCLIENT=""
#192.168.3.2:allow,RELAYCLIENT=""
#192.168.3.3:allow,RELAYCLIENT=""
:allow

To me, this means that I've got my Protected Service Network and my localhost 
available for relaying, but I commented out my Private Service Network, since 
there's no need to send mail directly off my servers.

This passes the tcprules check 

Now to tcpserver for smtp:

#!/bin/sh
     QMAILDUID=`id -u qmaild`
     NOFILESGID=`id -g qmaild`
     exec /usr/local/bin/softlimit -m 2000000 \
      /usr/local/bin/tcpserver -H -D -v -p -x /etc/tcp.smtp.cdb  \
-u $QMAILDUID -g $NOFILESGID 192.168.3.3 smtp /var/qmail/bin/qmail-smtpd 2>&1

And tcpserver for pop:

#!/bin/sh
#QMAILDUID=`id -u qmaild`
#NOFILESGID=`id -g qmaild`
# /bin/checkpassword must run as root so that it can check passwords
#and also so that it can exec qmail-pop3d as a different user.
# the -u and -g options must be removed.
#HOSTNAME=`gecko.stpeterscollege.ca`
     exec /usr/local/bin/softlimit -m 2000000 \
      /usr/local/bin/tcpserver -H -D -v -p -x /etc/tcp.pop.cdb \
      192.168.3.3 pop-3 /var/qmail/bin/qmail-popup mail.stpeterscollege.ca \
/bin/checkpassword  /var/qmail/bin/qmail-pop3d  Maildir 2>&1


okay, now rcpthosts; I've got the domains in descending order of importance
Since the domain is ultimately going to be stpeters.sk.ca, I've left it in.
Right now the server is set in linuxconf to gecko.stpeterscollege.ca
The really weird part is the only way I can send outgoing mail to the 
Internet is to include 'wildcard' domains. Remember, though that I've had 
ORBS check this, and Sasktel does to, so it must be okay.

stpeters.sk.ca
stpeterscollege.ca
LOCALHOST
gecko.stpeterscollege.ca
mail.stpeterscollege.ca
.com
.edu
.org
.to

and locals:

stpeters.sk.ca
stpeterscollege.ca

I've never touched the rc script, but it might be important:

#!/bin/sh

     exec env - PATH="/var/qmail/bin:$PATH" \
     qmail-start '|dot-forward .forward
     ./Maildir/'

and Inbound Tunnel:
207.195.105.60 ---> 192.168.3.3
and Outbound Static Mapping
192.168.3.3 ----> 207.195.105.60

nslookup works fine for the domain stpeterscollege.ca

Well, that ought to do it.  Many thanks Charles and Chris for your help with 
the pop password script.


Br. Kurt Van Kuren OSB
Instructional Technologist
St. Peters College
Muenster Saskatchewan Canada




Hi, I finished a little program that sends messages to a cellphone, it's
only valid for Argentina, but with little modifications maybe will be useful
for others. It's a hack of Eric Huss's autoresponder, it gets the subject
and sends it to a cgi made by movicom (a cellular company) in order to get
the message on the cellphone.
The homepage of the project is at http://www.lhs.com.ar/movipage/
Hope that this helps for someone, as Eric's program, Qmail, and all the
other opensource programs helped me so many times.

Regards,

Franco Galian






Hi

.. let's start from right note here .. by sayin' i'm using qmail w/ Maildir
and imapd (doesn't really matter which one but if someone wants to know i'm
using the one the came with pine package (uw-imapd)) .. and i'm using very
popular client known as Outlook Express and/or Outlook and i'm sure many
more will have same problem/thing..

since there is no Inbox from client point of view (it points to god knows
where probably standard unix box /var/mail/$user or somethin), I have to
browse for an additiona folder which would be in $HOME/Maildir.. and it also
addes this folder in the list of others.. unfortinatly I can't just change
name of that folder Maildir to Inbox due to conflict with existing on e-mail
client end (and none existing on server side) folder/file.

what i need is: I want everyone's standard e-mail client to take Maildir as
a Inbox

my question is: how do i do that?

solution: .. maybe i can somehow trick my system in that Maildir is not
really a dir and it's just a file? this way I can put a symbol link into
/var/mail/$user to that file that's somehow is directory (Maildir) ?

or maybe there are other solutions for that?

it's really uncomfortable for me to do it and for for others users to
explain to add Maildir in their clients and there are some other
complications to that (which I dont really want to bore you with)

please e-mail me any possible solutions here

thanks in advance

Bye





> Hi
> 
> .. let's start from right note here .. by sayin' i'm using qmail w/ Maildir
> and imapd (doesn't really matter which one but if someone wants to know i'm
> using the one the came with pine package (uw-imapd)) .. 

Ummm, it DOES matter, because IMAP accesses the mail....

> and i'm using very
> popular client known as Outlook Express and/or Outlook and i'm sure many
> more will have same problem/thing..

It shouldn't matter WHAT client you are using...

> since there is no Inbox from client point of view (it points to god knows
> where probably standard unix box /var/mail/$user or somethin), 

Not at all, it is ~/Maildir

> I have to
> browse for an additiona folder which would be in $HOME/Maildir.. and it also
> addes this folder in the list of others.. unfortinatly I can't just change
> name of that folder Maildir to Inbox due to conflict with existing on e-mail
> client end (and none existing on server side) folder/file.
> 
> what i need is: I want everyone's standard e-mail client to take Maildir as
> a Inbox

Then configure your IMAP / POP server to serve the right folder...this
should all be server-side!

> 
> my question is: how do i do that?

CourierIMAP
 
> solution: .. maybe i can somehow trick my system in that Maildir is not
> really a dir and it's just a file? this way I can put a symbol link into
> /var/mail/$user to that file that's somehow is directory (Maildir) ?
> 
> or maybe there are other solutions for that?
> 
> it's really uncomfortable for me to do it and for for others users to
> explain to add Maildir in their clients and there are some other
> complications to that (which I dont really want to bore you with)
> 
> please e-mail me any possible solutions here
> 
> thanks in advance
> 
> Bye

I hope this helps...it seems you are coming at the problem from the wrong
direction..

--P 





* alexus <[EMAIL PROTECTED]> [010414 01:01]:
> .. let's start from right note here .. by sayin' i'm using qmail w/ Maildir
> and imapd (doesn't really matter which one but if someone wants to know i'm
> using the one the came with pine package (uw-imapd))  

Does it understand Maildir? http://qmail.org/top.html#usersoft

> .. and i'm using very popular client known as Outlook Express and/or
> Outlook and i'm sure many more will have same problem/thing..

Sure, but fdisk always helps.




* Al Sparks <[EMAIL PROTECTED]> writes:

> Actually he has a point.  

No. A spot. And a very weak one, too.

> The SANS conference I attended last year included a demonstration of
> how sites are broken into.

Woah! Evil h4X0rs abound!!!1 I can almost see it here before me:

SANS: "Al, this is $SITE. $SITE, this is Al."
Al:   "Hi, $SITE!!!"
SANS: "Now, now, let's not get overexcited. OK, so, here is $PORTSCANNER."
Al:   "Ummmmmm..."
SANS: "Do you copy, Al?"
Al:   "Errrrrrrrrr... Yeah, like, sure!"
SANS: "OK, so we take this portscanner and break into this site, OK."
Al:   "Cool!!! Can /I/ do it?"
SANS: "Ummmmm... Errr..."
[...]

> The first thing the presenters did was give a talk about researching
> your target.  One thing they like to do is do searches in technical
> lists (e.g. [EMAIL PROTECTED]) for the target�s domain name or even
> the name of a known sysadmin.  

Gee, thanks, Al. Like, *REAL* news here. However, having read
http://www.securityfocus.com/templates/forum_message.html?forum=2&head=5144&id=5144
you might consider LARTing yourself and cease posting semi-digested
knowledge.

> They use this technique to get clues on the architecture of their
> target, and of course a lot of queries on this list will lay out
> exactly what the architecture is.

Here you go, Al: http://cr.yp.to/ - happy hacking... Who knows, being a
real serious security D00d3, you might even find a remote hole in qmail
and OpenBSD and get famous.

> I don�t use my employer�s hostname when sending email on this list for
> that reason; though that�s about the only obfuscation I�m using.

Al, do you know what a port scanner is? It's, like, you know, an EVIL
h4X0r t00!. I don't need your employer\222[1]s name. If I'm bored enough
(and given the situation of Joe Random Highschool Luser, I would be),
I'll find it sooner or later. man pingsweep.

> I�ve been around the net long enough (worked at a University when the
> net was run by DARPA; pre-web days) to bemoan the fact that finger
> daemons were having to be disabled because they were used as a way to
> collect spam targets.  

Oh. I see. So you're one of the samples collected in
http://www.sans.org/newlook/resources/errors.htm that led to "Number
One".

> This is another example where people are having to be less open.

Yeah, right. If, however, you take a look at http://www.sans.org/topten.htm,
you'll see that your real problems lie elsewhere.

Footnotes: 
[1]  Hint: that "'" thingy is not an accent.
-- 
Robin S. Socha, Bastard Consultant From Hell <http://socha.net/>


Reply via email to