Mailing List Archive

qmail install problems
I'm converting Irix 6.2 machines here to use qmail as a sendmail
replacement to an NFS-mounted /var/spool dir (This may get changed at some
point). However, I've run into some fairly inexplicable problems after
post-installation.

Everything compiles fine and I'm following the included documentation
verbatim. All daemons are running and syslog confirms this. However,
when trying to inject a message as:

%echo to: login | /var/qmail/bin/qmail-inject

The process will hang under non-root uids and nothing is sent. Under
root, the process doesn't hang but nothing is sent anyway. syslog is
quiet.
Sending with elm and pine (with the appropriate pine.conf changes) will
fail (pine blathers about "Error posting"). Only going to the SMTP port
directly produces any positive results (I recieve the mail):

[14:31:37]</user013/koryl>[koryl@poe]%telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 poe.math.umn.edu ESMTP
helo dude
250-poe.math.umn.edu
250-PIPELINING
250 8BITMIME
mail <koryl@math.umn.edu>
250 ok
rcpt <koryl@math.umn.edu>
250 ok
data
354 go ahead
Subject  : A test

testing
.
250 ok 856557154 qp 5506
quit
221 poe.math.umn.edu
Connection closed by foreign host.
You have mail in /usr/mail/koryl
[14:33:31]</user013/koryl>[koryl@poe]%echo to: koryl | /var/qmail/bin/qmail-inject

[14:34:19]</user013/koryl>[koryl@poe]%ps -ef |grep qmail
qmailr 1236 1233 0 Feb 18 ? 0:00 qmail-rspawn
root 1235 1233 0 Feb 18 ? 0:00 qmail-lspawn
qmaill 1234 1233 0 Feb 18 ? 0:00 splogger qmail
qmails 1233 1 0 Feb 18 ? 0:00 qmail-send
qmailq 1237 1233 0 Feb 18 ? 0:00 qmail-clean
koryl 5524 5494 2 14:35:33 pts/9 0:00 grep qmail
[14:35:33]</user013/koryl>[koryl@poe]%tail -5 /var/adm/SYSLOG
Feb 21 14:32:34 6C:poe qmail: 856557154.297738 new msg 14883622
Feb 21 14:32:34 6C:poe qmail: 856557154.298437 info msg 14883622: bytes 200 from <koryl@math.umn.edu> qp 5506 uid 51
Feb 21 14:32:34 6C:poe qmail: 856557154.451041 starting delivery 1: msg 14883622 to remote koryl@math.umn.edu
Feb 21 14:32:35 6C:poe qmail: 856557155.375719 delivery 1: success: 128.101.154.28_accepted_message./Remote_host_said:_250_OAA12586_Message_accepted_for_delivery/
Feb 21 14:32:35 6C:poe qmail: 856557155.382408 end msg 14883622

This has me confused as I've heard of others on this list running Irix
with little problem. Help me obi-wan kenobi, you're my only hope...

Thanks.

+-----------------------------------------------------------------------+
| Kory Lasker - koryl@math.umn.edu /\ http://www.math.umn.edu/~koryl/ |
| -- Math Department Systems Staff \/ Office Phone: 624-7358 -- |
+-----------------------------------------------------------------------+
Re: qmail install problems [ In reply to ]
My first quess is that mail is getting passed to qmail-queue and getting
stuck there.

Is there anything in the queue after these efforts?

Does Irix have a system call trace such as truss that you can aim at
qmail-inject?

Is /var/qmail NFS mounted? If so, is it mounted suid? (I cannot now recall,
but that might be a nono).


