qmail Digest 22 Apr 2000 10:00:00 -0000 Issue 979

Topics (messages 40435 through 40465):

Re: qmail says #5.7.1
        40435 by: Chris Johnson

rcpthosts and morercpthosts
        40436 by: Greg Kopp
        40437 by: Petr Novotny
        40438 by: Russell Nelson
        40439 by: Len Budney
        40443 by: Len Budney
        40463 by: Claus F�rber

.qmail-default help
        40440 by: ForeverKate.com

Mangled domain name
        40441 by: Pawe� Sakowski
        40442 by: Petr Novotny

DO NOT TRY INSTALLING QMAIL ON MANDRAKE
        40444 by: MiGhi
        40445 by: Chris Johnson
        40447 by: R.Ilker Gokhan
        40449 by: MiGhi
        40450 by: Chris Johnson
        40451 by: tim.hunter.cimx.com
        40452 by: Adam McKenna
        40453 by: Vincent Danen
        40454 by: MiGhi
        40455 by: Ronny Haryanto
        40460 by: Gary Richardson
        40461 by: Gary Richardson
        40464 by: John Krukoff

How to make qmail to add ....
        40446 by: Irwan Hadi
        40448 by: Petr Novotny

backup MX host
        40456 by: Tomasz Antczak
        40457 by: Russell P. Sutherland
        40458 by: Ronny Haryanto
        40459 by: Russell P. Sutherland

envdir(2)
        40462 by: Mate Wierdl

Mailbox/Maildir pop ?
        40465 by: Les Higger

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]


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


