Re: About processes

2001-08-09 Thread Chris Johnson

On Thu, Aug 09, 2001 at 10:46:27PM +, [EMAIL PROTECTED] wrote:
> ps ax | grep qmail-remote
> 
> shows the running processes that are currently sending message, each process
> is a message been sent, ok?

Right.

> ps ax | grep qmail-smtpd
> 
> show the running processes that are currently arriving, right? But it
> shows:
> 
>  1016 ?S  4:30
> /usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp
> /var/qmail/bin/qmail-smtpd
> 15498 ?S  0:44 /var/qmail/bin/qmail-smtpd
> 19168 ?S  0:00
> /usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp
> /var/qmail/bin/qmail-smtpd
> 
> How many messages are arriving? 1, 2 or 3?

One, but whatever script you're using to start qmail-smtpd is screwed up. To
fix it, you probably need to change "-uQMAILDUID -gNOFILESGID" to "-u$QMAILDUID
-g$NOFILESGID".

And when you get things straightened out, you should never have two invocations
of tcpserver running on the same port at the same time (like you do above),
though you can have many qmail-smtpds running at the same time (one for each
incoming SMTP connection).

Chris

 PGP signature


Re: Removing Headers with qmail

2001-08-09 Thread Chris Johnson

On Thu, Aug 09, 2001 at 11:47:44PM +0800, Paul Tan wrote:
> I am looking for a solution to remove most of the headers in a message, so
> that the recepient cannot see any info of my internal network.

If you're using tcpserver (and if you're not, you should be), see:
http://marc.theaimsgroup.com/?l=qmail&m=98678523400345&w=2 for a painless
solution to your problem.

Chris

 PGP signature


Re: Again Local Deliveries not working - I'm LOST, really...

2001-08-09 Thread 'Chris Johnson'

On Thu, Aug 09, 2001 at 03:15:38PM -0230, Martin Marconcini wrote:
> > 
> > Try talking proper SMTP instead:
> > 
> > 220 megadeth.dnsalias.com ESMTP
> > helo megadeth.dnsalias.com
> > 250 megadeth.dnsalias.com
> > mail from:<[EMAIL PROTECTED]>
> > 250 ok
> > rcpt to:<[EMAIL PROTECTED]>
> > 250 ok
> > data
> > 354 go ahead
> > Subject: Whatever
> > 
> > Whatever
> > .
> > 250 ok 997364882 qp 23545
> 
> This way it worked...  however the mail program will say 
> 
> from:
> to:
> Subject: whatever
> And the msg body indeed has: 
> Whatever
> IF I try mail from: martin  rcpt to: martin  
> 
> It will happen the same... why it may not be working the other way?

If you don't put From and To headers in your message, there won't be any From
and To headers in your message. What appears in these headers has nothing to do
with the SMTP MAIL FROM and RCPT TO commands.

> > > /var/log/maillog  (when using PHP function mail() points to
> > > /var/qmail/bin/qmail-inject)
> 
> 
> > > Aug  9 10:44:09 jupiter sendmail[20485]: f79Dgso06217: to=Martin
> > 
> > See all that stuff that says "sendmail"? qmail doesn't seem to be involved
> > here.
> 
> It's qmail-inject (which is linked to sendmail binary)I mean I deleted
> sendmail binady from the OpenBSD box and added a sendmail linking to qmail's
> sendmail. The reason for this? It's in www.lifewithqmail.org.

Those log entries come from sendmail, *not* from any qmail program. I promise.

Chris



Re: Again Local Deliveries not working - I'm LOST, really...

2001-08-09 Thread Chris Johnson

On Thu, Aug 09, 2001 at 02:34:06PM -0230, Martin Marconcini wrote:
> Hi list: I am experiencing the same trouble a few days ago... 
> My Qmail will accept inbound and deliver to Maildir but not from
> LOCALHOST...
> Box is openbsd 2.9.
> Mails for accounts in my box arrive smooth. But if I try to send FROM
> localhost to local ... will not.
> 
> 
> Here is the log/long version:
> 
> bash-2.05# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 megadeth.dnsalias.com ESMTP
> helo megadeth.dnsalias.com
> 250 megadeth.dnsalias.com
> mail to [EMAIL PROTECTED]
> 250 ok
> rcpt to [EMAIL PROTECTED]
> 250 ok
> data
> 354 go ahead
> .
> 250 ok 997364882 qp 23545
> Mail will never arrive...

Try talking proper SMTP instead:

220 megadeth.dnsalias.com ESMTP
helo megadeth.dnsalias.com
250 megadeth.dnsalias.com
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<[EMAIL PROTECTED]>
250 ok
data
354 go ahead
Subject: Whatever

Whatever
.
250 ok 997364882 qp 23545

> /var/log/maillog  (when using PHP function mail() points to
> /var/qmail/bin/qmail-inject)
> 
> Aug  9 10:42:54 jupiter sendmail[6217]: gethostbyaddr(209.99.238.152)
> failed: 2 
> Aug  9 10:42:54 jupiter sendmail[6217]: f79Dgso06217: from=www,
> size=276, class=0, nrcpts=1,
> msgid=<[EMAIL PROTECTED]>,
> relay=www@localhost
> Aug  9 10:44:09 jupiter sendmail[20485]: f79Dgso06217: to=Martin
> Marconcini <[EMAIL PROTECTED]>, ctladdr=www (67/67),
> delay=00:01:15, xdelay=00:01:15, mailer=esmtp, pri=30276,
> relay=megadeth.dnsalias.com. [209.99.238.152], dsn=4.0.0, stat=Deferred:
> Connection timed out with megadeth.dnsalias.com.

See all that stuff that says "sendmail"? qmail doesn't seem to be involved
here.

Chris



Re: done qmail installation but can't telnet to port 25

2001-08-09 Thread Chris Johnson

On Thu, Aug 09, 2001 at 01:10:34PM +, Jean-Christian Imbeault wrote:
> >case, tail -f /var/log/qmail/smtpd/current and start qmail.
> 
> @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O

Fix your run file: you've got the letter O in there where you should have the
number 0.

> I'm thinking that the reason qmail is unahppy is that my machine is not on 
> the Internet yet. So the name the machine has will not resolve properly. 

That has nothing to do with it. Just change the O to 0 and you should be in
business.

Chris



Re: Qmail relaying by bouncing to reply-to

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 06:39:45PM +0200, Erik Lindahl wrote:
> We've had qmail working splendid for a while, but
> just got a new problem when the free RBL services were
> discontinued and there are less sites we refuse based on ip:
> 
> Apparently, spammers send mails to nonexistent users and
> rely on qmail bouncing this to the reply-to adress. By setting
> the reply-to to a suitable adress you get relaying, albeit
> wrapped in a qmail bounce-message.

qmail will not bounce anything to a reply-to address; it bounces to the
envelope sender.

It's not likely that spammers are doing what you say. It's more likely that
they think that the address to which they think they're sending spam is valid,
but it isn't. I don't know where they get a hold of these bogus addresses.
There's a whole slew of spam-only addresses I get mail for; these addresses
have never been valid.

It really makes no sense to relay mail this way, since a spammer would have to
send one message for each spam recipient. If he does this, he might as well
just send the mail directly to his victims.

Chris

 PGP signature


Re: qmail security or email virus?

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 02:04:24PM -0400, Jeff Palmer wrote:
> Or make relaying DENIED by default?

It is denied by default, if you follow the installation instructions. You have
to delete the rcpthosts file intentionally to make your server an open relay.

Chris

 PGP signature


Re: smtp problem

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 10:37:48PM +0700, J4cks wrote:
> yes it contain all of our domain
> ip 192.168.1.90
> 
> now user from whatevercan use my smtp

Can you show us an instance of this, an example of someone not in the range of
allowed IP addresses being able to relay mail through your server?

How *exactly* are you starting qmail-smtpd? Did you use tcprules to build your
tcp.smtp.cdb file? You've obviously done something wrong, but if you don't tell
us exactly what you've done there's no way for anyone to figure out what it is.

Chris

 PGP signature


Re: smtp problem

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 09:59:35PM +0700, J4cks wrote:
> i have a problem again
> my problem is someone from different domain can use my smtp server.
> i have see tha FAQ and set tcp.smtp but it doesn't work
> setting on my tcp.smtp
> 192.168.1.:allow,RELAYCLIENT=""
> 192.168.2.:allow,RELAYCLIENT=""
> 192.168.3.:allow,RELAYCLIENT=""
> 192.168.4.:allow,RELAYCLIENT=""
> :allow

Do you have a rcpthosts file? What's in it? What's the IP address of your
server?

Chris



Re: Single UID mailboxes - mail getting lost

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 09:55:44AM +0200, Henning Brauer wrote:
> I agree regarding the understanding, I don't agree regarding the security. A
> setup containing of tons of .qmail-anything files and custom checkpassword;
> where the checkpassword input file and the .qmail-files must be in sync is a 
> bit complicated and a hell to manage, no?

You don't need tons of .qmail-* files. In fact, you don't need any at all. You
need some entries in users/assign and in users/poppasswd, and that's it. When I
create a new user, I make an entry in assign, another in poppasswd, and I
create a Maildir. It's very simple and clean.

Chris

 PGP signature


Re: SSH with Qmail

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote:
> Does anyone have documentation on how to setup Qmail to work with SSH ???
> I'm currently using Qmail+vpopmail