At 05:43 PM 2/21/97 -0600, Kory Lasker wrote:
>
> I'm converting Irix 6.2 machines here to use qmail as a sendmail
>replacement to an NFS-mounted /var/spool dir (This may get changed at some
>point). However, I've run into some fairly inexplicable problems after
>post-installation.
>
> Everything compiles fine and I'm following the included documentation
>verbatim. All daemons are running and syslog confirms this. However,
>when trying to inject a message as:
>
> %echo to: login | /var/qmail/bin/qmail-inject
>
> The process will hang under non-root uids and nothing is sent. Under
>root, the process doesn't hang but nothing is sent anyway. syslog is
>quiet.
> Sending with elm and pine (with the appropriate pine.conf changes) will
>fail (pine blathers about "Error posting"). Only going to the SMTP port
>directly produces any positive results (I recieve the mail):
>
>[14:31:37]</user013/koryl>[koryl@poe]%telnet 127.0.0.1 25
>Trying 127.0.0.1...
>Connected to 127.0.0.1.
>Escape character is '^]'.
>220 poe.math.umn.edu ESMTP
>helo dude
>250-poe.math.umn.edu
>250-PIPELINING
>250 8BITMIME
>mail <koryl@math.umn.edu>
>250 ok
>rcpt <koryl@math.umn.edu>
>250 ok
>data
>354 go ahead
>Subject  : A test
>
>testing
>.
>250 ok 856557154 qp 5506
>quit
>221 poe.math.umn.edu
>Connection closed by foreign host.
>You have mail in /usr/mail/koryl
>[14:33:31]</user013/koryl>[koryl@poe]%echo to: koryl |
/var/qmail/bin/qmail-inject
>
>[14:34:19]</user013/koryl>[koryl@poe]%ps -ef |grep qmail
> qmailr 1236 1233 0 Feb 18 ? 0:00 qmail-rspawn
> root 1235 1233 0 Feb 18 ? 0:00 qmail-lspawn
> qmaill 1234 1233 0 Feb 18 ? 0:00 splogger qmail
> qmails 1233 1 0 Feb 18 ? 0:00 qmail-send
> qmailq 1237 1233 0 Feb 18 ? 0:00 qmail-clean
> koryl 5524 5494 2 14:35:33 pts/9 0:00 grep qmail
>[14:35:33]</user013/koryl>[koryl@poe]%tail -5 /var/adm/SYSLOG
>Feb 21 14:32:34 6C:poe qmail: 856557154.297738 new msg 14883622
>Feb 21 14:32:34 6C:poe qmail: 856557154.298437 info msg 14883622: bytes
200 from <koryl@math.umn.edu> qp 5506 uid 51
>Feb 21 14:32:34 6C:poe qmail: 856557154.451041 starting delivery 1: msg
14883622 to remote koryl@math.umn.edu
>Feb 21 14:32:35 6C:poe qmail: 856557155.375719 delivery 1: success:
128.101.154.28_accepted_message./Remote_host_said:_250_OAA12586_Message_acce
pted_for_delivery/
>Feb 21 14:32:35 6C:poe qmail: 856557155.382408 end msg 14883622
>
> This has me confused as I've heard of others on this list running Irix
>with little problem. Help me obi-wan kenobi, you're my only hope...
>
> Thanks.
>
> +-----------------------------------------------------------------------+
> | Kory Lasker - koryl@math.umn.edu /\ http://www.math.umn.edu/~koryl/ |
> | -- Math Department Systems Staff \/ Office Phone: 624-7358 -- |
> +-----------------------------------------------------------------------+
>
>
>
>
Re: qmail install problems [ In reply to ]
On Sat, 22 Feb 1997, Mark Delany wrote:

> My first quess is that mail is getting passed to qmail-queue and getting
> stuck there.
>
> Is there anything in the queue after these efforts?

Nope. It's only used when I use the SMTP port. All other methods fail.

> Does Irix have a system call trace such as truss that you can aim at
> qmail-inject?

Yeah, I looked into this and it seems as though the qmail daemons are
completely quiet whenever I run qmail-inject or my favorite mail program.
As I mentioned before, so is syslog. I can run the sendmail wrapper and
nothing happens to the logs or monitored processes. When running
qmail-inject non-root, the process goes completely zombie and any further
attempts running qmail-inject as root or otherwise end up as zombie, too.

Configuration files (/var/qmail/[control|alias]) are identical to the
format that is working on all of our Linux machines running qmail. I've
involved some other people here are we are completely baffled.

> Is /var/qmail NFS mounted? If so, is it mounted suid? (I cannot now recall,
> but that might be a nono).

I don't see how one could NFS mount /var/qmail without running into
conflicts. No, it's mounted under root as one partition.

