qmail Digest 23 Jul 1999 10:00:01 -0000 Issue 706

Topics (messages 28062 through 28111):

ETRN
        28062 by: Lukas Futera <[EMAIL PROTECTED]>
        28063 by: Andrzej Kukula <[EMAIL PROTECTED]>
        28064 by: Anand Buddhdev <[EMAIL PROTECTED]>

"q" in "qmail" means ?
        28065 by: Dave Sill <[EMAIL PROTECTED]>
        28089 by: "Lenny Mastrototaro" <[EMAIL PROTECTED]>

amavis pre6 doen't work with qmail
        28066 by: "Gestore Mailing List" <[EMAIL PROTECTED]>

qmail for AIX
        28067 by: Todd at NM Technet <[EMAIL PROTECTED]>

qmail problems
        28068 by: Dave Sill <[EMAIL PROTECTED]>

relaying redundancy
        28069 by: [EMAIL PROTECTED]
        28070 by: "Petr Novotny" <[EMAIL PROTECTED]>
        28071 by: Ken Jones <[EMAIL PROTECTED]>
        28072 by: Dave Sill <[EMAIL PROTECTED]>
        28073 by: Chris Johnson <[EMAIL PROTECTED]>
        28075 by: [EMAIL PROTECTED]
        28085 by: "Sam" <[EMAIL PROTECTED]>

serialmail/autoTURN not working
        28074 by: Dave Sill <[EMAIL PROTECTED]>
        28087 by: "Tom Furie" <[EMAIL PROTECTED]>
        28088 by: Dave Sill <[EMAIL PROTECTED]>
        28090 by: "Tom Furie" <[EMAIL PROTECTED]>
        28091 by: "Tom Furie" <[EMAIL PROTECTED]>

SCO 5.0.5 qmail-1.03 outgoing email problem
        28076 by: "Olivier M." <[EMAIL PROTECTED]>
        28082 by: Ken Jones <[EMAIL PROTECTED]>

memphis rpm
        28077 by: Mate Wierdl <[EMAIL PROTECTED]>
        28079 by: <[EMAIL PROTECTED]>

Radius Authentication
        28078 by: "Gary Stewart" <[EMAIL PROTECTED]>
        28081 by: Todd at NM Technet <[EMAIL PROTECTED]>
        28084 by: "Gary Stewart" <[EMAIL PROTECTED]>
        28086 by: "Racer X" <[EMAIL PROTECTED]>
        28095 by: "Gary Stewart" <[EMAIL PROTECTED]>
        28097 by: Paul Farber <[EMAIL PROTECTED]>
        28099 by: "Gary Stewart" <[EMAIL PROTECTED]>

Outbound mail queue
        28080 by: Eric Davis <[EMAIL PROTECTED]>
        28107 by: Anand Buddhdev <[EMAIL PROTECTED]>

Can qmail work withuot MX RR?
        28083 by: "Alex Miller" <[EMAIL PROTECTED]>

qmail delivers to wrong maildir
        28092 by: "Mark Weinem" <[EMAIL PROTECTED]>
        28094 by: Asmodeus <[EMAIL PROTECTED]>
        28096 by: Elric of Melnibone <[EMAIL PROTECTED]>
        28098 by: Asmodeus <[EMAIL PROTECTED]>
        28103 by: Mark Weinem <[EMAIL PROTECTED]>

Qmail / Ldap / and a seperate outgoing Queue...
        28093 by: "Wil Boucher" <[EMAIL PROTECTED]>

My qmail crashes over and over
        28100 by: Gustavo Rios <[EMAIL PROTECTED]>
        28101 by: Gustavo V G C Rios <[EMAIL PROTECTED]>

Returned mail: Host unknown (Name server: list.cr.up.to: host not found) 
(fwd)ODOBOAOAOAOB
        28102 by: Weinem <[EMAIL PROTECTED]>

Forwarding
        28104 by: "Maria Zevenhoven" <[EMAIL PROTECTED]>
        28105 by: "Simon Elder" <[EMAIL PROTECTED]>
        28106 by: "Maria Zevenhoven" <[EMAIL PROTECTED]>
        28109 by: Sergei Kolobov <[EMAIL PROTECTED]>

Help!
        28108 by: "Marc-Adrian Napoli" <[EMAIL PROTECTED]>

AtDot with qmail
        28110 by: aw <[EMAIL PROTECTED]>

a really strange one (again)
        28111 by: "Simon Rae" <[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]


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


Is there any patch to qmail that implements ETRN command in qmail 1.03 ? 


--
Lukas Futera >> HOSTING.CZ ([EMAIL PROTECTED]) |http://www.hosting.cz|






Lukas Futera wrote:
> 
> Is there any patch to qmail that implements ETRN command in qmail 1.03 ?

It is. Alan Curry has supplied the patch. It is available for download
from qmail home page at http://www.qmail.org. You should check out
www.qmail.org and mailing list archives before posting this VFAQ.

Andrzej




On Thu, Jul 22, 1999 at 01:10:54PM +0200, Andrzej Kukula wrote:

> Lukas Futera wrote:
> > 
> > Is there any patch to qmail that implements ETRN command in qmail 1.03 ?
> 
> It is. Alan Curry has supplied the patch. It is available for download
> from qmail home page at http://www.qmail.org. You should check out
> www.qmail.org and mailing list archives before posting this VFAQ.

A better solution in my opinion is AutoTURN, as implemented in the
serialmail package. This doesn't require you to patch qmail, and works
better, especially if you're an ISP and your concurrency tends to
saturate often.

-- 
See complete headers for more info




torben fjerdingstad <[EMAIL PROTECTED]> wrote:
>
>Since it's neither a unix command or a user name, it is not
>sensite to case.
>
>Upppercase filenames are often considered abusive, so I suppose
>that's why the distribution spells qmail-1.03.tar.gz.

No, it's "qmail" because that's how Dan wants it. E.g.:

de5@sws5$ cd /usr/local/src/qmail-1.03/
de5@sws5$ grep Qmail *
de5@sws5$ grep qmail *|wc
          3223         15870        176030
de5@sws5$ man qmail|head -15



qmail(7)                                                 qmail(7)


NAME
       qmail - overview of qmail documentation

INTRODUCTION
       qmail  is  a  secure,  reliable, efficient, simple message
       transfer agent.

       Users who want to control incoming  messages  should  read
       dot-qmail(5).   Available  commands  for  the  .qmail file

----

>From ftp://koobera.math.uic.edu/www/qmail.html:

  What is it?
  
  qmail is a secure, reliable, efficient, simple message transfer
  agent. It is meant as a replacement for the entire sendmail-binmail
  system on typical Internet-connected UNIX hosts.

----

Even when it's the first word of a sentence, Dan uses "qmail", not
"Qmail".

I'm not anal-retentive, I'm just trying to set the record straight. If
you can find a single instance where DJB wrote "Qmail", I'll shut up
about it.

qmail is the e.e.cummings of MTA's.

-Dave




On Jul 22, 10:45am, torben fjerdingstad wrote:
> Subject: Re: "q" in "qmail" means ?
> On Wed, Jul 21, 1999 at 11:55:43AM -0400, Dave Kitabjian wrote:
> > 
> > What does the "q" in "qmail" mean?
> 
> I vote for "quiet". It does it's job quietly, just like UNIX.

