Re: Q problem.

2001-04-13 Thread Sumith

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




Re: Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]

2001-04-13 Thread Robin S. Socha

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



reality check not working (was: smtp and pop not working)

2001-04-13 Thread Robin S. Socha

* 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:   "Umm..."
SANS: "Do you copy, Al?"
Al:   "Err... Yeah, like, sure!"
SANS: "OK, so we take this portscanner and break into this site, OK."
Al:   "Cool!!! Can /I/ do it?"
SANS: "Um... 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 



Re: Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]

2001-04-13 Thread Peter Cavender

> 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 




Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]

2001-04-13 Thread alexus

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




Re: clustering

2001-04-13 Thread Benjamin Lee


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



Re: Pine for Maildir

2001-04-13 Thread Peter Cavender

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




movipage

2001-04-13 Thread Franco Galian

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





Qmail Works, But I'm Sure It's Running Backwards!

2001-04-13 Thread Br. Kurt Van Kuren OSB

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 200 \
  /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 200 \
  /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



Re: Pine for Maildir

2001-04-13 Thread Stefan Laudat


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



RE: smtp and pop not working

2001-04-13 Thread Al Sparks

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/



Re: smtp and pop not working

2001-04-13 Thread Charles Cazabon

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



RE: smtp and pop not working

2001-04-13 Thread Steven Katz

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




Re: smtp and pop not working

2001-04-13 Thread Chris Johnson

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


Re: help me

2001-04-13 Thread Al Sparks

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/



Re: Pine for Maildir

2001-04-13 Thread Al Sparks


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



Pop goes my weasel

2001-04-13 Thread Meuse, Andy
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





Re: ZConnected_to_XXX_but_...

2001-04-13 Thread Clifford Tse

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?
> 
> --
> @40003ad44e0d0b7b5e84 delivery 896:
> failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
> @40003ad44e0d0c807e2c status: local 0/10 remote 5/20
> @40003ad44e0d36c56a6c 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 -




Re: ZConnected_to_XXX_but_...

2001-04-13 Thread Peter van Dijk

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?
> 
> --
> @40003ad44e0d0b7b5e84 delivery 896:
> failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
> @40003ad44e0d0c807e2c status: local 0/10 remote 5/20
> @40003ad44e0d36c56a6c 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.



ZConnected_to_XXX_but_...

2001-04-13 Thread Clifford Tse

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?

--
@40003ad44e0d0b7b5e84 delivery 896:
failure: /1/ZConnected_to_<>_but_connection_died._(#4.4.2)/
@40003ad44e0d0c807e2c status: local 0/10 remote 5/20
@40003ad44e0d36c56a6c 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




Pine for Maildir

2001-04-13 Thread Steven Katz

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




smtp and pop not working

2001-04-13 Thread Steven Katz

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




Re: qmail on Mac OSX?

2001-04-13 Thread Paul J. Schinder

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):
>0010 C _strerr_sys
> 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.cFri 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]



Re: clustering

2001-04-13 Thread Karsten W. Rohrbach

Peter van Dijk([EMAIL PROTECTED])@2001.04.13 10:23:26 +:
> 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



Re: Best qmail patches for hosting email for many domains

2001-04-13 Thread Charles Cazabon

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



Re: qmail on Mac OSX?

2001-04-13 Thread Paul Makepeace

> 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):
0010 C _strerr_sys
 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.cFri 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



Re: Q problem.

2001-04-13 Thread Rizwan


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




Re: Q problem.

2001-04-13 Thread Peter van Dijk

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.



Q problem.

2001-04-13 Thread Rizwan


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




Re: clustering

2001-04-13 Thread Rizwan


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




qmail Digest 13 Apr 2001 10:00:00 -0000 Issue 1333

2001-04-13 Thread qmail-digest-help


qmail Digest 13 Apr 2001 10:00:00 - Issue 1333

Topics (messages 60641 through 60685):

qmail error
60641 by: Abu Arqam
60642 by: Gerrit Pape

Re: A strange behavior.
60643 by: Koh Sato

qmail
60644 by: mauro.costantini.inwind.it
60655 by: Kurth Bemis

Where is tai64nfrac
60645 by: Tom Vandeplas
60646 by: japc.sl.pt

SMTP 554: Invalid data in message
60647 by: esl

Re: CNAME lookup failed
60648 by: Johan Almqvist

Re: qmail rewrite in progress
60649 by: Russell Nelson

isoqlog 1.5 stable is available
60650 by: Ismail YENIGUL

qmail and mailforwarding
60651 by: Jurrien Wijlhuizen
60654 by: Tim Legant

help me
60652 by: andi
60653 by: japc.sl.pt

Re: defaultdelivery method seperate from /var/qmail/rc ?
60656 by: Dave Sill

Re: /usr/local/sbin/qmail: No such file or directory
60657 by: Dave Sill

Re: Again on "Mail-Follow-Up" plus other...
60658 by: Dave Sill
60669 by: Marco Calistri
60671 by: Marco Calistri

