[NTLUG:Discuss] qmail not delivering mail?
briank@hex.net
briank at hex.net
Sun Feb 27 14:32:57 CST 2000
On Sun, Feb 27, 2000 at 12:59:58PM -0600, Buddy Brannan wrote:
> We both use fetchmail. Apparently if she accesses a POP mailbox with
> something like fetchpop, she gets mail and can presumably send it out
> also, but using fetchmail, or sending an Email to username at localhost with
> a mailer (even just mail) the mail doesn't deliver. It appears that she
> has mail sitting in her mail queue, so evidently she's getting mail from
> the network OK, it's just not delivering properly to her mailbox on her
> machine.
Make sure the qmail-smtpd daemon is started via inetd or tcpwrapper.
Try to forge some mail locally through the smtp port:
telnet localhost smtp
220 domain ESMTP
helo itsme
250 domain
mail <me at domain>
250 ok
rcpt <me at domain>
250 ok
data
354 go ahead
Subject: testing
This is a test.
.
250 ok xxxxxxxxxx qp yyyyy
quit
221 domain
Connection closed...
If you didn't modify the inetd.conf entry, then the smtp entry is most
likely calling /usr/sbin/sendmail. If you created a link from
/usr/sbin/sendmail to /var/qmail/bin/sendmail, then removed the
sendmail RPM, your links are gone as well (been there, done that!).
Recreate them if they're gone.
> OK, the second question, not nearly so important: qmail seems to install
> all of its man pages under /var/qmail/man instead of /usr/man or somewhere
> like that. Should I just copy them over to somewhere already in the path,
> or should I ammend my path so that it includes /var/qmail/man?
Even if you append your MANPATH with /var/qmail/man, you'll probably
want to set up the path in your /etc/man_db.config file, then run
mandb as root to update everything.
--Brian
More information about the Discuss
mailing list