After reading this excerpt from Dan's page:

    qmail: a replacement for sendmail
    http://pobox.com/~djb/qmail.html

        [...] Other MTAs offer a spectrum of delivery modes, from
        fast+unsafe to slow+queued. qmail-send is instantly triggered
        by new items in the queue, so the qmail system has just one
        delivery mode: fast+queued. [...]

I concluded that `q' referred to `queue' 

Regards,
Lenny

>-- End of excerpt from torben fjerdingstad



-- 
Leonard Mastrototaro    Systems Administrator   Click3X New York
[EMAIL PROTECTED]       212-627-1900            http://www.click3x.com

    "Yeah well ... The Dude abides." -- http://www.lebowski.com





Hi all,
        i would ask if someone have already used the pre 6 verion of amavis
with qmail, because i founded some trouble for the delivery , both loacal
and remote, amavis says ABORT no local delivery available! and so on.
Actually i use pre4 with the pacth founded here, but scanning manually it
seems to be the same code inserted into the new pre6.Any info for resolve
this???



                                        thanks




howdy,

yup.  we used it without problems.

todd

On Thu, 22 Jul 1999, Rahmat Ara Bithi wrote:

> Date: Thu, 22 Jul 1999 13:08:52 -0600 (GMT+6)
> From: Rahmat Ara Bithi <[EMAIL PROTECTED]>
> To: Todd at NM Technet <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: qmail for AIX
> 
> 
> Todd,
> 
> That means qmail-1.03.tar.gz, which I got from the
> site www.qmail.org can be used for AIX.
> 
> bithi 
> 
> On 22 Jul 1999, Todd at NM Technet wrote:
> 
> > bithi,
> > 
> > qmail compiles, installs and runs easily on aix (we use it on 4.2.1 and
> > have used it on 4.1.5).
> > 
> > todd underwood
> > [EMAIL PROTECTED]
> > 
> > On Thu, 22 Jul 1999, Rahmat Ara Bithi wrote:
> > 
> > > Date: Thu, 22 Jul 1999 11:27:33 -0600 (GMT+6)
> > > From: Rahmat Ara Bithi <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: qmail for AIX
> > > 
> > > 
> > > Is there any version of qmail for AIX?
> > > 
> > > Bithi
> > > 
> > > 
> > 
> > 
> 
> 





Todd Backman <[EMAIL PROTECTED]> wrote:
>
>> >machine# ./qmail-qstat
>> >messages in queue: 115248
>> >messages in queue but not yet preprocessed: 549
>> >
>> >when I run 'qmail-send' it just sits there and does not send any of the
>> >files out...
>> 
>> What does qmail-qread say? What does qmail-send log?
>
>I get nothing back at all from them...

qmail-qstat sees messages, but qmail-qread doesn't? Very odd. And
qmail-send isn't logging *anything*? Double odd.

>The startup script is as follows:
>
>#!/bin/sh
>
>. /usr/local/etc/rc.d/fci.conf
>start_only
>
>echo -n 'qmail: '
>
>/usr/local/bin/tcpserver  -R -x/etc/tcp.smtp.cdb -c100 -u81 -g82 0 smtp
>/var/qmail/bin/qmail-smtpd &

That starts the smtp daemon, but it doesn't start qmail. You should
have a qmail-start (or /var/qmail/rc) invocation somewhere.

>when I envoke the script the only thing that starts is:
>
>15238 alias      2   0   792K   476K accept   0:00  0.00%  0.00% tcpserver
>
>I do not see any qmail* related process' start up as stated on you web
>page:
>
>qmail-send running as user qmails 
>qmail-clean running as user qmailq 
>qmail-rspawn running as user qmailr 
>qmail-lspawn running as user root
>
>It does not seem that qmail is being started at all?

Sounds like it to me.

-Dave




I have a qmail server set up such that it's being used as a relay (all incoming
mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
machine that my qmail box is relaying to goes down or crashes, whatever. Is
there a hack to allow qmail to relay somewhere else if that host is down or if
the queue builds up to a certain number (which usually also means that the host
its trying to relay to is down)?

regards,
Jason






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

> I have a qmail server set up such that it's being used as a relay (all
> incoming mail just gets dumped to whatever is in smtproutes). anyway,
> sometimes the machine that my qmail box is relaying to goes down or
> crashes, whatever. Is there a hack to allow qmail to relay somewhere else
> if that host is down or if the queue builds up to a certain number (which
> usually also means that the host its trying to relay to is down)?

Yes, it's called secondary MX server in DNS configuration :-) Other 
than that, no without serious hacking.

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

iQA/AwUBN5csUlMwP8g7qbw/EQJ1jwCgiVOEcVYs/mRu3rZatshkrUC7ZMsAmwSw
ojXFwLbk+BCZycn5INsyvnZO
=/s/d
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




[EMAIL PROTECTED] wrote:
> 
> I have a qmail server set up such that it's being used as a relay (all incoming
> mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> machine that my qmail box is relaying to goes down or crashes, whatever. Is
> there a hack to allow qmail to relay somewhere else if that host is down or if
> the queue builds up to a certain number (which usually also means that the host
> its trying to relay to is down)?
> 
> regards,
> Jason

If you were somehow able to route the email thru qmtp to a qmtp
server, you can specify multiple qmtp servers. If the first connection
is dead it tries the next line in the file.

That would allow you to send to a backup machine.

Of course all three machines would have to be running qmail.
And the relay machine would have to use the mini-qmail install.

>From what I read of qmtp, it will not store the email on disk before
sending to the next machine. It will envoke a network connection
immediately and try to send it there.

You might have to setup two qmail queues.

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration




Ken Jones <[EMAIL PROTECTED]> wrote:
>
>If you were somehow able to route the email thru qmtp to a qmtp
>server, you can specify multiple qmtp servers. If the first connection
>is dead it tries the next line in the file.

I think you're thinking of qmQp, not qmTp. The file is
qmqpservers. See the qmail-qmqpc and qmail-qmqpd man pages.

>From what I read of qmtp, it will not store the email on disk before
>sending to the next machine. It will envoke a network connection
>immediately and try to send it there.

Right a qmqp client doesn't queue messages. If it can't contact one of 
the listed servers, the injection fails.

>You might have to setup two qmail queues.

Hm?

-Dave




On Thu, Jul 22, 1999 at 08:48:52AM -0500, Ken Jones wrote:
> [EMAIL PROTECTED] wrote:
> > 
> > I have a qmail server set up such that it's being used as a relay (all incoming
> > mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> > machine that my qmail box is relaying to goes down or crashes, whatever. Is
> > there a hack to allow qmail to relay somewhere else if that host is down or if
> > the queue builds up to a certain number (which usually also means that the host
> > its trying to relay to is down)?
> > 
> > regards,
> > Jason
> 
> If you were somehow able to route the email thru qmtp to a qmtp
> server, you can specify multiple qmtp servers. If the first connection
> is dead it tries the next line in the file.

That'd be qmqp, not qmtp.

> That would allow you to send to a backup machine.
> 
> Of course all three machines would have to be running qmail.
> And the relay machine would have to use the mini-qmail install.
> 
> From what I read of qmtp, it will not store the email on disk before
> sending to the next machine. It will envoke a network connection
> immediately and try to send it there.

