qmail Digest 20 Apr 1999 10:00:01 -0000 Issue 616

Topics (messages 24420 through 24487):

bounces
        24420 by: Anand Buddhdev <[EMAIL PROTECTED]>

qmail anti-SPAM relaying support ???
        24421 by: Erwann CORVELLEC <[EMAIL PROTECTED]>
        24422 by: Keith Burdis <[EMAIL PROTECTED]>
        24423 by: Chris Johnson <[EMAIL PROTECTED]>

qmail-local error
        24424 by: ivan <[EMAIL PROTECTED]>

Bad domain is not bounced back immediately?
        24425 by: Eric Dahnke <[EMAIL PROTECTED]>
        24426 by: Chris Johnson <[EMAIL PROTECTED]>
        24437 by: "Sam" <[EMAIL PROTECTED]>
        24439 by: Chris Johnson <[EMAIL PROTECTED]>

Qmail and tcpserver bootup script
        24427 by: "Jeff Lush" <[EMAIL PROTECTED]>
        24428 by: "Jeff Lush" <[EMAIL PROTECTED]>
        24429 by: "Soffen, Matthew" <[EMAIL PROTECTED]>
        24430 by: "Joe Garcia" <[EMAIL PROTECTED]>
        24432 by: Vince Vielhaber <[EMAIL PROTECTED]>
        24476 by: "Jeff Lush" <[EMAIL PROTECTED]>

Help: Avoiding qmail-smtp do a DNS-Lookup
        24431 by: "Joerg Toellner" <[EMAIL PROTECTED]>
        24433 by: Chris Johnson <[EMAIL PROTECTED]>

aol.com bounces... our problem or their problem?
        24434 by: David A Galbraith CIRT <[EMAIL PROTECTED]>
        24435 by: Scott Schwartz <[EMAIL PROTECTED]>
        24436 by: Chris Johnson <[EMAIL PROTECTED]>
        24438 by: "Sam" <[EMAIL PROTECTED]>
        24445 by: Peeter Pirn <[EMAIL PROTECTED]>

-ERR user has no $HOME/Maildir
        24440 by: "Jay" <[EMAIL PROTECTED]>

REPLY TO THIS ADDRESS  -ERR user has no $HOME/Maildir
        24441 by: "Jay" <[EMAIL PROTECTED]>
        24442 by: Chris Johnson <[EMAIL PROTECTED]>
        24444 by: "Reid Sutherland" <[EMAIL PROTECTED]>

Changing RH 5.1 to OpenLinux 2.2
        24443 by: Bill Parker <[EMAIL PROTECTED]>
        24475 by: "Sam" <[EMAIL PROTECTED]>

Another q about open relaying
        24446 by: olli <[EMAIL PROTECTED]>
        24447 by: Chris Johnson <[EMAIL PROTECTED]>
        24485 by: olli <[EMAIL PROTECTED]>

Already delivered to instead of bounce problem.
        24448 by: Greg Moeller <[EMAIL PROTECTED]>
        24451 by: Chris Johnson <[EMAIL PROTECTED]>

ERR User has no $HOME/maildir (STILL GETTING ERROR)
        24449 by: "Jay" <[EMAIL PROTECTED]>
        24456 by: "Jay" <[EMAIL PROTECTED]>
        24459 by: "Reid Sutherland" <[EMAIL PROTECTED]>
        24464 by: Keith Burdis <[EMAIL PROTECTED]>
        24466 by: "Reid Sutherland" <[EMAIL PROTECTED]>

oversized dns packet
        24450 by: xs <[EMAIL PROTECTED]>
        24455 by: Scott Schwartz <[EMAIL PROTECTED]>
        24457 by: xs <[EMAIL PROTECTED]>
        24461 by: Scott Schwartz <[EMAIL PROTECTED]>
        24463 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        24468 by: Richard Letts <[EMAIL PROTECTED]>
        24469 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        24470 by: Jeff Hayward <[EMAIL PROTECTED]>
        24472 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]>
        24473 by: David Villeger <[EMAIL PROTECTED]>
        24479 by: Scott Schwartz <[EMAIL PROTECTED]>

Sending messages
        24452 by: Adamo UNIX <[EMAIL PROTECTED]>
        24453 by: Chris Johnson <[EMAIL PROTECTED]>
        24462 by: Adamo UNIX <[EMAIL PROTECTED]>

Relay Question
        24454 by: Jim Beam <[EMAIL PROTECTED]>
        24458 by: Chris Johnson <[EMAIL PROTECTED]>

AOL Problems
        24460 by: Hitesh Patel <[EMAIL PROTECTED]>
        24477 by: "Sam" <[EMAIL PROTECTED]>

Solaris 7  x86 and number of process limitation
        24465 by: David Villeger <[EMAIL PROTECTED]>

Minor problem with leaving messages on server
        24467 by: "Rick McMillin" <[EMAIL PROTECTED]>
        24474 by: Eric Dahnke <[EMAIL PROTECTED]>
        24478 by: "Sam" <[EMAIL PROTECTED]>

qmail aliasing/virt users
        24471 by: Marco Leeflang <[EMAIL PROTECTED]>
        24480 by: RaTao von J <[EMAIL PROTECTED]>

problem with Maildir
        24481 by: "Jay & Julie" <[EMAIL PROTECTED]>
        24482 by: Juan Carlos Castro y Castro <[EMAIL PROTECTED]>

qmqpc reliability
        24483 by: Bruce Guenter <[EMAIL PROTECTED]>

MICROSOFT'S HOTMAIL USES QMAIL!!!!
        24484 by: Peter van Dijk <[EMAIL PROTECTED]>
        24486 by: John Conover <[EMAIL PROTECTED]>
        24487 by: Peter van Dijk <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


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


On Mon, Apr 19, 1999 at 11:48:10AM +0200, Bart Blanquart wrote:

> > Hi. This is the qmail-send program at julia.argo.be.
> > I tried to deliver a bounce message to this address, but the bounce bounced!
> > 
> > <[EMAIL PROTECTED]>:
> > Connected to 207.112.133.160 but sender was rejected.
> > Remote host said: 501 bogus mail from
> > 
> > --- Below this line is the original bounce.
> <snip>
> 
> I am correct in assuming that the other side is refusing these messages
> because it can't handle <> ?
> Or is there something misconfigured at my side?

That machine is running Windows IMail, which is refusing an envelope sender
of <>. It's broken. There is no misconfiguration on your side. If you want
to do something about it, write to the postmaster there and tell them to
read RFC 821 sections 5.2.9 and 5.3.3

-- 
System Administrator
See complete headers for address, homepage and phone numbers




I have a local network (PC Win9x) and a qmail server (Linux) both connected to the Net.
I want to allow only the local network to use the qmail SMTP server to relay mail. 
This to avoid spam relaying...
So I read the "Selective relaying with tcpserver and qmail-smtpd" documentation but I 
don't want to use the ucspi-tcp solution for two reasons:
- I run qmail as a standalone daemon
- The system is a Linux Debian one so it is using inetd, and to avoid 
incompatibilities with this distribution I don't want to use solutions that are not 
officialy supported...

Is there another solution ???

