qmail Digest 16 Oct 1999 10:00:01 -0000 Issue 791

Topics (messages 31669 through 31741):

Re: How to share adressbooks for LAN
        31669 by: Andre Oppermann

#4.4.2 ?
        31670 by: Mohanan P G
        31672 by: Mohanan P G
        31673 by: Peeter Pirn
        31681 by: Russell Nelson

Re: unwanted emails
        31671 by: 
        31676 by: Franck PORCHER

Mailbox to Maildir
        31674 by: Keith Lee
        31675 by: Holger H�ffelin
        31737 by: Rogerio Brito

Re: control/{locals,rcpthosts,virtualdomains}
        31677 by: Franck PORCHER
        31678 by: Franck PORCHER
        31679 by: Franck PORCHER

Qmail smtp problem
        31680 by: Jorge Mota
        31685 by: qmail mailing list receiver

Re: memphis rpm
        31682 by: Mate Wierdl

Qmail and DNS failures
        31683 by: Eric Davis
        31684 by: Eric Dahnke
        31686 by: David Dyer-Bennet
        31687 by: Sam
        31692 by: Eric Davis
        31693 by: Aaron L. Meehan
        31735 by: Sam

pine and Maildirs
        31688 by: Evan Moore
        31690 by: Chuck Milam

From-Addresses
        31689 by: Florian G. Pflug
        31691 by: Florian G. Pflug
        31696 by: David Dyer-Bennet

unprocessed messages
        31694 by: Matthew Harrell
        31698 by: Dave Sill
        31701 by: Matthew Harrell
        31705 by: Dave Sill
        31709 by: Matthew Harrell
        31716 by: Timothy L. Mayo
        31727 by: David Dyer-Bennet
        31731 by: Russell Nelson

Re: Understanding virtual addresses
        31695 by: Russell Nelson
        31728 by: Todd A. Jacobs
        31738 by: Russell Nelson

maildirs not working....
        31697 by: Jennifer Tippens
        31699 by: Jennifer Tippens
        31704 by: Dave Sill
        31706 by: Stirling Olson
        31707 by: Stirling Olson
        31708 by: Julian Brown
        31715 by: Evan Moore

Re: Directory permissions on /var/qmail?
        31700 by: Dave Sill

Re: MAIL FROM: [EMAIL PROTECTED]
        31702 by: Einar Bordewich

Re: fetchmail problems after upgrade
        31703 by: Dave Sill

Re: Setup HotMail by Qmail ?
        31710 by: Dave Sill
        31718 by: Mikko H�nninen

Re: QMail installation
        31711 by: Dave Sill

Re: Removing messages from the queue (another one)
        31712 by: Dave Sill

Qmail died!!! Help!
        31713 by: Rodrigo Severo
        31717 by: Julian Brown
        31729 by: Rodrigo Severo

Re: smtp 550 error
        31714 by: Dave Sill

maildirs working now...
        31719 by: Jennifer Tippens

Re: TCPwrappers and relaying
        31720 by: Dave Sill

ATTACHING a Binary file using "qmail-inject"?
        31721 by: Philip Rhoades
        31723 by: Dave Sill
        31732 by: Soffen, Matthew
        31733 by: Olivier M.

pop3 and maildirs now....
        31722 by: Jennifer Tippens
        31724 by: James J. Lippard
        31725 by: Dave Sill
        31726 by: Tim Hunter

Wow, It works! It really works!
        31730 by: Jennifer Tippens
        31736 by: Phil Howard

adding footer or header to incoming or outgoing msg
        31734 by: Matthew Kaing

checkpassword and PAM, dark shadows...
        31739 by: Russell P. Sutherland

Automating mail delivery with dial-up account
        31740 by: linuxdevil.mindspring.com

Qmail smtp problem (2)
        31741 by: Jorge Mota

Administrivia:

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

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

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

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


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


Matthew Kaing wrote:
> 
> Hi, where is the Qmail LDAP server patch?  Please send me the URL.

http://www.nrg4u.com

-- 
Andre




Hi,

I am using Linux with qmail-1.03 for the college's email service. We are
linked thru a VSAT connection to the ISP (ERNET-India). I use daemontools,
tcpserver and my installation is based on suggestions of Dave's lwq.html.