>
> At 05:43 PM 2/21/97 -0600, Kory Lasker wrote:
> >
> > I'm converting Irix 6.2 machines here to use qmail as a sendmail
> >replacement to an NFS-mounted /var/spool dir (This may get changed at some
> >point). However, I've run into some fairly inexplicable problems after
> >post-installation.
> >
> > Everything compiles fine and I'm following the included documentation
> >verbatim. All daemons are running and syslog confirms this. However,
> >when trying to inject a message as:
> >
> > %echo to: login | /var/qmail/bin/qmail-inject
> >
> > The process will hang under non-root uids and nothing is sent. Under
> >root, the process doesn't hang but nothing is sent anyway. syslog is
> >quiet.
> > Sending with elm and pine (with the appropriate pine.conf changes) will
> >fail (pine blathers about "Error posting"). Only going to the SMTP port
> >directly produces any positive results (I recieve the mail):
> >
> >[14:31:37]</user013/koryl>[koryl@poe]%telnet 127.0.0.1 25
> >Trying 127.0.0.1...
> >Connected to 127.0.0.1.
> >Escape character is '^]'.
> >220 poe.math.umn.edu ESMTP
> >helo dude
> >250-poe.math.umn.edu
> >250-PIPELINING
> >250 8BITMIME
> >mail <koryl@math.umn.edu>
> >250 ok
> >rcpt <koryl@math.umn.edu>
> >250 ok
> >data
> >354 go ahead
> >Subject  : A test
> >
> >testing
> >.
> >250 ok 856557154 qp 5506
> >quit
> >221 poe.math.umn.edu
> >Connection closed by foreign host.
> >You have mail in /usr/mail/koryl
> >[14:33:31]</user013/koryl>[koryl@poe]%echo to: koryl |
> /var/qmail/bin/qmail-inject
> >
> >[14:34:19]</user013/koryl>[koryl@poe]%ps -ef |grep qmail
> > qmailr 1236 1233 0 Feb 18 ? 0:00 qmail-rspawn
> > root 1235 1233 0 Feb 18 ? 0:00 qmail-lspawn
> > qmaill 1234 1233 0 Feb 18 ? 0:00 splogger qmail
> > qmails 1233 1 0 Feb 18 ? 0:00 qmail-send
> > qmailq 1237 1233 0 Feb 18 ? 0:00 qmail-clean
> > koryl 5524 5494 2 14:35:33 pts/9 0:00 grep qmail
> >[14:35:33]</user013/koryl>[koryl@poe]%tail -5 /var/adm/SYSLOG
> >Feb 21 14:32:34 6C:poe qmail: 856557154.297738 new msg 14883622
> >Feb 21 14:32:34 6C:poe qmail: 856557154.298437 info msg 14883622: bytes
> 200 from <koryl@math.umn.edu> qp 5506 uid 51
> >Feb 21 14:32:34 6C:poe qmail: 856557154.451041 starting delivery 1: msg
> 14883622 to remote koryl@math.umn.edu
> >Feb 21 14:32:35 6C:poe qmail: 856557155.375719 delivery 1: success:
> 128.101.154.28_accepted_message./Remote_host_said:_250_OAA12586_Message_acce
> pted_for_delivery/
> >Feb 21 14:32:35 6C:poe qmail: 856557155.382408 end msg 14883622
> >
> > This has me confused as I've heard of others on this list running Irix
> >with little problem. Help me obi-wan kenobi, you're my only hope...
> >
> > Thanks.
> >
> > +-----------------------------------------------------------------------+
> > | Kory Lasker - koryl@math.umn.edu /\ http://www.math.umn.edu/~koryl/ |
> > | -- Math Department Systems Staff \/ Office Phone: 624-7358 -- |
> > +-----------------------------------------------------------------------+
> >
> >
> >
> >
>

+-----------------------------------------------------------------------+
| Kory Lasker - koryl@math.umn.edu /\ http://www.math.umn.edu/~koryl/ |
| -- Math Department Systems Staff \/ Office Phone: 624-7358 -- |
+-----------------------------------------------------------------------+