I seriously consider to stop using qmail. As there are too many add-ons I find qmail 
has limited functionalities by its own: It is the second time I have a problem and I 
am getting disappointed... :(
Here was my first problem: I have a callback connection to the Net so I wanted qmail 
to send mails (ie to empty its queue) only every half hour to limit the costs. But 
that is not possible except via a add-on/patch once again... :(
It's a shame because qmail is nice on other points like security, control files or 
aliases.
What about qmail 2.0 with more built-in functionnalities ??? ;)

ECO.
~~~~




On Mon 1999-04-19 (15:00), Erwann CORVELLEC wrote:
> I have a local network (PC Win9x) and a qmail server (Linux) both connected to the 
>Net.
> I want to allow only the local network to use the qmail SMTP server to relay mail. 
>This to avoid spam relaying...
> So I read the "Selective relaying with tcpserver and qmail-smtpd" documentation but 
>I don't want to use the ucspi-tcp solution for two reasons:
> - I run qmail as a standalone daemon
> - The system is a Linux Debian one so it is using inetd, and to avoid 
>incompatibilities with this distribution I don't want to use solutions that are not 
>officialy supported...
> 
> Is there another solution ???
> 
> I seriously consider to stop using qmail. As there are too many add-ons I find qmail 
>has limited functionalities by its own: It is the second time I have a problem and I 
>am getting disappointed... :(
> Here was my first problem: I have a callback connection to the Net so I wanted qmail 
>to send mails (ie to empty its queue) only every half hour to limit the costs. But 
>that is not possible except via a add-on/patch once again... :(
> It's a shame because qmail is nice on other points like security, control files or 
>aliases.
> What about qmail 2.0 with more built-in functionnalities ??? ;)

The qmail system is built using the philosphy of having many small utilities
that do one thing really well, and then combining these utilities to make
something useful happen. (A process that has been referred to as Bernstein
chaining, coined by Russ Nelson I think). I'm sure you must have noticed that
qmail delivery takes place using a number of seperate programs that
communicate will each other in well defined ways. It just so happens that the
programs that you need for basic mail delivery are packaged all together in
the qmail-1.03 tarball. In order to do other useful stuff you need the
utilities supplied in the daemontools, ucspi-tcp and perhaps other packages.

If you wish to use qmail sucessfully you have to buy into the philosopy of
how it works. It is completely different to sendmail that has pretty much
everything built into a single binary. However, unlike sendmail it is small,
fast and secure.

  - Keith

> ECO.

-- 
Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa  
Email   : [EMAIL PROTECTED]
WWW     : http://www.rucus.ru.ac.za/~keith/
IRC     : Panthras                                          JAPH

"Any technology sufficiently advanced is indistinguishable from a perl script"

Standard disclaimer.
---




On Mon, Apr 19, 1999 at 03:00:01PM +0000, Erwann CORVELLEC wrote:
> I have a local network (PC Win9x) and a qmail server (Linux) both connected
> to the Net.  I want to allow only the local network to use the qmail SMTP
> server to relay mail. This to avoid spam relaying...
> So I read the "Selective relaying with tcpserver and qmail-smtpd"
> documentation but I don't want to use the ucspi-tcp solution for two reasons:
> - I run qmail as a standalone daemon

You don't run qmail-smtpd as a stand-alone daemon. There's no such thing.

> - The system is a Linux Debian one so it is using inetd, and to avoid
> incompatibilities with this distribution I don't want to use solutions that
> are not officialy supported...
> 
> Is there another solution ???

See FAQ 5.4. It'll tell you how to set RELAYCLIENT if you're using inetd. But
if you're interested in an "officially supported" configuration, note that
running qmail-smtpd from inetd is no longer officially supported by DJB.

> I seriously consider to stop using qmail. As there are too many add-ons I
> find qmail has limited functionalities by its own: It is the second time I
> have a problem and I am getting disappointed... :(
>
> Here was my first problem: I have a callback connection to the Net so I
> wanted qmail to send mails (ie to empty its queue) only every half hour to
> limit the costs. But that is not possible except via a add-on/patch once
> again... :( It's a shame because qmail is nice on other points like security,
> control files or aliases.  What about qmail 2.0 with more built-in
> functionnalities ??? ;)

I hope not. One of the best things about qmail is the modularity. I'd hate to
see qmail turn into a big monolithic program like sendmail (and I'm not worried
that it'll happen).

Chris




hi,

I get this error in /var/log/qmail :

....... delivery 1 : deferral : Unable_to_chdir_to_maildir._ (#4.2.1)/

I have in passwd file, home directory :
/var/log/qmail/maildirs/digicom-bg/xxx   Also in users/assign (it is compiled
in cdb)

=xxx:xxx:82:80:/var/qmail/maildirs/digicom-bg/xxx:::
..

 In ./defaultdelivery/rc

/var/qmail/maildirs/

Also I tried :

qmail-local -n xxx '/var/qmail/maildirs/digicom-bg/xxx' xxx '' '' '' ''
'/var/qmail/maildirs/digicom-bg/'

and I get the following result :

maildir /var/qmail/maildirs/digicom-bg/xxx/
did 1+0+0


Where I'm wrong. Please help me ....

=====
[EMAIL PROTECTED]
=====




Hello List,

With other mailers upon sending a message with a bad domain, the sender
receives a rather quick return message saying that the mailer was unable
to deliver the message, but will continue trying for a predetermined
number of attempts/time.

Qmail does this, but does not kick a message back to the user telling
them so. Is there a way to configure qmail to send that message.


Regards - Eric




On Mon, Apr 19, 1999 at 12:08:23PM -0300, Eric Dahnke wrote:
> Hello List,
> 
> With other mailers upon sending a message with a bad domain, the sender
> receives a rather quick return message saying that the mailer was unable
> to deliver the message, but will continue trying for a predetermined
> number of attempts/time.
> 
> Qmail does this, but does not kick a message back to the user telling
> them so. Is there a way to configure qmail to send that message.

The stock qmail doesn't do it. Check http://www.erols.com/bwightman/qmail. I
haven't used this, but it's supposed to do what you're looking for.

Chris




Chris Johnson writes:

> On Mon, Apr 19, 1999 at 12:08:23PM -0300, Eric Dahnke wrote:
> > Hello List,
> > 
> > With other mailers upon sending a message with a bad domain, the sender
> > receives a rather quick return message saying that the mailer was unable
> > to deliver the message, but will continue trying for a predetermined
> > number of attempts/time.
> > 
> > Qmail does this, but does not kick a message back to the user telling
> > them so. Is there a way to configure qmail to send that message.
> 
> The stock qmail doesn't do it.

It most certainly does.  If the DNS returns a temporary failure code, mail
is held.  If DNS returns an authoritative domain not exists error, the mail
is immediately bounced.

-- 
Sam





On Mon, Apr 19, 1999 at 03:58:58PM +0000, Sam wrote:
> Chris Johnson writes:
> 
> > On Mon, Apr 19, 1999 at 12:08:23PM -0300, Eric Dahnke wrote:
> > > Hello List,
> > > 
> > > With other mailers upon sending a message with a bad domain, the sender
> > > receives a rather quick return message saying that the mailer was unable
> > > to deliver the message, but will continue trying for a predetermined
> > > number of attempts/time.
> > > 
> > > Qmail does this, but does not kick a message back to the user telling
> > > them so. Is there a way to configure qmail to send that message.
> > 
> > The stock qmail doesn't do it.
> 
> It most certainly does.  If the DNS returns a temporary failure code, mail
> is held.  If DNS returns an authoritative domain not exists error, the mail
> is immediately bounced.

Right, but I think he's looking for the sendmail-type warning that says that
"Your message couldn't be sent for X hours, but I'll keep trying" (or
whatever).  qmail doesn't do any warning for temporary DNS errors.

Chris




Hello all,

I am a bit of a newbie to Unix and installed qmail for the first time this
weekend on FreeBSD 3.1. Installation and configuration was really very
straight forward. In no time I had setup selective relaying for my LAN and
pop3 with checkpassword (kudos to everyone with documentation on these
topics, without you people like me would be lost!). My only problem is:

As the FAQs and docs require, I added two lines to my startup script:

1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
/var/qmail/bin/qmail-smtpd &"

2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"

I added these into the rc.conf file under /etc.

When the machine reboots, I get an error near the end of the script saying
"tcpserver not found"; however, when I manually key in the commands at the
prompt, they work fine.

I suspect I have placed the tcpserver commands into the wrong boot script,
but I am not sure which others to use.

Any assistance on this would be greatly appreciated.

Thanks,

Jeff Lush
mailto:[EMAIL PROTECTED]





Hello all,

I am a bit of a newbie to Unix and installed qmail for the first time this
weekend on FreeBSD 3.1. Installation and configuration was really very
straight forward. In no time I had setup selective relaying for my LAN and
pop3 with checkpassword (kudos to everyone with documentation on these
topics, without you people like me would be lost!). My only problem is:

As the FAQs and docs require, I added two lines to my startup script:

1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
/var/qmail/bin/qmail-smtpd &"

2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"

I added these into the rc.conf file under /etc.

When the machine reboots, I get an error near the end of the script saying
"tcpserver not found"; however, when I manually key in the commands at the
prompt, they work fine.

I suspect I have placed the tcpserver commands into the wrong boot script,
but I am not sure which others to use.

Any assistance on this would be greatly appreciated.

Thanks,

Jeff Lush
mailto:[EMAIL PROTECTED]





Ok.. 

1) The best place to add "user" scripts is in the /usr/local/etc/rc.d/
directory.  You make a little /usr/local/etc/rc.d/qmail.sh file to run
that command.  (this will save it from upgrade to upgrade).  The files
in /usr/local/etc/rc.d/ are run after /etc/rc.* are done but before you
log in.

B) Your path is not initialized at that point.  You should put the
explicit path to tcpserver in your startup script.  This way it will not
require anything extra in the path to start it.

> -----Original Message-----
> From: Jeff Lush [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 19, 1999 11:25 AM
> To:   [EMAIL PROTECTED]
> Subject:      Qmail and tcpserver bootup script
> 
> Hello all,
> 
> I am a bit of a newbie to Unix and installed qmail for the first time
> this
> weekend on FreeBSD 3.1. Installation and configuration was really very
> straight forward. In no time I had setup selective relaying for my LAN
> and
> pop3 with checkpassword (kudos to everyone with documentation on these
> topics, without you people like me would be lost!). My only problem
> is:
> 
> As the FAQs and docs require, I added two lines to my startup script:
> 
> 1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
> /var/qmail/bin/qmail-smtpd &"
> 
> 2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"
> 
> I added these into the rc.conf file under /etc.
> 
> When the machine reboots, I get an error near the end of the script
> saying
> "tcpserver not found"; however, when I manually key in the commands at
> the
> prompt, they work fine.
> 
> I suspect I have placed the tcpserver commands into the wrong boot
> script,
> but I am not sure which others to use.
> 
> Any assistance on this would be greatly appreciated.
> 
> Thanks,
> 
> Jeff Lush
> mailto:[EMAIL PROTECTED]




Type "whereis tcpserver" and use the full pathname to tcpserver that it
gives you.  problem fixed

Joe

> -----Original Message-----
> From: Jeff Lush [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 19, 1999 11:25 AM
> To: [EMAIL PROTECTED]
> Subject: Qmail and tcpserver bootup script
>
>
> Hello all,
>
> I am a bit of a newbie to Unix and installed qmail for the first time this
> weekend on FreeBSD 3.1. Installation and configuration was really very
> straight forward. In no time I had setup selective relaying for my LAN and
> pop3 with checkpassword (kudos to everyone with documentation on these
> topics, without you people like me would be lost!). My only problem is:
>
> As the FAQs and docs require, I added two lines to my startup script:
>
> 1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
> /var/qmail/bin/qmail-smtpd &"
>
> 2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"
>
> I added these into the rc.conf file under /etc.
>
> When the machine reboots, I get an error near the end of the script saying
> "tcpserver not found"; however, when I manually key in the commands at the
> prompt, they work fine.
>
> I suspect I have placed the tcpserver commands into the wrong boot script,
> but I am not sure which others to use.
>
> Any assistance on this would be greatly appreciated.
>
> Thanks,
>
> Jeff Lush
> mailto:[EMAIL PROTECTED]
>





On Mon, 19 Apr 1999, Jeff Lush wrote:

> Hello all,
> 
> I am a bit of a newbie to Unix and installed qmail for the first time this
> weekend on FreeBSD 3.1. Installation and configuration was really very
> straight forward. In no time I had setup selective relaying for my LAN and
> pop3 with checkpassword (kudos to everyone with documentation on these
> topics, without you people like me would be lost!). My only problem is:
> 
> As the FAQs and docs require, I added two lines to my startup script:
> 
> 1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
> /var/qmail/bin/qmail-smtpd &"
> 
> 2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"
> 
> I added these into the rc.conf file under /etc.

You don't want to add these there, you want to add them to /var/qmail/rc
since it has the right environment.  Put these lines ABOVE the qmail-start
line.  Then make sure you start qmail using this script as in the INSTALL
file.  You can use rc.local to start it.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================








> On Mon, 19 Apr 1999, Jeff Lush wrote:
>
> > Hello all,
> >
> > I am a bit of a newbie to Unix and installed qmail for the
> first time this
> > weekend on FreeBSD 3.1. Installation and configuration was really very
> > straight forward. In no time I had setup selective relaying for
> my LAN and
> > pop3 with checkpassword (kudos to everyone with documentation on these
> > topics, without you people like me would be lost!). My only problem is:
> >
> > As the FAQs and docs require, I added two lines to my startup script:
> >
> > 1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
> > /var/qmail/bin/qmail-smtpd &"
> >
> > 2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
> > /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"
> >
> > I added these into the rc.conf file under /etc.
>
> You don't want to add these there, you want to add them to /var/qmail/rc
> since it has the right environment.  Put these lines ABOVE the qmail-start
> line.  Then make sure you start qmail using this script as in the INSTALL
> file.  You can use rc.local to start it.

I have tried the instructions above and when I restart, sure enough
tcpserver-smtp and tcpserver-popup are running. Tcpserver-smtp as alias and
tcpserver-popup as root; however, something very bizarre has happened. Now
when I attempt to log in with a client, the password for the user is
rejected. I kill the tcpserver-popup process and restart is manually and the
same thing happens.

I have checked the checkpassword file by sending the command with the
instructions found in the INSTALL file in the checkpassword-0.81 directory.
This accepts the user and password with no problems.

The password for the user was appected before adding the commands to the
/var/qmail/rc file.

Any ideas?

Thanks for the help.

Jeff Lush





Hello all,

im running a linux computer as an email relay and gateway from our LAN to
our ISP with qmail as our mta. I didnt set up or use an own DNS-Server.
Instead we use the /etc/hosts file. All our clients are in this file of
course and etc/resolve.conf says: hosts bind.

All works fine until diald is running to bring up the dialup-connection when
it is neccesary. Without diald i can post emails via smtp from my
win95-outlook to qmail and it delivers the mail to the local homedir of the
user or via a catchall-alias to a relay-maildir for later delivering.

if diald is running this job suddenly didnt work anymore. The mails wont go
out of my outlook. Killing diald ... and all works fine again.

I discovered that the problem is, that qmail-smtp seems to do a dns-lookup
when a smtp-request comes in. This results in that diald brings up the
connection and if the dns isnt reachable in the hanging of the mails.

This effect appears even if i "telnet" on the linux-computer to the
smtp-port (entering at the commandline: telnet localhost smtp). I can
telnet-login to this, but the diald-queue is filled with dns-requests. And i
think there must not be a DNS-Request for "localhost", isnt it? All other
ports i tried (i.E. ftp) dont show up this behavior. So it MUST be
qmail-smtp who is the "bad boy".

Strange is, that this DNS-Lookup-Requests appear even if the mail is
addressed to a local user within our LAN or with an homedir on this
localhost.

As we dont want the connection to come up every time s.o. writes and sends a
mail (we want the mail collected and batch-delivered) i need to disable this
behavior of qmail-smtp or a configuration that works around this.

So my question is:
a) can i somehow disable the DNS-Lookup from qmail-smtp?
b) is there another way to workaround this annoying dns-requests?

Please help me soon if you can. I need the solution really urgent.
Thank you in advance for your good cooperation.

CYA
Joerg Toellner





On Mon, Apr 19, 1999 at 05:24:41PM +0200, Joerg Toellner wrote:
> a) can i somehow disable the DNS-Lookup from qmail-smtp?

qmail-smtpd doesn't do the DNS lookup; whatever you start it from does. If
you're starting it from tcpserver, investigate the -H option.

Chris






I'm getting a bunch of these in the logs...

921710651.349026 starting delivery 46759: msg 2501 to remote  [EMAIL PROTECTED]
921710651.378220 delivery 46759: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/


Is this something I should fix/can fix? or is this something aol has
broken?

Thanks,
-d.


+-----------------------------------------------------------------------+
|      David Galbraith    dgalb@              University Of New Mexico  |
|        Systems Analyst       unm.edu                (505)-277-8499    |
+-----------------------------------------------------------------------+





David A Galbraith CIRT <[EMAIL PROTECTED]> writes:
| 921710651.349026 starting delivery 46759: msg 2501 to remote  [EMAIL PROTECTED]
| 921710651.378220 delivery 46759: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
| 
| 
| Is this something I should fix/can fix? or is this something aol has
| broken?

Yes, it's a deliberate bug in dns.c.  The simplest fix is this:

diff -r1.1 dns.c
24c24
< static union { HEADER hdr; unsigned char buf[PACKETSZ]; } response;
---
> static union { HEADER hdr; unsigned char buf[1<<15]; } response;





On Mon, Apr 19, 1999 at 09:35:29AM -0600, David A Galbraith CIRT wrote:
> 
> 
> I'm getting a bunch of these in the logs...
> 
> 921710651.349026 starting delivery 46759: msg 2501 to remote  [EMAIL PROTECTED]
> 921710651.378220 delivery 46759: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
> 
> 
> Is this something I should fix/can fix? or is this something aol has
> broken?

This came up a few days ago. The problem is that AOL is returning greater than
512 bytes for an "any" lookup, and qmail doesn't handle that. (There was a huge
flame war with Dan on the subject several months ago.)

There are a couple of solutions to the problem. One is to patch qmail to handle
these larger DNS responses. Check http://www.qmail.org for patches. The easier
solution is to avoid AOL DNS lookups altogether by making an entry in
smtproutes for AOL. Look up the MX records for aol.com manually, and put one of
the best-preference MX exchangers in control/smtproutes, like so:

aol.com:za.mx.aol.com

Chris




David A Galbraith CIRT writes:

> 
> 
> I'm getting a bunch of these in the logs...
> 
> 921710651.349026 starting delivery 46759: msg 2501 to remote  [EMAIL PROTECTED]
> 921710651.378220 delivery 46759: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
>
> Is this something I should fix/can fix? or is this something aol has
> broken?

Most likely is that the large DNS response packet for the aol.com is
getting truncated, breaking Qmail.

Either hardcode one of AOL's mail servers into your smtprouters, or patch
Qmail to support larger DNS packets.

-- 
Sam





According to the FAQ:

2.5. How do I deal with ``CNAME lookup failed temporarily''? The log
showed that a message was deferred for this reason. Why is qmail doing
CNAME lookups, anyway?

Answer: The SMTP standard does not permit aliased hostnames, so qmail
has to do a CNAME lookup in DNS for every recipient host. If the
relevant DNS server is down, qmail defers the message. It will try again
soon.

-----Original Message-----
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 19, 1999 11:02 AM
Cc: [EMAIL PROTECTED]
Subject: Re: aol.com bounces... our problem or their problem?


David A Galbraith CIRT writes:

>
>
> I'm getting a bunch of these in the logs...
>
> 921710651.349026 starting delivery 46759: msg 2501 to remote
[EMAIL PROTECTED]
> 921710651.378220 delivery 46759: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
>
> Is this something I should fix/can fix? or is this something aol has
> broken?

Most likely is that the large DNS response packet for the aol.com is
getting truncated, breaking Qmail.

Either hardcode one of AOL's mail servers into your smtprouters, or patch
Qmail to support larger DNS packets.

--
Sam






Hi,
I'm trying to get the qmail pop3d working, and the error message I keep
getting when I am checking mail is -ERR user has no $HOME/Maildir
/home/whoever/Mailbox exists, and I specify  /bin/checkpassword
/var/qmail/bin/qmail-pop3d Mailbox
in inetd.conf
any ideas?





Sorry, I sent that last one using the wrong addy
 
Hi,
I'm trying to get the qmail pop3d working, and the error message I keep
getting when I am checking mail is -ERR user has no $HOME/Maildir
/home/whoever/Mailbox exists, and I specify  /bin/checkpassword
/var/qmail/bin/qmail-pop3d Mailbox
in inetd.conf
any ideas?




On Mon, Apr 19, 1999 at 12:43:23PM -0400, Jay wrote:
> Sorry, I sent that last one using the wrong addy
> 
> Hi,
> I'm trying to get the qmail pop3d working, and the error message I keep
> getting when I am checking mail is -ERR user has no $HOME/Maildir
> /home/whoever/Mailbox exists, and I specify  /bin/checkpassword
> /var/qmail/bin/qmail-pop3d Mailbox
> in inetd.conf
> any ideas?

Are you using maildir delivery? There's no law against having maildirs called
Mailbox, but I suspect that you're actually using mailbox delivery, not
maildir.

qmail-pop3d works only with maildir delivery. You'll have either to convert to
maildir delivery (see INSTALL.maildir) or use a different POP daemon.

Chris




Also verify in your /etc/passwd file that the homedir entry is the same as
the actual user's homedir and that it exsists!

And make sure in /var/qmail/rc it states ./Maildir/ instead of /Mailbox (or
something similar)

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-----Original Message-----
From: Chris Johnson <[EMAIL PROTECTED]>
To: Jay <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, April 19, 1999 12:55 PM
Subject: Re: REPLY TO THIS ADDRESS -ERR user has no $HOME/Maildir


>On Mon, Apr 19, 1999 at 12:43:23PM -0400, Jay wrote:
>> Sorry, I sent that last one using the wrong addy
>>
>> Hi,
>> I'm trying to get the qmail pop3d working, and the error message I keep
>> getting when I am checking mail is -ERR user has no $HOME/Maildir
>> /home/whoever/Mailbox exists, and I specify  /bin/checkpassword
>> /var/qmail/bin/qmail-pop3d Mailbox
>> in inetd.conf
>> any ideas?
>
>Are you using maildir delivery? There's no law against having maildirs
called
>Mailbox, but I suspect that you're actually using mailbox delivery, not
>maildir.
>
>qmail-pop3d works only with maildir delivery. You'll have either to convert
to
>maildir delivery (see INSTALL.maildir) or use a different POP daemon.
>
>Chris
>





Hello,

        I am going to wipe RH 5.1 off of my test Linux box, and install
OpenLinux 2.2 (the latest distro from Caldera)...Now since it is 
glibc based, I have a few questions about drive layout:

        The following products are going to be installed on the hard
        drive:

        qmail 1.03
        ssh 1.2.26
        VNC
        apache (comes with OpenLinux 2.2)
        and a few other things...

        Now what drive partitions should I make when installing
        OpenLinux 2.2, should I look to keep users and extra
        software like qmail, ssh, VNC, etc on a separate partition
        and just mount it at boot-up?  Has anyone compiled qmail 1.03
        on a glibc based system, and will the 2.2.5 kernel cause me
        any admin problems

This machine is the back up for my production box, which is OpenLinux
1.2 (2.0.36 kernel)...Any tips would be useful...

-Bill





Bill Parker writes:

>       and just mount it at boot-up?  Has anyone compiled qmail 1.03
>       on a glibc based system,

No problems here.

-- 
Sam





On Fri, 16 Apr 1999, Chris Johnson wrote:
> > I am having trouble preventing Qmail from doing open relaying without
> > stopping mail service entirely. This is on a system that runs Listserv(R)
> > from the L-Soft Corporation. When I put the system's name (and aliases) in
> > a rcpthosts file, open relaying stops. The problem is that no one can send
then Ur host work as relay only for itself.

> > e-mail to any account on this system. Qmail says that the sending system
> > is not allowed to relay. I do not understand this. In sendmail, I can stop
> > third party relaying without totally disabaling mail functionality on the
> > system, but I can't figure out how to do this with qmail. The Qmail FAQ
> > file was unclear on this subject, which is why I am asking here.
The Qmail FAQ contains almost enougth to turn off relaying. See selective
mail relay part. For this U should install some additional programmes &
have the string like below in the file starting qmail:
/usr/local/tcpserver/bin/tcpserver -R -x/etc/tcp.smtp.cdb -c100 -u<uid> -g<gid> 0 smtp 
/var/qmail/bin/qmail-smtpd &
This is 
Also disable smtp in inetd.conf & make right tcp.smtp.cdb file as
described in FAQ. Make shure that no special chars are in tcp.smtp.cdb or
this won't work - I got problems once w/ this.

> What do you mean by "put the system's name (and aliases) in rcpthosts"?
> rcpthosts should be a list of domains for which you're willing to receive mail
> via SMTP. Some of these domains might be the same as your server's name and
> aliases; then again, none of them may be, and your server may have aliases for
> which you don't want to receive mail.
I think rcpthosts should contain only hostname & aliases for it. All
clients that should be allowed for sending mail should be configured via
tcp.smtp.cdb as in FAQ . Then all them will be allowed for sending mail to
anywhere . All others cannot send anything through Ur host to nonlocal
accounts. BTW: Is it possible to allow some clients send mail only to some
domains? 

> Make sure that your rcpthosts file contains only domains that are listed in
> locals or virtualdomains, and domains for which you're acting as secondary
> mail
> exchanger. Then you will be safe from unauthorized (or for that matter, any)
> relaying, and you'll still be able to receive mail for any of the domains you
> host.
But if I've domain in rcpthosts this domain is able to relay via my
host.Thus I think that rcpthosts should contain only hostname & aliases
for it. Am I wrong?

Bye.Olli.





On Mon, Apr 19, 1999 at 09:38:17PM -0300, olli wrote:
> But if I've domain in rcpthosts this domain is able to relay via my
> host.Thus I think that rcpthosts should contain only hostname & aliases
> for it. Am I wrong?

You're wrong. rcpthosts has nothing at all to with who can relay. It is a list
of domains *for* which you're willing to receive mail via SMTP.

If a remote host, during the course of an SMTP conversation, says:

RCPT TO:<[EMAIL PROTECTED]>

then somedomain.com had better be in rcpthosts, or else the mail will be
rejected (unless you've set RELAYCLIENT in qmail-smtpd's environment, which is
how selective relaying is implemented). Whether there exists an actual host
named somedomain.com is irrelevant.

Chris




On Mon, 19 Apr 1999, Chris Johnson wrote:
> > But if I've domain in rcpthosts this domain is able to relay via my
> > host.Thus I think that rcpthosts should contain only hostname & aliases
> > for it. Am I wrong?
> You're wrong. rcpthosts has nothing at all to with who can relay. It is a list
> of domains *for* which you're willing to receive mail via SMTP.
> If a remote host, during the course of an SMTP conversation, says:
> RCPT TO:<[EMAIL PROTECTED]>
> then somedomain.com had better be in rcpthosts, or else the mail will be
> rejected (unless you've set RELAYCLIENT in qmail-smtpd's environment, which is
> how selective relaying is implemented). Whether there exists an actual host
> named somedomain.com is irrelevant.
WEll,but if I've two domains in rcpthosts:
somedomain1.com
somedomain2.com
any user on somedomain1.com able to send any mail to any user on
somedomain2.com & vise versa.That's not good,especialy if U're using
.com & .net as a wildcard.This is a kind of mail relay. That what I meant by 
"this domain is able to relay".


Bye.Olli.





I'm still working the last of my problems with integrating the mailserver here.

I setup a default forward for our main domain and made that domain a virtual 
domain so that I could control the order of delivery. (alias check before 
local delivery) That part is working correctly.  What isn't working is if an 
Email is sent to a nonexistant user.  Instead of the "I'm sorry, he ain't 
here" message, I get a "I've already tried to deliver this" message.
What I'm thinking is that the .qmail-default is falling through local delivery 
and then the rest of the system is trying to deliver it again.
# cat ~alias/.qmail-default
| fastforward -d -p /etc/aliases.cdb
| forward "$DEFAULT"

What would be the correct way to get delivery to terminate correctly?
I'll throw a sample header at the end of the Email.

Thanks.

Greg

------------------------------------------------------
Hi. This is the qmail-send program at toolbox.total.net.
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]>:
This message is looping: it already has my Delivered-To line. (#5.4.6)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 9731 invoked by alias); 15 Apr 1999 22:06:28 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9724 invoked by alias); 15 Apr 1999 22:06:28 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7815 invoked from network); 15 Apr 1999 22:05:42 -0000
Received: from unknown (HELO wormwood.gawd.mb.ca) (204.112.93.65)
  by mx.total.net with SMTP; 15 Apr 1999 22:05:42 -0000
Received: (qmail 6376 invoked from network); 15 Apr 1999 22:05:21 -0000
Received: from moe.gawd.mb.ca (204.112.93.66)
  by wormwood.gawd.mb.ca with SMTP; 15 Apr 1999 22:05:21 -0000
X-Mailer: exmh version 2.0.2
To: [EMAIL PROTECTED]
Subject: Test EMail #2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 15 Apr 1999 17:05:01 -0500
From: Greg Moeller <[EMAIL PROTECTED]>

Another bad user test.

Greg






On Mon, Apr 19, 1999 at 12:53:39PM -0500, Greg Moeller wrote:
> I'm still working the last of my problems with integrating the mailserver here.
> 
> I setup a default forward for our main domain and made that domain a virtual 
> domain so that I could control the order of delivery. (alias check before 
> local delivery) That part is working correctly.  What isn't working is if an 
> Email is sent to a nonexistant user.  Instead of the "I'm sorry, he ain't 
> here" message, I get a "I've already tried to deliver this" message.
> What I'm thinking is that the .qmail-default is falling through local delivery 
> and then the rest of the system is trying to deliver it again.
> # cat ~alias/.qmail-default
> | fastforward -d -p /etc/aliases.cdb
> | forward "$DEFAULT"
> 
> What would be the correct way to get delivery to terminate correctly?
> I'll throw a sample header at the end of the Email.

You're correct--when the delivery is to a non-existent local user, the delivery
gets handled by ~alias/.qmail-default again; hence the loop.

What you'd need to do is handle your virtual domains with something like
~alias/.qmail-virtual-default, with the appropriate adjustment to your
virtualdomains file. Then delivery would still fall through to
~alias/.qmail-default, but this would contain different instructions than
~alias/.qmail-virtual-default (or it wouldn't exist at all).

Chris




OK, thanks for your help so far, but I am still getting the error
 
/home/whoever/Maildir
exists now, and it has mail in it but outlook express responds first with  rejecting the password, but gives me that same error again.

ERR User has no $HOME/maildir

any other ideas?






----- Original Message -----
From: Chris Johnson <[EMAIL PROTECTED]>
To: Jay <[EMAIL PROTECTED]>
Sent: Monday, April 19, 1999 2:16 PM
Subject: Re: ERR User has no $HOME/maildir (STILL GETTING ERROR)


> On Mon, Apr 19, 1999 at 02:01:13PM -0400, Jay wrote:
> > OK, thanks for your help so far, but I am still getting the error
> >
> > /home/whoever/Maildir exists now, and it has mail in it but outlook
express
> > responds first with  rejecting the password, but gives me that same
error
> > again.  ERR User has no $HOME/maildir
>
> Is Maildir a file or a directory? And if it's a directory, is it a
maildir, as
> created by /var/qmail/bin/maildirmake?
>
> Chris
>





Did you check the /etc/passwd file to make sure it's pointing to the right dir? Such as /home/whoever.
 
Also, chown the home to that person, chown -R whoever /home/whoever
 
Try those.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5
-----Original Message-----
From: Jay <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, April 19, 1999 2:05 PM
Subject: ERR User has no $HOME/maildir (STILL GETTING ERROR)

OK, thanks for your help so far, but I am still getting the error
 
/home/whoever/Maildir
exists now, and it has mail in it but outlook express responds first with  rejecting the password, but gives me that same error again.

ERR User has no $HOME/maildir

any other ideas?





On Mon 1999-04-19 (14:01), Jay wrote:
> 
>    OK, thanks for your help so far, but I am still getting the error
>    
>    
>    
>    /home/whoever/Maildir
>    
>    exists now, and it has mail in it but outlook express responds first
>    with  rejecting the password, but gives me that same error again.
>    
>    ERR User has no $HOME/maildir
>    
>    any other ideas?

Perhaps your checkpassword is not working properly. Have a look on
www.qmail.org under the "Alternative Checkpassword Implementations" section
for Mark Delany's tip on how to check if your checkpassword is working
correctly.

  - Keith
-- 
Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa  
Email   : [EMAIL PROTECTED]
WWW     : http://www.rucus.ru.ac.za/~keith/
IRC     : Panthras                                          JAPH

"Any technology sufficiently advanced is indistinguishable from a perl script"

Standard disclaimer.
---




That's a little incorrect, if checkpassword wasn't working it would give
'-ERR authentication failed' when connecting to the POP3 service.

This has to do with qmail-local.

Reid Sutherland
Network Administrator
ISYS Technology Inc.
http://www.isys.ca
Fingerprint: 1683 001F A573 B6DF A074  0C96 DBE0 A070 28BE EEA5

-----Original Message-----
From: Keith Burdis <[EMAIL PROTECTED]>
To: Qmail Users Mailing List <[EMAIL PROTECTED]>
Date: Monday, April 19, 1999 3:28 PM
Subject: Re: ERR User has no $HOME/maildir (STILL GETTING ERROR)


>On Mon 1999-04-19 (14:01), Jay wrote:
>>
>>    OK, thanks for your help so far, but I am still getting the error
>>
>>
>>
>>    /home/whoever/Maildir
>>
>>    exists now, and it has mail in it but outlook express responds first
>>    with  rejecting the password, but gives me that same error again.
>>
>>    ERR User has no $HOME/maildir
>>
>>    any other ideas?
>
>Perhaps your checkpassword is not working properly. Have a look on
>www.qmail.org under the "Alternative Checkpassword Implementations" section
>for Mark Delany's tip on how to check if your checkpassword is working
>correctly.
>
>  - Keith
>--
>Keith Burdis - MSc (Com Sci) - Rhodes University, South Africa
>Email   : [EMAIL PROTECTED]
>WWW     : http://www.rucus.ru.ac.za/~keith/
>IRC     : Panthras                                          JAPH
>
>"Any technology sufficiently advanced is indistinguishable from a perl
script"
>
>Standard disclaimer.
>---
>






hey all, as long as we're talking about aol.com's problems when using
qmail and what not. does anyone know of any other sites that are known to
have the same such problem?

lates,
-xs


end 
+-------------------------------------+
|Greg Albrecht   KF4MKT   [EMAIL PROTECTED]|
|Safari Internet        www.safari.net|
|Fort Lauderdale, FL    1-888-537-9550|
+-------------------------------------+





xs <[EMAIL PROTECTED]> writes:
| hey all, as long as we're talking about aol.com's problems when using
| qmail and what not. 

AOL does not have a problem.  It's a bug in qmail.  Period.

| does anyone know of any other sites that are known to
| have the same such problem?

Sure.  There are a number of sites at PSU that exercise this qmail bug.






i'm sorry i did not make my question clear,
is it a popular thing to do as aol.com as done?

i'm debating recompiling qmail here. but it seems that the patch is no big
deal so i might as well do it.

also may i add that it's not aol, it's not qmail, but it would be the rfc
that states the correct behavior, and qmail abides by it.


thanks,
-xs


end 
+-------------------------------------+
|Greg Albrecht   KF4MKT   [EMAIL PROTECTED]|
|Safari Internet        www.safari.net|
|Fort Lauderdale, FL    1-888-537-9550|
+-------------------------------------+

On 19 Apr 1999, Scott Schwartz wrote:

>xs <[EMAIL PROTECTED]> writes:
>| hey all, as long as we're talking about aol.com's problems when using
>| qmail and what not. 
>
>AOL does not have a problem.  It's a bug in qmail.  Period.
>
>| does anyone know of any other sites that are known to
>| have the same such problem?
>
>Sure.  There are a number of sites at PSU that exercise this qmail bug.
>
>





xs <[EMAIL PROTECTED]> writes:
| i'm sorry i did not make my question clear,
| is it a popular thing to do as aol.com as done?

It's occasional.

| also may i add that it's not aol, it's not qmail, but it would be the rfc
| that states the correct behavior, and qmail abides by it.

No.  Qmail is deliberately coded to do the wrong thing, because Dan
thinks DNS servers would be more polite to only send small replies, and
because he doesn't like the resolver library's API.  

The RFCs say that DNS replies have a maximum size of 65536 bytes, and
they say that replies bigger than 512 bytes have to be sent via TCP
instead of UDP.  (RFC 883, introduction; RFC 1035, section 4.2.2.)
That negotiation is handled transparently and automatically by the
resover library.  (RFC 1912, section 2.8; RFC 2181, section 9.)

Notice also that you might be sent a reply that is smaller than 512
bytes, but, because of information in your cache, the resolver might
hand you more bytes than that.





From: Scott Schwartz <[EMAIL PROTECTED]>


: Notice also that you might be sent a reply that is smaller than 512
: bytes, but, because of information in your cache, the resolver might
: hand you more bytes than that.

This is what I don't understand -- I didn't apply the dns patch, but I never
have trouble sending to AOL.  Yet so many other people do.  Is there a
reason for this?

--Adam







On Mon, 19 Apr 1999, Adam D. McKenna wrote:

> From: Scott Schwartz <[EMAIL PROTECTED]>
> 
> 
> : Notice also that you might be sent a reply that is smaller than 512
> : bytes, but, because of information in your cache, the resolver might
> : hand you more bytes than that.
> 
> This is what I don't understand -- I didn't apply the dns patch, but I never
> have trouble sending to AOL.  Yet so many other people do.  Is there a
> reason for this?
> 
lots of possible reasons:
 - entry in smtproutes (I hand AOL-mail of to my ISp to deliver for me)
 - transparent SMTP proxy firewall between you and AOL
 - serialmail

Richard





From: Richard Letts <[EMAIL PROTECTED]>
: lots of possible reasons:
:  - entry in smtproutes (I hand AOL-mail of to my ISp to deliver for me)
:  - transparent SMTP proxy firewall between you and AOL
:  - serialmail

er, no.  I think you're confused.  What I was saying is that I haven't done
anything specific to overcome qmail's DNS packet size limitation, however I
don't have any problems sending to AOL.  I consider this odd when compared
to the list volume that deals with this exact problem.  Perhaps I applied
the patch and don't remember it.

--Adam







On Mon, 19 Apr 1999, Adam D. McKenna wrote:

   This is what I don't understand -- I didn't apply the dns patch, but I never
   have trouble sending to AOL.  Yet so many other people do.  Is there a
   reason for this?
   
[lack of problem] correlates pretty well with the use of the bind
8.1 resolver and named for me.
   
-- Jeff Hayward   
   





I'm running 4.9.7 on an unpatched qmail and have no problems either....
strange.

On Mon, 19 Apr 1999, Jeff Hayward wrote:

-| On Mon, 19 Apr 1999, Adam D. McKenna wrote:
-| 
-|    This is what I don't understand -- I didn't apply the dns patch, but I never
-|    have trouble sending to AOL.  Yet so many other people do.  Is there a
-|    reason for this?
-|    
-| [lack of problem] correlates pretty well with the use of the bind
-| 8.1 resolver and named for me.
-|    
-| -- Jeff Hayward   
-|    
-| 
-| 

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  3:50pm  up 73 days, 22:53,  2 users,  load average: 0.01, 0.08, 0.08





At 05:49 PM 4/19/99 -0400, Adam D. McKenna wrote:
>From: Richard Letts <[EMAIL PROTECTED]>
>: lots of possible reasons:
>:  - entry in smtproutes (I hand AOL-mail of to my ISp to deliver for me)
>:  - transparent SMTP proxy firewall between you and AOL
>:  - serialmail
>
>er, no.  I think you're confused.  What I was saying is that I haven't done
>anything specific to overcome qmail's DNS packet size limitation, however I
>don't have any problems sending to AOL.  I consider this odd when compared
>to the list volume that deals with this exact problem.  Perhaps I applied
>the patch and don't remember it.

Same here: no patch, no smtp routes,... 100,000 emails to AOL every day and
no problems!

We use BIND 8 on Solaris 2.6

David.
______________________________________
David Villeger
(212) 972 2030 x34

http://www.CheetahMail.com
The Internet Email Publishing Solution




"Adam D. McKenna" <[EMAIL PROTECTED]> writes:
| This is what I don't understand -- I didn't apply the dns patch, but I never
| have trouble sending to AOL.  Yet so many other people do.  Is there a
| reason for this?

Dunno.  I never send to aol.





        Hi all!
        I'm starting to use qmail today and get a trouble (the first trouble
:): When I use Netscape to send an e-mail, it doesn't ask me the user
password, and the e-mail goes to the target without problems.
        How can I fix it? Is the fix in qmail configuration or in some other
feature?
        If I send the question to the wrong list, sorry about, and please
point me to the correct list.

        Thank's in advance.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





On Mon, Apr 19, 1999 at 11:14:38AM -0700, Adamo UNIX wrote:
>       Hi all!
>       I'm starting to use qmail today and get a trouble (the first trouble
> :): When I use Netscape to send an e-mail, it doesn't ask me the user
> password, and the e-mail goes to the target without problems.
>       How can I fix it? Is the fix in qmail configuration or in some other
> feature?
>       If I send the question to the wrong list, sorry about, and please
> point me to the correct list.