What do you mean by "work with"? In what way would you like qmail and SSH to
interact?

Chris

 PGP signature


Re: mail relay server

2001-07-30 Thread Chris Johnson

On Mon, Jul 30, 2001 at 10:46:28PM -0400, Chris Johnson wrote:
> Put all of the domains that ServerA hosts in ServerB's rcpthosts file (but not
> in locals or virtualdomains!). Then, for each domain that you just put in
> rcpthosts, make an entry in /var/qmail/control/smtproutes like this:
> 
> domain.dom:a.b.c.d
> 
> where domain.dom is the domain and a.b.c.d is the IP address of ServerA. This
> is all you have to do on ServerB, and you don't even have to restart any of the
> qmail programs.

I forgot one thing: you have to configure ServerB to allow relaying from
ServerA. See http://www.palomine.net/qmail/selectiverelay.html

Chris

 PGP signature


Re: mail relay server

2001-07-30 Thread Chris Johnson

On Tue, Jul 31, 2001 at 10:38:07AM +0800, Ami Shamril wrote:
> This server (ServerA) is in our internal network. Now we want to install
> qmail to act only as mail relay server (ServerB) to put in our DMZ. So all
> incoming email will go to ServerB first & ServerB will forward to ServerA.
> Same goes to outgoing email. All outgoing email from ServerA will go to
> ServerB first & ServerB will send it out.
> 
> My questions are
> 1. How to configure qmail to act as mail relay server (ServerB) & how to
> confiruge it to forward all incoming email to ServerA.?

Put all of the domains that ServerA hosts in ServerB's rcpthosts file (but not
in locals or virtualdomains!). Then, for each domain that you just put in
rcpthosts, make an entry in /var/qmail/control/smtproutes like this:

domain.dom:a.b.c.d

where domain.dom is the domain and a.b.c.d is the IP address of ServerA. This
is all you have to do on ServerB, and you don't even have to restart any of the
qmail programs.

> 2. In ServerA, how I want to configure qmail to forward all outgoing email
> go to ServerB?

Put:

:e.f.g.h

in /var/qmail/control/smtproutes, where e.f.g.h is the IP address of ServerB.
This is a wildcard entry that tells qmail-remote on ServerA to skip DNS lookups
and send everything to ServerB.

It's just that easy!

Chris

 PGP signature


Re: Single UID mailboxes - mail getting lost

2001-07-30 Thread Chris Johnson

On Mon, Jul 30, 2001 at 10:55:10PM +0200, Henning Brauer wrote:
> Singe UID setups, usually called Virtual User Setups, are requiring a
> virtual user manager.

That's not true. I've been using a roll-my-own single UID setup for ages, with
no vpopmail or vmailmgr or anything but a custom checkpassword. It works
beautifully and I don't have to worry about the security of non-DJB code
(except for the cdb-enabled checkpassword, which I wrote myself).

For someone with a small set of domains and a user base that doesn't change
that often, I'd recommend a single-UID setup. It'll be more secure, and it'll
give him a better understanding of how all the pieces of qmail work.

Chris

 PGP signature


Re: Single UID mailboxes - mail getting lost

2001-07-30 Thread Chris Johnson

On Mon, Jul 30, 2001 at 01:30:20PM -0500, Jay Kline wrote:
> /var/qmail/control/users/assign:
> =jay-tarsk-com:popuser:101:101:/var/qmail/popboxes/tarsk-com/tarsk-jay:::
> 
> /var/qmail/control/users/poppasswd: (the password in this case is tarsk)
> tarsk-jay:W.I8jJCHbKvBQ:popuser:/var/qmail/popboxes/tarsk-com/tarsk-jay
> 
> /var/qmail/control/virtualdomains:
> tarsk.com:tarsk-com

Mail sent to [EMAIL PROTECTED] is delivered locally to tarsk-com-jay, not
jay-tarsk-com. Fix your assign file and you should be in business.

Chris

 PGP signature


Re: SMTP help...

2001-07-28 Thread Chris Johnson

On Sat, Jul 28, 2001 at 04:25:07PM -0400, Peter wrote:
> However, when I telnet in from my desktop machine (192.168.1.2) it accepts
> my connection, and -nothing- appears. The server will not give any
> acknowledgements.

I'll bet it will appear eventually. Give it a minute or so.

If it appears after a minute, then your question is the number one FAQ on this
list. Search for "slow SMTP" or "slow POP" in the list archives.

Chris

 PGP signature


Re: slow SMTP...cjk

2001-07-27 Thread Chris Johnson

On Fri, Jul 27, 2001 at 11:58:26AM +0300, Constantine Koulis wrote:
> I have a qmail,courier-imap,vmailmgr email server and works fine.My small 
> problem is that when i send an email it takes around 20 second for the SMTP 
> to send the email.Anybody knows why?I install the qmail from the LWQ 
> document and so i install the smtp program that it is mentioned over 
> there...

Check the mailing list archives. This is by far the most frequently asked
question on this list, and it's been answered many, many times.

Chris

 PGP signature


Re: pop3d

2001-07-27 Thread Chris Johnson

On Fri, Jul 27, 2001 at 02:18:34PM +1000, Vivian Doherty wrote:
> exec tcpserver -v -R -H -l -c "$concurrency" \
  ^^
-l needs an argument. See http://cr.yp.to/ucspi-tcp/tcpserver.html.

Chris

 PGP signature


Re: fastforward problem

2001-07-16 Thread Chris Johnson

On Mon, Jul 16, 2001 at 08:42:59AM -0400, Selcuk Ozturk wrote:
> since I installed fastforward, my server doesn't generate a bounce
> message even if the user doesn't exist and there is no alias either.
> 
> If a message arrives for a bogus user/alias,  the message silently
> disappears. If I take out the fastforward from .qmail-default
> everything works again. Is there a fix for this?

How are you calling fastforward? Make sure you're not using -p.

Chris

 PGP signature


Re: Qmail - SMTP

2001-07-16 Thread Chris Johnson

On Mon, Jul 16, 2001 at 01:57:00PM +0200, Webmaster Sports-wear.de wrote:
> I have running Qmail for 2 weeks without problems, but last Friday I get
> errors.
> Here is my Log.
> 
> <[EMAIL PROTECTED]>:
> 62.157.196.171 does not like recipient.
> Remote host said: 550 relaying to <[EMAIL PROTECTED]> prohibited by
> administrator Giving up on 62.157.196.171.

Did this really come from a log file, or is this from a bounce message?

62.157.196.171 was listed as an MX for gfg.de, but was not configured to
receive mail for gfg.de. There's nothing you can do about that, assuming
62.157.196.171 is not your mail server.

(Strangely, 62.157.196.171 was not running qmail at the time this bounce was
created, but it appears to be running qmail now.)

Chris

 PGP signature


Re: blocking from-addresses (badmailfrom)

2001-07-12 Thread Chris Johnson

On Thu, Jul 12, 2001 at 10:41:54AM -0500, Q wrote:
> We have been getting some e-mails sent from a virus some people have.  I am
> trying to block them out using the badmailfrom file, but it doesn't seem to
> be working the way I need it to.  The e-mail has a:
> 
> From: Hahaha <[EMAIL PROTECTED]>
> 
> in the header, so I put [EMAIL PROTECTED] in the badmailfrom file.

qmail-smtpd doesn't look at the header. It looks at the envelope sender, and
the envelope sender on these messages is empty.

> Whenever I try to send a test message with the from address of
> "[EMAIL PROTECTED]" it gets blocked like it should.  However when the
> actual mail gets sent from someone that has the virus, it does not get
> blocked.  I checked the logs and this seems to be because qmail is saying
> that it is from <> because there is a:
> 
> Return-Path: <>
> 
> in the header too.  Is there any way I can block messages that have a null
> Return-Path or a way to have qmail check the badmailfrom against the From:
> header instead of the Return-Path one?

You must not block messages with a null envelope sender; this is the way
bounces are delivered. And qmail-smtpd will not check the From: header under
any circumstances.

If you want to block this kind of mail, you'll probably want to look at one of
the various anti-virus packages. See http://www.qmail.org.

Chris

 PGP signature


Re: Intranet qmail server and totally exposed sendmail server

2001-07-09 Thread Chris Johnson

On Mon, Jul 09, 2001 at 04:01:58PM +0200, Carlo Borelli wrote:
> Boss's company asked me to realize this scenario:
> an internal qmail server to serving co-workers on port 25 (smtp) and 110
> (pop3);
> trhough a FW1 the qmail server must talks on port 24 with a sendmail server

echo ':sendmail.server.name:24' > /var/qmail/control/smtproutes

This will cause all non-local mail on your qmail server to be forwarded to your
sendmail server via SMTP on port 24. (Replace sendmail.server.name with the
name or IP address of your sendmail server.)

> that can be sacrified because totally exposed;
> the sendmail mta server does at this point some relaying for the intranet
> qmail mta server on the same port (24) with smtp service;
> I've not problem to configure sendmail on this rules, but I've some problem
> to do the same with qmail.
> I tried to add another service like /var/qmail/supervise/qmail-smtpd/run
> changing the port from smtp to 24. I've no clue how can I do to add another
> listener smtp on the 24 port.

That's exactly how you do it. Did it not work?

Chris

 PGP signature