On Tue, Apr 18, 2000 at 10:11:55AM +0200, Max B. Khudik wrote:
> It says "553 sorry, this domain is not in the list of allowed rcpthost
> (#5.7.1.)."

See http://www.palomine.net/qmail/selectiverelay.html

Chris




A two part question.

1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to the
number of hosts that can be in the rcpthosts file?

2. Do you think it would be safe to use NFS to mount my /var/qmail/control
directory on our backup MX and then use symlinks of the nfs mounted
rcpthosts file to the local file? For the number of domains I have, I want
to avoid having to edit multiple files everytime we add one or delete one.
Should I also link morercpthosts and morercpthosts.cdb?

Thanks,
Greg





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21 Apr 00, at 8:22, Greg Kopp wrote:

> 1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to
> the number of hosts that can be in the rcpthosts file?

No real limit; it's just that both files are parsed each time
qmail-smtpd is run (ie. connection arrives). I've heard that 50 lines 
in rcpthosts makes a good rule-of-thumb.

> 2. Do you think it would be safe to use NFS to mount my
> /var/qmail/control directory on our backup MX and then use symlinks of
> the nfs mounted rcpthosts file to the local file? For the number of
> domains I have, I want to avoid having to edit multiple files
> everytime we add one or delete one. Should I also link morercpthosts
> and morercpthosts.cdb?

Don't do either. Use rsync, and keep local copies.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOQA9d1MwP8g7qbw/EQKiUwCfZoaE8f3/AUrT/WZ28qUNPIsYB5MAn3Rn
rV79MzLDINfZHto1oXm7Fv2a
=8GYO
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Greg Kopp writes:
 > 1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to the
 > number of hosts that can be in the rcpthosts file?

You're limited only by memory ... however, qmail-smtpd reads the whole
file every time it starts up.  So you're better advised to put the
first fifteen busiest hosts in rcpthosts, and the rest in
morercpthosts.cdb.

 > 2. Do you think it would be safe to use NFS to mount my /var/qmail/control
 > directory on our backup MX and then use symlinks of the nfs mounted
 > rcpthosts file to the local file? For the number of domains I have, I want
 > to avoid having to edit multiple files everytime we add one or delete one.

Sure, if you don't mind making all of your email hosts rely on NFS.  A
better solution might be to rdist or rsync the files from a master
machine.

 > Should I also link morercpthosts and morercpthosts.cdb?

Yes.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




"Greg Kopp" <[EMAIL PROTECTED]> wrote:
> 
> 1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to the
> number of hosts that can be in the rcpthosts file?

morercpthosts is (as the name implies) a supplement to rcpthosts, which is
used by qmail-smtpd to decide whether to accept mail. rcpthosts lists hosts
for which qmail-smtpd is allowed to accept email. morercpthosts, if it
exists, ``is effectively appended to rcpthosts'' [see qmail-smtpd(8)].
morercpthosts.cdb is created by running qmail-newmrh with morercpthosts
as input. You must do this, because morercpthosts.cdb is what qmail-smtpd
actually uses.

The idea here is to make qmail-smtpd faster IF you handle mail for a
very large number of domains. As a rule of thumb, ``large'' means more
than fifty. Putting your most commonly used sites in rcpthosts means
that qmail-smtpd will usually ignore morercpthosts.cdb. When the client
specifies an envelope recipient whose domain is not in rcpthosts, then
qmail-smtpd will check for the domain in morercpthosts.cdb as a fallback.

> 2. Do you think it would be safe to use NFS to mount my /var/qmail/control
> directory on our backup MX and then use symlinks of the nfs mounted
> rcpthosts file to the local file? For the number of domains I have, I want
> to avoid having to edit multiple files everytime we add one or delete one.
> Should I also link morercpthosts and morercpthosts.cdb?

If you do this, then the two MX hosts will behave _identically_. In
particular, qmail on the backup MX will try to do local deliveries because
of the shared copy of control/locals. If that's what you want, then you
_can_ do this; just be very sure its what you want.

To my little brain, though, it doesn't make a lot of sense to share
everything in /var/qmail/control. It would make more sense if you put
both hosts IP addresses under the same name, and set your DNS server
to hand out both addresses randomly for load-balancing purposes. You
will also have to NFS-mount the delivery destinations (/var/spool or
users' home directories) so that either host can do local deliveries.

If by ``backup MX'' you really mean ``secondary MX'', then I wouldn't
use this scheme. Instead, I would use ssh and rsync to share carefully
selected files (such as rcpthosts and morercpthosts). Put the right
commands in /var/qmail/control/Makefile on your authoritative host, and
run ``make'' after updating any control files.

Len.

--
Frugal Tip #30:
Let a large corporation pay you big bucks to tattoo their company logo
on your bald spot.




"Petr Novotny" <[EMAIL PROTECTED]> wrote:
> On 21 Apr 00, at 8:22, Greg Kopp wrote:
> > 1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to
> > the number of hosts that can be in the rcpthosts file?
> 
> No real limit; it's just that both files are parsed each time
> qmail-smtpd is run (ie. connection arrives).

morercpthosts is not parsed at all, of course. qmail-smtpd opens the
morercpthosts.cdb file, and uses it, if necessary, directly from the
disk. I'm guessing that's the point: to keep large rcpthosts lists
from turning qmail-smtpd into a memory hog.

> I've heard that 50 lines in rcpthosts makes a good rule-of-thumb.

That's what the manpage says.

Len.

--
Frugal Tip #37:
Check your old financial records and see if you might have accidentally
bought some Berkshire Hathaway stock 30 years ago.




Greg Kopp <[EMAIL PROTECTED]> schrieb/wrote:
> 1. What is morerecpthosts and morercpthosts.cdb? Is there a limit to the
> number of hosts that can be in the rcpthosts file?

morerecpthosts[.cdb] is a binary format that is more efficient than a  
single text file. You should use it for performance reason if you have  
more than a couple of domains.

> 2. Do you think it would be safe to use NFS to mount my /var/qmail/control
> directory on our backup MX and then use symlinks of the nfs mounted
> rcpthosts file to the local file?

Absolutly not. If your primary MX goes down for any reason that also  
affects the NFS service, the backup won't work either. Better replicate  
the files regularily.

Claus

-- 
http://www.faerber.muc.de




I'm just a user and only have control over my .qmail-default file.
My .qmail-default has the following:

| vdeliver

I guess it pipes all my email to my hosting companies program called
VirtualManager
I want to first redirect any email with "@foreverkate.net" as the ending
to another POP email account such as "[EMAIL PROTECTED]" and hopefully
keeping all Headers intact.
How would I do this?
Could I still leave what is in my .qmail-default file so it still
handles my @foreverkate.com email the way it does already.

I'm a newbie at qmail, so thanks for the help

--
Patrick
ForeverKate WebMaster Team
http://www.ForeverKate.com






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a host called lo13.univ.szczecin.pl. It serves as a DNS and mail
server for the domain sakowski.eu.org. My problem is that whenever I
send a mail from [EMAIL PROTECTED] the From: address changes to
[EMAIL PROTECTED]

Extract from the zone's master file:

$ORIGIN sakowski.eu.org.
@       IN      SOA     lo13.univ.szczecin.pl. pawel.sakowski.eu.org. (
                        0
                        1800
                        600
                        3600
                        86400)
                NS      ns
                MX      20      mail
                CNAME   lo13.univ.szczecin.pl.
ns              CNAME   lo13.univ.szczecin.pl.
mail            CNAME   lo13.univ.szczecin.pl.

/var/qmail/control/me:
lo13.univ.szczecin.pl

/var/qmail/control/locals:
localhost
lo13.univ.szczecin.pl
sakowski.eu.org

- -- 
#include <stddisclaimer.h>
PGP Public Key: finger://sakowski.eu.org/psak
                hkp:[EMAIL PROTECTED]

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOQBP0L5fvVhp3VoPEQIm2gCgnA9DFgfHTrXXNdAcPitPP4aOgJ0AoL4b
Fish0z/ZQbpoxTtVSCrttBkQ
=hW5R
-----END PGP SIGNATURE-----





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21 Apr 00, at 14:55, Paweł Sakowski wrote:

> I have a host called lo13.univ.szczecin.pl. It serves as a DNS and
> mail server for the domain sakowski.eu.org. My problem is that
> whenever I send a mail from [EMAIL PROTECTED] the From: address
> changes to [EMAIL PROTECTED]

It's because it's CNAME. If you don't want From: address to get
expanded, make sakowski.eu.org a MX pointing to lo13...

Let me also point out that your DNS setup is grossly invalid: It's
forbidded to mix SOA and NS records with a CNAME. Let me
repeat: A domain name CANNOT be a CNAME.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOQBDelMwP8g7qbw/EQJphgCg2U/fvO3oe+ReKoBFuuCmRyPaskIAnjBU
WQoCIt8BK0n3+OYR3wGpBCNV
=CRR4
-----END PGP SIGNATURE-----




Hi everybody.

I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
FAILURE.

I tried to reinstall the OS + qmail 5 times!
The log said CNAME LOOKUP FAILURE every time!

I tried to apply the DNS patch
The log said CNAME LOOKUP FAILURE every time!

I tried to change the router configuration:
The log said CNAME LOOKUP FAILURE every time!

I installed latest bind:
The log said CNAME LOOKUP FAILURE every time!

I installed RedHat:
everything is working fine.


Has someone got an idea about this?
Has someone got the same problem?

Best regards to all

Miguel Beccari





On Fri, Apr 21, 2000 at 04:26:15PM +0200, MiGhi wrote:
>
> DO NOT TRY INSTALLING QMAIL ON MANDRAKE

Why not?

> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
> FAILURE.
> 
> I tried to reinstall the OS + qmail 5 times!
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to apply the DNS patch
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to change the router configuration:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed latest bind:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed RedHat:
> everything is working fine.
> 
> 
> Has someone got an idea about this?
> Has someone got the same problem?

Fix your DNS problems. Whatever those problems are, they're off-topic for this
list.

Chris




Title: RE: DO NOT TRY INSTALLING QMAIL ON MANDRAKE

Hi,

I doubt about Mandrake 7.0 but I have installed Qmail1.03 on MAndrake 6.0 and that is working excellent. I haven't ever received this error. But i don't use CNAME LOOKUP with Qmail because this set isn't necessary for our system.

Best regards..
Ilker G.

-----Original Message-----
From: MiGhi [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 5:26 PM
To: [EMAIL PROTECTED]
Subject: DO NOT TRY INSTALLING QMAIL ON MANDRAKE


Hi everybody.

I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
FAILURE.

I tried to reinstall the OS + qmail 5 times!
The log said CNAME LOOKUP FAILURE every time!

I tried to apply the DNS patch
The log said CNAME LOOKUP FAILURE every time!

I tried to change the router configuration:
The log said CNAME LOOKUP FAILURE every time!

I installed latest bind:
The log said CNAME LOOKUP FAILURE every time!

I installed RedHat:
everything is working fine.


Has someone got an idea about this?
Has someone got the same problem?

Best regards to all

Miguel Beccari





Chris Johnson, [EMAIL PROTECTED] wrote:

> On Fri, Apr 21, 2000 at 04:26:15PM +0200, MiGhi wrote:
>> 
>> DO NOT TRY INSTALLING QMAIL ON MANDRAKE
> 
> Why not?
> 
>> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
>> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
>> FAILURE.
>> 
>> I tried to reinstall the OS + qmail 5 times!
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I tried to apply the DNS patch
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I tried to change the router configuration:
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I installed latest bind:
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I installed RedHat:
>> everything is working fine.
>> 
>> 
>> Has someone got an idea about this?
>> Has someone got the same problem?
> 
> Fix your DNS problems. Whatever those problems are, they're off-topic for this
> list.
> 
> Chris

I have been working for 2 weeks trying to solve this problem.

I fixed my DNS problem (applied a patch, and installed latest bind) and I
finished to think the problem is Mandrake7, because qmail didn't run.

I only wanted to know why.
I know this fact is strange, but is real: qmail 1.03 does not work with
Mandrake7.

Regards,

Miguel Beccari






On Fri, Apr 21, 2000 at 04:43:28PM +0200, MiGhi wrote:
> I know this fact is strange, but is real: qmail 1.03 does not work with
> Mandrake7.

I don't know anything about Mandrake7, but this is almost certainly not the
case. I still suggest that you have a DNS problem.

By the way, since the time I sent the initial response to your question, eleven
different machines at your ISP have opened SMTP connections to my server every
few seconds without sending anything (132 connections so far). What's up with
that?

Chris





I have successfully installed qmail on more than one Mandrake 7 machine.
Try blaming a configuration problem (user) not the distro.

-- Tim

MiGhi writes:

> Chris Johnson, [EMAIL PROTECTED] wrote:
> 
> > On Fri, Apr 21, 2000 at 04:26:15PM +0200, MiGhi wrote:
> >> 
> >> DO NOT TRY INSTALLING QMAIL ON MANDRAKE
> > 
> > Why not?
> > 
> >> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
> >> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
> >> FAILURE.
> >> 
> >> I tried to reinstall the OS + qmail 5 times!
> >> The log said CNAME LOOKUP FAILURE every time!
> >> 
> >> I tried to apply the DNS patch
> >> The log said CNAME LOOKUP FAILURE every time!
> >> 
> >> I tried to change the router configuration:
> >> The log said CNAME LOOKUP FAILURE every time!
> >> 
> >> I installed latest bind:
> >> The log said CNAME LOOKUP FAILURE every time!
> >> 
> >> I installed RedHat:
> >> everything is working fine.
> >> 
> >> 
> >> Has someone got an idea about this?
> >> Has someone got the same problem?
> > 
> > Fix your DNS problems. Whatever those problems are, they're off-topic for this
> > list.
> > 
> > Chris
> 
> I have been working for 2 weeks trying to solve this problem.
> 
> I fixed my DNS problem (applied a patch, and installed latest bind) and I
> finished to think the problem is Mandrake7, because qmail didn't run.
> 
> I only wanted to know why.
> I know this fact is strange, but is real: qmail 1.03 does not work with
> Mandrake7.
> 
> Regards,
> 
> Miguel Beccari
> 
> 


Tim Hunter
CIMx Company
[EMAIL PROTECTED]
http://www.cimx.com




On Fri, Apr 21, 2000 at 02:58:43PM +0000, [EMAIL PROTECTED] wrote:
> 
> I have successfully installed qmail on more than one Mandrake 7 machine.
> Try blaming a configuration problem (user) not the distro.
> 
> -- Tim

What are you saying, that the problem is between the chair and the keyboard?
:)

--Adam





On Fri, 21 Apr 2000, MiGhi wrote:

> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
> FAILURE.

I'm using Qmail under Mandrake right now, and have installed it a few
times, both via RPM and by compiling it right from the tarballs.

> I tried to reinstall the OS + qmail 5 times!
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to apply the DNS patch
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to change the router configuration:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed latest bind:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed RedHat:
> everything is working fine.
> 
> 
> Has someone got an idea about this?
> Has someone got the same problem?

I did have something similar.  Does qmail start for you?  Can it resolve
the MX for your domain?  The problem I had was in the
/etc/rc.d/init.d/qmail-pop3d.init file with the programs called in the
HOST variable (specifically dnsfq).  I changed those calls to specify the
domain name on my system and then it started working.  Why it didn't work
before, I don't know, but after I made that change it did work.

If you install from tarballs, you use the qmail script (not any
qmail-*.init files which come from the tcpserver-initscripts package, I
believe), and I don't even think dnsfq is installed (at any rate, it's not
on my system), and things work fine.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org





Vincent Danen, [EMAIL PROTECTED] wrote:

> On Fri, 21 Apr 2000, MiGhi wrote:
> 
>> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
>> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
>> FAILURE.
> 
> I'm using Qmail under Mandrake right now, and have installed it a few
> times, both via RPM and by compiling it right from the tarballs.
> 
>> I tried to reinstall the OS + qmail 5 times!
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I tried to apply the DNS patch
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I tried to change the router configuration:
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I installed latest bind:
>> The log said CNAME LOOKUP FAILURE every time!
>> 
>> I installed RedHat:
>> everything is working fine.
>> 
>> 
>> Has someone got an idea about this?
>> Has someone got the same problem?
> 

I am very interested of your mail.

In fact, I installed RedHat + qmail on a service machine.
I love Mandrake (I have been using mandrake since Venice release), and I'd
prefer to continue using it... but I love Qmail too ;)