You don't need a password to send mail. There's no password authentication in
the SMTP protocol.

Chris




--- Chris Johnson <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 19, 1999 at 11:14:38AM -0700, Adamo UNIX
> wrote:
> >     Hi all!
> >     I'm starting to use qmail today and get a trouble
> (the first trouble
> > :): When I use Netscape to send an e-mail, it
> doesn't ask me the user
> > password, and the e-mail goes to the target
> without problems.
> >     How can I fix it? Is the fix in qmail
> configuration or in some other
> > feature?
> >     If I send the question to the wrong list, sorry
> about, and please
> > point me to the correct list.
> 
> You don't need a password to send mail. There's no
> password authentication in
> the SMTP protocol.
> 
> Chris
> 

        Thank's for the answer.
        So, there is no way to avoid someone send anonymous messages?
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





We will be implementing our QMail system here shortly, and I have a
question about relaying...

I would like to allow only our nets to relay ex; 208.150.*.* AND
207.90.209.* - How can this be done in QMail?

As allways, I thank you for your time and expertise.

------------------------------------------------------------------------
----------------
James Beam
Support

PDQ.net                                                       ENTECH.com
http://www.pdq.net                           http://www.entech.com
------------------------------------------------------------------------
----------------
 <<Jim Beam.vcf>> 