xinetd, tcpwrappers and qmail
60659 by: John Evans
60660 by: Dave Sill
60661 by: Tim Hunter

RFCs?
60662 by: David Benfell
60663 by: Brian Reichert
60664 by: Dave Sill
60682 by: Peter van Dijk

Something I'm missing here...
60665 by: Andrew Apold
60666 by: Dave Sill
60667 by: Andrew Apold
60668 by: Willy De la Court

qmail in null client configuration!
60670 by: Gerhard Mourani
60683 by: Peter van Dijk

Re: Another newsletter question..
60672 by: Nick (Keith) Fish
60684 by: Peter van Dijk

Wrong hostname in locals file
60673 by: Steven Katz
60674 by: Greg White

Re: supervise scripts error
60675 by: Carl Jeptha

User Interface for Autoresponder
60676 by: Bill Luckett
60677 by: Nick (Keith) Fish

clustering
60678 by: Brett
60685 by: Peter van Dijk

Best qmail patches for hosting email for many domains
60679 by: Qmail
60681 by: Rick Updegrove

autoresponder Aack,_child_crashed._(#4.3.0)
60680 by: Norbert Veber

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]


--



I use qmail and vpopmail and I get some messages :
Apr 12 16:50:27 ns1 qmail: 987069027.344673 info msg 34249: bytes 342 from
<[EMAIL PROTECTED]> qp 1060 uid 48
Apr 12 16:50:27 ns1 qmail: 987069027.355083 starting delivery 62: msg 34249
to local [EMAIL PROTECTED]
Apr 12 16:50:27 ns1 qmail: 987069027.355846 status: local 1/10 remote 0/20
Apr 12 16:50:27 ns1 qmail: 987069027.359370 delivery 62: deferral:
Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)/
Apr 12 16:50:27 ns1 qmail: 987069027.360131 status: local 0/10 remote 0/20

What happen with my qmail program, can you help me ?

Thank's

Abu Arqam




On Thu, Apr 12, 2001 at 05:01:26PM +0700, Abu Arqam wrote:
> I use qmail and vpopmail and I get some messages :
> Apr 12 16:50:27 ns1 qmail: 987069027.344673 info msg 34249: bytes 342 from
> <[EMAIL PROTECTED]> qp 1060 uid 48
> Apr 12 16:50:27 ns1 qmail: 987069027.355083 starting delivery 62: msg 34249
> to local [EMAIL PROTECTED]
> Apr 12 16:50:27 ns1 qmail: 987069027.355846 status: local 1/10 remote 0/20
> Apr 12 16:50:27 ns1 qmail: 987069027.359370 delivery 62: deferral:
> Uh-oh:_.qmail_has_prog_delivery_but_has_x_bit_set._(#4.7.0)/

That error message tells You all, refer to dot-qmail(5):
   If .qmail has the execute bit set, it must not contain any
   program lines, mbox lines, or maildir  lines.   If  qmail-
   local  sees  any  such  lines, it will stop and indicate a
   temporary failure.

# chmod -x ~/.qmail
should solve it.

Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com





  Thanks again.  Sorry for my delayed response.
I am also sorry that I don't append the output of
qmail-showctl, since I am not sure whether I am authorized
to do that.

>> Are you enabling selective relaying on smtp2? If so, are you setting
>> RELAYCLIENT to "smpt2.my.domain"?

  I even don't know what exactly selective relaying is, but all that
I editied are control/locals and control/rcpthosts of smtp2, both of
them now contain FQDN of smpt2 and the name of the domain which
smtp2 belongs to. (i.e., 'smtp2.my.domain' and 'my.domain', separated
by a newline.)

  I also found by connecting from smtp1 (or other hosts in the domain)
to smtp2's port 25 via telnet that even sending a message to
'[EMAIL PROTECTED]' causes

Re: clustering

2001-04-13 Thread Peter van Dijk

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.



Re: Another newsletter question..

2001-04-13 Thread Peter van Dijk

On Thu, Apr 12, 2001 at 06:16:48PM -0400, Nick (Keith) Fish wrote:
> Peter van Dijk wrote:
> > 
> > On Tue, Apr 10, 2001 at 04:24:54PM -0400, Nick (Keith) Fish wrote:
> > [snip]
> > > Sure.  You could even run an entirely separate copy of qmail processes
> > > that interfaces with the same queue when you send out the newsletter.
> > 
> > What do you mean by 'the same queue'?
> 
> I meant that it would interface with the same queue directory (and
> therefore messages) as the original qmail program.  Does this not seem
> feasible?

Not at all. Only one qmail process can work with one queue. You can't
run 2 qmail's on the *same* queue.

Btw, I am on the list, so please don't Cc me.

Greetz, Peter.



Re: qmail in null client configuration!

2001-04-13 Thread Peter van Dijk

On Thu, Apr 12, 2001 at 05:41:18PM -0400, Gerhard Mourani wrote:
> Hi,
> 
> I setup qmail as null client for one of our server to send all internal 
> messages to the central mail hub server and qmail is unable to send the 
> messages and keep them in queue. Below is my configuration of different 
> part of qmail config files. I highly suspect that the small problem may 
> comes from here. Please let me know if I forget something in my qmail 
> config files for null client or something else. thank you.
[snip]

config looks ok at first glance. What do the logs say?(tm)

Greetz, Peter.



Re: RFCs?

2001-04-13 Thread Peter van Dijk

On Thu, Apr 12, 2001 at 11:44:10AM -0700, David Benfell wrote:
> Continuing on, I find Greg Andrews ([EMAIL PROTECTED]) who seems to have
> reduced one claim of RFC non-compliance to an Outlook Express bug at
> http://www.cm.nu/~shane/lists/comp.mail.sendmail/2001-01/0301.html

True. qmail deals with RFC821, not 822, except for qmail-inject.

>  6.   Unlike  sendmail,  qmail-inject  doesn't  replace  host
>   names  with  canonical  names.   Example:  qmail-inject
>   won't  change  [EMAIL PROTECTED]  in  your
>   header to [EMAIL PROTECTED]  The send-
>   mail documentation claims that qmail-inject's  behavior
>   is  illegal  under  RFC 822 and RFC 1123; that claim is
>   based on a questionable interpretation of an  ambiguous
>   phrase  in RFC 822.  Besides, do you want to have host-
>   names changed behind your back?

Indeed, sendmail even does this stuff behind your back on
SMTP-injected mail. I call that a bug.

> In http://www.gnus.org/list-archives/ding/199912/msg00745.html ,
> Stainless Steel Rat <[EMAIL PROTECTED]> writes, "Rewriting
> headers of an RFC 822 message for canonicity is a good thing.  But if
> a message is not an RFC 822 message, qmail-inject has absolutely no
> grounds for turning it into an RFC 822 message.  And even then,
> rewriting To and Cc is a Really Bad Idea because it can and eventually
> will cause mail not to be delivered properly (see my response to Kai's
> message for some details)."

Rewriting headers is not a good thing. Remember that :)

