OK. I downloaded and installed qmail, ucspi-tcp and daemontools. I've read
through about 70% of the documentation, and search the web for tips and
help. qmail appears to be running, and it appears to be queuing messages
but it won't deliver them. I've tried to figure it out, but I'm stuck. I
appreciate that people with normal intelligence can figure this out, but I
just can't seem to, and I was supposed to have this done a week ago, and I
have a lot of other things that I'm supposed to be doing, and this is my
third week on the job and etc. etc. etc.
I wanted to use tcpserver, but I'm having trouble understanding how to use
it. I can't figure out how to generate smtprules.cdb. I can't seem to find
the smtprules(5) man page... We have another machine here that is running
qmail and is working happily, but qmail is not setup on that machine
anything like the way it says to set it up in the docs I've read (it was
setup by the unix guy before me). This machine is supposed to forward
messages that come in to host xxxxx.net as [EMAIL PROTECTED] and send them
on to his AOL account or whatever, using a big aliases file. I installed
fastforward, and was able to get the newaliases to run after I cleaned out
some badly formed addresses. I've tried sending mail to a test address in
the aliases file that looks like:
zzz123: [EMAIL PROTECTED]
...but it doesn't deliver the message. I can see the messages in the queue,
but they just sit there. I've also tried just sending mail to
root@localhost and rholder@localhost, but they just get added to the queue,
and don't get delivered.
i can telnet to port 25, send mail that way, but it just goes in the queue.
I'm guessing that qmail-send isn't configured right, or smtprules.cdb (which
i don't have) is causing the problem or... ugh... i'm just overwhelmed. i'm
sure that i've just made some dumb mistakes, but my boss will be back
tomorrow and... you know the rest.
If anybody out there would take pity on a poor dumb unix guy who's just
trying to pay off his credit cards, I would be SOOOOOO grateful!!! :) Any
help at all would be appreciated!
Robert Holder
Here is some info:
[root@xxxxxmail init.d]# cat /etc/tcp.smtp
127.0.0.1:allow,RELAYCLIENT=""
192.168.6.:allow,RELAYCLIENT=""
:allow
[root@xxxxxmail init.d]# cd /etc/rc.d/init.d
[root@xxxxxmail init.d]# ./qmail restart
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
[root@xxxxxmail init.d]# qmail-qstat
messages in queue: 8
messages in queue but not yet preprocessed: 0
[root@xxxxxmail init.d]# ps -ef | grep qmail
root 8761 8760 0 19:38 pts/1 00:00:00 supervise qmail-send
root 8763 8760 0 19:38 pts/1 00:00:00 supervise qmail-smtpd
qmaill 8766 8764 0 19:38 pts/1 00:00:00 /usr/local/bin/multilog t
/var/l
qmaill 8768 8762 0 19:38 pts/1 00:00:00 /usr/local/bin/multilog t
/var/l
qmails 9581 8761 0 19:41 pts/1 00:00:00 qmail-send
qmaill 9584 9581 0 19:41 pts/1 00:00:00 splogger qmail
root 9585 9581 0 19:41 pts/1 00:00:00 qmail-lspawn |dot-forward
.forwa
qmailr 9586 9581 0 19:41 pts/1 00:00:00 qmail-rspawn
qmailq 9587 9581 0 19:41 pts/1 00:00:00 qmail-clean
root 9706 3816 0 19:42 pts/1 00:00:00 grep qmail
[root@xxxxxmail init.d]# grep smtp /etc/inetd.conf
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd
[root@xxxxxmail init.d]# qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 510, 511, 512, 0, 513, 514, 515, 516.
group ids: 501, 502.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is xxxxxmail.xxxxx.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is xxxxx.net.
defaulthost: (Default.) Default host name is xxxxxmail.xxxxx.net.
doublebouncehost: (Default.) 2B recipient host: xxxxxmail.xxxxx.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is xxxxxmail.xxxxx.net.
helohost: (Default.) SMTP client HELO host name is xxxxxmail.xxxxx.net.
idhost: (Default.) Message-ID host name is xxxxxmail.xxxxx.net.
localiphost: (Default.) Local IP address becomes xxxxxmail.xxxxx.net.
locals:
Messages for xxxxxmail.xxxxx.net are delivered locally.
Messages for xxxxxmail.xxxxx.net are delivered locally.
me: My name is xxxxxmail.xxxxx.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is xxxxx.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at xxxxxmail.xxxxx.net.
SMTP clients may send messages to recipients at xxxxxmail.xxxxx.net.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 xxxxxmail.xxxxx.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
defaultdelivery: I have no idea what this file does.