Jim Beam.vcf





On Mon, Apr 19, 1999 at 01:27:52PM -0500, Jim Beam wrote:
> We will be implementing our QMail system here shortly, and I have a
> question about relaying...
> 
> I would like to allow only our nets to relay ex; 208.150.*.* AND
> 207.90.209.* - How can this be done in QMail?
> 
> As allways, I thank you for your time and expertise.

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

Chris




Ok.. i've read the messages about the oversize dns packets and aol
problems.  So I added a line into /var/qmail/control/smtproutes like
this:

        aol.com:ya.mx.aol.com

I keep getting the unable to establish an smtp connection error messages
in my logs.  I can't figure out what is going on.. i didn't actually
patch dns.c just added the smtproute line.  Would a multi-line 220
response from the aol box cause qmail to barf?  I've never noticed it
before.  I can telnet right into port 25 of ya.mx.aol.com and it works
fine.  Any ideas?

-- 
|---------------------------------|----------------------------|
| Hitesh Patel                    |  Voice: (541) 759-3126     |
| Facilities Development Manager  |  Fax:   (541) 759-3214     |
| Preferred Systems               |  Email: [EMAIL PROTECTED]  |
|---------------------------------|----------------------------|




Hitesh Patel writes:

> Ok.. i've read the messages about the oversize dns packets and aol
> problems.  So I added a line into /var/qmail/control/smtproutes like
> this:
> 
>       aol.com:ya.mx.aol.com
> 
> I keep getting the unable to establish an smtp connection error messages
> in my logs.  I can't figure out what is going on..