Re: HELP with Aliases and Forwarding

2001-07-05 Thread Chris Johnson

On Thu, Jul 05, 2001 at 07:41:05AM -0700, Sherry Work wrote:
> We have just moved to a Windows2000 server, and I set up all of our aliases
> and then when I set up the forwards for the aliases, the aliases names moved
> out of the aliases page.

Uhhh... say what?

You're going to need to come up with something a lot more coherent and
containing a lot more information if you want to get help.

Chris



Re: FYI: Windows is better

2001-07-04 Thread Chris Johnson

On Wed, Jul 04, 2001 at 02:36:54PM -, [EMAIL PROTECTED] wrote:
> MSDN is a better development environment than GNU,
> Better software tools create better software.

And yet every piece of software ever produced by Microsoft is garbage.

Please troll elsewhere.

Chris



Re: tcpserver / queue cleaning

2001-07-04 Thread Chris Johnson

On Wed, Jul 04, 2001 at 08:26:45PM +0200, Moritz Schmitt wrote:
> 2. I'm using tcpserver to start qmail and it seems to work. But there is a
> little thing I don't understand. On my FreeBSD 4.2 RELEASE machine I added
> the follwing configuration file into /etc/rc:

That's not the right place to start services, but that's beyond the scope of
this list.

> /usr/local/bin/tcpserver -p -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp \
> /var/qmail/bin/smtpd
> 
> After I added this line I rebooted the machine and it stopped right at the
> point where it was supposed to excute the line above. It didn't crash and I
> was able to talk to my server on port 25 it just didn't proccess the rest of
> the startup scripts. Because it looked the way that
> /var/qmail/bin/qmail-smtpd was waiting on stdin I added an ampersand at the
> and of the line so /bin/sh would start it as a background process. It seems
> to work that way but I'm confused because I read twice in two different docs
> that no ampersand is needed. At least it wasn't printed there. Can anyone
> enlighten me?

In this case you do need the ampersand, but again this is not a qmail question,
but a general Unix question.

I'd suggest you read http://www.lifewithqmail.org. Set things up as outlined
there, and start svscan from a script in /usr/local/etc/rc.d

Chris

 PGP signature


Re: Relaying problem

2001-07-04 Thread Chris Johnson

On Wed, Jul 04, 2001 at 03:37:31PM +, qmail wrote:
> A typical bounce message looks like this...
> 
> Hi. This is the qmail-send program at mms-research3.marketingms.com.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> 64.75.34.135 does not like recipient.
> Remote host said: 554 <[EMAIL PROTECTED]>: Recipient address rejected: Relay
> access denied
> Giving up on 64.75.34.135.

This is not your problem. The DNS says that 64.75.34.135 is a mail exchanger
for quest.net, and yet when you try to deliver quest.net mail to 64.75.34.135,
that host claims that it doesn't receive mail from that domain, so as far as
it's concerned you're trying to relay mail to quest.net through it.

Either 64.75.34.135 is misconfigured, or quest.net's DNS is misconfigured.
There's nothing you can do about that.

Chris

 PGP signature


Re: Home directory is sticky ??

2001-07-03 Thread Chris Johnson

On Tue, Jul 03, 2001 at 04:44:36PM +0200, Arno Slatius wrote:
> I'm trying to get an email server up using qmail (using ./Maildir/) and it
> seems to work quite well so far but now what is going wrong:
> 
> Whenever I send an email to an unknown user the log states: defferal:
> Home_directory_is_sticky:_user_is_editing_his_.qmail_file.
> 
> This is quite strange to me, the user does not excist so he/she is certainly
> not editing his/her .qmail file. I would expect the message to be sent to
> the postmaster (alias) or the default (alias).
> 
> Can anybody suggest what is going wrong?

Is ~alias sticky?

Chris

 PGP signature


Re: SMTP Error !

2001-06-24 Thread Chris Johnson

On Mon, Jun 25, 2001 at 09:09:41AM +0530, Qmail wrote:
> Server Response: '553 sorry, that domain isn't in my list of allowed
> rcpthosts (#5.7.1)'

See http://www.lifewithqmail.org/lwq.html#relaying

Chris



Re: Odd error

2001-06-24 Thread Chris Johnson

On Sun, Jun 24, 2001 at 11:59:38AM -0600, Mike Hodson wrote:
> I just changed over my maildirs and virtual domains from one server to
> another, and all seems to be working well. Until now that is.
> While watching a log tail -f of my qmail-send logs as logged via
> daemontools piped thru tai64nlocal.
> 
> 2001-06-24 11:39:57.372243500 warning: trouble opening local/15/755082; will try 
>again later
> 2001-06-24 11:40:40.231316500 warning: trouble opening local/16/755083; will try 
>again later
> 2001-06-24 11:41:16.231304500 warning: trouble opening local/17/755084; will try 
>again later
> 2001-06-24 11:39:57.372243500 warning: trouble opening local/15/755082; will try 
>again later
> 2001-06-24 11:42:01.231287500 warning: trouble opening local/15/755082; will try 
>again later
> 2001-06-24 11:42:44.231286500 warning: trouble opening local/16/755083; will try 
>again later
> 2001-06-24 11:43:20.231255500 warning: trouble opening local/17/755084; will try 
>again later
> 2001-06-24 11:44:05.231240500 warning: trouble opening local/15/755082; will try 
>again later
> 2001-06-24 11:44:48.231239500 warning: trouble opening local/16/755083; will try 
>again later
> 
> What does this mean exactly, and is this a large problem or a minor
> error?

Did you move your queue from one machine to the other? If so, your queue needs
to be fixed. Look for "queue-fix" at http://www.qmail.org/top.html

Chris



Re: anti-virus program for Qmail

2001-06-24 Thread Chris Johnson

On Sun, Jun 24, 2001 at 07:52:25AM -0700, Alex Tsang wrote:
> Is there any anti-virus program for qmail? 

Check http://www.qmail.org/top.html#microsoft

Chris

 PGP signature


Re: How to block specific user from other domain to deliver message to mydomain

2001-06-23 Thread Chris Johnson

On Sun, Jun 24, 2001 at 10:41:37AM +0530, Rupak wrote:
> My domainname is myname.com and I don't want to deliver any message from
> someuser of other domain say [EMAIL PROTECTED] to myname.com domain at all.
> How can I stop that pls suggest me.

Put [EMAIL PROTECTED] in /var/qmail/control/badmailfrom

Chris

 PGP signature


Re: I'm not root, can I use qmail?

2001-06-22 Thread Chris Johnson

On Fri, Jun 22, 2001 at 08:42:52AM -0400, Philip Mak wrote:
> On Fri, 22 Jun 2001, Tanuj Shah wrote:
> 
> > I would have thought, just install qmail somewhere in your home and use
> > tcpserver for the listening on port 2525.
> 
> Thanks; you solved part of the puzzle for me. On a test system where I
> have root access, I was able to run qmail as a send-only SMTP server on
> port 2525 using tcpserver.

What is a "send-only SMTP server"? qmail-smtpd receives mail from the Internet
and queues it; it doesn't send mail anywhere.

> I can't get it to run on the system where I need it (and don't have root),
> though. qMail is hardwired to install into /var/qmail, and there seems to
> be no clean way of changing that.

Edit conf-qmail.

> I managed to hack the Makefile so that when I did "make setup check", it went
> into $HOME/var/qmail instead, but I think I did something wrong, because when
> I execute this command:
> 
>   csh -cf '$HOME/var/qmail/rc &'
> 
> it does not start up the qmail-send, qmail-lspawn etc. processes. If I had
> root and qmail refused to start, I could read /var/log/messages, but as a
> normal user I can't read that file to see what the problem is.

You'll never be able to install and run qmail without root access because it
requires installing qmail-queue setuid, and it requires running various other
programs as users other than yourself. As a regular, non-root user, you can't
create a setuid program and you can't run programs as other users.  

What exactly are you trying to accomplish?

Chris

 PGP signature


Re: Secondary MX - worth it?

2001-06-21 Thread Chris Johnson

On Fri, Jun 22, 2001 at 03:13:06AM +0100, John P wrote:
> Our qmail system is situated on a particularly unreliable (at the moment)
> ADSL line, and we've had an outage for about 24 hours. I have set up a
> mailkeep.com account, and ensured it will collect mail for the relevant
> domains.
> 
> Can I just specify their machine as a secondary MX in my DNS config?

No, not unless you've arranged with them to be a secondary mail exchanger for
your domains. (Is that what mailkeep.com does? I'm not familiar with them.)

> How can we then get our qmail system to pull in all the mail from the
> secondary account? There were all sorts of methods mentioned on that system
> eg. pop, smtp, etrn and others. Should I set up a cron job to check every 15
> minutes or so? What program do I use to pull in the mails? Is it transparent
> to the user? Got a bit confused really :)