so:


> I did have something similar.

OK

> Does qmail start for you?  Can it resolve
> the MX for your domain?

sure.
Qmail works 100% but can't deliver mail to remote hosts: CNAME LOOKUP UP
FAILURE.
qmail receive mails at 100% and deliver them to local users (also at virtual
domains).
It can't deliver to remote hosts


> The problem I had was in the
> /etc/rc.d/init.d/qmail-pop3d.init file with the programs called in the
> HOST variable (specifically dnsfq).
> I changed those calls to specify the
> domain name on my system and then it started working.  Why it didn't work
> before, I don't know, but after I made that change it did work.
> If you install from tarballs,

this is my installation

> you use the qmail script (not any
> qmail-*.init files which come from the tcpserver-initscripts package, I
> believe), and I don't even think dnsfq is installed (at any rate, it's not
> on my system), and things work fine.

Yes.

I follow Life with qmail for the installation.
I repeat: Qmail works 100% but can't deliver mails to remote hosts.
I couldn't explain this fact.

regards,

Miguel







On 21-Apr-2000, MiGhi wrote:
> I repeat: Qmail works 100% but can't deliver mails to remote hosts.

As someone else has already mentioned, the problem is possibly your
machine can not resolve hostnames properly.

> I couldn't explain this fact.

Check your logs. What domains it failed to deliver to? Can you resolve
the domain with nslookup or dig?