Pick a different MX.

-- 
Sam





At 08:19 PM 4/16/99 -0700, Mark Delany wrote:
>It wasn't so much the blocking I was thinking of (and I confess ignorance on 
>this front) it was on the basis that multiple processes are writing to the 
>same pipe, thus a 2 byte write could get interspersed with another two byte 
>write by another process.

Unless I'm not understanding something, qmail-send gets concurrencyremote
from only one process (qmail-rspawn). So there is only one process per pipe
(and several pipes: one descriptor for qmail-rspawn, one for qmail-lspawn,
one for qmail-clean,...).

qmail-rspawn is the one who deals with many processes (qmail-remote).

David.
______________________________________
David Villeger
(212) 972 2030 x34

http://www.CheetahMail.com
The Internet Email Publishing Solution




We're experiencing a minor problem with setting a mail client
to leave messages on the server.  It's not even really a problem,
just something annoying.

Anyway, when a mail client is set to leave messages on the server,
every once in a while, it will re-receive all of the messages causing
there to be duplicates.  When I first saw this problem myself, I was
using Outlook Express 5.0 and thought that it was probably some
bug in the software.  However, I'm now hearing from others that
they are having the same problem using other clients like Eudora.

I've checked when this has happened and everything appears to
be fine in the cur directory.