On average, about 5000 mails flow either way , but I find about 50% 
deferrals , all of them with "Connected to [ IPaddress ] , but connection
died (#4.4.2)" , with or without a "Possible Duplicate !" tag.

Parameters are 
paternalism:2
Silent concurrency limit : 250 ( changed and re-compiled . Also applied
                                dns patch).
concurrency set to 250 for both local and remote.
No percent hack, No QMQP 
Queuelifetime : 2 days 
timeoutconnect: 75 sec
timeoutsmtpd: 720 sec
timeoutremote: 720 sec
There is a local DNS server which caches requests.

Could the list guide me on  how to fine tune qmail so that the
deferrals and denials can be reduced ?
Thanks in advace.
--pgm
===========================================================
P G Mohanan                     E-Mail :[EMAIL PROTECTED]
Systems Manager                 Phone  :91-824-475984
Central Computer Centre                     Ext 301 (Off)
K R E C Surathkal               Fax    :91-824-476090
INDIA 574 157                           
===========================================================





Hi,

I am using Linux with qmail-1.03 for the college's email service. We are
linked thru a VSAT connection to the ISP (ERNET-India). I use daemontools,
tcpserver and my installation is based on suggestions of Dave's lwq.html.

On average, about 5000 mails flow either way , but I find about 50% 
deferrals , all of them with "Connected to [ IPaddress ] , but connection
died (#4.4.2)" , with or without a "Possible Duplicate !" tag.

Parameters are 
paternalism:2
Silent concurrency limit : 250 ( changed and re-compiled . Also applied
                                dns patch).
concurrency set to 250 for both local and remote.
No percent hack, No QMQP 
Queuelifetime : 2 days 
timeoutconnect: 75 sec
timeoutsmtpd: 720 sec
timeoutremote: 720 sec
There is a local DNS server which caches requests.

Could the list guide me on  how to fine tune qmail so that the
deferrals and denials can be reduced ?
Thanks in advace.
--pgm
===========================================================
P G Mohanan                     E-Mail :[EMAIL PROTECTED]
Systems Manager                 Phone  :91-824-475984
Central Computer Centre                     Ext 301 (Off)
K R E C Surathkal               Fax    :91-824-476090
INDIA 574 157                           
===========================================================





http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/07/msg00877.html


> On average, about 5000 mails flow either way , but I find about 50% 
> deferrals , all of them with "Connected to [ IPaddress ] , but connection
> died (#4.4.2)" , with or without a "Possible Duplicate !" tag.
> 


------------------------------------------------------
Peeter Pirn - [EMAIL PROTECTED] - Sys Admin - FWI Internet




Mohanan P G writes:
 > On average, about 5000 mails flow either way , but I find about 50% 
 > deferrals , all of them with "Connected to [ IPaddress ] , but connection
 > died (#4.4.2)" , with or without a "Possible Duplicate !" tag.

You'd have to do a packet trace on those connections to see what
really happened.  The problem is happening on an operating system
level -- it's closing the TCP connection prematurely.  The "Possible
Duplicate" tag means that the connection closed after sending the end
of message but before receiving the SMTP result code.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




http://www.flounder.net/~mrsam/maildrop/

> now some of our users are requesting 
> if we can ban 
> certain ppl from sending them email based on header 
> information.  i don't 
> want to do this on the global level since this is already 
> being provided 
> for by
> 'badmailfrom' but configurable on the user level.  each user 
> has his own 
> ban list.
> 





Marlon Anthony Abao wrote:

> hello,
>
> i have been using qmail for sometime and basically just forgot about it
> since it already works.  now some of our users are requesting if we can ban
> certain ppl from sending them email based on header information.  i don't
> want to do this on the global level since this is already being provided
> for by
> 'badmailfrom' but configurable on the user level.  each user has his own
> ban list.
>
> has anyone done this and want to share his code?  or do i have to write
> something from scratch?   would it be a good idea just to throw the mail to
> the bit bucket or have it returned to sender?
>
> any comment is welcome :)
>
> -marlon

I do not know if this would be of some help, but I'm currently working (close
to release) on a piece of software
that seems to have the features you are looking for :
- amongst many other things, such as automatic classification in an imap tree
folders, forwarding, redirecting, it does provide an intranet web-based GUI
that lets any end-user express very flexible criterions for automatically
acknoledging, replying, ignoring(direct trash drop - an antispam feature),
or refusing mail (ignore + reply "not interested"). It's mainly written in
Perl.

First full release should be ready in a couple of weeks.
begin:vcard 
n:PORCHER;Franck
tel;work:(689) 56 23 95
x-mozilla-html:TRUE
url:http://www.esoft.pf/
org:Essential Software
adr:;;BP 4206		;Papeete;Tahiti;98713;Polyn�sie fran�aise
version:2.1
email;internet:[EMAIL PROTECTED]
title:Fondateur & g�rant. Founder & Executive Director
x-mozilla-cpt:;2240
fn:Franck PORCHER
end:vcard




Greetings,

   Is there any way to convert a Mailbox to a Maildir.   I know there's
a command, 'maildir2mbox', but is there anyway to go in the opposite
direction?

--Keith Lee






Look at: http://qmail.mirrors.space.net/top.html#maildir

There're at least two scripts which fullfill your requirements.

Holger

Keith Lee schrieb:

> Greetings,
>
>    Is there any way to convert a Mailbox to a Maildir.   I know there's
> a command, 'maildir2mbox', but is there anyway to go in the opposite
> direction?
>
> --Keith Lee





On Oct 15 1999, Holger H�ffelin wrote:
> Look at: http://qmail.mirrors.space.net/top.html#maildir
> 
> There're at least two scripts which fullfill your requirements.

        Or, if you have Mutt installed, select all messages ("tag")
        from the Maildir and save them to the desired Mailbox.

        No need for other programs/scripts. And it is very flexible,
        since you can convert just a subset of the messages in the
        Maildir.


        []s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Jack O'Toole wrote:

> Have your ISP forward the the mail for [EMAIL PROTECTED] to your
> qmail-smtp server.
>

I'm just looking for the opposite effect.
begin:vcard 
n:PORCHER;Franck
tel;work:(689) 56 23 95
x-mozilla-html:TRUE
url:http://www.esoft.pf/
org:Essential Software
adr:;;BP 4206		;Papeete;Tahiti;98713;Polyn�sie fran�aise
version:2.1
email;internet:[EMAIL PROTECTED]
title:Fondateur & g�rant. Founder & Executive Director
x-mozilla-cpt:;2240
fn:Franck PORCHER
end:vcard




Anand Buddhdev wrote:
Thank you Anan

> On Thu, Oct 14, 1999 at 06:42:04AM +0000, Franck PORCHER wrote:
>
> I understand your question like this:
>
> You want qmail to handle all local deliveries for mycompany.pf, with
> <[EMAIL PROTECTED]> being an exception.
>
> Solution: Make sure you don't have a user account called "jean" on your
> qmail server.

That's done

> Then put the address <[EMAIL PROTECTED]> in
> "~alias/.qmail-jean", so qmail will forward mail for <[EMAIL PROTECTED]> to
> <[EMAIL PROTECTED]>.

Nope. Jean only uses "[EMAIL PROTECTED]", an my ISP only knows this
address. The msg should leave qmail with its address for jean UNCHANGED, and
be delivered to my ISP as is, I.E "[EMAIL PROTECTED]". THAT's the problem!

> I'm assuming that your ISP will also accept mail for
> <[EMAIL PROTECTED]> and be able to put it into jean's POP mailbox. Jean can
> use his/her existing address, and everyone's happy.
>
> This should work, but if it doesn't, we'll try and look for another
> solution. Remember to address further queries not only to me, but to the
> list too, because other cleverer people may have a better solution.
>
> > I'm back with my (unsolved) problem. It's clear from the answers I got
> > that I have  failed in making myself understood. Mea culpa.
> >
> > I will (re)state the context :
> > - My (very little) company has its own domain name, say "mycompany.pf"
> > (polyn�sie fran�aise)
> > - My company receives its inbound mail (from the Internet) thru 2
> > ISP-based POP mailboxes :
> >    One is set-up to receive mail ONLY to "[EMAIL PROTECTED]" (single
> > drop POP mailbox),
> >    while the other one (the company's mailbox) is set up to receive all
> > the other mail to "mycompany.pf", such as "[EMAIL PROTECTED],
> >     [EMAIL PROTECTED]" and the like (multi drop POP mailbox).
> > - When jean wants to read his mail,
> >     he simply dials the ISP, connects to the ISP pop server and
> > retrieves whatever message is in
> >     his mailbox.
> > - When I want to retrieve my company's mail, I do exactly the same, but
> > with the second POP mailbox.
> > - When jean or I want to send mail, we simply use our MUA (such as
> > Netscape messenger) which is set up
> >    to deliver outbound mail to our ISP mail relay, so jean and I can
> > exchange mail thru those ISP-based mailboxes
> >    by using one anothers email address (Jean and I belong to the same
> > company, but work from different
> >    locations)
> > - So far, so good ...
> > - Now, things have evolved on my side. I have setup a qmail server on my
> > LAN, and the
> > different computers on the LAN are now set up to have their MUA talk to
> > the qmail server (no longer the ISP mail server),
> > both to lookup their imap mailbox
> > and to deliver outbound messages. The current qmail configuration (
> > relay-agent + "mycompany.pf" in locals) allows
> > my local co-workers to exchange mail and to send mail to the Internet.
> > But we can NO LONGER send mail to jean' ISP-based Pop
> > mailbox using the address "[EMAIL PROTECTED]". Indeed, since
> > "mycompany.pf" is in "locals", qmail wants to deliver it
> > locally. THAT IS MY PROBLEM. You would say "well, open another account
> > with your ISP and get an address for jean
> > that would be outside the domain "mycompany.pf". THATS MY SECOND PROBLEM
> > :  Jean wants to keep "[EMAIL PROTECTED]".
> > Indeed, he has lots of customers and friends who are already using this
> > address, so he does not want to change nor to use a second one!!!
> > (you can see : Jean is being very difficult and does not care much that
> > I have tried to set up
> > something new for the sake of my company's health. He says "it used to
> > work, so make it
> > work with your new setup..." well thats easy to say!).
> >
> > So, how do I do it ? (so the coworkers on my LAN and I will  still use
> > the address "[EMAIL PROTECTED]" to drop messages in jean remote
> > ISP-based
> > pop mailbox)
> >
> > I hope I have been more clear this time.
> >
> > Franck
> >
>
> Content-Description: Card for Franck PORCHER
>
> --
> See complete headers for more info
begin:vcard 
n:PORCHER;Franck
tel;work:(689) 56 23 95
x-mozilla-html:TRUE
url:http://www.esoft.pf/
org:Essential Software
adr:;;BP 4206		;Papeete;Tahiti;98713;Polyn�sie fran�aise
version:2.1
email;internet:[EMAIL PROTECTED]
title:Fondateur & g�rant. Founder & Executive Director
x-mozilla-cpt:;2240
fn:Franck PORCHER
end:vcard




Tyler Frederick wrote:

> Well, lets look at a couple of things.  Is [EMAIL PROTECTED] still
> receiving mail from other folks normally at that address?  It sounds to me
> that you want to have 2 seperate mail servers for the same domain. (Your
> own qmail box, as well as your ISP's SMTP/POP server)  The MX record for
> mycompany.pf needs to point to one of them, and have that one handle the
> decision making as to which receives who's mail.  There was a msg back a
> few days regarding this (Someone had 2 mailservers for the same domain
> with diff users on each.)  Check it out..

OK. We are getting closer. I check out. Thanks

>
>
> - T
>
> ---
> Tyler J. Frederick
> Senior Systems Engineer
> fc.com, Inc.
>
> On Thu, 14 Oct 1999, Franck PORCHER wrote:
>
> > I'm back with my (unsolved) problem. It's clear from the answers I got
> > that I have  failed in making myself understood. Mea culpa.
begin:vcard 
n:PORCHER;Franck
tel;work:(689) 56 23 95
x-mozilla-html:TRUE
url:http://www.esoft.pf/
org:Essential Software
adr:;;BP 4206		;Papeete;Tahiti;98713;Polyn�sie fran�aise
version:2.1
email;internet:[EMAIL PROTECTED]
title:Fondateur & g�rant. Founder & Executive Director
x-mozilla-cpt:;2240
fn:Franck PORCHER
end:vcard




Hello,
 
I run qmail-smtpd with tcpserver in a daemon build by qmail-run.rpm package.
 
But I have a problem because when I try to connect with telnet like this:
"telnet localhost 25"
 
a first mensage like this appears:
 
Connected to 127.0.0.1
Escape character is '^]'.
 
and the second message is:
 
220 localhost.localdomain ESMTP
 
but there are a gap between the first and the second message of 3, 4 minutes, and my mail client always timeout.
 
I don't understand this because I run qmail-pop3d in the same mode (tcpserver daemon build by qmail-run), and the gap between the first and the second message is null.
 
How can I solve this problem?
 
Tia,
Jorge Mota
Sociedade Torreense de Informática, Lda.
Av. Tenente Valadim 10 C
2560 Torres Vedras
Tel:351 61 316245 Fax:351 61 316239
 




Hello Jorge,

> ...
> I have a problem because when I try to connect with telnet like this:
> "telnet localhost 25"
> ...
> but there are a gap between the first and the second message of 3, 4
> minutes, and my mail client always timeout.
> ...

This looks very much like an DNS lookup for 127.0.0.1, which is not
answered by the name server. The gap you experience in this case 
would be while waiting for the DNS lookup to time out. qmail-smtpd
then would place something like "unknown" in it's log and continue
anyway.

> Content-Type: text/html;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
> <HTML>
> <HEAD>
> ...

BTW: I don't like these htmlized emails, they consume real 
     ressources, but don't contribute really. Please consider
     to switch off this "feature".
--------------------------------------------------------------------
Andreas Kaeser                      Schumann Unternehmensberatung AG
Unix- Intranet- und                 Hermann-Heinrich-Gossen-Str. 3
Internet-Security Berater           50858 Koeln
[EMAIL PROTECTED]       Tel: 02234/108-1855   Fax: -1818
--------------------------------------------------------------------




On Fri, Oct 15, 1999 at 10:13:16AM +1000, Peter Samuel wrote:
> On Thu, 14 Oct 1999, Mate Wierdl wrote:
> 
> > I have no idea how the vacation package work.
> > 
> > But:   the installation of the memphis rpm has changed.  In
> > particular, you also need qmail-run.  Is qmail working properly,
> > otherwise?
> 
> The problem isn't vacation per se (Jon and I have already debugged
> thru that poart). The problem is that if you have a .qmail file of the
> form
> 
>     | some_program
> 
> and "some_program" calls qmail-inject (or one of its cousins such as
> datemail etc), qmail-inject dies.
> 
> I've asked Jon to triple check permissions of files in
> /var/qmail/control to ensure they are readable by all.
> 

And this is only with the memphis rpm? Do you also have the problem?
I just did:
[wierdlm@moni wierdlm]$ echo '|./hello.sh' > .qmail
[wierdlm@moni wierdlm]$ echo '#!/bin/sh
> echo hello | qmail-inject mw
> ' > hello.sh
[wierdlm@moni wierdlm]$ chmod +x hello.sh 
[wierdlm@moni wierdlm]$ echo |qmail-inject wierdlm

and mw received:


>From [EMAIL PROTECTED] Fri Oct 15 14:21:22 1999
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 782 invoked by uid 510); 15 Oct 1999 14:21:22 -0000
Date: 15 Oct 1999 14:21:22 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;

hello


What is the URL for your vacation?

Mate




I have noticed that there are message for invalid domain names
sitting in my mail servers queue.  It's not a problem to have
stuff in the queue, but is there a way to tell qmail if some-
thing does not have a valid MX record to bounce it rigth away
back to the user?

I can understand that this behavior would not be desirable in the
case of the receivers DNS server being unavailable to produce an
MX record.  In this case, you'd want to give the message a day or
so to make sure that this wasn't the case.  Is there a way though
to control how long something will stay in the queue, or to cause
qmail to just bounce the message back if there is no valid DNS for
the domain name in question?

If anyone can either point me to the right place to read about this,
or provide some information about this, I will greatly appreciate it.
Thank you very much in advance for your help..

-Eric Davis
[EMAIL PROTECTED]





If there is no MX record for a given domain is it not standard practice
that an A record is tried?

- Eric

Eric Davis escribi�:
> 
> I have noticed that there are message for invalid domain names
> sitting in my mail servers queue.  It's not a problem to have
> stuff in the queue, but is there a way to tell qmail if some-
> thing does not have a valid MX record to bounce it rigth away
> back to the user?
> 
> I can understand that this behavior would not be desirable in the
> case of the receivers DNS server being unavailable to produce an
> MX record.  In this case, you'd want to give the message a day or
> so to make sure that this wasn't the case.  Is there a way though
> to control how long something will stay in the queue, or to cause
> qmail to just bounce the message back if there is no valid DNS for
> the domain name in question?
> 
> If anyone can either point me to the right place to read about this,
> or provide some information about this, I will greatly appreciate it.
> Thank you very much in advance for your help..
> 
> -Eric Davis
> [EMAIL PROTECTED]

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +




Eric Dahnke <[EMAIL PROTECTED]> writes on 15 October 1999 at 12:00:29 -0300
 > 
 > If there is no MX record for a given domain is it not standard practice
 > that an A record is tried?

Yes, it is.  Qmail follows that practice.  However, modifying the
initial question slightly to account for this, it does seem to make
sense that if you get permanent failures on both lookups, the message
should bounce right away.  This very likely indicates a typo in the
fqdn part of the address, and waiting won't help.  

The other two possibilities would seem to be that we're waiting for
new DNS to propagate, or that they've been down or disconnected long
enough for cached DNS to expire and we're waiting for them to come
back up.  Hmmm; these two *do* seem like reasons why waiting in this
situation might make sense.
-- 
David Dyer-Bennet **Update your records, forwarding expires soon** [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!




On Fri, 15 Oct 1999, David Dyer-Bennet wrote:

> The other two possibilities would seem to be that we're waiting for
> new DNS to propagate, or that they've been down or disconnected long
> enough for cached DNS to expire and we're waiting for them to come
> back up.  Hmmm; these two *do* seem like reasons why waiting in this
> situation might make sense.

Qmail will bounce a recipient only if both MX and X lookups fail with an
NXDOMAIN error, indicating a permanent failure of the DNS lookup.

If there's any other outcome - no response from the DNS server, or any
other error - it is interpreted as a transient error, and mail is not
bounced, but rescheduled for another delivery attempt.

That's the way it should be.

--
Sam





Sam wrote:
> 
> On Fri, 15 Oct 1999, David Dyer-Bennet wrote:
> 
> > The other two possibilities would seem to be that we're waiting for
> > new DNS to propagate, or that they've been down or disconnected long
> > enough for cached DNS to expire and we're waiting for them to come
> > back up.  Hmmm; these two *do* seem like reasons why waiting in this
> > situation might make sense.
> 
> Qmail will bounce a recipient only if both MX and X lookups fail with an
> NXDOMAIN error, indicating a permanent failure of the DNS lookup.
> 
> If there's any other outcome - no response from the DNS server, or any
> other error - it is interpreted as a transient error, and mail is not
> bounced, but rescheduled for another delivery attempt.
> 
> That's the way it should be.
> 
> --
> Sam

The domain in question is something like <address>@hotmial.com or any
other varient that we know is not a real domain. (The biggest one we
see is <address>@aol .com or any variation there of)  Why do these
addresses not bounce right away since their is no DNS server for them?

-Eric Davis
[EMAIL PROTECTED]




Quoting Eric Davis ([EMAIL PROTECTED]):
> > 
> > Qmail will bounce a recipient only if both MX and X lookups fail with an
> > NXDOMAIN error, indicating a permanent failure of the DNS lookup.
> > 
> > If there's any other outcome - no response from the DNS server, or any
> > other error - it is interpreted as a transient error, and mail is not
> > bounced, but rescheduled for another delivery attempt.
> > 
> > That's the way it should be.
> > 
> > --
> > Sam
> 
> The domain in question is something like <address>@hotmial.com or any
> other varient that we know is not a real domain. (The biggest one we
> see is <address>@aol .com or any variation there of)  Why do these
> addresses not bounce right away since their is no DNS server for them?

They do, that's the point.

; <<>> DiG 8.2 <<>> ns hotmial.com
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;      hotmial.com, type = NS, class = IN

;; ANSWER SECTION:
hotmial.com.            2D IN NS        SELENITE.TZC.COM.
hotmial.com.            2D IN NS        OBSIDIAN.TZC.COM.

;; ADDITIONAL SECTION:
SELENITE.TZC.COM.       2D IN A         207.229.32.7
OBSIDIAN.TZC.COM.       2D IN A         207.229.32.6




On Fri, 15 Oct 1999, Eric Davis wrote:

> > Qmail will bounce a recipient only if both MX and X lookups fail with an
> > NXDOMAIN error, indicating a permanent failure of the DNS lookup.
> > 
> > If there's any other outcome - no response from the DNS server, or any
> > other error - it is interpreted as a transient error, and mail is not
> > bounced, but rescheduled for another delivery attempt.
> > 
> > That's the way it should be.
> 
> The domain in question is something like <address>@hotmial.com or any
> other varient that we know is not a real domain. (The biggest one we
> see is <address>@aol .com or any variation there of)  Why do these
> addresses not bounce right away since their is no DNS server for them?

First of all, hotmial.com is very much a real domain, at least as far as
the root nameservers are concerned:

[root@gwl root]# dig @a.root-servers.net hotmial.com ns

[ snip ]

;; ANSWER SECTION:
hotmial.com.            2D IN NS        OBSIDIAN.TZC.COM.
hotmial.com.            2D IN NS        SELENITE.TZC.COM.

However, tzc.com's servers are returning a TEMPFAIL:

[root@gwl root]# dig @obsidian.tzc.com hotmial.com mx

[ snip ]

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;      hotmial.com, type = MX, class = IN

TEMPFAIL means exactly what it means, a temporary failure, so the message
gets rescheduled for another delivery attempt.

This particular situation is very common when a domain has been shut down
before the expiration date of the domain's registration with Internic. The
hotmial.com zone was purged from these servers a long time ago, so when
they get a query for hotmial.com, they know nothing about it, so they go
to the root nameservers, which then tell them that they themselves are
indeed authoritative for the zone.  Some domain name servers will simply
fail to return an answer to the query, in this situations, and some domain
name server will return a TEMPFAIL.  Either way, DNS resolvers interpret
this as a temporary failure.

If you were to investigate each one of your problem domains, you will
reach more or less the same conclusion every time.  The response to the
DNS query either times out, or returns something other than NXDOMAIN, so
the message gets temporarily bumped.

If a domain really does not exist, the root name servers will return
NXDOMAIN.





Everything that I have read about pine and Maildirs syas that 
they don't get along; however, after configuring my pinrc 
file to look at the Maidir it reads it's mail with out
complaint. How is this possible? I'm not even using the newest
version of pine, I just installed pine 3.96 from Debian Slink.








On Fri, 15 Oct 1999, Evan Moore wrote:

> Everything that I have read about pine and Maildirs syas that they
> don't get along; however, after configuring my pinrc file to look at
> the Maidir it reads it's mail with out complaint. How is this
> possible? I'm not even using the newest version of pine, I just
> installed pine 3.96 from Debian Slink.

Perhaps the Debian folks included a maildir patch?

-- 
Chuck Milam - [EMAIL PROTECTED]
I.T. Division - Academic Computing
University of Wisconsin Oshkosh





Hi

Can anybody explain to me, why ezmlm uses the from-address from the 
smtp-evenlope, instead of the from: provided in the mail-header?

I think that can be a disadvantage, e.g. so




Hi

Can anybody explain to me, why ezmlm uses the from-address from the 
smtp-evenlope, instead of the from: provided in the mail-header?

I think that can be a disadvantage, e.g. some home-linux-systems habe 
private (192.168.xxx.xxx)
Addresses, and xxx.uucp domain names..

Those systems could have <user>@domain.uucp as their mail-from, while the 
from-address is correct.

Or did it missunderstand things completly? ;-)

Greetings, Florian Pflug

PS: Sorry for the incomplete mail I sent before - my fault.




Florian G. Pflug <[EMAIL PROTECTED]> writes on 15 October 1999 at 18:45:11 +0200

 > Can anybody explain to me, why ezmlm uses the from-address from the 
 > smtp-evenlope, instead of the from: provided in the mail-header?

This is a somewhat controversial issue.  I've been considering writing
a patch for ezmlm+idx to change this behavior.  However, I'm going to
try to explain why it *is* done the way it is; there are some good
reasons.

 > I think that can be a disadvantage, e.g. some home-linux-systems habe 
 > private (192.168.xxx.xxx)
 > Addresses, and xxx.uucp domain names..

IP addresses aren't at issue; the smtp-envelope would normally have an
fqdn.  And it's quite important that it *never* be an unresolvable
fqdn (fake) or a private-network ip address: the smtp-envelope from
address is the address that bounce messages are returned to.  So if it
isn't a reachable address, you'll never get your bounces.

ezmlm isn't the only mailing list system to make this choice; it seems
that majordomo and list-serv also pay considerable attention to the
envelope sender.

Furthermore, the from: and reply-to: headers are, statistically,
fairly likely to have been configured wrong by the user.
-- 
David Dyer-Bennet **Update your records, forwarding expires soon** [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!





I have a machine which is basically sitting around (load of around 0.15) 
attempting deliveries on messages that it's been having problems with (about
730 in the queue) but when I submit new messages to qmail they end up 
unprocessed for a long time - I have 29 sitting in the unprocessed area right
now.  If I stop and then start qmail it processes all 29 of those messages 
and it will eventually get around to doing it anyway, but is there a way to
force it to do it quicker?  It's ridiculous to wait 30 minutes for it to 
process a message that it should be able to send out in 5 seconds.

I would provide statistics and things but I don't know what would be useful.

-- 
  Matthew Harrell                          Programmer - a red-eyed mumbling
  Bit Twiddlers, Inc.                       mammal capable of conversing with
  [EMAIL PROTECTED]                 inanimate objects.




Matthew Harrell <[EMAIL PROTECTED]> wrote:

>I have a machine which is basically sitting around (load of around 0.15) 
>attempting deliveries on messages that it's been having problems with (about
>730 in the queue) but when I submit new messages to qmail they end up 
>unprocessed for a long time - I have 29 sitting in the unprocessed area right
>now.  If I stop and then start qmail it processes all 29 of those messages 
>and it will eventually get around to doing it anyway, but is there a way to
>force it to do it quicker?  It's ridiculous to wait 30 minutes for it to 
>process a message that it should be able to send out in 5 seconds.

Check your trigger:

# ls -l /var/qmail/queue/lock/trigger 
prw--w--w-    1 qmails   qmail          0 Oct 15 13:43 /var/qmail/queue/lock/trigger

-Dave





: # ls -l /var/qmail/queue/lock/trigger 
: prw--w--w-    1 qmails   qmail          0 Oct 15 13:43 /var/qmail/queue/lock/trigger

: -Dave

What am I checking it for?  Mine looks like

prw-------   1 qmails   qmail           0 Oct  6 20:39 /usr/qmail/queue/lock/trigger

I'll change it to 644 but it does send out mail, it just prefers to do it in 
large chunks.  I've got 7 messages now hanging out unprocessed on a machine 
that has zero load.  They've been there for about ten minutes.  It seems to
wait until the qmail-remotes are all done and the remote load is 0/255 then
it processes them - I think.  Unfortuantely, the remote ones left to deliver
are undeliverables because the remote machines aren't answering so this takes
a while.

-- 
  Matthew Harrell                          To err is human,
  Bit Twiddlers, Inc.                       to purr feline.
  [EMAIL PROTECTED]




Matthew Harrell <[EMAIL PROTECTED]> wrote:

>: # ls -l /var/qmail/queue/lock/trigger 
>: prw--w--w-    1 qmails   qmail          0 Oct 15 13:43 /var/qmail/queue/lock/trigger
>
>: -Dave
>
>What am I checking it for?  Mine looks like
>
>prw-------   1 qmails   qmail           0 Oct  6 20:39 /usr/qmail/queue/lock/trigger
>
>I'll change it to 644

Well, the "p" has to be there, the owner and group have to be the
same, and, as you've guessed, the mode needs to be 644.

>but it does send out mail, it just prefers to do it in 
>large chunks.

Right. qmail-queue and qmail-send use trigger cooperatively. When
qmail-queue queues a message, it writes to trigger. When qmail-send
can read something from trigger, it knows there are new messages in
teh queue. Even if nothing shows up in trigger, qmail-send scans the
queue every 30 minutes looking for new messages.

See also:

    http://Web.InfoAve.Net/~dsill/lwq.html#trigger

-Dave




:>I'll change it to 644

I should have said "622" - not a common permission

: Well, the "p" has to be there, the owner and group have to be the
: same, and, as you've guessed, the mode needs to be 644.

: Right. qmail-queue and qmail-send use trigger cooperatively. When
: qmail-queue queues a message, it writes to trigger. When qmail-send
: can read something from trigger, it knows there are new messages in
: teh queue. Even if nothing shows up in trigger, qmail-send scans the
: queue every 30 minutes looking for new messages.

Hmm, thanks.  I never realized that before.  I changed it and I'll watch it
to see how it goes.  I wonder how it got to "600" in the first place.

-- 
  Matthew Harrell                          The perversity of the universe 
  Bit Twiddlers, Inc.                       tends to a maximum.
  [EMAIL PROTECTED]




On Fri, 15 Oct 1999, Matthew Harrell wrote:

> 
> : # ls -l /var/qmail/queue/lock/trigger 
> : prw--w--w-    1 qmails   qmail          0 Oct 15 13:43 
>/var/qmail/queue/lock/trigger
> 
> : -Dave
> 
> What am I checking it for?  Mine looks like
> 
> prw-------   1 qmails   qmail           0 Oct  6 20:39 /usr/qmail/queue/lock/trigger
> 
> I'll change it to 644 but it does send out mail, it just prefers to do it in 

OOPS!  644 is prw-r--r--

You want to set the permissions to 622.

> large chunks.  I've got 7 messages now hanging out unprocessed on a machine 
> that has zero load.  They've been there for about ten minutes.  It seems to
> wait until the qmail-remotes are all done and the remote load is 0/255 then
> it processes them - I think.  Unfortuantely, the remote ones left to deliver
> are undeliverables because the remote machines aren't answering so this takes
> a while.
> 
> -- 
>   Matthew Harrell                          To err is human,
>   Bit Twiddlers, Inc.                       to purr feline.
>   [EMAIL PROTECTED]
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





Matthew Harrell <[EMAIL PROTECTED]> writes on 15 October 1999 at 14:18:27 -0400

 > Hmm, thanks.  I never realized that before.  I changed it and I'll watch it
 > to see how it goes.  I wonder how it got to "600" in the first place.

That's an interesting question -- because this is a recurring
problem.  But I've never heard a suggestion for how it gets mis-set.  
-- 
David Dyer-Bennet **Update your records, forwarding expires soon** [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!




Dave Sill writes:
 > Check your trigger:
 > 
 > # ls -l /var/qmail/queue/lock/trigger 
 > prw--w--w-    1 qmails   qmail          0 Oct 15 13:43 /var/qmail/queue/lock/trigger

http://www.qmail.org/qmail-lint-0.54 now checks trigger permissions.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Todd A. Jacobs writes:
 > I'm trying to set up aliases that are directly delivered rather than
 > forwarded. In other words, I'd like them to be true aliases. For example,
 > I'd like to set up [EMAIL PROTECTED] to go directly to a user
 > without adding the forward line that creating ~alias/.qmail-contract would
 > add.
 > 
 > Is that possible, or is what I'm trying to do outside the realm of what
 > qmail does?

What problem are you trying to solve?

I'm going to guess that you don't like having to maintain two files
for virtual addresses.  Are you trying to have a single file that
handles virtual addresses?  Like this:

[EMAIL PROTECTED]:bill
[EMAIL PROTECTED]:mary
[EMAIL PROTECTED]:john

If so, then a simple perl script will "compile" that into the
necessary files for qmail.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




On Fri, 15 Oct 1999, Russell Nelson wrote:

> [EMAIL PROTECTED]:bill
> [EMAIL PROTECTED]:mary
> [EMAIL PROTECTED]:john

This would be fine, but when I ran qmail-pw2u, I got a lot of bounced
messages saying no such user mailboxes existed.

The idea is to deliver the mail directly to a stated user, rather than
forwarding it via a dot-file. As I understand it, the mystic incantation
is to run qmail-pw2u, pipe the output to /var/qmail/users/assign, run
qmail-newu, and restart qmail-send. 

This didn't work for me. I was wondering if I'd misunderstood, or if there
was some other secret spell I was supposed to incant. :)

-- 
Todd A. Jacobs
Network Systems Engineer






Todd A. Jacobs writes:
 > The idea is to deliver the mail directly to a stated user, rather than
 > forwarding it via a dot-file. As I understand it, the mystic incantation
 > is to run qmail-pw2u, pipe the output to /var/qmail/users/assign, run
 > qmail-newu, and restart qmail-send. 

Ahhhh, I see what you're doing.  No, qmail-pw2u won't cut it.  All
you're doing when you run qmail-pw2u is writing a new email delivery
database the same as the old database (/etc/passwd).  What you want to
do is create your own mapping from email addresses to user accounts.
You might want to start with the output of qmail-pw2u, but given
virtualdomains entries like A, you'll want to add entries like B.

A: tjacobs.myip.org:tjacobs

B: =tjacobs-sales:mary:(mary's UID):(mary's GID):(mary's home directory):::
B: =tjacobs-users:john:(john's UID):(john's GID):(john's home directory):::
B: =tjacobs-bimbo:bill:(bill's UID):(bill's GID):(bill's home directory):::

Don't forget to make sure that the data you put into users/assign ends 
with a "." on a line by itself.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




I must be missing something... I got Qmail to work just fine using the "Life
with qmail" page.  with the default mbox setting.  I could receive email and
see it in the Mailbox file.  OK. I then decided I wanted to use maildirs
instead.  I did:

changed the defaultdelivery file in /var/qmail/control to have one line:
./Maildir/

then I used makemaildir to make the mail directory on my account:
maildirmake $HOME/Maildir

and made a .qmail file:
echo./Maildir/ > ~/.qmail

I then removed (moved) the old Mailbox.

Now I don't get mail. ??

thanks,
Jennifer





Of course I restarted qmail also...
-Jen

> -----Original Message-----
> From: Jennifer Tippens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 15, 1999 12:45 PM
> To: Qmail
> Subject: maildirs not working....
> 
> 
> I must be missing something... I got Qmail to work just fine 
> using the "Life with qmail" page.  with the default mbox setting. 
>  I could receive email and see it in the Mailbox file.  OK. I 
> then decided I wanted to use maildirs instead.  I did:
> 
> changed the defaultdelivery file in /var/qmail/control to have one line:
> ./Maildir/
> 
> then I used makemaildir to make the mail directory on my account:
> maildirmake $HOME/Maildir
> 
> and made a .qmail file:
> echo./Maildir/ > ~/.qmail
> 
> I then removed (moved) the old Mailbox.
> 
> Now I don't get mail. ??
> 
> thanks,
> Jennifer
> 




"Jennifer Tippens" <[EMAIL PROTECTED]> wrote:

>and made a .qmail file:
>echo./Maildir/ > ~/.qmail

No need to do that since you changed defaultdelivery, but it should
work, of course.

>I then removed (moved) the old Mailbox.

No need for that either.

>Now I don't get mail. ??

What do the logs in /var/log/qmail/* say?

-Dave




Are there files in your HOME$/Maildir/new directory?  If so, then you ARE
receiving mail but your MUA doesn't support or isn't configured for
Maildirs.

Stirling

-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 15, 1999 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: maildirs not working....


"Jennifer Tippens" <[EMAIL PROTECTED]> wrote:

>and made a .qmail file:
>echo./Maildir/ > ~/.qmail

No need to do that since you changed defaultdelivery, but it should
work, of course.

>I then removed (moved) the old Mailbox.

No need for that either.

>Now I don't get mail. ??

What do the logs in /var/log/qmail/* say?

-Dave




Sorry, that should be your $HOME/Maildir/new/ directory...

Stirling

-----Original Message-----
From: Stirling Olson [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 15, 1999 2:05 PM
To: [EMAIL PROTECTED]
Subject: RE: maildirs not working....


Are there files in your HOME$/Maildir/new directory?  If so, then you ARE
receiving mail but your MUA doesn't support or isn't configured for
Maildirs.

Stirling

-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 15, 1999 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: maildirs not working....


"Jennifer Tippens" <[EMAIL PROTECTED]> wrote:

>and made a .qmail file:
>echo./Maildir/ > ~/.qmail

No need to do that since you changed defaultdelivery, but it should
work, of course.

>I then removed (moved) the old Mailbox.

No need for that either.

>Now I don't get mail. ??

What do the logs in /var/log/qmail/* say?

-Dave






> -----Original Message-----
> From: Jennifer Tippens [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 15, 1999 1:47 PM
> To:   Qmail
> Subject:      RE: maildirs not working....
> 
> Of course I restarted qmail also...
> -Jen
> 
> > -----Original Message-----
> > From: Jennifer Tippens [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 15, 1999 12:45 PM
> > To: Qmail
> > Subject: maildirs not working....
> > 
> > 
> > I must be missing something... I got Qmail to work just fine 
> > using the "Life with qmail" page.  with the default mbox setting. 
> >  I could receive email and see it in the Mailbox file.  OK. I 
> > then decided I wanted to use maildirs instead.  I did:
> > 
> > changed the defaultdelivery file in /var/qmail/control to have one line:
> > ./Maildir/
> > 
> > then I used makemaildir to make the mail directory on my account:
> > maildirmake $HOME/Maildir
> > 
> > and made a .qmail file:
> > echo./Maildir/ > ~/.qmail
> > 
> > I then removed (moved) the old Mailbox.
> > 
> > Now I don't get mail. ??
> 
        chmod 644 .qmail





I don't know if this will help but when I converted to Maildirs
I edited my /var/qmail/rc file to 

#!/bin/sh

#Using splogger to send the log through syslog
#Using qmail-local to deliver messages to ~/Maildir by default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir splogger qmail

I think that I read that in some install guide somewhere.
 Having only ./Maildir in /var/qamil/rc would work fine aswell.





"Todd A. Jacobs" <[EMAIL PROTECTED]> wrote:

>I made a small goof when setting a new mount point for /var/qmail. Can
>anyone tell me what the default permissions of /var/qmail are? The
>subdirectories are unchanged; it;s just /var/qmail that might have been
>modified.

Mine looks like:

$ ls -ld /var/qmail
drwxr-xr-x   10 root     qmail        127 Sep 11  1998 /var/qmail

-Dave




Use that patch, stop qmail, then a make setup check, echo 1 > /qmail 
path/control/mfcheck and start qmail again. You don't have to do any changes in your 
startup script or worry about rblsmtpd.

tcpserver allows or denies ip adresses from local list
rblsmtpd allows or denies ip addresses from remote list

if the connecting ip address passes the two first, then qmail-smtpd checks for a valid 
domain in the from field.

--
-------------------------------------------------------------------
IDG New Media     Einar Bordewich
System Manager   Phone: +47 2205 3034
E-Mail:  [EMAIL PROTECTED]
-------------------------------------------------------------------

----- Original Message ----- 
From: torben fjerdingstad <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 15, 1999 11:29 AM
Subject: Re: MAIL FROM: [EMAIL PROTECTED]


> On Thu, Oct 14, 1999 at 03:39:56PM +0200, Balazs Nagy wrote:
> > On Wed, 13 Oct 1999, Russell Nelson wrote:
> > 
> > > Einar Bordewich writes:
> > >  > Has anyone made som MX/A/PTR checking on MAIL FROM: in qmail-smtpd?
> > > 
> > > Yes, there's a patch for it on www.qmail.org.
> > 
> > Well, actually it doesn't work.  Please use qmail-1.03-mfcheck.3.patch
> > instead (URL: http://lsc.kva.hu/dl/qmail-1.03-mfcheck.3.patch ). Oh, by the
> > way, Russ, could you update this patch's URL and local copy at www.qmail.org
> > please?
> 
> I use rblsmtpd. So patching qmail-smtpd won't work?
> What can I do?
> 
> /usr/local/bin/supervise /usr/local/qmail/supervise/tcpserver env - \
>         PATH="/usr/local/bin:$PATH" TZ=MET-1METDST,M3.5.0,M10.5.0 \
>         tcpserver -x /usr/local/etc/tcp.smtp.cdb \
>         -v -p -t 5 -c 400 -b 40 -u 203 -g 200 0 \
>         smtp /usr/local/bin/smtplog \
>         /usr/local/bin/rblsmtpd -rrelays.mail-abuse.org \
>         /usr/local/bin/rblsmtpd -rrelays.orbs.org \
>         /usr/local/bin/rblsmtpd -rrbl.maps.vix.com \
>         /usr/local/bin/rblsmtpd -rdul.maps.vix.com \
>         /usr/local/qmail/bin/qmail-smtpd 2>&1 \
>         | /usr/local/bin/accustamp \
>         | /usr/local/bin/cyclog -s100004000 -n2 /var/adm/smtpd smtpd 3 &
> 
> -- 
> Med venlig hilsen / Regards 
> Netdriftgruppen / Network Management Group
> UNI-C          
> 
> Tlf./Phone   +45 35 87 89 41        Mail:  UNI-C                                
> Fax.         +45 35 87 89 90               Bygning 304
> E-mail: [EMAIL PROTECTED]       DK-2800 Lyngby
> 
> 





Russell Nelson <[EMAIL PROTECTED]> wrote:

>Dave Sill writes:
> > >Run /usr/lib/sendmail?  For the
> > >latter two, how do you set the local recipient?
> > 
> > Config parameter a la .fetchmailrc.
>
>What other parameters are there?  What are they named?  How do you set
>the envelope sender?  From the return-path header?  Where do the
>username and password come from?

Grab fetchmail and look at the man page. Username and password are
also in the config file (wouldn't want p/w on the command
line). Envelope sender is fake, I think: FETCHMAIL-DAEMON or something 
like that.

I don't want something that does everything bletchmail does, though. I 
just want a simple POP client. Minimal and reliable. I can probably
use Sam's getpop3.

-Dave




"F7596" <[EMAIL PROTECTED]> wrote:

>Now Let me try to configure a small one HotMail by up to down with
>scale of 1,000,000 mail accounts. Please help me to finish this issue.
>
>1. Choose OS as Linux 
>   (or FreeBSD, Solaris ? PC or SUN ? I am not sure which one is
>   better?)

That's mostly a religious question. Go with what you're comfortable
with, or, if money is no object, whichever provides the best support
locally.

There are some reliability issues with ext2fs under Linux, so maybe
it's not the best choice at the moment.

>2. Prepare 10 PC as qmail mail server which store real mail 
>   (define as ms1.hotmail.com - ms10.hotmail.com, each server store
>    100,000 users' mail, each server also handle pop3 service )
>3. Prepare 1 PC as qmail-ldap server (define as ldap.hotmail.com)
>4. Prepare 1 PC as qmail-smtp server, (define as smtp.hotmail.com)
>    which process incoming mail to dispatch each mail to accurate 
>    mail server (ms1 - ms10)
>
>And DNS Setting:
>hotmail.com   MX   0   smtp.hotmail.com
>
>Operation flow: 
>User with E-mail address : [EMAIL PROTECTED] , store in ms1.hotmail.com
>
>When anybody sendemail to [EMAIL PROTECTED], which mail will be send  
>to smtp.hotmail.com,and smtp.hotmail.com will quere ldap.hotmail.com 
>with real mail serverwhich store the [EMAIL PROTECTED], and then relay 
>mail to ms1.hotmail.com
>
>Is there anything wrong in my configuration and understanding with QMail ?
>Do I miss anything ?

That looks OK to me. It'd be nice to have some redundancy,
though. Perhaps have each msN also be a second tier MX. Even better
would be to put user mailboxes on a NetApp Filer and skip the LDAP
stuff altogether. But that's pricey.

-Dave




Dave Sill <[EMAIL PROTECTED]> wrote on Fri, 15 Oct 1999:
> There are some reliability issues with ext2fs under Linux, so maybe
> it's not the best choice at the moment.

If that's about the behaviour of fsync(), did anyone ever write a patch
(for qmail) for fixing that?  With suitable #ifdef __LINUX__ checks.
I remember the long thread that that caused and don't want that to start
up again, but I'm just curious if there was any sort of patch made.
Another question, I wonder if it would be possible to use some other
filesystem than ext2 under Linux for the queue.  Anyone done this?


This is just curiosity on my part, but maybe this information would be
useful to someone.

Mikko
-- 
// Mikko H�nninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
command, n.: A suggestion made to a computer.




Antonio Navarro Navarro <[EMAIL PROTECTED]> wrote:

>I have installed a Linux machine with two 9 Gbytes SCSI disks with RedHat
>Linux 6.1. I want to install QMail as the mail serer in this machine, and I
>have a couple of questions.
>
>1.- Is possible to maintain a database in MySQL, Oracle or similar with
>usernames/passwords and aliases ? I don't want to create a user account in
>the Linux machine for each e-mail user.

Yeah, look for "virtual user" packages on www.qmail.org.

>2.- Wich directories are involved with the mail processing ? I want to make
>several aprtitions in the hard disks and want to know where will be stored
>the queue files (I suppose that in /var/qmail)

Correct.

>the mainboxes of the users (Maybe /home/user ?), and so on...

Mailboxes will go wherever you want them.

>3.- From where could I download the latests rpm files for installing the
>QMail Server in RH 6.1 ? Wich files do I need ?

I recommend building from source. See:

    http://Web.InfoAve.Net/~dsill/lwq.html#installation

for detailed instructions and reasons why I prefer source builds.

-Dave




[EMAIL PROTECTED] wrote:

>Am I right in
>thinking that the retry table (40 attempts at increasing periods) would
>continue for about ten weeks before giving up?

That depends on what queuelifetime is set to. The default is one week.

-Dave




        Hi,


        I have installed Qmail on my company 2 or 3 weeks ago. I installed
qmail with Nick Leverton's patch for qmail-send for remote delivery
control and with Christopher K. Davis's patch to accept oversize DNS
packets. Everything was going just fine.

        Today I decided to create a few scripts to start and stop qmail remote
delivery when my dial-up connection came up and down. Before that I was
halting the computer every night.

        AFAIK I have just created a few extra scripts that would be called by
cron. Obviously I must have done something else...

        My problem is that qmail - as called by the rc script - doesn't runs
anymore.

        I tried 'strace /var/qmail/rc' and just at the end of it I saw
qmail-start trying to call qmail-send and getting a 'Permission denied'
error. I runned ./instcheck and it found no problems. Can I have some
permission problems? 

        I am sending the whole strace outputs for a 'strace -orc.trace
/var/qmail/rc' and for a 'strace -oqmail-send.trace qmail-send'. I am
sending also my dir list of /var/qmail and of /var/qmail/bin. I am
sending also the rc script I used.

        My machine is a Pentium 200mHz with 64MB of RAM and 1.1GB harddisk. I
am running RedHat Linux 6.0.


        Sorry for the huge attachments but I am in such a hurry to make qmail
work again that I tried to send all necessary info - and probably lots
of unnecessary also. :(



        A confused to-be network administrator, hungry and helpless,

        Rodrigo Severo


P.S.: One last piece of info, when I runned 'strace -orc.trace
/var/qmail/rc' I got the following error message which I don't
undestand: 'ptrace: umoven: Input/output error'.

QmailDiedInfo.zip







> -----Original Message-----
> From: Rodrigo Severo [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 15, 1999 2:36 PM
> To:   [EMAIL PROTECTED]
> Subject:      Qmail died!!! Help!
> 
>       Hi,
> 
> 
>       I have installed Qmail on my company 2 or 3 weeks ago. I installed
> qmail with Nick Leverton's patch for qmail-send for remote delivery
> control and with Christopher K. Davis's patch to accept oversize DNS
> packets. Everything was going just fine.
> 
>       Today I decided to create a few scripts to start and stop qmail
> remote
> delivery when my dial-up connection came up and down. Before that I was
> halting the computer every night.
> 
>       AFAIK I have just created a few extra scripts that would be called
> by
> cron. Obviously I must have done something else...
> 
>       My problem is that qmail - as called by the rc script - doesn't runs
> anymore.
> 
>       I tried 'strace /var/qmail/rc' and just at the end of it I saw
> qmail-start trying to call qmail-send and getting a 'Permission denied'
> error. I runned ./instcheck and it found no problems. Can I have some
> permission problems? 
> 
>       I am sending the whole strace outputs for a 'strace -orc.trace
> /var/qmail/rc' and for a 'strace -oqmail-send.trace qmail-send'. I am
> sending also my dir list of /var/qmail and of /var/qmail/bin. I am
> sending also the rc script I used.
> 
>       My machine is a Pentium 200mHz with 64MB of RAM and 1.1GB harddisk.
> I
> am running RedHat Linux 6.0.
> 
> 
>       Sorry for the huge attachments but I am in such a hurry to make
> qmail
> work again that I tried to send all necessary info - and probably lots
> of unnecessary also. :(
> 
> 
> 
>       A confused to-be network administrator, hungry and helpless,
> 
>       Rodrigo Severo
> 
> 
> P.S.: One last piece of info, when I runned 'strace -orc.trace
> /var/qmail/rc' I got the following error message which I don't
> undestand: 'ptrace: umoven: Input/output error'. << File:
> QmailDiedInfo.zip >> 
> 
        Is the script you made owned by root, or at least running as root?
If not there's your problem.






Julian Brown wrote:
> 
> > -----Original Message-----
> > From: Rodrigo Severo [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, October 15, 1999 2:36 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Qmail died!!! Help!
> >
> >       Hi,
> >
> >
> >       I have installed Qmail on my company 2 or 3 weeks ago. I installed
> > qmail with Nick Leverton's patch for qmail-send for remote delivery
> > control and with Christopher K. Davis's patch to accept oversize DNS
> > packets. Everything was going just fine.
> >
> >       Today I decided to create a few scripts to start and stop qmail
> > remote
> > delivery when my dial-up connection came up and down. Before that I was
> > halting the computer every night.
> >
> >       AFAIK I have just created a few extra scripts that would be called
> > by
> > cron. Obviously I must have done something else...
> >
> >       My problem is that qmail - as called by the rc script - doesn't runs
> > anymore.
>         Is the script you made owned by root, or at least running as root?
> If not there's your problem.


        Yes, it's is runned and owned by root.


        A confused to-be network administrator, not hungry anymore but still
helpless,

        Rodrigo




Ted Lin <[EMAIL PROTECTED]> wrote:

>I've got what is probably a problem with a simple solution, but I'm stuck...
>
>I'm running vchkpw with two virtual domains, say A.com, and B.com on a 
>linux box at home.
>
>When I send mail via the smtp server of my employer (using Eudora or telnet 
>directly), I can send to B.com, but not A.com. Any user at A.com 
>immediately results in a 550 User Unknown error.
>
>If I use the web interface (we have MS Exchange Server) for work, I can 
>send to A.com.
>
>I can send from my pacbell account or any other domain (using their smtp 
>server) to A.com.
>
>Can you help?

Not without details about how you've configured these virtual
domains. The output of qmail-showctl would be a good start.

-Dave




Some days I'm so blonde.
Let's try giving the user ownership of her own maildir....
Thank you everyone for your very prompt help!

blushing,
Jen




James <[EMAIL PROTECTED]> wrote:

>I am trying to allow relaying for a couple of users through qmail.  I have
>gone through the steps suggested at:
>
>http://www.palomine.net/qmail/selectiverelay.html
>
>But I am not sure I have done the initial steop of "downloading and
>installing" the ucspi-tcp package.. where do I need to install that
>package?  I've installed it in a personal directory, and when I need to
>use the tcprules command, I just address the command to the directory
>tcprules is located.  Maybe this is the wrong spot to have it?

It doesn't really matter where it's installed.

>Also, once I get down to the step:
>tcpserver -x/etc/tcp.smtp.cdb -u503 -g502 0 smtp 
>/var/qmail/bin/qmail-smtpd &
>(given in one line), I get this error:
>"tcpserver: fatal: unable to bind: address already used"
>What am I doing wrong?

Something is already listening to port 25 (SMTP). Presumably you have
an entry in /etc/inetd.conf for qmail-smtpd? You need to comment it
out and send inetd a HUP signal (killall -HUP inetd).

-Dave




Does anyone know if it is possible to attach a binary file to a mail message
produced with "qmail-inject".

Thanks,

Phil.

Philip Rhoades

Pricom Pty Limited  (ACN  003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile:  +61:0411-185-652
Fax:  +61:2:9929-5312
E-mail:  [EMAIL PROTECTED]






"Philip Rhoades" <[EMAIL PROTECTED]> wrote:

>Does anyone know if it is possible to attach a binary file to a mail message
>produced with "qmail-inject".

qmail-inject doesn't produce messages, it injects messages handed to
it. Create a message with an attachment and pass it to qmail-inject,
and it'll inject it. There are tools available to create MIME'd
messages, but I don't use any of them.

-Dave




You would need to use something like uuencode to convert the binary file to
ASCII.

Matt

> -----Original Message-----
> From: Philip Rhoades [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, October 16, 1999 12:01 AM
> To:   [EMAIL PROTECTED]
> Subject:      ATTACHING a Binary file using "qmail-inject"?
> 
> Does anyone know if it is possible to attach a binary file to a mail
> message
> produced with "qmail-inject".
> 
> Thanks,
> 
> Phil.
> 
> Philip Rhoades
> 
> Pricom Pty Limited  (ACN  003 252 275)
> GPO Box 3411
> Sydney NSW 2001
> Australia
> Mobile:  +61:0411-185-652
> Fax:  +61:2:9929-5312
> E-mail:  [EMAIL PROTECTED]
> 




On Sat, Oct 16, 1999 at 05:00:51AM +0100, Philip Rhoades wrote:
> Does anyone know if it is possible to attach a binary file to a mail message
> produced with "qmail-inject".

I don't know how to do it with qmail-inject, but there is a possible
solution using mutt :

mutt -a file1 -s "subject" [EMAIL PROTECTED] < file2
 
file1 = binary file to be attached
file2 = text file (mail body)

Hope this helps :)
Olivier




Now that I'm actually getting mail delivered...
I'm trying to get pop3 to work.

I installed checkpassword.
qmail works.

I put:

tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d maildir 2>&1 | \
        /var/qmail/bin/splogger pop3d &

after everything else in both the start and restart case of my qmail startup
script (which is the one on "life with qmail" more or less).

now..
MS outlook (I know, I know) gives me the following error:
Server Response: '-ERR this user has no $HOME/Maildir'. (Account:
'web01.surfari.com', POP3 Server: 'web01.surfari.com', Error Number:
0x800ccc92).

erg...
What did I not do yet?
-Jen





On Fri, 15 Oct 1999 14:28:41 -0500 in <002801bf1743$7ce98670$7758eacf@jennifer> 
"Jennifer Tippens" <[EMAIL PROTECTED]> wrote:
> Now that I'm actually getting mail delivered...
> I'm trying to get pop3 to work.
> 
> I installed checkpassword.
> qmail works.
> 
> I put:
> 
> tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &
> 
> after everything else in both the start and restart case of my qmail startup
> script (which is the one on "life with qmail" more or less).
> 
> now..
> MS outlook (I know, I know) gives me the following error:
> Server Response: '-ERR this user has no $HOME/Maildir'. (Account:
> 'web01.surfari.com', POP3 Server: 'web01.surfari.com', Error Number:
> 0x800ccc92).
> 
> erg...
> What did I not do yet?
> -Jen

Capitalize "Maildir" in your tcpserver command line.

Jim Lippard     [EMAIL PROTECTED]    http://www.discord.org/
Unsolicited bulk email charge:    $500/message.   Don't send me any.
PGP Fingerprint:  0C1F FE18 D311 1792 5EA8  43C8 7AD2 B485 DE75 841C




"Jennifer Tippens" <[EMAIL PROTECTED]> wrote:

>tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
>        /bin/checkpassword /var/qmail/bin/qmail-pop3d maildir 2>&1 | \
>        /var/qmail/bin/splogger pop3d &

Mea culpa. LWQ typo. That should be "Maildir", not "maildir". And
"FQDN" should be your system's fully qualified domain name--like
control/me.

-Dave




you need to make a few changes
change FQDN to whatever your machines fully qualified domain name is e.g.
web01.surfari.com
change maildir to ./Maildir/

Thats a common FAQ, you might want to re-read LWQ

Tim

-----Original Message-----
From: Jennifer Tippens [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 15, 1999 3:29 PM
To: Qmail
Subject: pop3 and maildirs now....


Now that I'm actually getting mail delivered...
I'm trying to get pop3 to work.

I installed checkpassword.
qmail works.

I put:

tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d maildir 2>&1 | \
        /var/qmail/bin/splogger pop3d &

after everything else in both the start and restart case of my qmail startup
script (which is the one on "life with qmail" more or less).

now..
MS outlook (I know, I know) gives me the following error:
Server Response: '-ERR this user has no $HOME/Maildir'. (Account:
'web01.surfari.com', POP3 Server: 'web01.surfari.com', Error Number:
0x800ccc92).

erg...
What did I not do yet?
-Jen






pop works, qmail works and I love my job.  Thank you Everybody for all the
help! (snoopy dance)

-Jennifer





Jennifer Tippens wrote:

> pop works, qmail works and I love my job.  Thank you Everybody for all the
> help! (snoopy dance)
> 
> -Jennifer

Don't you also want to take some credit for having carefully followed the
directions and installed everything right?

I did find it to be easier than it initially came across to be.

-- 
Phil Howard | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  phil      | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
      at    | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  ipal      | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
     dot    | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  net       | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]




Hi, is there an option to add a header or footer to all incoming or outgoing msg.  For 
example, www.hotmail.com, the bottom of every msg your email has "Get Your Private, 
Free Email at http://www.hotmail.com".  If it's possible what are the configuration 
files and settings.

Thanks,
Matthew





I have installed qmail 1.03 on a new RH6.0 intel machine
and have had difficulties getting the checkpassword-0.81
package to work, using its own test script:

/var/qmail/bin/qmail-popup robin /bin/checkpassword pwd

It fails with:

        -ERR authorization failed

with _both_ the vanilla checkpassword-0.81 _and_ the one
patched with the PAMifed diffs from the WWW page:

        patch < pam-checkpassword-0.81-diffs

The system _is_ using shadow passwords:

# cat /etc/pam.d/passwd
#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nullok
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so retry=3
password   required     /lib/security/pam_pwdb.so use_authtok nullok
shadow
#

I suppose the easiest fix would be to move away from the shadow
passwords.

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




I'm trying to set up qmail with my dial-up account and I have a few
questions about automating the process of handing off mail for
delivery with maildirsmtp.

I can deliver mail locally and remotely as specified in TEST.deliver
and D. L. Vander Woude mailqueue instructions.  I don't understand
how to automate the handing off of mail for delivery.  It seems
from the instructions that the mail has to sit in a queue until
qmail is restarted again.  Is there a daemon that can be run to 
automatically deliver mail immediately after it is composed?  I
don't want to have to keep restarting qmail every time I want to
send an email.  I must be missing something here.

Also, is anyone using Gnus for mail?  I can send mail with mutt but
not Gnus.  I understand Gnus has a problem with Maildirs.  Here's
my output from /var/log/maillog when I try to send mail that has
been composed with Gnus:

maildirserial: info: new/940026984.5660.localhost.localdomain failed 
temporarily: 207.69.200.246 said: 450 <[EMAIL PROTECTED]>... 
Sender domain not compliant with RFC 822, section 6.2.7


BTW, I'm using Mandrake Linux 6.0.

TIA,
Aaron Ginn





Hello,
 
I run qmail-smtpd with tcpserver in a daemon build by qmail-run.rpm package.
 
But I have a problem because when I try to connect with telnet like this:
"telnet localhost 25"
 
a first mensage like this appears:
 
Connected to 127.0.0.1
Escape character is '^]'.
 
and the second message is:
 
220 localhost.localdomain ESMTP
 
but there are a gap between the first and the second message of 3, 4 minutes, and my mail client always timeout.
 
I don't understand this because I run qmail-pop3d in the same mode (tcpserver daemon build by qmail-run), and the gap between the first and the second message is null.
 
How can I solve this problem?
 
Tia,
Jorge Mota
Sociedade Torreense de Informática, Lda.
Av. Tenente Valadim 10 C
2560 Torres Vedras
Tel:351 61 316245 Fax:351 61 316239
 


Reply via email to