> Next, I find
> http://list.nessus.org/listarch-nessus/1999-05/msg00096.html , which
> seems more like a rant than anything else.  The start of the thread
> there sheds little light for me.  It has something to do with qmail
> replying with a 250 message, appearing to allow relaying, when in
> fact it doesn't deliver the message.  (Is this somehow related to the
> ORBS nuttiness?)

The thread talks about how qmail accepts a message for, for example,
<[EMAIL PROTECTED]> if the server is configured to accept
vuurwerk.nl. Some broken tools then consider a qmail box to be an open
relay, which is a mistake. qmail accepts the address because it was
configured that way. 'peter%dataloss.net' can very well be a valid
local username. This trick can not ever be used for relaying (except
when you configure percenthack too, but I've never done that).

> There are some interesting notes at
> http://vader.kootenay.net/qmail/misc/THOUGHTS.html  The stuff that's
> clearly identified as having to do with RFCs looks like it's okay.
> But I don't know enough about the RFCs to see if anything else there
> is related.

That is actually straight from the qmail docs.

> Michael H. Warfield ( [EMAIL PROTECTED] ) wrote in
> http://mlarchive.ima.com/linux-net/1999/3174.html , "qmail:obtuse
> code, difficult to debug, requires special utilities to work on spool
> files, binary data in spool files, spool file names linked to inode
> numbers, random brain farts, poor error recovery, some non-compliance
> to RFC's, obstinant author who refuses to recognize when he has a bug
> (from personal experience)."  Again, no specifics relating to RFCs.

Let's see.
- obtuse code: matter of taste. I like djb's coding style. Lots of
people hate it and have trouble digesting it.
- difficult to debug: because qmail's design actually makes sense,
it's a lot easier to debug than sendmail, once you understand how it
all fits together.
- requires special utilities to work on spool files: yes, because the
spool was designed to be reliable, not to be edited by humans.
- binary data in spool files: see previous point.
- spool file names linked to inode numbers: is a design decision that
has it's benefits. I see no downsides in that.
- random brain farts: whatever :)
- poor error recovery: no idea what he means.
- some non-compliance to RFC's: not that I know of
- obstinant author who refuses to recognize when he has a bug: I know
of only one bug in qmail-1.03 (STAT in qmail-pop3d), and indeed djb hasn't
responded to that. For the rest, qmail has no known bugs.

> So, I give up.  I'm guessing other MTA's have at least as many real,
> documented issues with RFC compliance as qmail.  And I only see a
> couple things that might be important.  Am I wrong?  What's the deal?

The deal is that people think sendmail should be considered a
reference implementation of the mail RFCs (like BIND for the DNS
RFCs). sendmail isn't (and BIND isn't), but people think that anything
that's "different" is wrong. It's not. Sendmail is wrong.

Phew. And all that on a hangover :)

Greetz, Peter.