Has anyone else seen anything like this?

Rick McMillin
Network Operations Center
I-Land Internet Services





Hello,

I'm not positive about this, but doesn't that happen if the client is
switching between e-mail programs. One day outlook, next day pegasus,
next netscape, etc.

Could also have to do with the pop3 connection being cut before the quit
cmd.

Just guesses - eric


Rick McMillin escribi�:
> 
> We're experiencing a minor problem with setting a mail client
> to leave messages on the server.  It's not even really a problem,
> just something annoying.
> 
> Anyway, when a mail client is set to leave messages on the server,
> every once in a while, it will re-receive all of the messages causing
> there to be duplicates.  When I first saw this problem myself, I was
> using Outlook Express 5.0 and thought that it was probably some
> bug in the software.  However, I'm now hearing from others that
> they are having the same problem using other clients like Eudora.
> 
> I've checked when this has happened and everything appears to
> be fine in the cur directory.
> 
> Has anyone else seen anything like this?
> 
> Rick McMillin
> Network Operations Center
> I-Land Internet Services




Rick McMillin writes:

> We're experiencing a minor problem with setting a mail client
> to leave messages on the server.  It's not even really a problem,
> just something annoying.
> 
> Anyway, when a mail client is set to leave messages on the server,
> every once in a while, it will re-receive all of the messages causing
> there to be duplicates.  When I first saw this problem myself, I was
> using Outlook Express 5.0 and thought that it was probably some
> bug in the software.  However, I'm now hearing from others that
> they are having the same problem using other clients like Eudora.
> 
> I've checked when this has happened and everything appears to
> be fine in the cur directory.

