I have been having trouble with a qmail installation on Slackware Linux 
(kernel 2.2.12).  I have had the qmail package on and cleanly off again 
serveral times after different patches, add-ons, etc.  Let me share some 
details and then explain what functionality I am missing.

qmail-1.03 (+relayclient patch)
default paths
default users/groups from INSTALL.ids
group nofiles = 101
group qmail = 1000
user alias id=1001 grp=101
user qmaild id=1000 grp=101
user qmaill id=1002 grp=101
user qmailp id=1003 grp=101
user qmailq id=1004 grp=1000
user qmailr id=1005 grp=1000
user qmails id=1006 grp=1000

/etc/rc.d/rc.local reads:
tcprules /etc/tcp.smtpd.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
PATH=/var/qmail/bin:$PATH
QMAILDUID='id -u qmaild'
NOFILESGUID="101"
sh -cf '/var/qmail/rc &'
tcpserver 0 smtp /var/qmail/bin/qmail-smtpd -v \
  -x/etc/tcp.smtp.cdb -u$QMAILDUID -g$NOFILESGID \
  2>&1 | /var/qmail/bin/splogger smtpd 3 &

/var/qmail/rc reads:
exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start " cat /var/qmail/control/defaultdelivery " \
  accustamp

/var/qmail/coontrol/defaultdelivery reads:
./Maildir/

- root and one user (group=root) have a ./Maildir/ in $HOME
- ./Maildir/ is owned by the respective user
- /var/qmail/bin/* rights: user=root group=qmail
  (except: qmail-queue owned by qmailq)


Problem 1:

I can send mail out through SMTP but the only way I can allow relaying is to 
rm rcpthosts.  Putting the /etc/tcp.smtp values into a cdb with many 
different IP's specifying ,RELAYCLIENT="" is not working.  Applying the 
relayclient patch to use control/relay* is not working.  I am wide open for 
relay abuse until this is corrected.  I am aware of the number of people 
with relay problems but I feel I have triple checked all of the most common 
problems.


Problem 2: (This is where I get upset)

Although I (and everyone else!) can successfully send mail out through SMTP, 
any mail received is not processed.  I have no public DNS name for the 
machine so I do not attempt to test remote-to-local mail; however 
local-to-local mail is failing regardless.  Using echo to: myuser | 
/var/qmail/bin/qmail-inject gets me nothing in the users Maildir.  There is 
nothing in the syslog, (though at an earlier time I had interesting 
messages.)  My name server is on the same machine and I can successfully 
lookup my IP with my FQDN even if it is not publicly available yet.  
Admittedly I had to use config-fast to setup the control files as the stand 
config failed.  A .qmail file in $HOME points to ./Maildir/ even though it 
is the default for all.  Relevant ps -x -a info is:

/usr/sbin/syslogd -m 60

tcpserver 0 smtp /var/qmail/bin/qmail-smtpd \
  -v -x/etc/tcp.smtp.cdb -u1000 -g101 <<<snip>>>

/var/qmail/bin/splogger stmpd 3

qmail-lspawn  cat /var/qmail/control/defaultdelivery

(qmail-start <zombie>)

qmail-clean

qmail-rspawn

qmail-send


Other Information:

- Slackware 3.6 installation; kernel 2.0.35 to 2.2.12
- Tried /users/assign for an existing linux account and used qmail-newu to 
put it into cdb successfully.  No Luck.
- The machine uses ipchains and ipmasqadm and acts as a gateway.
- Syslog was "exiting on signal 15" after new kernel.  Seems to have 
dissappeared now.
- Future plans for box is to be a pop server likely using vpopmail/vchkpw
- using daemontools-0.61
- Read FAQ, several HOWTOs, Usenet and INSTALL files (over and over again)

I nearly considered using smail after 3 days of this trouble and 
unfortunately I am getting less and less time to spend on this problem.  I 
will refuse to give up so long as I receive suggestions from this list on 
what to check next.  Your suggestions are appreciated and eagerly awaited.

[EMAIL PROTECTED]

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to