qmail-inject not working?

2001-01-26 Thread Fish Flowers

Well, now I have supervise, svscan, and apparently qmail up and running:

bash-2.03# ps -ef |grep qmail
  qmailq  8711  8704  1 10:11:47 pts/20:00 qmail-clean
  qmaill  8710  8703  1 10:11:47 pts/20:00 /usr/local/bin/multilog t
/var/lo
g/qmail/smtpd
  qmailr  8708  8704  1 10:11:47 pts/20:00 qmail-rspawn
  qmails  8704  8700  2 10:11:46 pts/20:00 qmail-send
root  8715  8125  0 10:11:50 pts/20:00 grep qmail
root  8702  8699  1 10:11:46 pts/20:00 supervise qmail-smtpd
  qmaill  8705  8704  0   0:00 defunct
root  8700  8699  0 10:11:46 pts/20:00 supervise qmail-send
  qmaill  8707  8701  1 10:11:47 pts/20:00 /usr/local/bin/multilog t
/var/lo
g/qmail
root  8706  8704  1 10:11:47 pts/20:00 qmail-lspawn |preline
procmail
bash-2.03#

And yet when I try and use qmail-inject to test the delivery, nothing
happens -- no error messages, no syslogs, no mail. Very strange.

Furrfu. Any ideas? Thanks --

Fish.




tcpserver unable to figure out port number for smtp

2001-01-26 Thread Fish Flowers

OK, I lied, qmail is logging -- I just wasn't clueful enough to figure out
where. But now I have! (Thanks James and Charles.) But it didn't help.
/var/log/qmail/smtpd/current shows the following:

@40003a71e0a43872189c tcpserver: fatal: unable to figure out port
number for smtp
... repeat ad nauseam

OK, fair enough... how do I open the port? Or point tcpserver to
it? Ack! Lack of unix training coming back to bite me in the butt!

Fish.





Re: tcpserver unable to figure out port number for smtp

2001-01-26 Thread Fish Flowers

On Fri, 26 Jan 2001, Kris Kelley wrote:

 Looks like you're calling tcpserver with a port argument of "smtp".  You
 have two options: either use a port argument of "25" instead (a number
 instead of a name), or define a port number for smtp in /etc/services or
 similar file.

Hmm -- but smtp is assigned a port number (25) in /etc/services...

When and where is tcpserver called? I'll try passing it an explicit port
argument...

Fish.




qmail compile error

2001-01-25 Thread Fish Flowers

Hi --

I'm trying to install qmail on a Solaris box, and when running "make setup
check" I'm getting the following string:

... [happy compile messages] ...
./compile dns.c
"/usr/include/arpa/nameser.h", line 127: warning: const is a keyword in
ANSI C
"/usr/include/arpa/nameser.h", line 127: syntax error before or at: const
"/usr/include/arpa/nameser.h", line 127: cannot recover from previous
errors
make: *** [dns.o] Error 10
#

The relevant lines of /usr/include/arpa/nameser.h are:

typdef struct __ns_msg {
const uchar_t   *_msg, *_eom;
uint16_t_id, _flags, _counts[ns_s_max];
const uchar_t   *_sections[ns_s_max];
ns_sect _sect;
int _rrnum;
const uchar_t   *_ptr;
} ns_msg;

Does anyone have any pointers on how to resolve this?

Thanks,

Fish Flowers.




supervise fatal errors

2001-01-25 Thread Fish Flowers

I've gotten qmail to compile, and my init scripts set up, but when I run
"qmail start", I get the following:

Starting qmail: svscan
.
supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary
failure
supervise: fatal: unable to acquire log/supervise/lock: temporary
failure
supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary
failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure

The supervise fatal errors repeat every couple of seconds.

This is a SunOS 5.7 box, running qmail-1.03. Any thoughts?

Fish.