That's true (of qmqp). But Bruce Guenter's nullmailer
(http://em.ca/~bruceg/nullmailer/) allows you to use qmqp and still have
queueing. I don't know much about it, but I think it supports smtp too.

Chris




yeah, but the host im relaying to is a Lotus Notes box.. So I guess theres no
good way to do it? anyone know if sendmail has this capability?





Dave Sill <[EMAIL PROTECTED]> on 07/22/99 09:57:27 AM
                                                              
                                                              
                                                              
 To:      [EMAIL PROTECTED]                                 
                                                              
 cc:      (bcc: Jason Welsh/QRTP/Quintiles)                   
                                                              
                                                              
                                                              
 Subject: Re: relaying redundancy                             
                                                              








Ken Jones <[EMAIL PROTECTED]> wrote:
>
>If you were somehow able to route the email thru qmtp to a qmtp
>server, you can specify multiple qmtp servers. If the first connection
>is dead it tries the next line in the file.

I think you're thinking of qmQp, not qmTp. The file is
qmqpservers. See the qmail-qmqpc and qmail-qmqpd man pages.

>From what I read of qmtp, it will not store the email on disk before
>sending to the next machine. It will envoke a network connection
>immediately and try to send it there.

Right a qmqp client doesn't queue messages. If it can't contact one of
the listed servers, the injection fails.

>You might have to setup two qmail queues.

Hm?

-Dave







[EMAIL PROTECTED] writes:

> I have a qmail server set up such that it's being used as a relay (all incoming
> mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> machine that my qmail box is relaying to goes down or crashes, whatever. Is
> there a hack to allow qmail to relay somewhere else if that host is down or if
> the queue builds up to a certain number (which usually also means that the host
> its trying to relay to is down)?

Changes to control/smtproutes take effect immediately.

Write a simple shell script to ping your primary host, and run it from
cron, every couple of minutes.  If it doesn't ping, have the shell script
rewrite control/smtproutes to point to the backup IP address.  Afterwards,
kick qmail-send in the ass to flush out the built up queue (that's
optional).

A five minute programming job.

-- 
Sam




"Tom Furie" <[EMAIL PROTECTED]> wrote:
>
>qmail alone - passes deliver and receive tests fine.
>
>Add ucspi-tcp, run qmail-smtpd through tcpserver - still passes deliver and
>receive tests.
>
>Add serialmail, follow the instructions in AUTOTURN.
>Section 3 - if I use sh -c..., I cannot connect to port 25 on the mail
>server. Using csh -c, I can connect to port 25.
>
>Send mail to [EMAIL PROTECTED], message goes into
>/var/qmail/autoturn/customers.ip/new
>Run maildirsmtp command to process test.domain queue e.g. maildirsmtp
>1.2.3.4 autoturn-1.2.3.4- 1.2.3.4 AutoTURN, mail is processed and arrives at
>ms.test.domain
>
>Send mail from test.domain using qmail.server as relay, mail arrives at
>destination, but delivery from qmail.server to ms.test.domain is not
>triggered.
>
>rc.local looks like -
>    /usr/local/bin/tcpserver -v -u 503 -g 502 0 smtp csh -c '
>    /var/qmail/bin/qmail-smtpd
>    cd /var/qmail/autoturn
>    exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
>    /usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-
>$TCPREMOTEIP AutoTURN
>    ' 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>csh -cf '/var/qmail/rc &'
>
>I have tried /var/qmail/rc both before and after the tcpserver command with
>no apparent difference.

Yeah, it doesn't matter.

OK, so basically smtpd works when you connect to port 25, are queueing
up in the maildir, the maildirsmtp command works when you run it
manually, but it doesn't work automatically?

Change your smtpd startup command to something like:

    /usr/local/bin/tcpserver -v -u 503 -g 502 0 smtp csh -c '
    /var/qmail/bin/qmail-smtpd
    cd /var/qmail/autoturn
    echo ========= >>/tmp/autoturnlog
    date >>/tmp/autoturnlog
    env >>/tmp/autoturnlog
    echo "exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
    /usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP 
AutoTURN" >>/tmp/autoturnlog
    exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
    /usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
    ' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

Then connect to port 25 from your client and look at
/tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.

-Dave




> >no apparent difference.
> Yeah, it doesn't matter.
Didn't think so.

> OK, so basically smtpd works when you connect to port 25, are queueing
> up in the maildir, the maildirsmtp command works when you run it
> manually, but it doesn't work automatically?
Sounds about right.

> Change your smtpd startup command to something like:
> Then connect to port 25 from your client and look at
> /tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.
contents of autoturnlog entry -
    Thu Jul 22 16:55:52 GMT 1999
    PWD=/var/qmail/autoturn
    HOSTNAME=post
    CONSOLE=/dev/console
    PREVLEVEL=N
    AUTOBOOT=YES
    runlevel=3
    MACHTYPE=i386
    SHLVL=3
    previous=N
    BOOT_IMAGE=linux
    SHELL=/bin/bash
    HOSTTYPE=i386-linux
    OSTYPE=linux
    HOME=/
    TERM=linux
    PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    RUNLEVEL=3
    INIT_VERSION=sysvinit-2.74
    _=/usr/local/bin/tcpserver
    PROTO=TCP
    TCPLOCALPORT=25
    TCPREMOTEIP=192.153.153.123
    TCPLOCALIP=192.153.153.208
    TCPREMOTEPORT=2363
    TCPLOCALHOST=qmail.colloquium.co.uk
    TCPREMOTEHOST=ms.vti.co.uk
    VENDOR=intel
    LOGNAME=qmaild
    USER=qmaild
    GROUP=nofiles
    HOST=post
    REMOTEHOST=ms.vti.co.uk
    exec /usr/local/bin/setlock -nx 192.153.153.123/seriallock
    /usr/local/bin/maildirsmtp 192.153.153.123 autoturn-192.153.153.123-
192.153.153.123 AutoTURN

The maildirsmtp command here is the same as used manually

Cheers,
Tom






"Tom Furie" <[EMAIL PROTECTED]> wrote:
>
>> Change your smtpd startup command to something like:
>> Then connect to port 25 from your client and look at
>> /tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.
>contents of autoturnlog entry -
>    Thu Jul 22 16:55:52 GMT 1999
>    PWD=/var/qmail/autoturn
>    HOSTNAME=post
>    CONSOLE=/dev/console
>    PREVLEVEL=N
>    AUTOBOOT=YES
>    runlevel=3
>    MACHTYPE=i386
>    SHLVL=3
>    previous=N
>    BOOT_IMAGE=linux
>    SHELL=/bin/bash
>    HOSTTYPE=i386-linux
>    OSTYPE=linux
>    HOME=/
>    TERM=linux
>    PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
>    RUNLEVEL=3
>    INIT_VERSION=sysvinit-2.74
>    _=/usr/local/bin/tcpserver
>    PROTO=TCP
>    TCPLOCALPORT=25
>    TCPREMOTEIP=192.153.153.123
>    TCPLOCALIP=192.153.153.208
>    TCPREMOTEPORT=2363
>    TCPLOCALHOST=qmail.colloquium.co.uk
>    TCPREMOTEHOST=ms.vti.co.uk
>    VENDOR=intel
>    LOGNAME=qmaild
>    USER=qmaild
>    GROUP=nofiles
>    HOST=post
>    REMOTEHOST=ms.vti.co.uk
>    exec /usr/local/bin/setlock -nx 192.153.153.123/seriallock
>    /usr/local/bin/maildirsmtp 192.153.153.123 autoturn-192.153.153.123-
>192.153.153.123 AutoTURN
>
>The maildirsmtp command here is the same as used manually

Hm, OK, are setlock and maildirsmtp executable by qmaild? Are /, /usr, 
/usr/local, and /usr/local/bin world executable? I'm running out of
ideas.

Perhaps replace:

    exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
    /usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
    ' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

with:

    exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
    /usr/bin/strace /usr/local/bin/maildirsmtp $TCPREMOTEIP 
autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
    ' 2>&1 >>/tmp/autoturn.strace &

and examine /tmp/autoturn.strace to see what maildirsmtp is doing.

-Dave




Hi Dave,

> Hm, OK, are setlock and maildirsmtp executable by qmaild? Are /, /usr,
> /usr/local, and /usr/local/bin world executable? I'm running out of
> ideas.
They are,
[root@post bin]# ls -l maildirsmtp setlock
-rwxr-xr-x   1 qmaild   root          195 Jul 21 14:51 maildirsmtp
-rwxr-xr-x   1 root     root         8572 Jul 21 14:51 setlock

[root@post bin]# ls -ld / /usr /usr/local /usr/local/bin
drwxr-xr-x  17 root     root         1024 Jun 25 15:41 /
drwxr-xr-x  19 root     root         1024 Jul  9 16:17 /usr
drwxr-sr-x  13 root     root         1024 Jul 20 12:58 /usr/local
drwxr-sr-x   2 root     root         1024 Apr 28 09:02 /usr/local/bin

> and examine /tmp/autoturn.strace to see what maildirsmtp is doing.
Hmm, absolutely nothing in the output? Definitely seems something is wrong
there.

Cheers,
Tom







> Hmm, absolutely nothing in the output? Definitely seems something is wrong
> there.
Hang on.. To direct strace output to a file you use the -o switch.

Now we get -

[root@post autoturn]# less /tmp/autoturn.strace
execve("/usr/local/bin/maildirsmtp", ["/usr/local/bin/maildirsmtp",
"192.153.153.123", "autoturn-192.153.153.123-", "192
.153.153.123", "AutoTURN"], [/* 32 vars */]) = 0
brk(0)                                  = 0x80b1afc
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 8
fstat(8, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 7021, PROT_READ, MAP_PRIVATE, 8, 0) = 0x4000b000
close(8)                                = 0
open("/lib/libtermcap.so.2", O_RDONLY)  = 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x4000d000
munmap(0x4000d000, 4096)                = 0
mmap(0, 12368, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x4000d000
mprotect(0x4000f000, 4176, PROT_NONE)   = 0
mmap(0x4000f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x1000) = 0x4000f000
mmap(0x40010000, 80, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40010000
close(8)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40011000
munmap(0x40011000, 4096)                = 0
mmap(0, 9256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x40011000
mprotect(0x40013000, 1064, PROT_NONE)   = 0
mmap(0x40013000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x1000) = 0x40013000
close(8)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40014000
munmap(0x40014000, 4096)                = 0
mmap(0, 672712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x40014000
mprotect(0x400a5000, 78792, PROT_NONE)  = 0
mmap(0x400a5000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x90000) = 0x400a5000
mmap(0x400ad000, 46024, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ad000
close(8)                                = 0
munmap(0x4000b000, 7021)                = 0
personality(PER_LINUX)                  = 0
getpid()                                = 304
sigprocmask(SIG_BLOCK, NULL, [])        = 0
open("/dev/tty", O_RDWR|O_NONBLOCK)     = -1 EACCES (Permission denied)
ioctl(0, TCGETS, 0xbffffaac)            = -1 EINVAL (Invalid argument)
brk(0)                                  = 0x80b1afc
brk(0x80b2000)                          = 0x80b2000
sigprocmask(SIG_BLOCK, ~[], [])         = 0
brk(0x80b3000)                          = 0x80b3000
sigprocmask(SIG_SETMASK, [], NULL)      = 0
sigprocmask(SIG_BLOCK, ~[], [])         = 0
brk(0x80b4000)                          = 0x80b4000
sigprocmask(SIG_SETMASK, [], NULL)      = 0
getuid()                                = 503

I must admit, I have no idea how to read this output. Why is it trying to
open /dev/tty?






On Tue, Jun 29, 1999 at 03:10:41PM -0500, [EMAIL PROTECTED] wrote:
> Anyone seen this problem:
> Platform: Sco 5.0.5 qmail 1.03
> Inbound email works, pop works
> Outbound email makes smtp connection but does not deliver the mail.
> We get the same problem on two similarly configured SCO machines.

We also have the same problem with our SCO 5.0.5. May I ask you
if you found a solutionor workaround  in the meantime ?

Thanks in advance,
Olivier Mueller




"Olivier M." wrote:
> 
> On Tue, Jun 29, 1999 at 03:10:41PM -0500, [EMAIL PROTECTED] wrote:
> > Anyone seen this problem:
> > Platform: Sco 5.0.5 qmail 1.03
> > Inbound email works, pop works
> > Outbound email makes smtp connection but does not deliver the mail.
> > We get the same problem on two similarly configured SCO machines.
> 
> We also have the same problem with our SCO 5.0.5. May I ask you
> if you found a solutionor workaround  in the meantime ?
> 
> Thanks in advance,
> Olivier Mueller

The solution was to not use the -g or -O type options on the compile.
just straight compile.

also found out the crypt library function returns less characters as
are stored in password struct. The characters were the same, but the
password stucture had a longer crypt than from calling crypt.

sco is kinda messed up

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration




Why do you think my server is down?

Please send me any errors you get while accessing my server.
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  





I'm just using the link on the qmail.org page and it's not doing ANYTHING.
Just sits there contacting...

Hmm....same with ftp in a terminal...

Here is a tracepath with does complete the route, but well, I still can't
get in.

hansen:~# tracepath moni.msci.memphis.edu/21
 1?: [LOCALHOST]      pmtu 1500
 1?: 208.222.92.4
 2?: 204.177.145.3
 3?: 137.39.3.89
 4?: 146.188.177.134
 5?: 146.188.178.106
 6?: 146.188.177.181
 7?: 137.39.23.146
 8?: 144.232.8.225    asymm  8 648856840ms
 9?: 144.232.8.206    asymm 10 648857254ms
10?: 144.232.0.46     asymm  9 648857675ms
11?: 144.232.9.130    asymm 10 648857713ms
12?: 144.232.3.170    asymm 11
13?: 144.228.81.18    asymm 12
14?: 206.23.252.113   asymm 13
15?: 206.23.252.134   asymm 14
16?: 198.146.21.158   asymm 15
17:  141.225.11.87    asymm 16 120ms reached
     Resume: pmtu 1500 hops 17 back 16 


-jeremy

> Why do you think my server is down?
> 
> Please send me any errors you get while accessing my server.
> -- 
> ---
> Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
> 


http://www.xxedgexx.com | [EMAIL PROTECTED]
---------------------------------------------
Y2K.  We're all gonna die.





Greets people,
I once again have a question. What I am trying to do is authenticate from a
merit radius server for pop3. The plan is to be hosting a number of
different domains on our mailserver and have them all authenticate from
radius(i know redundant ;). There are two problems that I forsee with this.
The radius clients file on the radius server looks at the IP of the
incomming connection, secret, type, and the file to look for. for example
the lines in clients would go something like this:

#Client Name       Key             [type]          [version] [prefix]
#----------------  --------------- --------------- --------- --------
1.2.3.4          secret         type=nas                          domain1
4.3.2.1          secret         type=nas                          domain2

the obsticle I need to cross here is since the radius query would probaby
only come from the main ip of the mail server we
'd only authenticate out of the domain1 users file. Is there a way to bind a
radius client to perform queries from a certain IP so that the radius server
can distinguish where to look?

But first is first. Where can I find a C checkpasswd that will perform
radius auth anyway? I've been tinkering with that perl version, but Its not
working for me, and would like a C version mainly due to speed anyway.

Much help would be greatly appreciated, if yer not all confused already =c)

----------------------------------------------
Gary Stewart                    [EMAIL PROTECTED]
Internet Service Specialist
Northern Valley Communications
(888)919-8945 http://www.nvc.net
----------------------------------------------





gary,  

we do pop3 authentication to a heavily hacked version of radius (and the
radiusified checkpasswd on qmail.org should be the one written by monte
miztelfelt ([EMAIL PROTECTED]) here).  the perl version works great for us (i
can send out another copy if you're having trouble getting it).

as for the ip binding, i'm not completely clear on the question.  the
radius requests will (depending on the operating system and the number of
ip bindings) come from one of the ip addresses on the interface that
routes to the radius server.  this is usually determinate (because it has
one interface).  if it is not determinate, you can hack the perl to bind
to a specific address (rather than ANY) on that interface (this can happen
with many unices when you have multiple addresses on the same
interface--binding a socket will not always get you the primary one).

if you can write in with a bit more information, i'm sure that what you
are trying to do can be done.

todd underwood
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Date: Thu, 22 Jul 1999 10:19:46 -0500
> From: Gary Stewart <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: Radius Authentication
> 
> Greets people,
> I once again have a question. What I am trying to do is authenticate from a
> merit radius server for pop3. The plan is to be hosting a number of
> different domains on our mailserver and have them all authenticate from
> radius(i know redundant ;). There are two problems that I forsee with this.
> The radius clients file on the radius server looks at the IP of the
> incomming connection, secret, type, and the file to look for. for example
> the lines in clients would go something like this:
> 
> #Client Name       Key             [type]          [version] [prefix]
> #----------------  --------------- --------------- --------- --------
> 1.2.3.4                secret         type=nas                          domain1
> 4.3.2.1                secret         type=nas                          domain2
> 
> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to bind a
> radius client to perform queries from a certain IP so that the radius server
> can distinguish where to look?
> 
> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its not
> working for me, and would like a C version mainly due to speed anyway.
> 
> Much help would be greatly appreciated, if yer not all confused already =c)
> 
> ----------------------------------------------
> Gary Stewart                    [EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> ----------------------------------------------
> 
> 





What I was planning on doing for true virtualization of our whole operation
was to have Merit radius look at different users files depending on what IP
the request is comming from. For example a client checks their e-mail on
domain1.com radius would see that the request is from mail.domain1.com and
look in the domain1 users file. and the same for someone checking their mail
on domain2.com radius would need to see that the ckpasswd request is coming
from the ip that is for mail.domain2.com in order to look in the domain2
users file. That way someone with the same username on domain1 can coexist
with the other person with the same username on domain2.

I have the ckpw-radius from Monte, I am just not having any luck running the
perl. Maybe I'm missing something or another, but I installed IO 1.20 and
Digest-MD5-2.07 wich i got from CPAN. I can could get you the whole list of
compiliation errors If you would like.

Regards,
Gary Stewart

-----Original Message-----
From: Todd at NM Technet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 22, 1999 10:35 AM
To: Qmail List
Subject: Re: Radius Authentication


gary,

we do pop3 authentication to a heavily hacked version of radius (and the
radiusified checkpasswd on qmail.org should be the one written by monte
miztelfelt ([EMAIL PROTECTED]) here).  the perl version works great for us (i
can send out another copy if you're having trouble getting it).

as for the ip binding, i'm not completely clear on the question.  the
radius requests will (depending on the operating system and the number of
ip bindings) come from one of the ip addresses on the interface that
routes to the radius server.  this is usually determinate (because it has
one interface).  if it is not determinate, you can hack the perl to bind
to a specific address (rather than ANY) on that interface (this can happen
with many unices when you have multiple addresses on the same
interface--binding a socket will not always get you the primary one).

if you can write in with a bit more information, i'm sure that what you
are trying to do can be done.

todd underwood
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Date: Thu, 22 Jul 1999 10:19:46 -0500
> From: Gary Stewart <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: Radius Authentication
>
> Greets people,
> I once again have a question. What I am trying to do is authenticate from
a
> merit radius server for pop3. The plan is to be hosting a number of
> different domains on our mailserver and have them all authenticate from
> radius(i know redundant ;). There are two problems that I forsee with
this.
> The radius clients file on the radius server looks at the IP of the
> incomming connection, secret, type, and the file to look for. for example
> the lines in clients would go something like this:
>
> #Client Name       Key             [type]          [version] [prefix]
> #----------------  --------------- --------------- --------- --------
> 1.2.3.4                secret         type=nas                          domain1
> 4.3.2.1                secret         type=nas                          domain2
>
> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to bind
a
> radius client to perform queries from a certain IP so that the radius
server
> can distinguish where to look?
>
> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its
not
> working for me, and would like a C version mainly due to speed anyway.
>
> Much help would be greatly appreciated, if yer not all confused already
=c)
>
> ----------------------------------------------
> Gary Stewart                    [EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> ----------------------------------------------
>
>





> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to
bind a
> radius client to perform queries from a certain IP so that the radius
server
> can distinguish where to look?

well, it depends on the implementation of the radius client.  certainly you
could tell it to bind to only one address, there's no unix reason you can't
do that.

however, what might be easier is to just modify your radius server config
to support clients from whatever IP address your client appears to be
coming from.  i'm assuming you have permission to do this?

> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its
not
> working for me, and would like a C version mainly due to speed anyway.

we use the perl version here and it works great.  i don't think speed will
be a big consideration, especially when you consider all the code you'll
have to write to do it in C (our perl version is about 40 lines i think,
it's the one from qmail.org with a couple minor mods to support our
convoluted directory structure).  also, consider that you still have to
access the network to talk to the radius server, that's going to be an
order or two of magnitude greater than any difference between C and perl.

what problems are you having with the perl version?

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065
...yours is not the less noble because no drum beats before you when
you go out into your daily battlefields, and no crowds shout about your
coming when you return from your daily victory or defeat.
     --Robert Louis Stevenson






Hello again,

Once again, this is about the radius/chkpw project that I'm working on. As
you may have read in my earlier messages
I am trying to have qmail pop3 to authenticate via radius, and was running
into trouble with the Perl version of radius-ckpw from the webpage. Now my
issues are no longer in compiling the script, I resolved that by
reinstalling the IO module in perl.  but the problem i'm running into now
(maybe this is a duh! thing) is when I telnet to the pop3 port, enter user
xxx pass xxx i get -ERR Authentication Failed. I then checked my radius
logfile and see this error:

Thu Jul 22 16:02:43 1999: get_radrequest: non-RFC packet from
205.198.26.125[32815] - access (type 1), len = 43
Thu Jul 22 16:02:43 1999: Hex dump at 0xa4850/0 for 43 bytes
Thu Jul 22 16:02:43 1999: 0xa4850: 0x0000| 01EC002B 4A116302 C3DF2C8A
7BD54B82| |...+J.c...,.{.K.|
Thu Jul 22 16:02:43 1999: 0xa4860: 0x0010| D116D3FB 01056764 730212E7
8AF58405| |......gds.......|
Thu Jul 22 16:02:43 1999: 0xa4870: 0x0020| A46147F9 4F9A14B6 BCA5A7..
........| |.aG.O......||||||

Anyone have any idea on what is causing this problem?

----------------------------------------------
Gary Stewart                    [EMAIL PROTECTED]
Internet Service Specialist
Northern Valley Communications
(888)919-8945 http://www.nvc.net
----------------------------------------------





I used to get that kind of dump from cistron radiusd when my old Netserver
card would try and authenticate a user.... came down to the radius daemon
was not set up correctly.

Recheck the setup.

Can you run radtest and get a failure?  That would give you an idea if it
was a radius or perl or network problem.

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Hello again,
> 
> Once again, this is about the radius/chkpw project that I'm working on. As
> you may have read in my earlier messages
> I am trying to have qmail pop3 to authenticate via radius, and was running
> into trouble with the Perl version of radius-ckpw from the webpage. Now my
> issues are no longer in compiling the script, I resolved that by
> reinstalling the IO module in perl.  but the problem i'm running into now
> (maybe this is a duh! thing) is when I telnet to the pop3 port, enter user
> xxx pass xxx i get -ERR Authentication Failed. I then checked my radius
> logfile and see this error:
> 
> Thu Jul 22 16:02:43 1999: get_radrequest: non-RFC packet from
> 205.198.26.125[32815] - access (type 1), len = 43
> Thu Jul 22 16:02:43 1999: Hex dump at 0xa4850/0 for 43 bytes
> Thu Jul 22 16:02:43 1999: 0xa4850: 0x0000| 01EC002B 4A116302 C3DF2C8A
> 7BD54B82| |...+J.c...,.{.K.|
> Thu Jul 22 16:02:43 1999: 0xa4860: 0x0010| D116D3FB 01056764 730212E7
> 8AF58405| |......gds.......|
> Thu Jul 22 16:02:43 1999: 0xa4870: 0x0020| A46147F9 4F9A14B6 BCA5A7..
> ........| |.aG.O......||||||
> 
> Anyone have any idea on what is causing this problem?
> 
> ----------------------------------------------
> Gary Stewart                    [EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> ----------------------------------------------
> 
> 





Paul,
Well the radius (Merit Radius) has been in production for quite some time
now for all of our dialup authentications, and watching the logfile
everything else comes through.. just the request from my test server gives
me that error when trying to authenticate pop3. Do you think it may have
something do do with the "type" parameter in the clients file maybe?

Regards,
Gary Stewart


-----Original Message-----
From: Paul Farber [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 22, 1999 4:44 PM
To: Gary Stewart
Cc: Qmail List
Subject: Re: Radius Authentication


I used to get that kind of dump from cistron radiusd when my old Netserver
card would try and authenticate a user.... came down to the radius daemon
was not set up correctly.

Recheck the setup.

Can you run radtest and get a failure?  That would give you an idea if it
was a radius or perl or network problem.






Is there a way to control how many messages are put into the
outbound queue for a mail site?  For example, I have a client
with over 300 messages in the outbound queue, and I am not
sending to anyone else because they are monopolizing the out-
bound mail queue.

Thank you in advance...

-Eric Davis
[EMAIL PROTECTED]




On Thu, Jul 22, 1999 at 10:36:20AM -0400, Eric Davis wrote:

Make an entry for that host in virtualdomains, and redirect the email into
a Maildir, eg:

example.com:alias-example

Then in ~alias/.qmail-example-default, put:

./example/

and make a maildir, eg:

su alias -c 'maildirmake ~alias/example'

Finally, because example.com's mail is marked as remote, put an entry into
control/smtproutes like this:

example.com:[127.0.0.1]

Make sure localhost is allowed to relay. Then send a HUP signal to
qmail-send.

Now all emails for example.com will collect in ~alias/example/ and you can
use maildirsmtp to serially dispatch these emails to them.

> Is there a way to control how many messages are put into the
> outbound queue for a mail site?  For example, I have a client
> with over 300 messages in the outbound queue, and I am not
> sending to anyone else because they are monopolizing the out-
> bound mail queue.
> 
> Thank you in advance...
> 
> -Eric Davis
> [EMAIL PROTECTED]




> > An MX record may not point to a C record even though it might
> > seem to make sense to do so, simply because DNS was designed
> > specifically prohibiting that.
> 
> It doesn't make that much sense:
> 1. One additional lookup.
> 2. Mail sent to CNAME should be "canonicized" - ie. the CNAMEs 
> in the addresses should be resolved. If MX points to CNAME, you 
> don't know if it should be canonicized or not.
> 
> Plus, of course, RFC says against that.

Yes, what I mean by "makes sense" is that it isn't apparent
reading a DNS record the fundamental difference between the
behavior of a macro and a pointer. An MX record points somewhere
whereas a C record rewrites.

So if you mentally translate an MX record of

family.cybergood.net. IN MX mail.bannerclub.com.

as "mail sent to [EMAIL PROTECTED]
is handled by the computer that is represented
by mail.bannerclub.com"

makes sense (both family.cybergood.net
and bannerclub.com are A records)

If family.cybergood.net or mail.bannerclub.com were
a C records (not in itself unreasonable for web sites)
the read of the MX record would still "make sense"
but be wrong.

> -----Original Message-----
> From: Petr Novotny [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 22, 1999 3:58 AM
> To: Alex Miller
> Cc: [EMAIL PROTECTED]
> Subject: RE: Can qmail work withuot MX RR?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > An MX record is only necessary when an A record points to a machine
> > that has no mail handler, and the MX record then points to an A 
> record of
> > a machine that does have a mail handler.
> 
> That's the other way around (I mean the reasoning): Empty MX list 
> is considered a special case when A record should be tried. You 
> should try to have a MX (even pointing at yourself, like
> mail IN A 11.111.111.1111
> mail IN MX 5 mail
> ) because it saves one DNS lookup.
> 
> > An MX record may not point to a C record even though it might
> > seem to make sense to do so, simply because DNS was designed
> > specifically prohibiting that.
> 
> It doesn't make that much sense:
> 1. One additional lookup.
> 2. Mail sent to CNAME should be "canonicized" - ie. the CNAMEs 
> in the addresses should be resolved. If MX points to CNAME, you 
> don't know if it should be canonicized or not.
> 
> Plus, of course, RFC says against that.
> 
> > Sending mail to a C record might seem to work, deceptively,
> > because you may have included the A record in localhosts.
> 
> ???
> 
> You can send mail directly to a host which is only a CNAME (and 
> the address gets rewritten to what CNAME really points at). In fact, 
> if you have CNAME and MX for the same host, the MX is ignored 
> (and probably considered an error).
> 
> > For example,
> > if you have an A record stooges.com on a machine with QMail
> > and stooge.com is in the /var/control/localhosts file
> > then any mail sent to [EMAIL PROTECTED], moe.stooges.com,
> > [EMAIL PROTECTED] will deliver if larry, moe, and curly
> > are users.
> 
> If you meant [EMAIL PROTECTED], yes.
> 
> > If there is a C record three.stooges.com that aliases
> > stooges.com (that's what a C record is) then
> > [EMAIL PROTECTED], [EMAIL PROTECTED],
> > [EMAIL PROTECTED] will also deliver because
> > like a c programming macro three.stooges.com
> > "becomes" stooges.com
> 
> Yes - I like that explanation :-)
> 
> > The deceptive part of that is this.
> > 
> > If you want to route mail of [EMAIL PROTECTED]
> > to go to curly@localhost you must creat an alias
> > for shemp to route to curly and that will work for
> > all localhosts.
> > 
> > So there will be an effect that [EMAIL PROTECTED]
> > will also go to the user curly.
> > 
> > For explicit control of each domain, separately, you
> > want to use virtual domains, not localhost.
> 
> Sure - all in "locals" are aliases for local host; ie. after you decided 
> the address in in aliases, only local part is used to route the mail. If 
> you want to use different handling for different domains, you want 
> virtual domains.
> 
> Caveat emptor: If three.stooges.com is a CNAME for stooges.com, 
> you are not too likely to receive a mail for 
> [EMAIL PROTECTED], since the CNAMEs should get 
> canonicized (rewritten), unless the other side is broken. If you want 
> virtual domain, you want MX pointing at you, not CNAME.
> 
> > Each virtualhost should have it's own A record.
> > stooges.com has an A record
> > three.stooges.com has an A record
> > littlerascals.com has an  A record
> 
> MX is enough. Although nothing prohibits it, you might (repeat: 
> might) have some problems with broken, brain-dead machines on 
> the other side that do a forward lookup, a reverse lookup, and then 
> seem surprised that they didn't get the original name. But hey, 
> yes, their behaviour would be broken.
> 
> > each is listed in rcpthosts
> > 
> > and a virtual domain map is put into virtualdomains
> > stooges.com:stooges
> > three.stooges.com:threestooges
> > littlerascals.com:littlerascals
> > 
> > This way, there is one user for each
> > virtual domain, and the .qmail routing
> > in each of those is very specific.
> > [EMAIL PROTECTED] can have a
> > routing and [EMAIL PROTECTED]
> > can properly bounce (since shemp
> > was never a little rascal)
> 
> If I only knew what you're talking about - some TV show perhaps?
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60 
> Comment: http://community.wow.net/grt/qdpgp.html
> 
> iQA/AwUBN5bPD1MwP8g7qbw/EQKMLACeMRjwDeDu7fiRs19TDzQvLBBvq14AoOvm
> 9kxh0bXzWN2W8xWrnhrhezv2
> =ZClN
> -----END PGP SIGNATURE-----
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
>                                                              [Tom Waits]
> 




Hi,

(I'm running qmail 1.03, serialmail 0.75, ucspi-tcp 0.84, fetchmail 4.6.4-1.1 
and Debian Linux 2.1. Outgoing mail is delivered to /var/qmail/alias/pppdir 
and handled by serialmail if a ppp connection is up)

But there must be something wrong with my qmail/fetchmail configuration: 
incoming mail (fetched from the pop3 server by fetchmail) ends up in 
/var/qmail/alias/pppdir/ (!) but unfortunately not in /home/mark/Maildir/.


~/.fetchmailrc says:

-----
poll unidui.uni-duisburg.de proto pop3
user mweinem with password secret is mark here
forcecr 
keep
-----



/var/log/syslog says:

-----
Jul 22 18:30:33 pandora qmail: 932661033.597194 new msg 6256
Jul 22 18:30:33 pandora qmail: 932661033.597458 info msg 6256: 
bytes 2331 from <[EMAIL PROTECTED]> qp 951 uid 1002
Jul 22 18:30:33 pandora qmail: 932661033.600413 starting delivery 89: 
msg 6256 to local alias-ppp-mark@localhost
Jul 22 18:30:33 pandora qmail: 932661033.600604 status: local 1/10 remote 0/20
Jul 22 18:30:33 pandora qmail: 932661033.622723 delivery 89: success: did_1+0+0/
Jul 22 18:30:33 pandora qmail: 932661033.622947 status: local 0/10 remote 0/20
Jul 22 18:30:33 pandora qmail: 932661033.623064 end msg 6256

Jul 22 18:30:34 pandora qmail: 932661034.907755 new msg 6256
Jul 22 18:30:34 pandora qmail: 932661034.908010 info msg 6256: 
bytes 3108 from <[EMAIL PROTECTED]> qp 955 uid 1002
Jul 22 18:30:34 pandora qmail: 932661034.910829 starting delivery 90: 
msg 6256 to local alias-ppp-mark@localhost
Jul 22 18:30:34 pandora qmail: 932661034.911025 status: local 1/10 remote 0/20
Jul 22 18:30:34 pandora qmail: 932661034.969414 delivery 90: success: did_1+0+0/
Jul 22 18:30:34 pandora qmail: 932661034.969645 status: local 0/10 remote 0/20
Jul 22 18:30:34 pandora qmail: 932661034.969763 end msg 6256
Jul 22 18:30:36 pandora qmail: 932661036.077529 new msg 6256
-----


Why does it try to deliver to alias-ppp-mark@localhost and not to  
mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
hostname)?

I have /var/qmail/alias/.alias-ppp-mark@localhost 
with  "/home/mark/Maildir/", but it does not help.


regards
         Mark Weinem







On Thu, 22 Jul 1999, Mark Weinem wrote:

> Why does it try to deliver to alias-ppp-mark@localhost and not to  
> mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> hostname)?
> 
> I have /var/qmail/alias/.alias-ppp-mark@localhost 
> with  "/home/mark/Maildir/", but it does not help.

 What does your default deliver directions say?  WHich .qmail file is
being used? /var/qmail/alias/.qmail-default?
/var/qmail/alias/.qmail-ppp-mark?

 I'll bet you have the wrong delivery instructions.

.Shawn






On Thu, 22 Jul 1999, Mark Weinem wrote:
 
> Why does it try to deliver to alias-ppp-mark@localhost and not to  
> mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> hostname)?
> 
> I have /var/qmail/alias/.alias-ppp-mark@localhost 
> with  "/home/mark/Maildir/", but it does not help.

umm, it is probably because you have the format for the file wrong. I believe
it is supposed to be .qmail-ppp-mark and in side the file you put a list of
addresses/directives.



-- 
"Try not the patience of wizards, for they are subtle and
quick to anger." --- Elric

Public PGP Available by Finger: [EMAIL PROTECTED]
PGP Fingerprint16 = FC F6 32 8D 9A CC 2A E5  02 FD 54 0F 35 9F 27 C2





On Thu, 22 Jul 1999, Elric of Melnibone wrote:

> On Thu, 22 Jul 1999, Mark Weinem wrote:
>  
> > Why does it try to deliver to alias-ppp-mark@localhost and not to  
> > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> > hostname)?
> > 
> > I have /var/qmail/alias/.alias-ppp-mark@localhost 
> > with  "/home/mark/Maildir/", but it does not help.
> 
> umm, it is probably because you have the format for the file wrong. I believe
> it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> addresses/directives.

 Oh man, am I blind today... Sorry for the completely useless post, but
yes, removing the @localhost part of that filename will probably fix it.
Check the permissions as well.  It should be owned by alias.

.Shawn






Asmodeus wrote:

> > > Why does it try to deliver to alias-ppp-mark@localhost and not to
> > > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my
> > > hostname)?

Is the delivery instruction "to local alias-ppp-mark@localhost" really
correct? Is this different from qmail 1.01?


> > umm, it is probably because you have the format for the file wrong. I believe
> > it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> > addresses/directives.
> 
>  Oh man, am I blind today... Sorry for the completely useless post, but
> yes, removing the @localhost part of that filename will probably fix it.
> Check the permissions as well.  It should be owned by alias.

I have changed this, it's .qmail-ppp-mark (with /home/mark/Maildir in
side). 
But now: no mail in /var/qmail/alias/ppdir and no mail in
/home/mark/Maildir.
Must be still something wrong

Mark
 
> .Shawn




Hi there.

I am using qmail-1.03 with the LDAP patches, I have it all up and runnig
nicely, load balanced on several machines and things are just zooming, I am
very happy with Qmail.

What I want to do is add a tag to all messages not destined for local users,
so I want to set up another instance on qmail in a different directory with
a seperate queue etc... (I have the 'taggin' program all ready, I just need
to know how to get the messages to it)

To do this with out the LDAP patches, it was a matter of setting up a
':remote' entry in my virtualdomains file and then setting up
.qmail-remote-default to execute the message parser and then inject the
message into the second queue...

Now with the LDAP patches I don't even have a 'virtualdomains' file, so how
would I go about setting this up?

Anyone done this?

should I just create a virtualdomains file and stick ':remote' in it and
anything not found in the LDAP directory will get sent to
~aliases/.qmail-remote-default ?


All help appreciated!

Wil.






Does any body here have problems with qmail?
My qmail crashes at least 6 times a day with "Lost spawn connection: dying
....."


Did anybody already have such a problem ?
How did you fix it ?

hardware problem isn't the answer once i already stressed my system
compiling my hole FreeBSD box ( compiling FreeBSD is a very heavy process,
if there were buggy hardware, i could not compile it).

What are the solutions ?



--
What's the similarity between an air
conditioner and a computer? They both
stop working when you open windows.





Dear gentleman,

Thank you for your support.
Here goes my configuration:

Qmail/Nofiles users login capabilities:
Resource limits for class default:
  cputime          infinity secs
  filesize         infinity kb
  datasize         infinity kb
  stacksize        infinity kb
  coredumpsize     infinity kb
  memoryuse        infinity kb
  memorylocked     infinity kb
  maxprocesses     infinity
  openfiles        infinity

Here goes my kernel parameters:
kern.maxproc: 820
kern.maxfilesperproc: 1640
kern.maxprocperuid: 819
vfs.aio.max_aio_per_proc: 32
vfs.aio.max_aio_queue_per_proc: 256
vfs.aio.max_aio_procs: 32
vfs.aio.num_aio_procs: 0
vfs.aio.target_aio_procs: 0
hw.model: AMD-K6(tm) 3D processor

So, here is how i am configured. Looking these tables, i cannot see any
limit to qmail (concerning proccess and files)

Does anybody here have any ideia ?

Thank you for your time and cooperation.
Best regards.




----- Forwarded message from Mail Delivery Subsystem -----

>From MAILER-DAEMON Fri Jul 23 00:42:26 MET 1999
Date: Fri, 23 Jul 1999 00:42:26 +0200 (METDST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: qmail delivers to wrong maildir




> On Thu, 22 Jul 1999, Elric of Melnibone wrote:
>  
> > > Why does it try to deliver to alias-ppp-mark@localhost and not to  
> > > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> > > hostname)?

Is the delivery instruction "alias-ppp-mark@localhost" really correct?

 
> > umm, it is probably because you have the format for the file wrong. I believe
> > it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> > addresses/directives.
> 
>  Oh man, am I blind today... Sorry for the completely useless post, but
> yes, removing the @localhost part of that filename will probably fix it.
> Check the permissions as well.  It should be owned by alias.
> 

I have changed this, it's .qmail-ppp-mark (with /home/mark/Maildir/ in side) now.
The new situation: no Mails in /var/qmail/alias/pppdir and no mails in 
/home/mark/Maildir. Must be still something wrong

Mark 

----- End of forwarded message from Mail Delivery Subsystem -----




all my mail accounts except for root are working fine... but root:

I have a system, where all admins should get all mails sent to root. the
mail for root is as default stored in /root/Mailbox, but I have there a
.qmail, with the following information:

--- start ---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---end---

but this just causes the mail to disappear: it doesn't find it's way to
Mailbox but also not in the mailadresses specified in .qmail. I have not
used .qmail elsewhere, so I can't be sure that it would work there, at least
here it doesn't...

-Maria





Make a .qmail-root in ~alias ... works for me.



-----Original Message-----
From: Maria Zevenhoven <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, 23 July 1999 4:29
Subject: Forwarding


>all my mail accounts except for root are working fine... but root:
>
>I have a system, where all admins should get all mails sent to root. the
>mail for root is as default stored in /root/Mailbox, but I have there a
>.qmail, with the following information:
>
>--- start ---
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>---end---
>
>but this just causes the mail to disappear: it doesn't find it's way to
>Mailbox but also not in the mailadresses specified in .qmail. I have not
>used .qmail elsewhere, so I can't be sure that it would work there, at
least
>here it doesn't...
>
>-Maria
>
>





> Make a .qmail-root in ~alias ... works for me.

you mean, a .qmail-root file in the admins home directories? what should I
put in that?





Maria Zevenhoven wrote:
> > Make a .qmail-root in ~alias ... works for me.
> 
> you mean, a .qmail-root file in the admins home directories? what should I
> put in that?

INSTALL.alias from qmail distribution says:
==================
* root. Under qmail, root never receives mail. Your system may generate
mail messages to root every night; if you don't have an alias for root,
those messages will bounce. (They'll end up double-bouncing to the
postmaster.) Set up an alias for root in ~alias/.qmail-root. .qmail
files are similar to .forward files, but beware that they are strictly
line-oriented---see dot-qmail.0 for details.
==================

Note: you should have done this at install time.

-- 
sgk




Hi,

We run qmail 1.03.

I've been asked if we support "ERTN".

Reading around... it looks like I have to have serialmail installed to
support it. However, I don't know how to find out if i have serialmail
installed.

Someone tells me that the person here before me had setup.

Two quick questions:

1. How do I find out if I have serialmail installed?

2. If I do have serialmail installed, what is the difference between ERTN
and people just dialing in and collecting their mail normally?

Thanks for help in advance. :)

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750
[EMAIL PROTECTED]








I installed web-based email system AtDot on qmail running linux box. The
main problem comes with sending
messages. AtDot has some features and variables to set. I want to run it
in ISP mode so in my case I put
$feature_forward=0, $dont_mess_with_sendmail=0,$feature_pop=1,
$singlepop=1.
Now the point. In the line defining smtpserver I had to put the slash
"/" or "\". In my case it looks like
$smtpserver = "localhost\". Only in this case AtDot says the message has
been sent and shows this message.
In fact nothing has been sent. I can properly read and delete messages.
Error file from Apache says -
use of uninitialized value at /usr/lib/perl5/..../5.00401/Socket.pm line
252.
As I drop the slash in the $smtpserver line then I get Internal server
error message from Apache.
If there is anybody using both qmail and AtDot willing to help I
appreciate your attention.
Andrzej





Hi
 
Our Qmail 1.03 box is having problems getting mail from one particular site and I've been told to try and sort it out. When mail comes in from this site, I can watch the connection using netstat. The connection from their MX goes from ESTABLISHED straight to CLOSE as if the connection is getting broken. As qmail-smtpd doesn't provide log info I had to get a copy of their NTMail log file. It shows the following for most deliveries to our site.
 
waiting 10038 mailhost.oursite.com
(hmmmm.....10038. Winsock error?????)

eventually mail is sent back to the sender undelivered. I'm 99% sure it's something at their end but in the interest of workplace harmony it'd be nice to get to the bottom of it.
 
Any help appreciated
 
Simon Rae


Reply via email to