You are assuming that only Outlook Express is a pile of bugs.  That may not
be true.  If for some reason the POP3 server screws up in a way that the
POP3 client is not aware of, the POP3 client might believe that the POP3
mailbox is empty, and delete its cache of UIDLs of downloaded messages.  On
a subsequent access, the POP3 client will see all these messages that
weren't there before, and will think that they're new.



-- 
Sam





I have to setup a lot of full-name mail users.
example:
marco.leeflang    >  user leem
so i have made a file in /var/qmail/alias/.qmail-marco:leeflang with
leem in this file.
al works fine.
but now i have many files and want to setup these users in the assign
file.
all attempts still won't work.
When i run qmail-newu i get a syntax error message
what is the correct syntax in the assign file when i want the above user
syntax.

marco leeflang





you must be forgeting the dot "." in the end of the file ;) read the docs


On 19-Apr-99 Marco Leeflang wrote:
> I have to setup a lot of full-name mail users.
> example:
> marco.leeflang    >  user leem
> so i have made a file in /var/qmail/alias/.qmail-marco:leeflang with
> leem in this file.
> al works fine.
> but now i have many files and want to setup these users in the assign
> file.
> all attempts still won't work.
> When i run qmail-newu i get a syntax error message
> what is the correct syntax in the assign file when i want the above user
> syntax.
> 
> marco leeflang