Again, this is off-topic because it's not qmail's problem. Nor
Mandrake's.

        Ronny




I've installed qmail on 3 mandrake 7 boxes without a hitch. This messages
is comming through a mandrake box now. 

Sounds like you have a dns problem.

On Fri, 21 Apr 2000, MiGhi wrote:

> Hi everybody.
> 
> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
> FAILURE.
> 
> I tried to reinstall the OS + qmail 5 times!
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to apply the DNS patch
> The log said CNAME LOOKUP FAILURE every time!
> 
> I tried to change the router configuration:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed latest bind:
> The log said CNAME LOOKUP FAILURE every time!
> 
> I installed RedHat:
> everything is working fine.
> 
> 
> Has someone got an idea about this?
> Has someone got the same problem?
> 
> Best regards to all
> 
> Miguel Beccari
> 
> 







On Fri, 21 Apr 2000, MiGhi wrote:

> I have been working for 2 weeks trying to solve this problem.
> 
> I fixed my DNS problem (applied a patch, and installed latest bind) and I
> finished to think the problem is Mandrake7, because qmail didn't run.
> 
> I only wanted to know why.
> I know this fact is strange, but is real: qmail 1.03 does not work with
> Mandrake7.

CNAME LOOKUP FAILUR != Broken Mandrake7