If everything is configured correctly, when your connection comes back up you
don't have to do anything but sit back and wait for the mail to start coming
in. A secondary mail exchanger accepts your mail from the outside world and,
finding that there's a better-preference mail exchanger (i.e. yours) than it
itself, queues the mail for eventual delivery to that mail exchanger; it
doesn't deliver the mail locally and then expect you to come get it. It'll just
keep trying to deliver the queued mail to your mail server (until it times out,
at which point it'll bounce it).

If you don't have a secondary mail exchanger at all, the situation is not much
different, except that all the mail that's undeliverable because your line is
down will be queued on various mail servers around the Internet, instead of on
your secondary mail exchanger.

Chris

 PGP signature


Re: "Send Copy to" in mail header for preventing mail loops

2001-06-21 Thread Chris Johnson

On Thu, Jun 21, 2001 at 02:36:59PM +0200, Jankok, Lucio wrote:
> I have the following (weird) situation;
> a user receives email and wants to save a local copy
> in her mailbox and have the mail forwarded to her private
> account on a different mailserver. from the private account
> she want here e-mails forwarded to her work account.
> with the former "isocor" mailserver she used before switching
> to qmail it was possible to have by means of forwarding to
> synchronize both mailboxes by means of forwarding to each
> other without the risk of looping.
> can the same thing be accomplished with Qmail ?.

Instead of forwarding from her private account to [EMAIL PROTECTED], she
could forward to [EMAIL PROTECTED] Then she just needs to
touch .qmail-forwardfromhome in her home directory, so that the .qmail file
that forwards back to her private account isn't consulted.

Chris

 PGP signature


Re: Conditionally capture all outgoing mail

2001-06-20 Thread Chris Johnson

On Thu, Jun 21, 2001 at 11:30:07AM +0800, Martin Kong wrote:
> BUT how can I do it conditionally, i.e. forward the email to different
> addresses based on different conditions, or even forget about the
> forwarding if a certain condition is met.

man condredirect

Chris

 PGP signature


Re: Spam IP master list?

2001-06-20 Thread Chris Johnson

On Wed, Jun 20, 2001 at 12:15:04PM -0400, Roger Merchberger wrote:
> Kindof an offtopic question, but is there a "Master List" of IP's that send
> spam regularly, with which I could use to update my tcprules deny list?
> 
> I really don't want to patch & reinstall qmail with the RBL... (and it
> seems ORBS went away...) Besides, I'm really only looking to stop "the big
> chunks" with something I can personally manage.

There's no patching and reinstalling to do (unless you want to use
relays.mail-abuse.org, which requires a small patch only to rblsmtpd). Just
change the script you run your SMTP service with to use rblsmtpd, and you're
done.

It's certainly a lot less work than constantly updating your tcprules
list.

Chris

 PGP signature


Re: Constantly recurring error and newbie needs help urgently please

2001-06-20 Thread Chris Johnson

On Wed, Jun 20, 2001 at 06:01:02PM +0200, Henning Brauer wrote:
> On Thu, Jun 21, 2001 at 01:56:28AM +1000, arnie wrote:
> > Trying again for the 3rd time to send this email to the Qmail list
> 
> and we received it 3 times. the message you are getting is from a broken
> subsribers mailserver sending a bounce to the address in From: instead of
> the envelope sender.

And now some idiotic "out of the office" auto-responder is sending me a message
every time I post to the list. I've written [EMAIL PROTECTED] about
it.

Chris

 PGP signature


Re: tcprules & is this list having trouble

2001-06-20 Thread Chris Johnson

On Thu, Jun 21, 2001 at 01:53:25AM +1000, arnie wrote:
> Sorry about the intrusion but is the Qmail list having Mailer-Daemon trouble ?
> I have been trying to send an important email to the list at "[EMAIL PROTECTED]"
> and I keep getting:
> 
> Sorry. Your message could not be delivered to:
> 
> test test (Mailbox or Conference is full.)
> 
> from the Mailer-Daemon

Yes, we all get that. It doesn't come from the list but from the horribly
misconfigured mail server of a list subscriber.

See the list archives; this has been discussed before.

Chris

 PGP signature


Re: mail routing & and sanity

2001-06-20 Thread Chris Johnson

On Wed, Jun 20, 2001 at 08:50:40AM -0400, Dave Sill wrote:
> [EMAIL PROTECTED] wrote:
> 
> >put in $QMAILDIR/control/smtproutes
> >
> >myhost.com:notes.myhost.com
> >
> >make sure for the rest it is only in control/rcpthosts
> >
> >and SIGHUP qmail-send.
> 
> No, smtproutes is a qmail-remote control file. HUP'ing qmail-send
> won't help. He'll need to completely restart qmail.

Actually, he won't need to do anything. smtproutes is read by every invocation
of qmail-remote.

Chris

 PGP signature


Re: error

2001-06-18 Thread Chris Johnson