----------------------------------
E-Mail: RaTao von J <[EMAIL PROTECTED]> 
Pager: [EMAIL PROTECTED] <-- !ACABOU!
Date: 20-Apr-99   Time: 01:25:08
----------------------------------




I am getting the error: unable to chdir to Maildir in /log/messages
when I am trying to inject.  I made a switch from mbox to Maildir, and my
incoming mail doesn't seem to work anymore..

Anybody who can help?





Maildir aren't created automatically. You have to create them for every
existing user (nothing some smart awk-ing and grep-ing can't do) and
place a template in /etc/skel to make your life easier in the future.

Jay & Julie wrote:
> 
> I am getting the error: unable to chdir to Maildir in /log/messages
> when I am trying to inject.  I made a switch from mbox to Maildir, and my
> incoming mail doesn't seem to work anymore..
> 
> Anybody who can help?

-- 

 ___THE___ "Commercial OS vendors are, at the moment, all closed
 \  \ /  /  economies, and doomed to fall in their competition with
  \  V  /   open economies just as communism eventually fell."
   \   /                            -- H. Reiser, Unix OS developer
   /   \     _____________________________________________________
  /  ^  \   | Juan Carlos Castro y Castro - [EMAIL PROTECTED] |
 /  / \  \  |  Diretor de Inform�tica e Eventos Sobrenaturais da  |
 ~~~   ~~~  |                 E-RACE CORPORATION                  |
   RACER     -----------------------------------------------------




On Fri, Apr 16, 1999 at 04:04:35PM -0700, Mark Delany wrote:
> >> It's not relevant to your setup. There is some question as to whether a
> >> local queue is more reliable than a remote queue accessible via qmqpc.
> >Can you give an example of when it might be relevant?
> Mainly command-line based UA's that don't check the exit code of the mail 
> submission program.

Exactly right, but add to the list automated programs like cron.

> >So, what's this "nullmailer" all about then?  Presumably it applies to a
> >different setup than mine?  Bruce?
> I guess. There was some talk about some sort of half-way house between qmqpc 
> and qmail. Presumably queueing only on failure of qmqpc or somesuch and the 
> queue presumably being substantially simpler than the real one.

Close.  nullmailer always queues (for simplicity, but I see how queueing
only on failure has its advantages).  nullmailer does not use
qmail-qmqpc to send mail but has its own set of agents to do QMQP and
SMTP transmission.  The queue and configuration are simpler than qmail
and/because there is no local delivery.
-- 
Bruce Guenter, QCC Communications Corp.  EMail: [EMAIL PROTECTED]
Phone: (306)249-0220               WWW: http://www.qcc.sk.ca/~bguenter/




On Fri, Apr 16, 1999 at 11:30:57AM -0300, Juan Carlos Castro y Castro wrote:
> I already knew (as everybody) that MS couldn't put NT to work properly
> and uses Solaris to run HotMail. But this is new. Or not. Forgive me if
> this is old news.

We'll forgive you.

Greetz, Peter
-- 
| 'He broke my heart,    |                              Peter van Dijk |
     I broke his neck'   |                     [EMAIL PROTECTED] |
   nognixz - As the sun  |        Hardbeat@ircnet - #cistron/#linux.nl |
                         | Hardbeat@undernet - #groningen/#kinkfm/#vdh |




Peter van Dijk writes:
> On Fri, Apr 16, 1999 at 11:30:57AM -0300, Juan Carlos Castro y Castro wrote:
> > I already knew (as everybody) that MS couldn't put NT to work properly
> > and uses Solaris to run HotMail. But this is new. Or not. Forgive me if
> > this is old news.
> 
> We'll forgive you.
>

Does anyone know if they are using it to host virtual domains, and
leave the "Delivered-To: ..." header in?

        Thanks,

        John

-- 

John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602
[EMAIL PROTECTED], http://www2.inow.com/~conover/john.html





On Tue, Apr 20, 1999 at 07:18:13AM -0000, John Conover wrote:
> Peter van Dijk writes:
> > On Fri, Apr 16, 1999 at 11:30:57AM -0300, Juan Carlos Castro y Castro wrote:
> > > I already knew (as everybody) that MS couldn't put NT to work properly
> > > and uses Solaris to run HotMail. But this is new. Or not. Forgive me if
> > > this is old news.
> > 
> > We'll forgive you.
> >
> 
> Does anyone know if they are using it to host virtual domains, and
> leave the "Delivered-To: ..." header in?

That's two times no. Hotmail only uses qmail for _outgoing_ mail.

Greetz, Peter
-- 
| 'He broke my heart,    |                              Peter van Dijk |
     I broke his neck'   |                     [EMAIL PROTECTED] |
   nognixz - As the sun  |        Hardbeat@ircnet - #cistron/#linux.nl |
                         | Hardbeat@undernet - #groningen/#kinkfm/#vdh |


Reply via email to