It means a broken DNS configuration. It can't be patched, it has to be
fixed in your config files.






Just a thought, what did you set your security level to on the mandrake
install? I installed using paranoid (level=5). One of the headaches this
caused was that it set the file permissions on /etc/resolv.conf to 400, and
kept returning them to 400 when a security audit was run. It caused all
sorts of odd DNS errors on non-root processes.

FYI, when I tried to install qmail I had this same problem, and just
switched back to postfix. However, this was before I fixed that little
resolv.conf problem. Maybe it works now? Anyway, check that you can resolve
the MX you're sending to after su'ing to the qmail user.

----- Original Message -----
> I tried and tried to install QMAIL 1.03 on Mandrake7.0 with NO SUCCESS!
> Something seems to work wrong on Mandrake, and qmail gives CNAME LOOKUP
> FAILURE.





How to make qmail to add message ID, and date in case there is no message
ID and date, like sendmail does.
I want qmail to at least to add date to header in case there is no date,
because in a mailling list I am handling now, I want to strip off the date
line at DIR/headerremove, to make user always get the same format date.
for example GMT+7. I don;t want different people in the milis have
different GMT setting, which will make difficult to sort the messages. Or
even if there are some people whom computers are set in wrong date.

TIA ;)


-------
AFLHI 058009990407128029/089802---(102598//991024)




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21 Apr 00, at 19:03, Irwan Hadi wrote:

> How to make qmail to add message ID, and date in case there is no
> message ID and date, like sendmail does.

See FAQ #5.5, "How do I fix up messages from broken SMTP 
clients?"

> I want qmail to at least to
> add date to header in case there is no date, because in a mailling
> list I am handling now, I want to strip off the date line at
> DIR/headerremove, to make user always get the same format date.

Makes no sense to me. However, either you need to add the 
header in ezmlm or ask ezmlm to inject message with
qmail-inject and not directly with qmail-queue.

> for
> example GMT+7. I don;t want different people in the milis have
> different GMT setting, which will make difficult to sort the messages.

Get a better MUA, for crying out loud!

> Or even if there are some people whom computers are set in wrong date.

What if the message really _is_ five days old, since the poor guys 
network connection was down? Do you choose to withhold this 
information from the rest?

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOQBahlMwP8g7qbw/EQK8KQCghbWtLh8HaToeOKflt/iwfc7TFnsAoO07
X4eqgwaQzZ+W1ORhxA1AAf9H
=5sJT
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Hello,

I have small problem with qmail. I have two serveres, both running
qmail 1.03. I set DNS for mydomain.com like that:

                IN      MX      0 server1.mydomain.com.
                IN      MX      10 server2.mydomain.com.
server1         IN      A       10.10.10.1
server2         IN      A       10.10.10.2

If host server1 will be "unreachable" I would like to save mail
for mydomain.com on host server2, and when retransport this saved
mail to host server1 when it will be reachable again.

What I must do for in this situation on server1 and server2 ?

-- 
Greets, Thomas





* Tomasz Antczak ([EMAIL PROTECTED]) [21 Apr 2000 11:57]:

> I have small problem with qmail. I have two serveres, both running
> qmail 1.03. I set DNS for mydomain.com like that:
> 
>                 IN      MX      0 server1.mydomain.com.
>                 IN      MX      10 server2.mydomain.com.
> server1         IN      A       10.10.10.1
> server2         IN      A       10.10.10.2
> 
> If host server1 will be "unreachable" I would like to save mail
> for mydomain.com on host server2, and when retransport this saved
> mail to host server1 when it will be reachable again.
> 
> What I must do for in this situation on server1 and server2 ?

Add mydomain.com to /var/qmail/controls/rcpthosts
on server2.mydomain.com, and make sure that mydomain.com
is _not_ in /var/qmail/controls/locals.

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




On 21-Apr-2000, Tomasz Antczak wrote:
> If host server1 will be "unreachable" I would like to save mail
> for mydomain.com on host server2, and when retransport this saved
> mail to host server1 when it will be reachable again.
> 
> What I must do for in this situation on server1 and server2 ?

This question has been answered too often. Nothing on server1 and put
domain.com in ONLY rcpthosts on server2.

        Ronny




* Ronny Haryanto ([EMAIL PROTECTED]) [21 Apr 2000 12:08]:
> > What I must do for in this situation on server1 and server2 ?
> This question has been answered too often. Nothing on server1 and put
> domain.com in ONLY rcpthosts on server2.

Agreed. I have had several private queries this week
as well. [ A person somewhat knowledgable in terms of MTAs and
DNS came up with FAQ 4.1 as covering his query.]

Dan: Perhaps it should be an entry for the Qmail FAQ?

-- 
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 see.  So perhaps, this is the future:

cat /var/service/qmail/run
#!/bin/sh
exec envdir /var/service/qmail/envdir qmail-start

where

cat /var/service/qmail/envdir/DEFAULTDELIVERY
./Maildir/

cat /var/service/qmail/envdir/ALIAS
alias:80

cat /var/service/qmail/envdir/QMAILP
qmailp:83

cat /var/service/qmail/envdir/QMAILQ
qmailq:84

[...]

cat /var/service/qmail/envdir/NOFILES
nofiles:80

cat /var/service/qmail/envdir/QMAIL
qmail:81

Lovely,

Mate




do i need to convert to Maildir to run pop3d.
i ve got qmail working and have checkpasword working. I  have only 50
users using e-mail so i didnt use tcpserver. 


        *++++++++++++++++++++++++++++++++++++++*
        * Les Higger ITAF ,
        * Local Area Network Coord.  
        * [EMAIL PROTECTED]
        * Francisco Bravo Medical Magnet High School
        * Los Angeles Unified School District
 ---> Old men can give flawless advice, for they nolonger can set bad 
examples <--- 




Reply via email to