On Mon, Jun 18, 2001 at 12:38:21PM -0700, Nick wrote:
> 2001-06-18 12:38:27.274620500 delivery 22712: deferral:
> Unable_to_switch_to_/var/qmail/alias:_access_denied._(#4.3.0)/
> 2001-06-18 12:38:27.274635500 status: local 0/10 remote 1/60
> 
> I checked the permission on the alias dir
> and the alias files.

And they were...

Chris



Re: restart without rebooting

2001-06-18 Thread Chris Johnson

On Mon, Jun 18, 2001 at 01:24:23PM -0500, Virginia Chism wrote:
> I need to learn how to restart qmail on my BSDi system.  I have not been able
> to locate a qmail-restart in any of the qmail directories.
> 
> Whenever I make changes in qmail, I have had to resort to `shutdown -r now`
> thus rebooting the entire system.  I don't like doing this.
> 
> Someone told me to try 'killall -SIGHUP qmail', but someone else said this
> might kill everything running - that the machine would not read to the
> 'qmail' at the end of the line.

HUPing only makes qmail reread locals and virtualdomains. (And there is no
process called "qmail," so "killall -HUP qmail" won't do anything on any system.)
Some changes require you to restart qmail--not just HUP it--and some don't
require any restart at all.

Do you use svscan/supervise to start qmail? If so, all you need to do to
restart qmail is "svc -t /service/qmail" (assuming your qmail service directory
is called /service/qmail). To HUP it, use svc -h instead of svc -t.

If you don't supervise qmail, you'll need to find qmail-send's pid, kill it,
and rerun the script you started it with. If killall on your system is not of
the variety that kills all running processes, you can "killall qmail-send" and
then restart it.

What you really need to do is to read a book on basic Unix administration. This
question really has nothing to do with qmail at all.

Chris

 PGP signature


Re: qmail Multiple MX Problem

2001-06-18 Thread Chris Johnson

On Mon, Jun 18, 2001 at 10:03:20AM -0700, mjt mjt wrote:
> I have mail being sent to some user at server A and
> server B.  Server A and B have 3 MX entries in their
> lookup.  The first two entries in these are higher in
> preference but are unavailable to the net traffic (for
> some reason ).  What i think is happening is that
> qmail is trying to connect to the first MX entry and
> for some reason the server sends SMTP serrvice not
> available to qmail at my end.  So the mail is put in
> queue and then qmail retries the first server in MX
> entry.

If a connection to the SMTP port is made but the transaction cannot be
completed, qmail won't try lower preference mail exchangers. It'll only try
them if it can't connect at all.

Chris

 PGP signature


Re: need to log in a database.

2001-06-18 Thread Chris Johnson

On Mon, Jun 18, 2001 at 04:55:06PM +0200, Federico wrote:
> I now it is not too legal and a right thing, but I must register in a
> Database, possibly MySQL or PostgreSQL, every single incoming/outgoing mail
> with: 
> 
> + sender
> + receiver
> + body of the mail
> + possibly also any attachment

Use the method in FAQ 8.2, and in ~alias/.qmail-log you can pipe the message
into a program or script that puts it in the database.

Chris

 PGP signature


Re: tcpserver: fatal: unable to bind: address already used

2001-06-17 Thread Chris Johnson

On Mon, Jun 18, 2001 at 12:32:51AM +0800, Alex Tsang wrote:
> When I start the qmail-pop3d service, the log files log ¡¥tcpserver: fatal:
> unable to bind: address already used¡¦ errors but I can still use the pop3
> server. So what¡¦s this error mean?

It means that something is already bound to your POP3 port. Since your POP
service works, it's likely that you already started your POP3 service once and
now you're trying to start it again.

Chris

 PGP signature


Re: Patch to log badmailfrom hits

2001-06-17 Thread Chris Johnson

On Sun, Jun 17, 2001 at 03:53:35PM +0200, Johan Almqvist wrote:
> I wonder if anyone has made a patch to log badmailfrom "hits" from
> qmail-smtpd?

This should work:

--- Makefile.orig   Sun Jun 17 10:25:23 2001
+++ MakefileSun Jun 17 10:23:24 2001
@@ -1535,13 +1535,13 @@
 load qmail-smtpd.o rcpthosts.o commands.o timeoutread.o \
 timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
 date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
-open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \
+open.a sig.a case.a env.a stralloc.a alloc.a strerr.a substdio.a error.a str.a \
 fs.a auto_qmail.o socket.lib
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
-   alloc.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
+   alloc.a strerr.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
socket.lib`
 
 qmail-smtpd.0: \
--- qmail-smtpd.c.orig  Sun Jun 17 10:25:36 2001
+++ qmail-smtpd.c   Sun Jun 17 10:28:47 2001
@@ -23,6 +23,7 @@
 #include "timeoutread.h"
 #include "timeoutwrite.h"
 #include "commands.h"
+#include "strerr.h"
 
 #define MAXHOPS 100
 unsigned int databytes = 0;
@@ -250,7 +251,11 @@
 void smtp_rcpt(arg) char *arg; {
   if (!seenmail) { err_wantmail(); return; }
   if (!addrparse(arg)) { err_syntax(); return; }
-  if (flagbarf) { err_bmf(); return; }
+  if (flagbarf) {
+strerr_warn4("qmail-smtpd: badmailfrom: ",mailfrom.s," at ",remoteip,0);
+err_bmf();
+return;
+  }
   if (relayclient) {
 --addr.len;
 if (!stralloc_cats(&addr,relayclient)) die_nomem();

 PGP signature


Re: rss spam filtering problems

2001-06-15 Thread Chris Johnson

On Fri, Jun 15, 2001 at 01:17:24PM -0400, Brent B. Powers wrote:
> 
> I don't seem to be filtering out relay sites via
> relays.mail-abuse.org. The address that gets through is on the relay
> list, www.loscabos.gob.mx, or 148.235.5.210, as it is pingable at
> 210.5.235.148.relays.mail-abuse.org
> 
> My qmail setup is reasonably similar to that within life with qmail,
> and, hence, my /var/qmail/supervise/qmail-smtpd/run is:
> 
> 
> #!/bin/sh 
> 
> QMAILDUID=`id -u qmaild` 
> NOFILESGID=`id -g qmaild` 
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` 
> 
> exec /usr/local/bin/softlimit -m 200 \
>   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" \
>   0 smtp \
>   /usr/local/bin/rblsmtpd \
>   -rblackholes.mail-abuse.org \
>   -rdialups.mail-abuse.org \
>   -rrelays.mail-abuse.org \
> /var/qmail/bin/qmail-smtpd 2>&1
> 
> Note that the rbl and dul portions are indeed working. I have applied
> the patch to allow rblsmtpd to work with A records.

Change:

-rrelays.mail-abuse.org

to:

-r 'relays.mail-abuse.org:Open relay problem - see 
http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%>'

Chris

 PGP signature


Re: Qmail server error

2001-06-15 Thread Chris Johnson

On Fri, Jun 15, 2001 at 03:51:21PM -0700, Bob Ross wrote:
> I just added a second T1 to our service. Every time we try to send mail
> while connected to the new server we get the following error. This only
> happens to outbound email.
> 
> I put the class "C" in the /etc/hosts.allow

Which qmail will happily ignore.

> What do I need to do to fix this?

Read the stuff about relaying at http://www.lifewithqmail.org

Chris

 PGP signature


Re: Warning: message 15AXo4-0005W6-00 delayed 60 minutes

2001-06-15 Thread Chris Johnson

On Fri, Jun 15, 2001 at 06:23:55PM -0700, Harry wrote:
> I got this message from one of our clients. Please help if anybody has any
> idea on this.

> From: Mail Delivery System [mailto:Mailer-Daemon@
> > Sent: Thursday, June 14, 2001 8:10 AM
> > To: 
> > Subject: Warning: message 15AXo4-0005W6-00 delayed 60 minutes

Whatever it is, it has nothing to do with qmail.

Chris

 PGP signature


Re: Log Entry question

2001-06-14 Thread Chris Johnson

On Thu, Jun 14, 2001 at 08:56:48AM -0700, Drew Hawn wrote:
> My run script is:
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '|dot-forward .forward
> |preline /usr/bin/procmail'

That's not it. What script are you using to start qmail-smtpd? What I'm getting
at: are you putting tcpserver in the background in your run script?

Chris



Re: Log Entry question

2001-06-13 Thread Chris Johnson

On Wed, Jun 13, 2001 at 04:47:13PM -0700, Drew Hawn wrote:
> Sendmail is not running.  When I "ps-aux | grep tcpserver" I get:
> 
> qmaild 612  0.0  0.0  11520 ?SW   09:23   0:00 [tcpserver]

What does your run script look like?

Chris

 PGP signature


Re: Log Entry question

2001-06-13 Thread Chris Johnson

On Wed, Jun 13, 2001 at 04:21:34PM -0700, Drew Hawn wrote:
> @40003b262932196daa9c tcpserver: fatal: unable to bind: address already
> used

It means that something is already listening on your SMTP port. This might be
sendmail, something you have configured in inetd.conf, or another instance of
tcpserver you've already started on port 25. It's also possible that your SMTP
run script puts tcpserver in the background, causing supervise to continually
restart it.  

Chris

 PGP signature


Re: suddenly cannot receive email

2001-06-07 Thread Chris Johnson

On Thu, Jun 07, 2001 at 02:40:31PM -0400, [EMAIL PROTECTED] wrote:
> In a message dated 6/7/01 12:55:37 PM Central Daylight Time, 
> [EMAIL PROTECTED] writes:
> 
> > 
> >  From this information, and the information you've provided below, it
> >  looks to me that you probably did something like this:
> >  
> >  echo "example.com:example.com" > /var/qmail/control/virtualdomains
> >  
> What I actually did was:
> 
> echo "www.garnette.com:alias-garnette" >/var/qmail/control/virtualdomains
> echo "&[EMAIL PROTECTED]" >~alias/.qmail-garnette-monte
> echo "garnette.com" >>/var/qmail/control/rcpthosts

It sounds like you didn't send qmail-send a SIGHUP. You need to do that to get
it to reread virtualdomains.

Chris



Re: TCPSERVER status 256

2001-05-26 Thread Chris Johnson

On Sat, May 26, 2001 at 01:12:09PM -0500, Nathaniel L. Keeling III wrote:
> I am getting a status 256 in the qmail-smtpd log files when one of our
> other servers try to connect to the mail server to send mail. The log
> files from the other server is getting good response, the helo and
> response, and sends the data but the messages are not getting to the
> users and there are no entries in the qmail-send log file. Can anybody
> help? Here are the entries from qmail-smtpd log file.
> 
> @40003b0fba66381db324 tcpserver: status: 1/40
> @40003b0fba6638bd8d04 tcpserver: pid 8871 from 207.227.131.194
> @40003b0fba663ac86894 tcpserver: ok 8871
> kweku.akan.net:207.227.131.131:25 akim.akan.net:207.227.131.194::3191
> @40003b0fba671a5dfe0c tcpserver: end 8871 status 256
> @40003b0fba671a6725cc tcpserver: status: 0/40

Though it doesn't necessarily mean this, every time I've seen the above it was
because the other end was sending me a message with a bare linefeed in it.

See http://cr.yp.to/docs/smtplf.html

Chris

 PGP signature


Re: Timeout issues.

2001-05-21 Thread Chris Johnson

On Mon, May 21, 2001 at 11:02:10AM -0700, Hank Wethington wrote:
> #1) A local machine running RH Linux and qmail 1.03. It had been running
> great for the last 9 months. I recently had an IP change on the machine as I
> switched DSL providers. I made sure all of the control files got changed and
> the new tcp rules added. However, it appears to not want to pop mail with
> out a long delay. My windows clients need to keep hitting wait. It
> eventually works, but it is very frustrating, considering it worked fine
> before the IP change. My guess is it relates to DNS. Am I on the right
> track, or has anyone else seen this? Is there a way I can fix it without
> long phone calls to my provider educating them on DNS and stuff :)

Yes. It's DNS. See the list archives.

Chris

 PGP signature


Re: Problem due to prepend in virtualdomain file

2001-05-17 Thread Chris Johnson

On Thu, May 17, 2001 at 09:36:00PM +0530, [EMAIL PROTECTED] wrote:
> I am facing a strange problem , I am haivng a domain called ttk-lig.com in
> my virtualdomain file with prepend ttk.
> eg.
> 
> ttk-lig.com:ttk
> 
> I have created a default alias for ttk-lig.com by the name
> .qmail-ttk-default and having below text in it
> 
> |forward $[EMAIL PROTECTED]

Is this file in ~alias or in ~ttk? If you created it in ttk's home directory,
it should be called .qmail-default, not .qmail-ttk-default. If you created it
in ~alias and there is a user ttk on your system, then
~alias/.qmail-ttk-default will never be consulted (I suspect that this is your
problem).

> But if i change the prepend from ttk to ttk1 and make my alias file by the
> name .qmail-ttk1-default then my mails start working.
> 
> Can any one tell me why its not taking the word ttk ?

Probably because you have a user called ttk on your system, and you created
this .qmail file in ~alias. It's never consulted because the user ttk exists.

But if all you want to do is forward all mail addressed to something
@ttk-lig.com to another server, you might want to try listing ttk-lig.com in
rcpthosts only--not in locals or virtualdomains--and then putting:

ttk-lig.com:192.168.100.1

in smtproutes.

Chris

 PGP signature


Re: Receiving Problems

2001-05-17 Thread Chris Johnson

On Thu, May 17, 2001 at 08:56:51AM +0400, Kennie J. Cruz-Gutierrez wrote:
> I can send email locally and remotely without any problem. My only problem
> is recieving messages. If I try to connect with telnet to port 25 it barfs
> with a "Connection closed by foreign host." message and if a send a
> message from another system never arrives.

How exactly are you starting qmail-smtpd?

Chris

 PGP signature


Re: rpcthost and morercpthost thresholds

2001-05-17 Thread Chris Johnson

On Thu, May 17, 2001 at 05:31:39AM +, Christopher Tolley wrote:
> Out of curiosity, I moved all those domains back to my morercpthosts,
> rehashed it (qmail-newmrh) and tried sending mail to the domains that weren't
> working before.  Everything looked fine.  I'm totally confused now.  As I
> have no locals entries outside of default, and absolutely no virtuals, I
> don't see how any of that could have had any effect.

I *promise* you that the problem you were experiencing has nothing at all to do
with rcpthosts or morerecpthost. If you have no entries in virtualdomains and
none of the domains in question is listed in locals and you're only acting as a
secondary mail exchanger for these domains, then you have a DNS problem.
qmail-smtpd accepted the mail and queued it, qmail-send determined that the
mail was to be delivered remotely since the domain of the recipient wasn't in
locals or virtualdomains, and then qmail-send found that it itself was the
best-preference mail exchanger. These are the only conditions that produce this
error.

The DNS problem may have been transitory, or it may be that only one of the
domain in question's authoritative name servers is giving out bogus
information, but this definitely is or was a DNS problem. 

Chris

 PGP signature


Re: rpcthost and morercpthost thresholds

2001-05-16 Thread Chris Johnson

On Wed, May 16, 2001 at 11:24:44PM +, Christopher Tolley wrote:
> 
> I wish it were that simple.  Here is the log entry with error:
> 
> May 16 13:18:10 spoolserver qmail: 990037090.207318 delivery 2882: failure:
> Sorry._Although_I'm_listed_as_a_best-pref
> 
>erence_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> 
> As this error was occuring (multiple times) I checked the morercpthosts.cdb
> and morercpthosts files.  Both files contained the entry for the domain in
> question.  Once I copied all the entries from morercpthosts to rcpthosts,
> the errors stopped and mail was spooled properly.

This was a coincidence. rcpthosts and morercpthosts have nothing to do with
this error. Those files are consulted *only* by qmail-smtpd, and only when it's
deciding to accept or reject a RCPT TO address during the SMTP conversation.
The above error message is generated by qmail-send, after qmail-smtpd has
already queued the message and died.

My guess is that you added an entry to locals or virtualdomains and didn't HUP
or restart qmail-send. At some time in the course of screwing with your
rcpthosts files you restarted qmail, so that your locals/virtualdomains changes
took effect and things started working again.

Chris

 PGP signature


Re: applying big-todo patch

2001-05-16 Thread Chris Johnson

On Wed, May 16, 2001 at 04:18:51PM -0700, Brett wrote:
> I'm aware of this page on qmail.org:
> http://www.qmail.org/big-todo.103.patch. What I don't see is a fast way of
> applying these changes. I can can go through the files and take out and
> replace the relevant lines but isn't there an automated script I can run
> that will do this for me? Where is this script? I've searched the archives
> and while there's plenty of talk about the big-todo patch, nobody ever
> mentions exactly what they did to apply it. Thanks a bunch.

man patch

Chris

P.S. If you want to start a new thread, don't do it by responding to an
unrelated message and then changing the subject. This causes your message to be
attached to that unrelated thread in MUAs that thread properly, and makes it
more likely that your question will be missed.

 PGP signature


Re: aliases

2001-05-08 Thread Chris Johnson

On Wed, May 09, 2001 at 02:30:09AM +0200, richard morris wrote:
> how does one add multiple recipients to a user in /etc/aliases for
> forwarding? (format)?
> 
> richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]??

richard: [EMAIL PROTECTED], [EMAIL PROTECTED]

Chris

 PGP signature


Re: & parameters

2001-05-08 Thread Chris Johnson

On Tue, May 08, 2001 at 05:34:41PM -0500, Aaron Goldblatt wrote:
> man dot-qmail indicates & is used for forwarding messages, and format is 
> straight-forward.  Is it permissable to forward a message to a device -- 
> i.e., &/dev/null?

That won't work.

What you need is a .qmail file with only a comment in it:

echo '#' > .qmail-whatever

Mail handled by this .qmail file will be bit-bucketed.

Chris

 PGP signature


Re: problem with ezmlm

2001-05-07 Thread Chris Johnson

On Mon, May 07, 2001 at 06:09:14PM -0400, Kris von Mach wrote:
> I have a small mailing list, 260 members. I have sent out one email to the
> list with a attachment of 638kb. I have plenty of bandwidth, I also have
> 768MB Ram on the system, my qmail concurrencyremote was set to 255. Only the
> first 150 of list members received the email. I checked the logs, and it
> shows that qmail sent out only 150 emails. I got no errors, no nothing, and
> the remaining 110 members didn't receive anything...
> 
> So my question is, what could it be? I am really lost here... So I am
> grabbing at straws, could it be that my databytes was set to 1 and
> 150 emails with 638kb attachment come out to ~97996800?

No. databytes applies only to incoming SMTP mail.

> I am running ezmlml-0.53+ezmlm-idx-0.40 and qmail1.03
> 
> Can anyone give me some pointers as to what it might be or where I should
> look for answers?

You should look in the logs. You'll find there the reasons for the deferrals.
(I know you said that there's nothing in the logs that indicates a problem, but
if you sent mail to 260 recipients and it was delivered to only 150 of them,
there will be something in the logs telling you why.)

Chris

 PGP signature


Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Chris Johnson

On Mon, May 07, 2001 at 02:46:13PM -0600, Benjamin Collar wrote:
> On Mon, 7 May 2001, Chris Johnson wrote:
> 
> > If by "username" you mean "local part of the address
> > [EMAIL PROTECTED]," it's in $DEFAULT.
> 
> Do you mean $DEFAULT would equal "whatever" in "[EMAIL PROTECTED]"? And
> this variable is available in the .qmail- file? 

Yep. From the qmail-command man page:

> DEFAULT is the portion corresponding to the default part of the .qmail-...
> file name; DEFAULT is not set if the file name does not end with default.

Chris

 PGP signature


Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Chris Johnson

On Mon, May 07, 2001 at 02:10:22PM -0600, Benjamin Collar wrote:
> Let's say in control/virtualdomains I put:
> 
> mail.aaa.com:alias-mail.aaa.com
> 
> This will be delivered to the ~alias/.qmail-mail:aaa:com-default file (if
> it's the only matching file). But when I'm in that file, how do I know
> what username is being sent to?

If by "username" you mean "local part of the address [EMAIL PROTECTED],"
it's in $DEFAULT.

Chris

 PGP signature


Re: Qmail and its parts.

2001-05-04 Thread Chris Johnson

On Fri, May 04, 2001 at 12:57:56PM -0400, Carl J. Danowski wrote:
> While I thought I've configured everything according to the million man
> files...mail comes in, gets put into a directory under /var/qmail/queue 
> 
> ps -ef | grep qmail reveals:
> 
> root   198   194  0 08:59 ?00:00:00 supervise qmail
> qmaild 570 1  0 09:00 ?00:00:00 tcpserver -c 100 -u 101 -g 102 0
> 
> so qmail is apparantly running.

It looks like it's not running. You should see these:

qmails 235  0.0  0.4   952  472 con- I17Apr01   0:57.48 qmail-send
root   242  0.0  0.3   888  380 con- I17Apr01   0:10.77 qmail-lspawn ./Maildir/
qmailr 243  0.0  0.3   888  424 con- I17Apr01   0:01.92 qmail-rspawn
qmailq 244  0.0  0.3   876  384 con- I17Apr01   0:09.98 qmail-clean

It looks like you probably have qmail-smtpd running, which will happily queue
mail that comes in via SMTP, but qmail-send isn't there to process it once it's
queued.

What's in /service/qmail/run? Is /service/qmail/run executable? Is anything in
the logs?

Chris

 PGP signature


Re: How to increase the qmail "concurrency"?

2001-05-03 Thread Chris Johnson

On Fri, May 04, 2001 at 12:28:17PM +0800, Chris wrote:
> my qmail-mrtg show that the qmail concurrency value 20 is not enough. anyone
> can tell me how to increase it.

man qmail-send

Chris



Re: serving other domains

2001-05-02 Thread Chris Johnson

On Wed, May 02, 2001 at 02:39:52PM -0700, montgomery f. tidwell wrote:
> i've got qmail setup as the mail server for my abc.com domain, and life
> is good. is it possible to have it also serve xyz.com? i only have one
> DSL line, so both abc.com and xyz.com would have to point to the same
> (static) ip#. is this possible? if so, can someone point me to some
> howto docs?

See http://cr.yp.to/qmail/faq.html

Chris

 PGP signature


Re: Mail Stuck in Queue

2001-05-02 Thread Chris Johnson

On Wed, May 02, 2001 at 09:30:17PM -, Aaron Goldblatt wrote:
> All mail that gets queued for delivery simply sits in the queue and doesn't 
> get delivered.  It doesn't matter if the mail is for local delivery, or is 
> relay mail headed for a remote mail server.

Is qmail-send running? It doesn't sound like it is. 

What's the output of "ps awwux | grep qmail"?

Chris

 PGP signature


Re: Strange Bounce

2001-05-01 Thread Chris Johnson

On Tue, May 01, 2001 at 05:57:36PM -0500, Bill Andersen wrote:
> OK, I guess I have to fall in the "stupid" group today.  I posted
> a message a little earlier to the qmail list with the subject of
> "RE: slow smtp connection" and it made the list fine.  However, I
> received this as a bounce...

[snip]

> Sorry. Your message could not be delivered to:
> 
> qmail-list,Soleil (The name was not found at the remote site. Check that
> the name has been entered correctly.)

Some list subscriber has something misconfigured; his MTA is bouncing to the
From address instead of to the envelope sender. I've gotten one of these for
every message I've sent to the list the last couple of days.

Chris

 PGP signature


Re: slow smtp connection

2001-05-01 Thread Chris Johnson

On Tue, May 01, 2001 at 10:53:01AM -0500, John Hogan wrote:
> i'm sorry to have trouble you... for future reference, what sort of question
> would qualify for your enlightened views?

Perhaps one that you couldn't answer yourself with a minimum of effort.

Chris

 PGP signature


Re: POP3 Login

2001-04-30 Thread Chris Johnson

On Mon, Apr 30, 2001 at 03:15:41AM -0500, Aaron Goldblatt wrote:
> When I try to retrieve mail via POP3 on the PRIVATE interface, it works, 
> but where the public side takes about two seconds to complete an empty 
> transaction, the private one takes as much as 60 seconds to authenticate 
> (Eudora hangs on "Logging in to server," which is its way of saying 
> login/password).  If Eudora doesn't get sick of waiting it EVENTUALLY 
> works, but slowly.

This question comes up about every three minutes on this list. See the list
archives. Try searching for "pop3 slow."

Chris

 PGP signature


Re: trouble with qmail

2001-04-29 Thread Chris Johnson

On Sun, Apr 29, 2001 at 08:37:34PM -0400, RC wrote:
> and, of course, nothing was delivered.  sure enough, it's sitting in 
> ~qmail/queue/mess/20/
> 
> this us just a thought, and i'm going to seem incredibly stupid if 
> this is the answer:
> the file permissions for my mailbox are:
> -rw---  1 jesus  jesus 3384 Apr 20 10:50 Mailbox
> looks like the smtpd is running as qmaild:
> smtpstream  tcp nowait  qmaild 
> /home/qmail/bin/tcp-env tcp-env$

No, that's not the problem.

Is qmail-send running? What do the logs say? What does the script that you use
to start qmail look like?

Chris

 PGP signature


Re: Virus propagation in action

2001-04-23 Thread Chris Johnson

On Mon, Apr 23, 2001 at 11:13:38AM -0400, Todd Finney wrote:
> Wow.
> 
> I expect my users to not know any better when it comes to virii and 
> attachments.  That's the purpose of anti-virus software, filtering, and 
> the other sundry defenses.
> 
> Consider yourself technical enough to administer a mail server?  Then 
> you should know better.
> 
> Chris, Johan, David, RC, for your reading pleasure:

I do know better. What are you talking about? (I assume I'm the Chris you refer
to above, since a message I posted two weeks ago was reinjected with a virus
attached. Did it occur to you that it wasn't sent by me?)

Chris

 PGP signature


Re: Hide firewall ?

2001-04-23 Thread Chris Johnson

On Mon, Apr 23, 2001 at 05:03:47PM +0200, Deslions Nicolas wrote:
> you should maybe learn some things about blocking virus before trying to
> help other people

To whom are you addressing this? I was the one who answered the question, two
weeks ago. I had nothing to do with the message containing the virus. I don't
know why my message was reinjected with a virus attached, or by whom.

Chris

 PGP signature


Re: Trying to install qmail

2001-04-22 Thread Chris Johnson

On Sun, Apr 22, 2001 at 02:36:04PM +, [EMAIL PROTECTED] wrote:
> I'm trying to install qmail. Reading the install notes I should compile all
> files. How do I do that? ./ make-compile.sh doesn't do the trick. Please help
> asap.

Did you try typing "make" in the source directory?

Chris

 PGP signature


Re: incorrect_user@correct_domain accepted

2001-04-21 Thread Chris Johnson

On Sat, Apr 21, 2001 at 01:52:54PM -0700, Ketan Bajaj wrote:
> i think i haven't been clear enough in explaining the problem...
> again,
> A (local smtp server)B (remote smtp server)
> 
> B is at domain schwab.com, about which i do not know anything, whether it
> has qmail, sendmail, exchange or anything else.
> 
> 1. when A is setup as qmail, and remote address is incorrect@B there is no
> bounce from B and the message is accepted at B. I see this at the qmail logs
> on A.
> 2. when A is Microsoft exchange (with MUA as Outlook / outlook express), the
> email sent to incorrect@B bounces back immediately.

I'd have to see this to believe it.

Chris

 PGP signature


Re: qmail-smtp install problem

2001-04-21 Thread Chris Johnson

On Sat, Apr 21, 2001 at 04:12:22PM -0500, Tim Holzmann wrote:
> I'm getting a '_' appended to the remote destination domain name for ex.
> [EMAIL PROTECTED], the '.com' is '.com_', this only happens when I try to
> send mail from a host other than the local mail server, from the mail server
> the domain name is fine and the mail is sent, any suggestions, here's a log
> snippet..

Are you using tcpserver? If so, are you setting RELAYCLIENT=" " instead of
RELAYCLIENT="" (note that the first one has a space between the quotation
marks)?

Chris

 PGP signature


Re: How to re-direct mail based on target domain

2001-04-21 Thread Chris Johnson

On Sat, Apr 21, 2001 at 02:48:28PM -0400, David Means wrote:
> AOL will not accept mail from my server because I have a dynamic
> IP address.  How do I configure qmail to send messages destined for
> AOL to my ISP?

echo aol.com:mailserver.yourisp.com >> /var/qmail/control/smtproutes

You might consider routing all of your mail to your ISP's mail server; AOL
isn't the only ISP blocking mail injected directly from dialups. For example,
you wouldn't be able to send mail directly to my server. (I realize that you're
on an ADSL line, not a dialup line, but your ISP has listed you as such with
mail-abuse.org. See http://mail-abuse.org/dul/.)

Chris

 PGP signature


Re: incorrect_user@correct_domain accepted

2001-04-21 Thread Chris Johnson

On Fri, Apr 20, 2001 at 10:01:45PM -0700, Ketan Bajaj wrote:
> I have been seeing a problem:
> when i sent an email to an incorrect user at a correct domain, the qmail
> logs show that the message has been accepted.
> But if i send the same email, incorrect_user@correct_domain through outlook
> (microsoft exchange), the email bounces back immediately, with error message
> shown below:
> 
> - Transcript of session follows -
> 550 [EMAIL PROTECTED] User unknown
> 
> 
> Any idea why email does not bounce when sent through qmail.

qmail-smtpd doesn't know anything about users or local addresses; it knows only
what domains it should accept mail for. Once a message has been queued and
processed, it'll be bounced if there is no such address.

Are you questioning why qmail-smtpd doesn't reject the message right away,
during the SMTP dialog, rather than accepting the message at first and then
later bouncing it? Or are you saying that the message is never bounced? If the
former, the answer is that that's how qmail works. If the latter, then you have
a .qmail-default file that will catch any address rather than bounce mail sent
to non-existent addresses.

Chris



Re: smtphost:port

2001-04-20 Thread Chris Johnson

On Fri, Apr 20, 2001 at 11:38:08PM +0200, [EMAIL PROTECTED] 
wrote:
> How do I add a port no. to an smtphost IP, e.g.
> maildirsmtp ~alias/pppdir alias-ppp- $SMTPHOST:2525 myhost
> won't work.

maildirsmtp is a simple shell script that calls maildirserial. Just make a copy
of maildirsmtp and modify it to use a different port (or accept a port as a
parameter).

Chris

 PGP signature


Re: Mail is redirected in from xxx.aaa.bb to aaa.bb. Why?

2001-04-20 Thread Chris Johnson

> = 20/04/01 21:29  by  Artem Koutchine =
> | Hi!
> | I am having this weird problem and don't
> | understand what the problem is.
> | 
> | When i sent mail to  [EMAIL PROTECTED] it actually
> | goes to [EMAIL PROTECTED] and gets bounced (no
> | 'aha' at norilsk.ru). But for other domains like
> | .bbb.pp in the same installation everything works
> | fine. The setup was done a lot of time ago and i might
> | be missing something.
> | [...]

The problem is that zp.norilsk.ru has a CNAME record, and the name is being
canonicalized to norilsk.ru by the MTA.

$ dnsqr any zp.norilsk.ru
255 zp.norilsk.ru:
45 bytes, 1+1+0+0 records, response, noerror
query: 255 zp.norilsk.ru
answer: zp.norilsk.ru 86261 CNAME norilsk.ru

Get rid if the CNAME record , and add an MX record or an A record (or both).

Chris

 PGP signature


Re: Reply To address

2001-04-20 Thread Chris Johnson

On Fri, Apr 20, 2001 at 02:11:20PM -0500, Bill Luckett wrote:
> How? I don't see a way to build/add headers with qmail-inject.

You can add any header that strikes your fancy:

$ /var/qmail/bin/qmail-inject [EMAIL PROTECTED] < From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> X-AHeaderIJustInvented: Whatever
> Subject: qmail-inject
>
> Here's the message body!
> EOF
$

Chris

 PGP signature


Re: pop3d, fixcrio, tcpserver

2001-04-17 Thread Chris Johnson

On Tue, Apr 17, 2001 at 06:49:44PM -0700, Michael Werneke wrote:
> I compiled qmail from source on a RedHat 6.2 Alpha processor box.
> qmail is running supervised and tcpserver is handling the tcp connections.
> pop3d is the chosen pop server and is also supervised.
> This had worked flawlessly until today.
> 
> Now pop connections are accepted, but then timeout.
> After I first noticed this, I added /usr/local/bin/fixcrio to my tcpserver
> invocations for smptd and pop3d.

I don't think fixcrio will do anything for qmail-pop3d.

> Even after a restart of all the associated daemons, pop3 connections keep
> timing out.

What client are you connecting with? Is it made by Microsoft? If you telnet to
port 110 and do a manual POP session, what happens?

Chris

 PGP signature


Re: Does the current ucspi-tcp support hostnames in tcp.smtp?

2001-04-17 Thread Chris Johnson

On Tue, Apr 17, 2001 at 05:57:52PM -0700, Frank Precissi wrote:
> My question: Does ucspi-tcp support hostnames?  If so, would they be 
> added as:
> 
> domain.com:allow,RELAYCLIENT=""
> or
> .domain.com:allow,RELAYCLIENT=""

I would guess that this would work. To confirm it, I'd try it and see what
happens.

Chris

 PGP signature


Re: Black Hole Mailbox

2001-04-17 Thread Chris Johnson

On Tue, Apr 17, 2001 at 05:23:25PM -0600, Keary Suska wrote:
> Will that also prevent qmail from following any further delivery
> instructions specified in a .qmail file?
> 
> In my situation, I have a .qmail file that turns delivery over to vpopmail.
> I have a .qmail-mileslink that turns delivery over to ezmlm. I want a
> .qmail-mileslink-blackhole that bit buckets all mail to that address. I want
> to make sure that qmail won't consult any of the other .qmail files after
> doing so. Will this technique accomplish this?

If qmail has decided that .qmail-mileslink-blackhole is the .qmail file in
charge, it'll follow the instructions in that file. It won't subsequently try
another file. If .qmail-mileslink-blackhole consists only of comments, then the
message will be blackholed.

Chris

 PGP signature


Re: Black Hole Mailbox

2001-04-17 Thread Chris Johnson

On Tue, Apr 17, 2001 at 04:31:17PM -0600, Keary Suska wrote:
> I want to create a virtual black hole mailbox using .qmail-user-box syntax.
> I have tried:
> cat > /dev/null
> and
> cat > /dev/null; exit 99
> 
> But in both cases qmail tries to deliver the message (which of course
> bounces since I don't have an actual delivery point).
> 
> Is there a particular process for creating blackhole mailboxes?

echo '#' > .qmail-whateverfileitis

Chris

 PGP signature


Re: smtp and pop not working

2001-04-13 Thread Chris Johnson

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

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

Chris

 PGP signature


Re: Some mail gets to my qmail server, some doesn't

2001-04-10 Thread Chris Johnson

On Tue, Apr 10, 2001 at 03:40:45PM -0700, Steve Quezadas wrote:
> Non-authoritative answer:
> pcrush.com  MX preference = 5, mail exchanger = 63.204.40.234

Your MX record points at an IP address. It should point at a name.

Chris

 PGP signature


Re: Hide firewall ?

2001-04-08 Thread Chris Johnson

On Mon, Apr 09, 2001 at 04:50:10AM +0200, Mike  A. Sauvain wrote:
> hyall, i need to hide the internal ip of my mailserver,
> it see them only in messages, where i send and recive on my host:
> 
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 2817 invoked from network); 9 Apr 2001 02:40:18 -
> Received: from 62.x.x.x (HELO client) ()
>   by 192.168.1.20 with SMTP; 9 Apr 2001 02:40:18 -
>  ^ ^^ ^^^

If you're using tcpserver, try putting this in your rules file:

192.168.1.:allow,TCPREMOTEHOST="",TCPREMOTEIP="",RELAYCLIENT=""

Chris

 PGP signature


Re: Very slow qmail response

2001-04-06 Thread Chris Johnson

On Fri, Apr 06, 2001 at 09:20:44PM +0200, Markus Stumpf wrote:
> And "-l 0" is also nonsense. This should be "-l localhostname" this is
> a NAME, not a number.

It can be whatever you want, and if you're not concerned about what is logged,
0 is as good as anything else. In fact, 0 is what DJB's publicfile's configure
program uses.

Chris

 PGP signature


Re: tcpserver help

2001-04-06 Thread Chris Johnson

On Fri, Apr 06, 2001 at 03:34:18PM -0400, Todd Kennedy wrote:
> I'm trying to run qmail with tcpserver, and running this command:
> 17:31:44 root:/etc>/usr/local/bin/tcpserver -u 518 -g 521 0 smtp 
> /var/qmail/bin/qmail-smtpd &
> 
> gives the following error messsage:
> tcpserver: fatal: unable to bind: address already used

Something is already listening to your SMTP port. Find out what it is and kill
it.

Chris

 PGP signature


Re: Can't establish SMTP connection (Error 4.4.1)

2001-04-06 Thread Chris Johnson

On Fri, Apr 06, 2001 at 12:23:33PM +0200, Frank Tegtmeyer wrote:
> > Any hints what I am missing in my configuration?
> 
> Did you restart qmail after establishing the route in smtproutes?

That's not necessary. smtproutes is reread by every new invocation of
qmail-remote.

Chris

 PGP signature


Re: unknown record type in ...

2001-04-05 Thread Chris Johnson

On Thu, Apr 05, 2001 at 11:16:53AM -0400, Smith, Lisa wrote:
> My apologies if this has already been asked and answered,

As far as I can tell from your message, the question still hasn't been asked.

> I've searched the archives and haven't seen anything on it

It?

> I've looked thru the docs that I have, and the only thing I have found is "a
> serious bug in qmail-send or qmail-queue".   
> 
> Does anyone know how to determine what the problem is, and how to fix it?  

What problem?

Chris

 PGP signature


Re: delay before checking mail with outlook

2001-04-05 Thread Chris Johnson

On Thu, Apr 05, 2001 at 04:59:38PM +0300, Christian Dressend wrote:
> Does anyone know why there is a long delay before Outlook checks and/or send
> mail through qmail?

Yes, everyone who's been reading this list for more than a day knows the answer
to this question, because it is by *far* the most frequently asked question.
Check the list archives (you won't have to look far).

Chris

 PGP signature


Re: Need HELP with QMAIL aliases !!!

2001-04-03 Thread Chris Johnson

On Tue, Apr 03, 2001 at 11:38:04AM -0400, Vincent O'Neill wrote:
> I am trying use '/etc/aliases' with qmail and can not get them to work
> correctly.

You gave a lot of details, but you failed to point out what the problem is.
What's not working correctly? What do the logs say?

Chris



Re: Secure Email?

2001-04-03 Thread Chris Johnson

On Tue, Apr 03, 2001 at 08:48:53AM +0100, Daniel Holden wrote:
> I haven't read entirely through the documentation yet but I was wondering if
> qmail supports secure email?  Is there documentation on setting this up?

What *is* "secure email"?

Chris



Re: dnscache vs dnscachex

2001-04-02 Thread Chris Johnson

On Mon, Apr 02, 2001 at 09:11:39PM -0400, Kirti S. Bajwa wrote:
> I have installed both "local DNS cache" and "external DNS cache" on the same
> machine.

You don't need to do that. Just install an external cache, and list the address
of the machine's external interface in /etc/resolv.conf. Both the machine
itself and external clients can use the same cache that way.

> I find that the default installation of "external DNS cache" listens on
> 127.0.0.1 & 63.113.255

No it doesn't. I think you mean that it'll allow connections from 127.0.0.1 and
63.113.255.*. It'll only listen on one address.

> whereas default installation of "local DNS cache" also listens on 127.0.0.1. 

See above.

> Therefore, am I to assume that if "external DNS cache" is installed on a
> machine, then there is no need to install "local DNS cache" on the SAME
> machine (and that it is redundant)?

That's correct. You just need one cache, and it can be used by remote clients
as well as themachine itself.

Chris

 PGP signature


Re: SMTP not working .....

2001-03-28 Thread Chris Johnson

On Wed, Mar 28, 2001 at 04:41:39PM -0800, John Cope wrote:
> I have qmail running configured to use LDAP to authenticate.  Courier-IMAP
> server running doing IMAP and POP3 also using LDAP to authenticate.  When I
> try to send a email message it hangs up and never connects.

What is the "it" that never connects? Are you sending a message from a remote
client to your server by SMTP? Are you sending a message from your server to a
remote host? What does "hangs up" mean? You're going to need to provide a
detail or two.

Chris

 PGP signature


Re: Random Bounce

2001-03-27 Thread Chris Johnson

On Tue, Mar 27, 2001 at 10:01:31AM -0800, jean wrote:
> The random bounce occurs both for aliased accounts and actual accounts.  The
> bounce message shows rcpt address as being correctly entered.  Can anyone
> suggest where to begin looking?  So I can steer the isp in the right
> direction?

I don't suppose you'd care to share one of these bounce messages with us, would
you? Otherwise, we'll have to rely on mind-reading.

Chris

 PGP signature


Re: New to Qmail, probably a stupid question...

2001-03-22 Thread Chris Johnson

On Thu, Mar 22, 2001 at 09:04:04PM -0800, Tyrone Mills wrote:
> The /var/log/maillog records several error mesages from sendmail,
> saying "Service unavailable".

Don't paraphrase. Just show us the actual log entries.

Chris

 PGP signature


  1   2   3   4   5   6   7   8   >